SELECTEDDOCUMENT
SELECTEDDOCUMENT is an SAP database table in S/4HANA. It contains 29 fields.
Fields (29)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| AccountingDocument | AccountingDocument | 1 | |
| AccountingDocumentType | AccountingDocumentType | 1 | |
| BusinessTransactionType | BusinessTransactionType | 1 | |
| CompanyCode | CompanyCode | 1 | |
| CompanyCodeCurrency | CompanyCodeCurrency | 1 | |
| DocumentDate | DocumentDate | 1 | |
| ExternalInvoice | ExternalInvoice | 1 | |
| FiscalYear | FiscalYear | 1 | |
| InvoiceDate | InvoiceDate | 1 | |
| IsReversal | IsReversal | 1 | |
| IsReversed | IsReversed | 1 | |
| PostingDate | PostingDate | 1 | |
| RU_VATReturnLine | RU_VATReturnLine | 1 | |
| RU_VATReturnSection | RU_VATReturnSection | 1 | |
| RU_VATReturnSectionType | RU_VATReturnSectionType | 1 | |
| RU_VATReturnVersion | RU_VATReturnVersion | 1 | |
| RU_VATScenario | RU_VATScenario | 1 | |
| RU_VATSubScenario | RU_VATSubScenario | 1 | |
| RU_VATSubScenarioVersion | RU_VATSubScenarioVersion | 1 | |
| SourceDocument | SourceDocument | 1 | |
| SourceDocumentFiscalYear | SourceDocumentFiscalYear | 1 | |
| StatryRptCategory | StatryRptCategory | 1 | |
| StatryRptgEntity | StatryRptgEntity | 1 | |
| StatryRptRunID | StatryRptRunID | 1 | |
| TaxAmountInCoCodeCrcy | TaxAmountInCoCodeCrcy | 1 | |
| TaxBaseAmountInCoCodeCrcy | TaxBaseAmountInCoCodeCrcy | 1 | |
| TaxCode | TaxCode | 1 | |
| TaxReportingDate | TaxReportingDate | 1 | |
| VATReturnItemDescription | VATReturnItemDescription | 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 SELECTEDDOCUMENT (
ACCOUNTINGDOCUMENT,
ACCOUNTINGDOCUMENTTYPE,
BUSINESSTRANSACTIONTYPE,
COMPANYCODE,
COMPANYCODECURRENCY,
DOCUMENTDATE,
EXTERNALINVOICE,
FISCALYEAR,
INVOICEDATE,
ISREVERSAL,
ISREVERSED,
POSTINGDATE,
RU_VATRETURNLINE,
RU_VATRETURNSECTION,
RU_VATRETURNSECTIONTYPE,
RU_VATRETURNVERSION,
RU_VATSCENARIO,
RU_VATSUBSCENARIO,
RU_VATSUBSCENARIOVERSION,
SOURCEDOCUMENT,
SOURCEDOCUMENTFISCALYEAR,
STATRYRPTCATEGORY,
STATRYRPTGENTITY,
STATRYRPTRUNID,
TAXAMOUNTINCOCODECRCY,
TAXBASEAMOUNTINCOCODECRCY,
TAXCODE,
TAXREPORTINGDATE,
VATRETURNITEMDESCRIPTION
);
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