I_CnsldtnDocumentType_2
Consolidation Document Type
I_CnsldtnDocumentType_2 (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Consolidation Document Type · Group Reporting
I_CnsldtnDocumentType_2 is a Basic CDS View (Dimension) that provides data about "Consolidation Document Type" in SAP S/4HANA. It reads from 1 data source (tf500) and exposes 15 fields with key field ConsolidationDocumentType. It has 5 associations to related views.
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Group Reporting |
| Application Component | FIN-CS-MD |
| Capabilities | Data Source for Defining CDS Entities, Association Target for Defining CDS Entities, Data Source in SQL Select, Data Source for Data Extraction, Analytical Dimension |
| Package | Group Reporting for SAP S/4HANA Cloud Private Edition |
| Description | <p>This CDS view differentiates financial documents in group reporting that are generated by various consolidation tasks, such as currency translation, data collection, and data transfer. </p> This CDS view provides the data to answer the following business questions:<ul> <li><p>What is the posting level of the document type? </p></li> <li><p>Is only manual posting allowed for a document type? </p></li> </ul> Here are some example values:<ul> <li><p>00: Uploaded Data</p></li> <li><p>02: Manual Correction of Reported Data </p></li> <li><p>1E: EPU Postings </p></li> <li><p>1U: Revoke EPU Postings </p></li> <li><p>2A: Inter Company Elimination of Cross Profit</p></li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| tf500 | tf500 | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CnsldtnPostingLevel | _PostingLevel | $projection.PostingLevel = _PostingLevel.PostingLevel |
| [0..1] | I_CnsldtnPostingLevel_2 | _PostingLevel_2 | $projection.ConsolidationPostingLevel = _PostingLevel_2.ConsolidationPostingLevel |
| [0..1] | I_CnsldtnDocTypeBusinessAppl | _DocTypeBusinessAppl | $projection.CnsldtnDocTypeBusinessAppl = _DocTypeBusinessAppl.CnsldtnDocTypeBusinessAppl |
| [0..*] | I_CnsldtnDocumentTypeText_2 | _Text | $projection.ConsolidationDocumentType = _Text.ConsolidationDocumentType |
| [0..*] | I_CnsldtnDocTypeHierNode_2 | _DocTypeHierNode | $projection.ConsolidationDocumentType = _DocTypeHierNode.ConsolidationDocumentType |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICCDOCTYPE2 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.internalName | #LOCAL | view | |
| Analytics.dataExtraction.enabled | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.representativeKey | ConsolidationDocumentType | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| ObjectModel.sapObjectNodeType.name | ConsolidationDocumentType | view | |
| Search.searchable | true | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Consolidation Document Type | view |
Fields (15)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ConsolidationDocumentType | Document Type | ||
| PostingLevel | Posting Level | |||
| ConsolidationBalanceCheck | Balance check | |||
| CnsldtnOnlyManualPostgIsAllwd | Posting Item Auto Flag | |||
| CnsldtnDocTypeBusinessAppl | Document Type Business Application | |||
| CnsldtnPostingIsInTransCrcy | Posting is in Transaction Currency | |||
| CnsldtnPostingIsInLocalCrcy | Posting is in Local Currency | |||
| CnsldtnPostingIsInGroupCrcy | Posting is in Group Currency | |||
| CnsldtnPostingIsWithQuantities | Posting is with Quantities | |||
| ConsolidationPostingLevel | Posting Level | |||
| _PostingLevel | _PostingLevel | |||
| _DocTypeBusinessAppl | _DocTypeBusinessAppl | |||
| _Text | _Text | |||
| _DocTypeHierNode | _DocTypeHierNode | |||
| _PostingLevel_2 | _PostingLevel_2 |
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 I_CnsldtnDocumentType_2.
-- 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.
CREATE VIEW I_CnsldtnDocumentType_2 AS
SELECT
cast(docty as fincs_documenttype preserving type ) AS ConsolidationDocumentType,
cast(rlevl as fincs_postinglevel preserving type ) AS PostingLevel,
cast(blchk as fincs_balancecheck preserving type ) AS ConsolidationBalanceCheck,
cast(mnpos as fincs_onlymanualpostgisallwd preserving type ) AS CnsldtnOnlyManualPostgIsAllwd,
cast(cacta as fincs_doctypebusinessappl preserving type ) AS CnsldtnDocTypeBusinessAppl,
cast(tcind as fincs_postingisintranscrcy preserving type ) AS CnsldtnPostingIsInTransCrcy,
cast(lcind as fincs_postingisinlocalcrcy preserving type ) AS CnsldtnPostingIsInLocalCrcy,
cast(gcind as fincs_postingisingroupcrcy preserving type ) AS CnsldtnPostingIsInGroupCrcy,
cast(qntin as fincs_postingiswithquantities preserving type ) AS CnsldtnPostingIsWithQuantities,
cast(rlevl as fincs_postinglevel preserving type ) AS ConsolidationPostingLevel
FROM tf500
LEFT OUTER JOIN I_CnsldtnPostingLevel AS _PostingLevel ON PostingLevel = _PostingLevel.PostingLevel -- association [0..1]
LEFT OUTER JOIN I_CnsldtnPostingLevel_2 AS _PostingLevel_2 ON ConsolidationPostingLevel = _PostingLevel_2.ConsolidationPostingLevel -- association [0..1]
LEFT OUTER JOIN I_CnsldtnDocTypeBusinessAppl AS _DocTypeBusinessAppl ON CnsldtnDocTypeBusinessAppl = _DocTypeBusinessAppl.CnsldtnDocTypeBusinessAppl -- association [0..1]
LEFT OUTER JOIN I_CnsldtnDocumentTypeText_2 AS _Text ON ConsolidationDocumentType = _Text.ConsolidationDocumentType -- association [0..*]
LEFT OUTER JOIN I_CnsldtnDocTypeHierNode_2 AS _DocTypeHierNode ON ConsolidationDocumentType = _DocTypeHierNode.ConsolidationDocumentType -- association [0..*]
;
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