P_PCLblProdCmbndByBusProc

DDL: P_PCLBLPRODCMBNDBYBUSPROC SQL: PPRODCMBND Type: view COMPOSITE Package: EHLBL_RAP_VAL_PRINT_LBL

Union Products by Business Processes

P_PCLblProdCmbndByBusProc is a Composite CDS View that provides data about "Union Products by Business Processes" in SAP S/4HANA. It reads from 6 data sources and exposes 147 fields with key fields PCLblBusProc, PCLblBusProcSearchElementText, Product, DeliveryDocument, UniqueItemIdentifier. Part of development package EHLBL_RAP_VAL_PRINT_LBL.

Data Sources (6)

SourceAliasJoin Type
I_Product _Product inner
I_ChmlCmplncInfo I_ChmlCmplncInfo union_all
I_DeliveryPickViewItem I_DeliveryPickViewItem union_all
I_ManufacturingOrder I_ManufacturingOrder union_all
I_ManufacturingOrder I_ManufacturingOrder union_all
I_Product I_Product from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PPRODCMBND view
AbapCatalog.compiler.compareFilter true view
VDM.private true view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
Metadata.ignorePropagatedAnnotations true view

Fields (147)

KeyFieldSource TableSource FieldDescription
KEY PCLblBusProc
KEY PCLblBusProcSearchElementText Specification
KEY Product Specification
KEY DeliveryDocument Outbound Delivery
KEY UniqueItemIdentifier Specification
KEY ManufacturingOrder Order
KEY SalesOrder SD Document
Plant Prod plnt
Customer Sold-to Party
SalesOrganization Sales Organization
ProductName Internal Name
ActualDeliveryQuantity
BaseUnit BaseUnit
Country
Batch Lot No.
AuthorizationGroup AuthorizationGroup AuthorizGroup
ProductType ProductType Product Type Group
_ProductType _ProductType
ProductGroup ProductGroup Product Sold Group
_ProductGroup_2 _ProductGroup_2
ShippingPoint
ManufacturingOrderCategory
ManufacturingOrderType
ProductionPlant
MaterialIsTransported Is Transported
MaterialIsProduced Is Produced
MaterialIsSold Is Sold
MaterialIsSourced Is Purchased
ProdStewardshipRespUnit Responsible Unit
MaterialIsDisposed Is Disposed
KEY PCLblBusProcSearchElementText Specification
KEY Product Specification
KEY DeliveryDocument I_DeliveryPickViewItem DeliveryDocument Outbound Delivery
KEY UniqueItemIdentifier Specification
KEY ManufacturingOrder Order
KEY SalesOrder SD Document
Plant I_DeliveryPickViewItem Plant Prod plnt
Customer Sold-to Party
SalesOrganization Sales Organization
ProductName Internal Name
ActualDeliveryQuantity I_DeliveryPickViewItem ActualDeliveryQuantity
BaseUnit I_DeliveryPickViewItem BaseUnit
Country
Batch Lot No.
AuthorizationGroup I_Product AuthorizationGroup AuthorizGroup
ProductType I_Product ProductType Product Type Group
_ProductType I_Product _ProductType
ProductGroup I_Product ProductGroup Product Sold Group
_ProductGroup_2 I_Product _ProductGroup_2
ShippingPoint
ManufacturingOrderCategory
ManufacturingOrderType
ProductionPlant
MaterialIsTransported Is Transported
MaterialIsProduced Is Produced
MaterialIsSold Is Sold
MaterialIsSourced Is Purchased
ProdStewardshipRespUnit Responsible Unit
MaterialIsDisposed Is Disposed
KEY PCLblBusProcSearchElementText Specification
KEY Product Specification
KEY DeliveryDocument Outbound Delivery
KEY UniqueItemIdentifier Specification
KEY ManufacturingOrder Order
KEY SalesOrder SalesOrder SD Document
Plant ProductionPlant Prod plnt
Customer Sold-to Party
SalesOrganization Sales Organization
ProductName Internal Name
ActualDeliveryQuantity MfgOrderPlannedTotalQty
BaseUnit ProductionUnit
Country
Batch Batch Lot No.
AuthorizationGroup I_Product AuthorizationGroup AuthorizGroup
ProductType I_Product ProductType Product Type Group
_ProductType I_Product _ProductType
ProductGroup I_Product ProductGroup Product Sold Group
_ProductGroup_2 I_Product _ProductGroup_2
ShippingPoint
ManufacturingOrderCategory
ManufacturingOrderType
ProductionPlant
MaterialIsTransported Is Transported
MaterialIsProduced Is Produced
MaterialIsSold Is Sold
MaterialIsSourced Is Purchased
ProdStewardshipRespUnit Responsible Unit
MaterialIsDisposed Is Disposed
KEY PCLblBusProcSearchElementText Specification
KEY Product Specification
KEY DeliveryDocument Outbound Delivery
KEY UniqueItemIdentifier Specification
KEY ManufacturingOrder Order
KEY SalesOrder SalesOrder SD Document
Plant ProductionPlant Prod plnt
Customer _SalesOrder SoldToParty Sold-to Party
SalesOrganization _SalesOrder SalesOrganization Sales Organization
ProductName Internal Name
ActualDeliveryQuantity MfgOrderPlannedTotalQty
BaseUnit ProductionUnit
Country
Batch Batch Lot No.
AuthorizationGroup I_Product AuthorizationGroup AuthorizGroup
ProductType I_Product ProductType Product Type Group
_ProductType I_Product _ProductType
ProductGroup I_Product ProductGroup Product Sold Group
_ProductGroup_2 I_Product _ProductGroup_2
ShippingPoint
ManufacturingOrderCategory
ManufacturingOrderType
ProductionPlant
MaterialIsTransported Is Transported
MaterialIsProduced Is Produced
MaterialIsSold Is Sold
MaterialIsSourced Is Purchased
ProdStewardshipRespUnit Responsible Unit
MaterialIsDisposed Is Disposed
KEY PCLblBusProcSearchElementText Specification
KEY Product Specification
KEY DeliveryDocument Outbound Delivery
KEY UniqueItemIdentifier Specification
KEY ManufacturingOrder Order
KEY SalesOrder SD Document
Plant Prod plnt
Customer Sold-to Party
SalesOrganization Sales Organization
ProductName Internal Name
ActualDeliveryQuantity
BaseUnit
Country
Batch Lot No.
AuthorizationGroup AuthorizGroup
ProductType Product Type Group
_ProductType
ProductGroup Product Sold Group
_ProductGroup_2
ShippingPoint
ManufacturingOrderCategory
ManufacturingOrderType
ProductionPlant
MaterialIsTransported MaterialIsTransported Is Transported
MaterialIsProduced MaterialIsProduced Is Produced
MaterialIsSold MaterialIsSold Is Sold
MaterialIsSourced MaterialIsSourced Is Purchased
ProdStewardshipRespUnit ProdStewardshipRespUnit Responsible Unit
MaterialIsDisposed MaterialIsDisposed Is Disposed
MaterialIsEmissionRelevant MaterialIsEmissionRelevant Emission Relevant

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_PCLblProdCmbndByBusProc.
-- 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: PPRODCMBND

