P_BSQPMSrvcDocFUPBizOrdDoc

DDL: P_BSQPMSRVCDOCFUPBIZORDDOC Type: view_entity COMPOSITE

P_BSQPMSrvcDocFUPBizOrdDoc is a Composite CDS View in SAP S/4HANA. It reads from 4 data sources (I_ServiceDocumentItemEnhcd, I_ServiceDocumentItemSuccssr_3, I_ServiceDocumentSuccessor, P_BSQPMSrvcDocCatMappg) and exposes 5 fields with key fields PrecedingDocument, PrecedingDocumentItem.

Data Sources (4)

SourceAliasJoin Type
I_ServiceDocumentItemEnhcd ServiceDocument from
I_ServiceDocumentItemSuccssr_3 SrvcDocItmToBizOrdItm inner
I_ServiceDocumentSuccessor SrvcDocToBizOrd inner
P_BSQPMSrvcDocCatMappg SuccessorCatMapping inner

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY PrecedingDocument I_ServiceDocumentItemEnhcd ServiceDocument Transaction ID
KEY PrecedingDocumentItem I_ServiceDocumentItemEnhcd ServiceDocumentItem Service Document
SubsequentDocument I_ServiceDocumentSuccessor ServiceDocSuccessor Key
SubsequentDocumentItem I_ServiceDocumentItemSuccssr_3 ServiceDocumentItemSuccessor Object ID
SubsequentDocumentCategory P_BSQPMSrvcDocCatMappg DocumentCategory Document Category

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_BSQPMSrvcDocFUPBizOrdDoc.
-- 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_BSQPMSrvcDocFUPBizOrdDoc AS
SELECT
  ServiceDocument.ServiceDocument AS PrecedingDocument,
  ServiceDocument.ServiceDocumentItem AS PrecedingDocumentItem,
  SrvcDocToBizOrd.ServiceDocSuccessor AS SubsequentDocument,
  SrvcDocItmToBizOrdItm.ServiceDocumentItemSuccessor AS SubsequentDocumentItem,
  SuccessorCatMapping.DocumentCategory AS SubsequentDocumentCategory
FROM I_ServiceDocumentItemEnhcd AS ServiceDocument
INNER JOIN I_ServiceDocumentItemSuccssr_3 AS SrvcDocItmToBizOrdItm ON /* join condition not captured in parsed metadata */
INNER JOIN I_ServiceDocumentSuccessor AS SrvcDocToBizOrd ON /* join condition not captured in parsed metadata */
INNER JOIN P_BSQPMSrvcDocCatMappg AS SuccessorCatMapping ON /* join condition not captured in parsed metadata */
;