P_CO_DIANGeneralLedgerAccount
DIAN General Ledger Account
P_CO_DIANGeneralLedgerAccount is a Consumption CDS View that provides data about "DIAN General Ledger Account" in SAP S/4HANA. It reads from 2 data sources (I_CO_DIANGeneralLedgerAccount, P_CO_DIANItemType) and exposes 9 fields with key fields CO_DIANReportFormat, CO_DIANReportItemType, CompanyCode, AccountingDocumentType, ValidityStartDate. Part of development package GLO_FIN_IS_CO_CUST.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_CO_DIANGeneralLedgerAccount | DIANGLAccount | from |
| P_CO_DIANItemType | P_CO_DIANItemType | inner |
Parameters (3)
| Name | Type | Default |
|---|---|---|
| P_CO_DIANReportFormat | ficodian_report_format | |
| P_ValidityStartDate | fis_budat_from | |
| P_ValidityEndDate | fis_budat_to |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PCODIANGLACCT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.serviceQuality | #P | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CO_DIANReportFormat | I_CO_DIANGeneralLedgerAccount | CO_DIANReportFormat | Report Format |
| KEY | CO_DIANReportItemType | I_CO_DIANGeneralLedgerAccount | CO_DIANReportItemType | Item Type |
| KEY | CompanyCode | DIANItemType | CompanyCode | Receiver Company Code |
| KEY | AccountingDocumentType | DIANItemType | AccountingDocumentType | Journal Entry Type |
| KEY | ValidityStartDate | I_CO_DIANGeneralLedgerAccount | ValidityStartDate | Validity Start Date |
| KEY | LowerBoundaryAccount | I_CO_DIANGeneralLedgerAccount | LowerBoundaryAccount | GL Account |
| ValidityEndDate | I_CO_DIANGeneralLedgerAccount | ValidityEndDate | ValidTo | |
| UpperBoundaryAccount | I_CO_DIANGeneralLedgerAccount | UpperBoundaryAccount | GL To | |
| CO_DIANAmountClassification | I_CO_DIANGeneralLedgerAccount | CO_DIANAmountClassification | Amount Classif. |
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 P_CO_DIANGeneralLedgerAccount.
-- 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_CO_DIANReportFormat : ficodian_report_format, P_ValidityStartDate : fis_budat_from, P_ValidityEndDate : fis_budat_to
CREATE VIEW P_CO_DIANGeneralLedgerAccount AS
SELECT
DIANGLAccount.CO_DIANReportFormat AS CO_DIANReportFormat,
DIANGLAccount.CO_DIANReportItemType AS CO_DIANReportItemType,
DIANItemType.CompanyCode AS CompanyCode,
DIANItemType.AccountingDocumentType AS AccountingDocumentType,
DIANGLAccount.ValidityStartDate AS ValidityStartDate,
DIANGLAccount.LowerBoundaryAccount AS LowerBoundaryAccount,
DIANGLAccount.ValidityEndDate AS ValidityEndDate,
DIANGLAccount.UpperBoundaryAccount AS UpperBoundaryAccount,
DIANGLAccount.CO_DIANAmountClassification AS CO_DIANAmountClassification
FROM I_CO_DIANGeneralLedgerAccount AS DIANGLAccount
INNER JOIN P_CO_DIANItemType ON /* join condition not captured in parsed metadata */
;
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