CREATE VIEW P_PCLblProdCmbndByBusProc AS
SELECT
  cast( '01' as ehlbl_bus_proc_code preserving type ) AS PCLblBusProc,
  cast( Product as abap.char( 40 ) ) AS PCLblBusProcSearchElementText,
  cast( Product as ehlbl_product_number_nc preserving type ) AS Product,
  cast( ' ' as vbeln_vl preserving type ) AS DeliveryDocument,
  cast( Product as abap.char( 72 ) ) AS UniqueItemIdentifier,
  cast( ' ' as ehfnd_maint_order_id_nc preserving type ) AS ManufacturingOrder,
  cast( ' ' as vdm_sales_order preserving type ) AS SalesOrder,
  cast( ' ' as werks_d preserving type ) AS Plant,
  cast( ' ' as kunnr preserving type ) AS Customer,
  cast( ' ' as vkorg preserving type ) AS SalesOrganization,
  cast( _Text[1: Language = $session.system_language ].ProductName as ehfnd_cci_internal_name ) AS ProductName,
  cast( cast( '1' as abap.quan( 13, 3 ) ) as mfgorderplannedtotalqty preserving type ) AS ActualDeliveryQuantity,
  BaseUnit,
  ' ' AS Country,
  cast( ' ' as abap.char(15) ) AS Batch,
  AuthorizationGroup,
  ProductType,
  ProductGroup,
  cast(' ' as vstel preserving type ) AS ShippingPoint,
  cast('00' as pph_autyp preserving type ) AS ManufacturingOrderCategory,
  cast(' ' as aufart preserving type ) AS ManufacturingOrderType,
  cast(' ' as pwwrk preserving type ) AS ProductionPlant,
  cast(' ' as ehfnd_cci_is_transported preserving type ) AS MaterialIsTransported,
  cast(' ' as ehfnd_cci_is_produced preserving type ) AS MaterialIsProduced,
  cast(' ' as ehfnd_cci_is_sold preserving type ) AS MaterialIsSold,
  cast(' ' as ehfnd_cci_is_sourced preserving type ) AS MaterialIsSourced,
  cast(' ' as ehfnd_cci_responsible_unit_pss preserving type ) AS ProdStewardshipRespUnit,
  cast(' ' as ehfnd_cci_is_disposed preserving type ) AS MaterialIsDisposed,
  _Product._ProductType AS _ProductType,
  _Product._ProductGroup_2 AS _ProductGroup_2,
  MaterialIsEmissionRelevant
FROM I_Product
INNER JOIN I_Product AS _Product ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): I_DeliveryPickViewItem, I_ManufacturingOrder, I_ChmlCmplncInfo
;