P_RFM_MaSaDoSDVCMItm

DDL: P_RFM_MASADOSDVCMITM SQL: PRFMMASADVCMITM Type: view BASIC Package: RFM_MANAGE_SALES_ORDERS

Sales Documents with VCM

P_RFM_MaSaDoSDVCMItm is a Basic CDS View that provides data about "Sales Documents with VCM" in SAP S/4HANA. It reads from 1 data source (vbap) and exposes 3 fields with key fields SalesDocument, SalesDocumentItem. Part of development package RFM_MANAGE_SALES_ORDERS.

Data Sources (1)

SourceAliasJoin Type
vbap vbap from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PRFMMASADVCMITM view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Sales Documents with VCM view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
VDM.private true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY SalesDocument vbap vbeln SD Sched. Agmt
KEY SalesDocumentItem vbap posnr WBS Element
char1endasItemIsValueChainRelevant

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 P_RFM_MaSaDoSDVCMItm.
-- 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.
-- SQL view name: PRFMMASADVCMITM

CREATE VIEW P_RFM_MaSaDoSDVCMItm AS
SELECT
  vbap.vbeln AS SalesDocument,
  vbap.posnr AS SalesDocumentItem,
  case when vbap.vcm_chain_category is initial then cast ( '' as abap.char(1) ) else cast ( 'X' as abap.char(1) ) end as ItemIsValueChainRelevant AS char1endasItemIsValueChainRelevant
FROM vbap
;