P_CATransferredDocumentHeader
Trasferred document header
P_CATransferredDocumentHeader is a Composite CDS View that provides data about "Trasferred document header" in SAP S/4HANA. It reads from 1 data source (I_CADocument) and exposes 7 fields with key field CADocumentNumber. Part of development package FKK_ID_IL_REP.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CADocument | Header | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CADocumentNumber | I_CADocument | CADocumentNumber | |
| CADocumentType | I_CADocument | CADocumentType | ||
| DocumentDate | I_CADocument | DocumentDate | ||
| PostingDate | I_CADocument | CAPostingDate | ||
| TaxReportingDate | I_CADocument | TaxReportingDate | ||
| CAReferenceDocument | I_CADocument | CAReferenceDocument | ||
| IL_ElectronicDocOutgDocUnqID | I_CADocument | CA1stCountrySpecificReference |
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType: { serviceQuality: #A, sizeCategory: #XL, dataClass: #TRANSACTIONAL }
@VDM.private: true
@VDM.viewType: #COMPOSITE
//this cds is called from DRC tool (IL_VAT_DCL) with
//condition DocumentDate between (expected 1 month)
define view entity P_CATransferredDocumentHeader
as select from I_CADocument as Header
inner many to one join I_CAReconciliationKey as ReconKeyStatus on Header.CAReconciliationKey = ReconKeyStatus.CAReconciliationKey
{
key Header.CADocumentNumber,
Header.CADocumentType,
Header.DocumentDate,
Header.CAPostingDate as PostingDate,
Header.TaxReportingDate,
Header.CAReferenceDocument,
Header.CA1stCountrySpecificReference as IL_ElectronicDocOutgDocUnqID
}
where ReconKeyStatus.CARecnclnKeyIsTransferredToGL = '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