C_CO_DIANStRpFormat1001Cube
Format 1001 - Journal Entry Item Cube
C_CO_DIANStRpFormat1001Cube is a Consumption CDS View (Cube) that provides data about "Format 1001 - Journal Entry Item Cube" in SAP S/4HANA. It reads from 1 data source (P_CO_DIANStRpFormat1001) and exposes 62 fields with key fields CompanyCode, FiscalYear, AccountingDocument, AccountingDocumentItem, StatryRptgEntity.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_CO_DIANStRpFormat1001 | P_CO_DIANStRpFormat1001 | from |
Parameters (3)
| Name | Type | Default |
|---|---|---|
| P_Ledger | fins_ledger | |
| P_FromPostingDate | fis_budat_from | |
| P_ToPostingDate | fis_budat_to |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.buffering.status | #NOT_ALLOWED | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.sqlViewName | CSRCOFRMT1001C | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view | |
| Analytics.dataCategory | #CUBE | view | |
| Analytics.internalName | #LOCAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Format 1001 - Journal Entry Item Cube | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (62)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| KEY | AccountingDocumentItem | AccountingDocumentItem | Posting View Item | |
| KEY | StatryRptgEntity | StatryRptgEntity | Reporting Entity | |
| KEY | StatryRptCategory | StatryRptCategory | Report ID | |
| KEY | StatryRptRunID | StatryRptRunID | Report Run ID | |
| KEY | CO_DIANReportFormat | CO_DIANReportFormat | Report Format | |
| KEY | CO_DIANReportItemType | CO_DIANReportItemType | Item Type | |
| KEY | ReportedTaxNumber | ReportedTaxNumber | ||
| TaxNumberType | TaxNumberType | Tax number type | ||
| TaxNumber1 | TaxNumber1 | VAT Reg. No. | ||
| TaxNumber2 | TaxNumber2 | Tax Number 2 | ||
| TaxNumber3 | TaxNumber3 | |||
| TaxNumber4 | TaxNumber4 | |||
| TaxNumber5 | TaxNumber5 | |||
| VATRegistration | VATRegistration | VAT Registration No. | ||
| CO_DIANBPTaxLongNumber | CO_DIANBPTaxLongNumber | |||
| CO_DIANTaxNumberType | CO_DIANTaxNumberType | DIAN Doc. Type | ||
| Customer | Customer | Sold-to Party | ||
| Supplier | Supplier | Supplier | ||
| PurchasingDocument | PurchasingDocument | Purchasing Document | ||
| BusinessPlace | BusinessPlace | Business place | ||
| AccountingDocumentType | AccountingDocumentType | Journal Entry Type | ||
| BusinessPartnerCategory | BusinessPartnerCategory | Partner Cat. | ||
| BusinessPartner | BusinessPartner | Issuing Authority | ||
| FirstName | FirstName | First Name | ||
| MiddleName | MiddleName | Middle Name | ||
| LastName | LastName | Last Name | ||
| AdditionalLastName | AdditionalLastName | Other Last Name | ||
| BusinessPartnerOrgLongName | ||||
| OrganizationBPName1 | OrganizationBPName1 | Name 1 | ||
| OrganizationBPName2 | OrganizationBPName2 | Name 2 | ||
| OrganizationBPName3 | OrganizationBPName3 | Name 3 | ||
| OrganizationBPName4 | OrganizationBPName4 | Name 4 | ||
| IsNaturalPerson | IsNaturalPerson | Natural person | ||
| BusinessPartnerCountry | BusinessPartnerCountry | BP Ctry/Reg. | ||
| CO_DIANCountry | CO_DIANCountry | |||
| Region | Region | Venue Region | ||
| CityCode | ||||
| CityName | CityName | Name | ||
| StreetName | StreetName | Text | ||
| PostingDate | PostingDate | Posting Date for GR | ||
| CreationUTCDateTime | CreationUTCDateTime | Time Stamp | ||
| GLAccount | GLAccount | General Ledger | ||
| GLAccountName | GLAccountName | Short Text | ||
| AlternativeGLAccount | AlternativeGLAccount | Group Account | ||
| Reference1IDByBusinessPartner | Reference1IDByBusinessPartner | Reference Key 1 | ||
| Reference3IDByBusinessPartner | Reference3IDByBusinessPartner | Reference Key 3 | ||
| ReportingCurrency | ReportingCurrency | Currency | ||
| DcblGLAcctPaytsAmtInRptgCrcy | DcblGLAcctPaytsAmtInRptgCrcy | |||
| NonDcblGLAcctPaytAmtInRptgCrcy | NonDcblGLAcctPaytAmtInRptgCrcy | |||
| DcblVATIncrdCostInRptgCrcy | DcblVATIncrdCostInRptgCrcy | |||
| NonDcblVATIncrdCostInRptgCrcy | NonDcblVATIncrdCostInRptgCrcy | |||
| WhldgTxIncAmtInRptgCurrency | WhldgTxIncAmtInRptgCurrency | |||
| TakenWhldgTaxIncAmtInRptgCrcy | TakenWhldgTaxIncAmtInRptgCrcy | |||
| WhldgTaxCommonVATAmtInRptgCrcy | WhldgTaxCommonVATAmtInRptgCrcy | |||
| TknWhldgSimpfdVATAmtInRptgCrcy | TknWhldgSimpfdVATAmtInRptgCrcy | |||
| WhldgTxForeignVATAmtInRptgCrcy | WhldgTxForeignVATAmtInRptgCrcy | |||
| CO_WhldgCREEAmtInRptgCurrency | CO_WhldgCREEAmtInRptgCurrency | |||
| CO_TknWhldgCREEAmtInRptgCrcy | CO_TknWhldgCREEAmtInRptgCrcy | |||
| IsBelowMinimumAmountThreshold |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view C_CO_DIANStRpFormat1001Cube.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- Parameters: P_Ledger : fins_ledger, P_FromPostingDate : fis_budat_from, P_ToPostingDate : fis_budat_to
CREATE VIEW C_CO_DIANStRpFormat1001Cube AS
SELECT
CompanyCode,
FiscalYear,
AccountingDocument,
AccountingDocumentItem,
StatryRptgEntity,
StatryRptCategory,
StatryRptRunID,
CO_DIANReportFormat,
CO_DIANReportItemType,
ReportedTaxNumber,
TaxNumberType,
TaxNumber1,
TaxNumber2,
TaxNumber3,
TaxNumber4,
TaxNumber5,
VATRegistration,
CO_DIANBPTaxLongNumber,
CO_DIANTaxNumberType,
Customer,
Supplier,
PurchasingDocument,
BusinessPlace,
AccountingDocumentType,
BusinessPartnerCategory,
BusinessPartner,
FirstName,
MiddleName,
LastName,
AdditionalLastName,
cast(concat(OrganizationBPName1, OrganizationBPName2) as ficodian_bp_org_long_name ) AS BusinessPartnerOrgLongName,
OrganizationBPName1,
OrganizationBPName2,
OrganizationBPName3,
OrganizationBPName4,
IsNaturalPerson,
BusinessPartnerCountry,
CO_DIANCountry,
Region,
cast( right(CityCode, 3) as ficodian_city_code ) AS CityCode,
CityName,
StreetName,
PostingDate,
CreationUTCDateTime,
GLAccount,
GLAccountName,
AlternativeGLAccount,
Reference1IDByBusinessPartner,
Reference3IDByBusinessPartner,
ReportingCurrency,
DcblGLAcctPaytsAmtInRptgCrcy,
NonDcblGLAcctPaytAmtInRptgCrcy,
DcblVATIncrdCostInRptgCrcy,
NonDcblVATIncrdCostInRptgCrcy,
WhldgTxIncAmtInRptgCurrency,
TakenWhldgTaxIncAmtInRptgCrcy,
WhldgTaxCommonVATAmtInRptgCrcy,
TknWhldgSimpfdVATAmtInRptgCrcy,
WhldgTxForeignVATAmtInRptgCrcy,
CO_WhldgCREEAmtInRptgCurrency,
CO_TknWhldgCREEAmtInRptgCrcy,
cast('' as ficodian_is_below_minimum_amt preserving type) AS IsBelowMinimumAmountThreshold
FROM P_CO_DIANStRpFormat1001
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- 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
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA