P_SupDmndAllDocSDRqmtType

DDL: P_SUPDMNDALLDOCSDRQMTTYPE Type: view BASIC

P_SupDmndAllDocSDRqmtType is a Basic CDS View in SAP S/4HANA. It reads from 4 data sources (tvep, vbak, vbap, vbep) and exposes 3 fields with key fields RequirementDocumentNumber, RequirementDocumentItem.

Data Sources (4)

SourceAliasJoin Type
tvep tvep inner
vbak vbak from
vbap vbap inner
vbep vbep inner

Annotations (10)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
VDM.private true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName PSUPDMNDADSDRT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XXL view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY RequirementDocumentNumber vbap vbeln SD Sched. Agmt
KEY RequirementDocumentItem vbap posnr WBS Element
RequirementType

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_SupDmndAllDocSDRqmtType.
-- 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.

CREATE VIEW P_SupDmndAllDocSDRqmtType AS
SELECT
  vbap.vbeln AS RequirementDocumentNumber,
  vbap.posnr AS RequirementDocumentItem,
  'VM' AS RequirementType
FROM vbak
INNER JOIN vbap ON /* join condition not captured in parsed metadata */
INNER JOIN vbep ON /* join condition not captured in parsed metadata */
INNER JOIN tvep ON /* join condition not captured in parsed metadata */
;