I_CnsldtnDocumentType_2

DDL: I_CNSLDTNDOCUMENTTYPE_2 Type: view BASIC

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

StateC1
Line of BusinessGroup Reporting
Application ComponentFIN-CS-MD
CapabilitiesData Source for Defining CDS Entities, Association Target for Defining CDS Entities, Data Source in SQL Select, Data Source for Data Extraction, Analytical Dimension
PackageGroup 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

Data Sources (1)

SourceAliasJoin Type
tf500 tf500 from

Associations (5)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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..*]
;