P_RFDYRelevantDocumentTypeText
Release for Delivery Relevant Document Type Text
P_RFDYRelevantDocumentTypeText is a Composite CDS View that provides data about "Release for Delivery Relevant Document Type Text" in SAP S/4HANA. It reads from 2 data sources (I_PurchasingDocumentTypeText, I_SalesDocumentTypeText) and exposes 8 fields with key fields ATPRelevantDocumentType, ATPRelevantDocumentCategory, Language, ATPRelevantDocumentCategory, Language. Part of development package ATP_RELFORDEL_COMMON.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_PurchasingDocumentTypeText | I_PurchasingDocumentTypeText | union |
| I_SalesDocumentTypeText | I_SalesDocumentTypeText | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | PRFDYDOCTYPETEXT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ATPRelevantDocumentType | |||
| KEY | ATPRelevantDocumentCategory | |||
| KEY | Language | Language | ||
| ATPRelevantDocumentTypeName | ||||
| KEY | ATPRelevantDocumentCategory | |||
| KEY | Language | Language | ||
| ATPRelevantDocumentTypeName | ||||
| _Language | _Language |
@VDM.private: true
@VDM.viewType: #COMPOSITE
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.sqlViewName: 'PRFDYDOCTYPETEXT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Metadata.ignorePropagatedAnnotations: true
define view P_RFDYRelevantDocumentTypeText
as select from I_SalesDocumentTypeText
{
key cast(SalesDocumentType as atp_relevant_document_type preserving type) as ATPRelevantDocumentType,
key cast('VC' as atpcat preserving type) as ATPRelevantDocumentCategory,
key Language,
cast(SalesDocumentTypeName as atp_rlvt_document_type_name preserving type) as ATPRelevantDocumentTypeName,
_Language
}
union select from I_PurchasingDocumentTypeText
{
key cast(PurchasingDocumentType as atp_relevant_document_type preserving type) as ATPRelevantDocumentType,
key cast('U1' as atpcat preserving type) as ATPRelevantDocumentCategory,
key Language,
cast(PurchasingDocumentTypeName as atp_rlvt_document_type_name preserving type) as ATPRelevantDocumentTypeName,
_Language
}
where
PurchasingDocumentCategory = 'F'
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