A_CnsldtnDocumentType
Consolidation Document Type
A_CnsldtnDocumentType is a Basic CDS View that provides data about "Consolidation Document Type" in SAP S/4HANA. It reads from 1 data source (I_CnsldtnDocumentTypeEnhcd10) and exposes 18 fields with key field ConsolidationDocumentType. It has 7 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CnsldtnDocumentTypeEnhcd10 | I_CnsldtnDocumentTypeEnhcd10 | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | A_CnsldtnPostingLevel | _CnsldtnPostingLevel | $projection.PostingLevel = _CnsldtnPostingLevel.PostingLevel |
| [0..*] | A_CnsldtnPostingLevelT | _CnsldtnPostingLevelT | $projection.PostingLevel = _CnsldtnPostingLevelT.PostingLevel |
| [0..*] | A_CnsldtnDocumentTypeT | _CnsldtnDocumentTypeT | $projection.ConsolidationDocumentType = _CnsldtnDocumentTypeT.ConsolidationDocumentType |
| [0..*] | A_CnsldtnBusinessApplT | _CnsldtnBusinessApplT | $projection.DocumentTypeBusinessAppl = _CnsldtnBusinessApplT.DocumentTypeBusinessAppl |
| [0..*] | A_CnsldtnBalanceCheckT | _CnsldtnBalanceCheckT | $projection.ConsolidationBalanceCheck = _CnsldtnBalanceCheckT.ConsolidationBalanceCheck |
| [0..1] | A_CnsldtnDimension | _CnsldtnDimension | $projection.ConsolidationDimension = _CnsldtnDimension.ConsolidationDimension |
| [0..*] | A_CnsldtnDocumentTypeHier | _CnsldtnDocumentTypeHier | $projection.ConsolidationDimension = _CnsldtnDocumentTypeHier.ConsolidationDimension |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ACSDOCUMENTTYPE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.representativeKey | ConsolidationDocumentType | view | |
| ObjectModel.sapObjectNodeType.name | ConsolidationDocumentType | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| EndUserText.label | Consolidation Document Type | view | |
| OData.entitySet.name | ConsolidationDocumentType | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ConsolidationDocumentType | ConsolidationDocumentType | Document Type | |
| ConsolidationDimension | ConsolidationDimension | Dimension | ||
| PostingLevel | PostingLevel | Posting Level | ||
| ConsolidationBalanceCheck | ConsolidationBalanceCheck | Balance check | ||
| ConsolidationPostgItemAutoFlag | ConsolidationPostgItemAutoFlag | Auto. ID | ||
| IsDocumentPostInTransCurrency | IsDocumentPostInTransCurrency | Post in TC | ||
| IsDocumentPostInLocalCurrency | IsDocumentPostInLocalCurrency | Post in LC | ||
| IsDocumentPostInGroupCurrency | IsDocumentPostInGroupCurrency | Post in GC | ||
| DocHasCreditDeferredTax | DocHasCreditDeferredTax | Credit deferred tax | ||
| DocHasDebitDeferredTax | DocHasDebitDeferredTax | Debit deferred tax | ||
| DocumentTypeBusinessAppl | DocumentTypeBusinessAppl | Bus.application | ||
| _CnsldtnBalanceCheckT | _CnsldtnBalanceCheckT | |||
| _CnsldtnBusinessApplT | _CnsldtnBusinessApplT | |||
| _CnsldtnPostingLevel | _CnsldtnPostingLevel | |||
| _CnsldtnPostingLevelT | _CnsldtnPostingLevelT | |||
| _CnsldtnDimension | _CnsldtnDimension | |||
| _CnsldtnDocumentTypeHier | _CnsldtnDocumentTypeHier | |||
| _CnsldtnDocumentTypeT | _CnsldtnDocumentTypeT |
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 A_CnsldtnDocumentType.
-- 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 A_CnsldtnDocumentType AS
SELECT
ConsolidationDocumentType,
ConsolidationDimension,
PostingLevel,
ConsolidationBalanceCheck,
ConsolidationPostgItemAutoFlag,
IsDocumentPostInTransCurrency,
IsDocumentPostInLocalCurrency,
IsDocumentPostInGroupCurrency,
DocHasCreditDeferredTax,
DocHasDebitDeferredTax,
DocumentTypeBusinessAppl
FROM I_CnsldtnDocumentTypeEnhcd10
LEFT OUTER JOIN A_CnsldtnPostingLevel AS _CnsldtnPostingLevel ON PostingLevel = _CnsldtnPostingLevel.PostingLevel -- association [0..1]
LEFT OUTER JOIN A_CnsldtnPostingLevelT AS _CnsldtnPostingLevelT ON PostingLevel = _CnsldtnPostingLevelT.PostingLevel -- association [0..*]
LEFT OUTER JOIN A_CnsldtnDocumentTypeT AS _CnsldtnDocumentTypeT ON ConsolidationDocumentType = _CnsldtnDocumentTypeT.ConsolidationDocumentType -- association [0..*]
LEFT OUTER JOIN A_CnsldtnBusinessApplT AS _CnsldtnBusinessApplT ON DocumentTypeBusinessAppl = _CnsldtnBusinessApplT.DocumentTypeBusinessAppl -- association [0..*]
LEFT OUTER JOIN A_CnsldtnBalanceCheckT AS _CnsldtnBalanceCheckT ON ConsolidationBalanceCheck = _CnsldtnBalanceCheckT.ConsolidationBalanceCheck -- association [0..*]
LEFT OUTER JOIN A_CnsldtnDimension AS _CnsldtnDimension ON ConsolidationDimension = _CnsldtnDimension.ConsolidationDimension -- association [0..1]
LEFT OUTER JOIN A_CnsldtnDocumentTypeHier AS _CnsldtnDocumentTypeHier ON ConsolidationDimension = _CnsldtnDocumentTypeHier.ConsolidationDimension -- 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