P_BSQPMSolnQtanProcFlw
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)
| Source | Alias | Join 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)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | P_BSQPMSolnQtanProcFlw | _ParentNode | $projection.PrecedingDocument = _ParentNode.SubsequentDocument and $projection.PrecedingDocumentCategory = _ParentNode.SubsequentDocumentCategory |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA