P_BSQPMSolnQtanProcFlw

DDL: P_BSQPMSOLNQTANPROCFLW Type: view_entity COMPOSITE

P_BSQPMSolnQtanProcFlw is a Composite CDS View in SAP S/4HANA. It reads from 14 data sources and exposes 44 fields with key fields SubsequentDocument, SubsequentDocumentCategory, SubsequentDocumentCategory, SubsequentDocumentCategory, SubsequentDocumentCategory. It has 1 association to related views.

Data Sources (14)

SourceAliasJoin Type
P_BSQPMBillgDocToCAInvcgDoc BillgDocToCAInvcgDoc union
P_BSQPMBillgDocToSDInvc BillgDocToSDInvc union
I_BusSolutionQuotationType BusinessSolutionQuotationType inner
P_BSQPMBillgDocSDToCAInvcgDoc P_BSQPMBillgDocSDToCAInvcgDoc union
P_BSQPMPurOrdToGR P_BSQPMPurOrdToGR union
P_BSQPMPurOrdToSuplrInvc P_BSQPMPurOrdToSuplrInvc union
P_BSQPMPurReqnToPurOrd P_BSQPMPurReqnToPurOrd union
P_BSQPMSrvcContrToBillgDocReq P_BSQPMSrvcContrToBillgDocReq union
P_BSQPMSrvcDocFllwUpDoc P_BSQPMSrvcDocFllwUpDoc union
P_BSQPMSrvcDocFUPBizOrdDoc P_BSQPMSrvcDocFUPBizOrdDoc union
P_BSQPMSrvcOrdToPurOrd P_BSQPMSrvcOrdToPurOrd union
P_BSQPMPrvdrContrToBillgDoc PrvdrContrToBillgDoc union
P_BSQPMSbscrContrToPrvdrContr SbscrContrToPrvdrContr union
I_ServiceDocument SolutionQuotation from

Associations (1)

CardinalityTargetAliasCondition
[0..1] P_BSQPMSolnQtanProcFlw _ParentNode $projection.PrecedingDocument = _ParentNode.SubsequentDocument and $projection.PrecedingDocumentCategory = _ParentNode.SubsequentDocumentCategory

Annotations (7)

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

Fields (44)

KeyFieldSource TableSource FieldDescription
KEY SubsequentDocument
KEY SubsequentDocumentCategory Document Category
PrecedingDocument SD Document
PrecedingDocumentCategory
KEY SubsequentDocumentCategory Document Category
PrecedingDocument SD Document
PrecedingDocumentCategory
KEY SubsequentDocumentCategory Document Category
PrecedingDocument SD Document
PrecedingDocumentCategory
KEY SubsequentDocumentCategory Document Category
PrecedingDocument SD Document
PrecedingDocumentCategory
KEY SubsequentDocumentCategory Document Category
PrecedingDocument SD Document
PrecedingDocumentCategory
KEY SubsequentDocumentCategory Document Category
PrecedingDocument SD Document
PrecedingDocumentCategory
KEY SubsequentDocumentCategory Document Category
PrecedingDocument SD Document
PrecedingDocumentCategory
KEY SubsequentDocumentCategory Document Category
PrecedingDocument SD Document
PrecedingDocumentCategory
KEY SubsequentDocumentCategory Document Category
PrecedingDocument SD Document
PrecedingDocumentCategory
KEY SubsequentDocumentCategory Document Category
PrecedingDocument SD Document
PrecedingDocumentCategory
KEY SubsequentDocumentCategory Document Category
PrecedingDocument SD Document
PrecedingDocumentCategory
KEY SubsequentDocumentCategory Document Category
PrecedingDocument SD Document
PrecedingDocumentCategory
KEY SubsequentDocumentCategory Document Category
PrecedingDocument SD Document
PrecedingDocumentCategory
KEY SubsequentDocumentCategory Document Category
PrecedingDocument SD Document
PrecedingDocumentCategory
_ParentNode _ParentNode

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_BSQPMSolnQtanProcFlw.
-- 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_BSQPMSolnQtanProcFlw AS
SELECT
  cast( SolutionQuotation.ServiceDocument as subsequ_doc ) AS SubsequentDocument,
  cast( 'SQ' as subsequ_doc_cat ) AS SubsequentDocumentCategory,
  cast( '' as preced_doc ) AS PrecedingDocument,
  cast( '' as preced_doc_cat ) AS PrecedingDocumentCategory
FROM I_ServiceDocument AS SolutionQuotation
INNER JOIN I_BusSolutionQuotationType AS BusinessSolutionQuotationType ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_BSQPMSolnQtanProcFlw AS _ParentNode ON PrecedingDocument = _ParentNode.SubsequentDocument AND PrecedingDocumentCategory = _ParentNode.SubsequentDocumentCategory  -- association [0..1]
-- UNION with additional select branch(es): P_BSQPMSrvcDocFllwUpDoc, P_BSQPMSrvcDocFUPBizOrdDoc, P_BSQPMSbscrContrToPrvdrContr, P_BSQPMPrvdrContrToBillgDoc, P_BSQPMBillgDocToSDInvc, P_BSQPMBillgDocToCAInvcgDoc, P_BSQPMBillgDocSDToCAInvcgDoc, P_BSQPMSrvcOrdToPurOrd, P_BSQPMSrvcContrToBillgDocReq, P_BSQPMPurOrdToSuplrInvc, P_BSQPMPurReqnToPurOrd, P_BSQPMPurOrdToGR
;