P_RFDYRelevantDocumentTypeText

DDL: P_RFDYRELEVANTDOCUMENTTYPETEXT SQL: PRFDYDOCTYPETEXT Type: view COMPOSITE Package: ATP_RELFORDEL_COMMON

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)

SourceAliasJoin Type
I_PurchasingDocumentTypeText I_PurchasingDocumentTypeText union
I_SalesDocumentTypeText I_SalesDocumentTypeText from

Annotations (8)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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'