Fields (29)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | AccountingDocument | AccountingDocument | 1 |
| KEY | CompanyCode | CompanyCode | 1 |
| KEY | FiscalYear | FiscalYear | 1 |
| KEY | Ledger | Ledger | 1 |
| KEY | StatryRptCategory | StatryRptCategory | 1 |
| KEY | StatryRptgEntity | StatryRptgEntity | 1 |
| KEY | StatryRptRunID | StatryRptRunID | 1 |
| DocumentDate | DocumentDate | 1 | |
| DocumentNetDueDate | DocumentNetDueDate | 1 | |
| ExchangeRate | ExchangeRate | 1 | |
| ExchangeRateDate | ExchangeRateDate | 1 | |
| FiscalPeriod | FiscalPeriod | 1 | |
| OriginalReferenceDocument | OriginalReferenceDocument | 1 | |
| PE_DiscountBaseAmtInCtryCrcy | PE_DiscountBaseAmtInCtryCrcy | 1 | |
| PE_ExemptTaxAmountInCtryCrcy | PE_ExemptTaxAmountInCtryCrcy | 1 | |
| PE_ExportAmountInCtryCrcy | PE_ExportAmountInCtryCrcy | 1 | |
| PE_NonTxblBaseAmtInCtryCrcy | PE_NonTxblBaseAmtInCtryCrcy | 1 | |
| PE_OriginalDocumentDate | PE_OriginalDocumentDate | 1 | |
| PE_OthTxAndChrgsAmtInCtryCrcy | PE_OthTxAndChrgsAmtInCtryCrcy | 1 | |
| PE_SelectiveAcqnAmtInCtryCrcy | PE_SelectiveAcqnAmtInCtryCrcy | 1 | |
| PE_TaxableBaseAmountInCtryCrcy | PE_TaxableBaseAmountInCtryCrcy | 1 | |
| PE_TaxOnRiceAmountInCtryCrcy | PE_TaxOnRiceAmountInCtryCrcy | 1 | |
| PE_TxBaseOnRiceAmtInCtryCrcy | PE_TxBaseOnRiceAmtInCtryCrcy | 1 | |
| PE_TxOnPlasticBagAmtInCtryCrcy | PE_TxOnPlasticBagAmtInCtryCrcy | 1 | |
| PE_VATAmountInCtryCrcy | PE_VATAmountInCtryCrcy | 1 | |
| PE_VATDiscountAmountInCtryCrcy | PE_VATDiscountAmountInCtryCrcy | 1 | |
| ReportingCurrency | ReportingCurrency | 1 | |
| ReportingDate | ReportingDate | 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.
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE SALESTAXENTRY (
ACCOUNTINGDOCUMENT,
COMPANYCODE,
FISCALYEAR,
LEDGER,
STATRYRPTCATEGORY,
STATRYRPTGENTITY,
STATRYRPTRUNID,
DOCUMENTDATE,
DOCUMENTNETDUEDATE,
EXCHANGERATE,
EXCHANGERATEDATE,
FISCALPERIOD,
ORIGINALREFERENCEDOCUMENT,
PE_DISCOUNTBASEAMTINCTRYCRCY,
PE_EXEMPTTAXAMOUNTINCTRYCRCY,
PE_EXPORTAMOUNTINCTRYCRCY,
PE_NONTXBLBASEAMTINCTRYCRCY,
PE_ORIGINALDOCUMENTDATE,
PE_OTHTXANDCHRGSAMTINCTRYCRCY,
PE_SELECTIVEACQNAMTINCTRYCRCY,
PE_TAXABLEBASEAMOUNTINCTRYCRCY,
PE_TAXONRICEAMOUNTINCTRYCRCY,
PE_TXBASEONRICEAMTINCTRYCRCY,
PE_TXONPLASTICBAGAMTINCTRYCRCY,
PE_VATAMOUNTINCTRYCRCY,
PE_VATDISCOUNTAMOUNTINCTRYCRCY,
REPORTINGCURRENCY,
REPORTINGDATE,
TRANSACTIONCURRENCY,
PRIMARY KEY (ACCOUNTINGDOCUMENT, COMPANYCODE, FISCALYEAR, LEDGER, STATRYRPTCATEGORY, STATRYRPTGENTITY, STATRYRPTRUNID)
);
Learn More
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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