I_CnsldtnTskDocTypeDtaColl

DDL: I_CNSLDTNTSKDOCTYPEDTACOLL Type: view BASIC

Cnsldtn DC Task Document Type Assignment

I_CnsldtnTskDocTypeDtaColl (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

CnsldtnTskDocTypeDtaCollection · Group Reporting

I_CnsldtnTskDocTypeDtaColl is a Basic CDS View that provides data about "Cnsldtn DC Task Document Type Assignment" in SAP S/4HANA. It reads from 1 data source (P_CnsldtnTskDocTypeDtaColl) and exposes 9 fields with key fields ConsolidationTask, ConsolidationVersion, CnsldtnDocTypeValdFrmFsclYear, CnsldtnDocTypeValdFrmFsclPerd, CnsldtnDocTypeSequenceValue. It has 3 associations to related views.

SAP Help Documentation

CategoryCDS Views for Transaction Data
Purpose
This CDS view is designed to provide a structured representation of the assignment of document types to consolidation tasks within a specific consolidation version. It serves as a master data source for understanding how different document types are associated with consolidation tasks and versions, including their validity periods and sequence values. Only assignments for data collection tasks are stored in this view. This CDS view provides the data to answer the following business questions: Which document types are assigned to specific consolidation tasks within a given consolidation version? What are the validity periods (fiscal year and period) for each document type associated with a consolidation task? How are document types sequenced within the context of consolidation tasks and versions? How can I access detailed information about the consolidation task, version, and document type through associations? 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 .

Prerequisites
Authorizations Users who want to use this CDS view must have a role with the following restriction types set to read access: CCTT_RVRS_CCTI_DMEN_CNGR_BNIT ( Consolidation Tasks ) These restriction types are edited in the Maintain Business Roles app.

Structure
Important Fields Important fields in this view include the following: Field Name Description CONSOLIDATIONDOCUMENTTYPE Document Type CONSOLIDATIONTASK Task CNSLDTNDOCTYPESEQUENCEVALUE Sequence of DocType in Year and Period CNSLDTNDOCTYPEVALDFRMFSCLPERD Cnsldtn DocType Assigned From Period CONSOLIDATIONVERSION Version CNSLDTNDOCTYPEVALDFRMFSCLYEAR Cnsldtn Document Type Assigned From Year

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessGroup Reporting
Application ComponentFIN-CS-COR-MON
CapabilitiesData Source for Defining CDS Entities, Association Target for Defining CDS Entities, Data Source for Data Extraction, Data Source in SQL Select
PackageGroup Reporting for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
P_CnsldtnTskDocTypeDtaColl P_CnsldtnTskDocTypeDtaColl from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_CnsldtnTask _CnsldtnTask $projection.ConsolidationTask = _CnsldtnTask.ConsolidationTask
[1..1] I_CnsldtnVersion _CnsldtnVersion $projection.ConsolidationVersion = _CnsldtnVersion.ConsolidationVersion
[1..1] I_CnsldtnDocumentType_2 _CnsldtnDocumentType $projection.ConsolidationDocumentType = _CnsldtnDocumentType.ConsolidationDocumentType

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName ICSTSKDOCDCASGN view
AbapCatalog.compiler.compareFilter true view
Analytics.dataExtraction.enabled true view
AccessControl.authorizationCheck #MANDATORY view
Metadata.ignorePropagatedAnnotations true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.modelingPattern #NONE view
ObjectModel.sapObjectNodeType.name CnsldtnTskDocTypeDtaCollection view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
EndUserText.label Cnsldtn DC Task Document Type Assignment view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY ConsolidationTask Consolidation Task
KEY ConsolidationVersion Consolidation Version
KEY CnsldtnDocTypeValdFrmFsclYear Consolidation Document Type Assigned From Year
KEY CnsldtnDocTypeValdFrmFsclPerd Consolidation Document Type Assigned From Period
KEY CnsldtnDocTypeSequenceValue Consolidation Document Type Sequence
ConsolidationDocumentType Document Type
_CnsldtnTask _CnsldtnTask
_CnsldtnVersion _CnsldtnVersion
_CnsldtnDocumentType _CnsldtnDocumentType

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_CnsldtnTskDocTypeDtaColl.
-- 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_CnsldtnTskDocTypeDtaColl AS
SELECT
  cast( ConsolidationTask as fincs_tsk preserving type ) AS ConsolidationTask,
  cast( ConsolidationVersion as fincs_consolidationversion preserving type ) AS ConsolidationVersion,
  cast( CnsldtnDocTypeValdFrmFsclYear as fincs_doctype_fromyear preserving type ) AS CnsldtnDocTypeValdFrmFsclYear,
  cast( CnsldtnDocTypeValdFrmFsclPerd as fincs_doctype_fromperiod preserving type ) AS CnsldtnDocTypeValdFrmFsclPerd,
  cast( CnsldtnDocTypeSequenceValue as fincs_doctype_sequence preserving type ) AS CnsldtnDocTypeSequenceValue,
  cast( ConsolidationDocumentType as fincs_documenttype preserving type ) AS ConsolidationDocumentType
FROM P_CnsldtnTskDocTypeDtaColl
LEFT OUTER JOIN I_CnsldtnTask AS _CnsldtnTask ON ConsolidationTask = _CnsldtnTask.ConsolidationTask  -- association [1..1]
LEFT OUTER JOIN I_CnsldtnVersion AS _CnsldtnVersion ON ConsolidationVersion = _CnsldtnVersion.ConsolidationVersion  -- association [1..1]
LEFT OUTER JOIN I_CnsldtnDocumentType_2 AS _CnsldtnDocumentType ON ConsolidationDocumentType = _CnsldtnDocumentType.ConsolidationDocumentType  -- association [1..1]
;