C_CntrlQtanFllwOnDocStagingHdr
Staging view for creating foll-on doc from Central Quotation
C_CntrlQtanFllwOnDocStagingHdr is a Consumption CDS View that provides data about "Staging view for creating foll-on doc from Central Quotation" in SAP S/4HANA. It reads from 1 data source (I_CntrlQtanFllwOnDocStagingHdr) and exposes 25 fields with key field CntrlQtanFllwOnDocDraftHdrUUID. It has 9 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CntrlQtanFllwOnDocStagingHdr | I_CntrlQtanFllwOnDocStagingHdr | from |
Associations (9)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | C_CntrlQtanFllwOnDocStagingItm | _CntrlQtanFllwOnDocStagingItm | I_CntrlQtanFllwOnDocStagingHdr.CntrlQtanFllwOnDocDraftHdrUUID = _CntrlQtanFllwOnDocStagingItm.CntrlQtanFllwOnDocDraftHdrUUID |
| [1..1] | C_ProcmtHubPurgGroupVH | _ProcmtHubPurgGroupVH | I_CntrlQtanFllwOnDocStagingHdr.ProcmtHubPurchasingGroup = _ProcmtHubPurgGroupVH.ProcmtHubPurchasingGroup and I_CntrlQtanFllwOnDocStagingHdr.ProcurementHubSourceSystem = _ProcmtHubPurgGroupVH.ProcurementHubSourceSystem |
| [1..1] | C_ProcmtHubSupplierVH | _ProcmtHubSupplierVH | I_CntrlQtanFllwOnDocStagingHdr.ProcurementHubSourceSystem = _ProcmtHubSupplierVH.ProcurementHubSourceSystem and I_CntrlQtanFllwOnDocStagingHdr.ProcmtHubFixedSupplier = _ProcmtHubSupplierVH.ProcmtHubFixedSupplier and I_CntrlQtanFllwOnDocStagingHdr.ProcmtHubPurchasingOrg = _ProcmtHubSupplierVH.ProcmtHubPurchasingOrg and I_CntrlQtanFllwOnDocStagingHdr.ProcmtHubCompanyCode = _ProcmtHubSupplierVH.ProcmtHubCompanyCode |
| [1..1] | C_ProcmtHubPurgOrgVH | _ProcmtHubPurgOrgVH | I_CntrlQtanFllwOnDocStagingHdr.ProcurementHubSourceSystem = _ProcmtHubPurgOrgVH.ProcurementHubSourceSystem and I_CntrlQtanFllwOnDocStagingHdr.ProcmtHubPurchasingOrg = _ProcmtHubPurgOrgVH.ProcmtHubPurchasingOrg |
| [1..1] | C_ProcmtHubCompanyCodeVH | _ProcmtHubCompanyCodeVH | I_CntrlQtanFllwOnDocStagingHdr.ProcurementHubSourceSystem = _ProcmtHubCompanyCodeVH.ProcurementHubSourceSystem and I_CntrlQtanFllwOnDocStagingHdr.ProcmtHubCompanyCode = _ProcmtHubCompanyCodeVH.ProcmtHubCompanyCode |
| [1..1] | C_ProcmtHubBackendSrceSystemVH | _BackendSourceSystem | I_CntrlQtanFllwOnDocStagingHdr.ProcurementHubSourceSystem = _BackendSourceSystem.ProcurementHubSourceSystem |
| [0..1] | C_ProcmtHubIncotermsClsfctnVH | _ProcmtHubIncotermsClsfctnVH | _ProcmtHubIncotermsClsfctnVH.IncotermsClassification = $projection.ProcmtHubIncotermsClassfctn and _ProcmtHubIncotermsClsfctnVH.ProcurementHubSourceSystem = $projection.ProcurementHubSourceSystem |
| [0..1] | C_ProcmtHubPurOrdDocTypeVH | _ProcmtHubDocumentTypeVH | _ProcmtHubDocumentTypeVH.ExtSourceSystem = $projection.ProcurementHubSourceSystem and _ProcmtHubDocumentTypeVH.PurchasingDocumentType = $projection.ProcmtHubPurDocumentType |
| [0..1] | C_ProcurementHubPaymentTermsVH | _ProcurementHubPaymentTermsVH | _ProcurementHubPaymentTermsVH.PaymentTerms = $projection.ProcmtHubPaymentTerms and _ProcurementHubPaymentTermsVH.ProcurementHubSourceSystem = $projection.ProcurementHubSourceSystem |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CCNTRLQTNFLLWHTP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Staging view for creating foll-on doc from Central Quotation | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| ObjectModel.updateEnabled | true | view | |
| AbapCatalog.preserveKey | true | view |
Fields (25)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CntrlQtanFllwOnDocDraftHdrUUID | CntrlQtanFllwOnDocDraftHdrUUID | Key | |
| ProcurementHubSourceSystem | ProcurementHubSourceSystem | Connected System ID | ||
| ProcurementHubSourceSystemName | _BackendSourceSystem | ProcurementHubSourceSystemName | Connected Sys Name | |
| ProcmtHubFixedSupplier | ProcmtHubFixedSupplier | Supplier | ||
| ProcmtHubSupplierName | _ProcmtHubSupplierVH | ProcmtHubSupplierName | ||
| ProcmtHubCompanyCode | ProcmtHubCompanyCode | Company Code | ||
| ProcmtHubCompanyCodeName | _ProcmtHubCompanyCodeVH | ProcmtHubCompanyCodeName | ||
| ProcmtHubPurchasingGroup | ProcmtHubPurchasingGroup | Purch. Group | ||
| PurchasingGroupName | _ProcmtHubPurgGroupVH | PurchasingGroupName | Purchasing Grp. Name | |
| ProcmtHubPurchasingOrg | ProcmtHubPurchasingOrg | Purchasing Org. | ||
| ProcmtHubPurgOrgName | _ProcmtHubPurgOrgVH | ProcmtHubPurgOrgName | ||
| CreatedByUser | CreatedByUser | User Name | ||
| ProcmtHubPurDocumentType | ProcmtHubPurDocumentType | Document Type | ||
| ProcmtHubDocumentCurrency | ProcmtHubDocumentCurrency | Currency Key | ||
| ProcmtHubPaymentTerms | ProcmtHubPaymentTerms | Pyt Terms | ||
| ProcmtHubIncotermsClassfctn | ProcmtHubIncotermsClassfctn | Incoterms | ||
| ProcmtHubIncotermsLocation1 | ProcmtHubIncotermsLocation1 | Inco. Location1 | ||
| _BackendSourceSystem | _BackendSourceSystem | |||
| _CntrlQtanFllwOnDocStagingItm | _CntrlQtanFllwOnDocStagingItm | |||
| _ProcmtHubIncotermsClsfctnVH | _ProcmtHubIncotermsClsfctnVH | |||
| _ProcmtHubDocumentTypeVH | _ProcmtHubDocumentTypeVH | |||
| _ProcurementHubPaymentTermsVH | _ProcurementHubPaymentTermsVH | |||
| _ProcmtHubPurgOrgVH | _ProcmtHubPurgOrgVH | |||
| _ProcmtHubPurgGroupVH | _ProcmtHubPurgGroupVH | |||
| _ProcmtHubCompanyCodeVH | _ProcmtHubCompanyCodeVH |
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 C_CntrlQtanFllwOnDocStagingHdr.
-- 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.
-- SQL view name: CCNTRLQTNFLLWHTP
CREATE VIEW C_CntrlQtanFllwOnDocStagingHdr AS
SELECT
CntrlQtanFllwOnDocDraftHdrUUID,
ProcurementHubSourceSystem,
_BackendSourceSystem.ProcurementHubSourceSystemName AS ProcurementHubSourceSystemName,
ProcmtHubFixedSupplier,
_ProcmtHubSupplierVH.ProcmtHubSupplierName AS ProcmtHubSupplierName,
ProcmtHubCompanyCode,
_ProcmtHubCompanyCodeVH.ProcmtHubCompanyCodeName AS ProcmtHubCompanyCodeName,
ProcmtHubPurchasingGroup,
_ProcmtHubPurgGroupVH.PurchasingGroupName AS PurchasingGroupName,
ProcmtHubPurchasingOrg,
_ProcmtHubPurgOrgVH.ProcmtHubPurgOrgName AS ProcmtHubPurgOrgName,
CreatedByUser,
ProcmtHubPurDocumentType,
ProcmtHubDocumentCurrency,
ProcmtHubPaymentTerms,
ProcmtHubIncotermsClassfctn,
ProcmtHubIncotermsLocation1
FROM I_CntrlQtanFllwOnDocStagingHdr
LEFT OUTER JOIN C_CntrlQtanFllwOnDocStagingItm AS _CntrlQtanFllwOnDocStagingItm ON I_CntrlQtanFllwOnDocStagingHdr.CntrlQtanFllwOnDocDraftHdrUUID = _CntrlQtanFllwOnDocStagingItm.CntrlQtanFllwOnDocDraftHdrUUID -- association [1..*]
LEFT OUTER JOIN C_ProcmtHubPurgGroupVH AS _ProcmtHubPurgGroupVH ON I_CntrlQtanFllwOnDocStagingHdr.ProcmtHubPurchasingGroup = _ProcmtHubPurgGroupVH.ProcmtHubPurchasingGroup AND I_CntrlQtanFllwOnDocStagingHdr.ProcurementHubSourceSystem = _ProcmtHubPurgGroupVH.ProcurementHubSourceSystem -- association [1..1]
LEFT OUTER JOIN C_ProcmtHubSupplierVH AS _ProcmtHubSupplierVH ON I_CntrlQtanFllwOnDocStagingHdr.ProcurementHubSourceSystem = _ProcmtHubSupplierVH.ProcurementHubSourceSystem AND I_CntrlQtanFllwOnDocStagingHdr.ProcmtHubFixedSupplier = _ProcmtHubSupplierVH.ProcmtHubFixedSupplier AND I_CntrlQtanFllwOnDocStagingHdr.ProcmtHubPurchasingOrg = _ProcmtHubSupplierVH.ProcmtHubPurchasingOrg AND I_CntrlQtanFllwOnDocStagingHdr.ProcmtHubCompanyCode = _ProcmtHubSupplierVH.ProcmtHubCompanyCode -- association [1..1]
LEFT OUTER JOIN C_ProcmtHubPurgOrgVH AS _ProcmtHubPurgOrgVH ON I_CntrlQtanFllwOnDocStagingHdr.ProcurementHubSourceSystem = _ProcmtHubPurgOrgVH.ProcurementHubSourceSystem AND I_CntrlQtanFllwOnDocStagingHdr.ProcmtHubPurchasingOrg = _ProcmtHubPurgOrgVH.ProcmtHubPurchasingOrg -- association [1..1]
LEFT OUTER JOIN C_ProcmtHubCompanyCodeVH AS _ProcmtHubCompanyCodeVH ON I_CntrlQtanFllwOnDocStagingHdr.ProcurementHubSourceSystem = _ProcmtHubCompanyCodeVH.ProcurementHubSourceSystem AND I_CntrlQtanFllwOnDocStagingHdr.ProcmtHubCompanyCode = _ProcmtHubCompanyCodeVH.ProcmtHubCompanyCode -- association [1..1]
LEFT OUTER JOIN C_ProcmtHubBackendSrceSystemVH AS _BackendSourceSystem ON I_CntrlQtanFllwOnDocStagingHdr.ProcurementHubSourceSystem = _BackendSourceSystem.ProcurementHubSourceSystem -- association [1..1]
LEFT OUTER JOIN C_ProcmtHubIncotermsClsfctnVH AS _ProcmtHubIncotermsClsfctnVH ON _ProcmtHubIncotermsClsfctnVH.IncotermsClassification = ProcmtHubIncotermsClassfctn AND _ProcmtHubIncotermsClsfctnVH.ProcurementHubSourceSystem = ProcurementHubSourceSystem -- association [0..1]
LEFT OUTER JOIN C_ProcmtHubPurOrdDocTypeVH AS _ProcmtHubDocumentTypeVH ON _ProcmtHubDocumentTypeVH.ExtSourceSystem = ProcurementHubSourceSystem AND _ProcmtHubDocumentTypeVH.PurchasingDocumentType = ProcmtHubPurDocumentType -- association [0..1]
LEFT OUTER JOIN C_ProcurementHubPaymentTermsVH AS _ProcurementHubPaymentTermsVH ON _ProcurementHubPaymentTermsVH.PaymentTerms = ProcmtHubPaymentTerms AND _ProcurementHubPaymentTermsVH.ProcurementHubSourceSystem = ProcurementHubSourceSystem -- association [0..1]
;
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