I_CADocumentType
Document Type
I_CADocumentType is a Basic CDS View (Dimension) that provides data about "Document Type" in SAP S/4HANA. It reads from 2 data sources (I_CAApplicationArea, tfk003) and exposes 7 fields with key fields CADocumentType, CAApplicationArea. It has 2 associations to related views. It is exposed through 1 OData service (UI_CADOCUMENT_MNG).
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_CAApplicationArea | ApplArea | inner |
| tfk003 | tfk003 | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CAApplicationArea | _ApplArea | $projection.CAApplicationArea = _ApplArea.CAApplicationArea |
| [0..*] | I_CADocumentTypeText | _Text | $projection.CADocumentType = _Text.CADocumentType and $projection.CAApplicationArea = _Text.CAApplicationArea |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| EndUserText.label | Document Type | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| ObjectModel.representativeKey | CADocumentType | view | |
| ObjectModel.sapObjectNodeType.name | ContrAcctgDocumentType | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| VDM.viewType | #BASIC | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_CADOCUMENT_MNG | UI_CADOCUMENT_MNG | V4 | C1 | NOT_RELEASED |
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Analytics : { dataCategory: #DIMENSION,
dataExtraction.enabled : true}
@EndUserText.label: 'Document Type'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel: { modelingPattern: #ANALYTICAL_DIMENSION,
representativeKey: 'CADocumentType',
sapObjectNodeType.name: 'ContrAcctgDocumentType',
supportedCapabilities: [ #ANALYTICAL_DIMENSION,
#CDS_MODELING_ASSOCIATION_TARGET,
#CDS_MODELING_DATA_SOURCE,
#EXTRACTION_DATA_SOURCE,
#SQL_DATA_SOURCE ],
usageType: { serviceQuality: #A,
sizeCategory: #S,
dataClass: #CUSTOMIZING } }
@VDM.viewType: #BASIC
define view entity I_CADocumentType
as select from tfk003
inner join I_CAApplicationArea as ApplArea on tfk003.applk = ApplArea.CAApplicationArea
association [1..1] to I_CAApplicationArea as _ApplArea on $projection.CAApplicationArea = _ApplArea.CAApplicationArea
association [0..*] to I_CADocumentTypeText as _Text on $projection.CADocumentType = _Text.CADocumentType
and $projection.CAApplicationArea = _Text.CAApplicationArea
{
@ObjectModel.text.association: '_Text'
key tfk003.blart as CADocumentType,
@ObjectModel.foreignKey.association: '_ApplArea'
key tfk003.applk as CAApplicationArea,
tfk003.xgsub as CACrossCompCodePostgIsAllowed,
tfk003.xintf as CAManualPostingIsForbidden,
tfk003.negbl as CANegativePostingCode,
/* only technical fields:
tfk003.numkr,
tfk003.bllfz,
tfk003.arclfz,
*/
_ApplArea,
_Text
}
where
ApplArea.CAApplicationAreaIsActive = 'X'
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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