P_BSQPMSrvcContrToBillgDocReq

DDL: P_BSQPMSRVCCONTRTOBILLGDOCREQ Type: view_entity COMPOSITE

Service Contract to Billing Doc Request

P_BSQPMSrvcContrToBillgDocReq is a Composite CDS View that provides data about "Service Contract to Billing Doc Request" in SAP S/4HANA. It reads from 1 data source (I_SDDocumentProcessFlow) and exposes 6 fields.

Data Sources (1)

SourceAliasJoin Type
I_SDDocumentProcessFlow SalesDocumentFlow from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Service Contract to Billing Doc Request view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (6)

KeyFieldSource TableSource FieldDescription
PrecedingDocument I_SDDocumentProcessFlow PrecedingDocument SD Document
PrecedingDocumentItem BillgRequestItem ServiceDocumentItem Service Document
PrecedingDocumentCategory I_SDDocumentProcessFlow PrecedingDocumentCategory
SubsequentDocument I_SDDocumentProcessFlow SubsequentDocument
SubsequentDocumentItem I_SDDocumentProcessFlow SubsequentDocumentItem
SubsequentDocumentCategory I_SDDocumentProcessFlow SubsequentDocumentCategory

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_BSQPMSrvcContrToBillgDocReq.
-- 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_BSQPMSrvcContrToBillgDocReq AS
SELECT
  SalesDocumentFlow.PrecedingDocument AS PrecedingDocument,
  BillgRequestItem.ServiceDocumentItem AS PrecedingDocumentItem,
  SalesDocumentFlow.PrecedingDocumentCategory AS PrecedingDocumentCategory,
  SalesDocumentFlow.SubsequentDocument AS SubsequentDocument,
  SalesDocumentFlow.SubsequentDocumentItem AS SubsequentDocumentItem,
  SalesDocumentFlow.SubsequentDocumentCategory AS SubsequentDocumentCategory
FROM I_SDDocumentProcessFlow AS SalesDocumentFlow
;