C_PT_SAFTSALESINVOICEHEADERC
SAF-T PT Sales Invoice Header Cube
C_PT_SAFTSALESINVOICEHEADERC is a CDS View in S/4HANA. SAF-T PT Sales Invoice Header Cube. It contains 29 fields. 2 CDS views read from this table.
CDS Views using this table (2)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| C_PT_SAFTSalesInvoiceHeaderQry | view | from | CONSUMPTION | SAF-T PT Sales Invoice Header Query |
| C_PT_SAFTSlsInvoiceNmbrEntries | view | from | CONSUMPTION | SAF-T PT Sales Invoice Number Entries |
Fields (29)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | PortugueseInvoiceNumber | PortugueseInvoiceNumber | 1 |
| CashDiscount1DueDate | CashDiscount1DueDate | 1 | |
| CashDiscount2DueDate | CashDiscount2DueDate | 1 | |
| CashDiscountAmtInCoCodeCrcy | CashDiscountAmtInCoCodeCrcy | 1 | |
| CashDiscountAmtInTransacCrcy | CashDiscountAmtInTransacCrcy | 1 | |
| CompanyCode | CompanyCode | 2 | |
| CreatedByUser | CreatedByUser | 1 | |
| CustomerPaymentTerms | CustomerPaymentTerms | 1 | |
| CustomerPaymentTermsName | CustomerPaymentTermsName | 1 | |
| DocumentBillingStatus | DocumentBillingStatus | 1 | |
| DocumentTransaction | DocumentTransaction | 1 | |
| DocumentType | DocumentType | 1 | |
| ExchangeRate | ExchangeRate | 1 | |
| FiscalPeriod | FiscalPeriod | 1 | |
| InvoiceAmountInFrgnCurrency | InvoiceAmountInFrgnCurrency | 1 | |
| LastChangeDateTimeText | LastChangeDateTimeText | 1 | |
| LastChangedByUser | LastChangedByUser | 1 | |
| PortugueseCustomerWithVersion | PortugueseCustomerWithVersion | 1 | |
| PortugueseDgtlSgntrKeyVersion | PortugueseDgtlSgntrKeyVersion | 1 | |
| PortugueseDigitalSignature | PortugueseDigitalSignature | 1 | |
| PortugueseInvoiceDate | PortugueseInvoiceDate | 1 | |
| PTDgtlSgntrSystemDateTimeText | PTDgtlSgntrSystemDateTimeText | 1 | |
| ReversalReason | ReversalReason | 1 | |
| ReversalReasonName | ReversalReasonName | 1 | |
| SourceBillingDocumentType | SourceBillingDocumentType | 1 | |
| TotalGrossAmount | TotalGrossAmount | 1 | |
| TotalNetAmount | TotalNetAmount | 1 | |
| TotalTaxAmount | TotalTaxAmount | 1 | |
| TransactionCurrency | TransactionCurrency | 1 |
Derived SQL schema, reconstructed from the indexed DDIC field metadata (field names, types, lengths and key flags) — a functional representation, not the verbatim SAP source.
-- SAF-T PT Sales Invoice Header Cube
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE C_PT_SAFTSALESINVOICEHEADERC (
PORTUGUESEINVOICENUMBER,
CASHDISCOUNT1DUEDATE,
CASHDISCOUNT2DUEDATE,
CASHDISCOUNTAMTINCOCODECRCY,
CASHDISCOUNTAMTINTRANSACCRCY,
COMPANYCODE,
CREATEDBYUSER,
CUSTOMERPAYMENTTERMS,
CUSTOMERPAYMENTTERMSNAME,
DOCUMENTBILLINGSTATUS,
DOCUMENTTRANSACTION,
DOCUMENTTYPE,
EXCHANGERATE,
FISCALPERIOD,
INVOICEAMOUNTINFRGNCURRENCY,
LASTCHANGEDATETIMETEXT,
LASTCHANGEDBYUSER,
PORTUGUESECUSTOMERWITHVERSION,
PORTUGUESEDGTLSGNTRKEYVERSION,
PORTUGUESEDIGITALSIGNATURE,
PORTUGUESEINVOICEDATE,
PTDGTLSGNTRSYSTEMDATETIMETEXT,
REVERSALREASON,
REVERSALREASONNAME,
SOURCEBILLINGDOCUMENTTYPE,
TOTALGROSSAMOUNT,
TOTALNETAMOUNT,
TOTALTAXAMOUNT,
TRANSACTIONCURRENCY,
PRIMARY KEY (PORTUGUESEINVOICENUMBER)
);
Learn More
- Understanding Data Lineage in SAP S/4HANA
- SAP Tables vs CDS Views — Key Differences
- Understanding the SAP S/4HANA Data Model
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA