view_ds_po_par

DDL: CDS_DS_PO_PAR SQL: CDS_DS_PO_PAR Type: view

Det. Stmt. of CCS with Purchase Orders as Bus. Vol. Docs

view_ds_po_par is a CDS View that provides data about "Det. Stmt. of CCS with Purchase Orders as Bus. Vol. Docs" in SAP S/4HANA. It reads from 1 data source (wb2_d_bvdetail). It has 7 associations to related views.

Data Sources (1)

SourceAliasJoin Type
wb2_d_bvdetail bvd from

Parameters (1)

NameTypeDefault
p_language spras

Associations (7)

CardinalityTargetAliasCondition
[1..1] view_ab_head_p agbu_head_settle $projection.wbeln = agbu_head_settle.wbeln
[1..1] view_ab_items_p agbu_item_settle $projection.wbeln = agbu_item_settle.wbeln and $projection.posnr = agbu_item_settle.posnr
[1..1] view_po_head_p po_head $projection.doc_id = po_head.ebeln
[1..1] view_PO_items_p po_item $projection.doc_id = po_item.ebeln and $projection.doc_item = po_item.ebelp
[1..1] view_po_lts po_lts $projection.doc_id = po_lts.ebeln and $projection.doc_item = po_lts.ebelp
[1..1] view_cc_head_p coco_head $projection.num = coco_head.num
[0..*] dd07t bvd_doc_type_texts $projection.doc_type = bvd_doc_type_texts.domvalue_l and bvd_doc_type_texts.domname = 'WB2_DOC_TYPE_BUSVOL' and bvd_doc_type_texts.as4local = 'A'

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName CDS_DS_PO_PAR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
EndUserText.label Det. Stmt. of CCS with Purchase Orders as Bus. Vol. Docs view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #XXL view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view

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 view_ds_po_par.
-- 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: CDS_DS_PO_PAR
-- Parameters: p_language : spras

CREATE VIEW view_ds_po_par AS
SELECT *  -- field list not available in parsed metadata
FROM wb2_d_bvdetail AS bvd
LEFT OUTER JOIN view_ab_head_p AS agbu_head_settle ON wbeln = agbu_head_settle.wbeln  -- association [1..1]
LEFT OUTER JOIN view_ab_items_p AS agbu_item_settle ON wbeln = agbu_item_settle.wbeln AND posnr = agbu_item_settle.posnr  -- association [1..1]
LEFT OUTER JOIN view_po_head_p AS po_head ON doc_id = po_head.ebeln  -- association [1..1]
LEFT OUTER JOIN view_PO_items_p AS po_item ON doc_id = po_item.ebeln AND doc_item = po_item.ebelp  -- association [1..1]
LEFT OUTER JOIN view_po_lts AS po_lts ON doc_id = po_lts.ebeln AND doc_item = po_lts.ebelp  -- association [1..1]
LEFT OUTER JOIN view_cc_head_p AS coco_head ON num = coco_head.num  -- association [1..1]
LEFT OUTER JOIN dd07t AS bvd_doc_type_texts ON doc_type = bvd_doc_type_texts.domvalue_l AND bvd_doc_type_texts.domname = 'WB2_DOC_TYPE_BUSVOL' AND bvd_doc_type_texts.as4local = 'A'  -- association [0..*]
;