SHSM_PVBE_PKHD

DDL: SHSM_PVBE_PKHD SQL: SHSMPVBEPKHD Type: view

CDS view for value help - ProductionSupplyArea by Material

SHSM_PVBE_PKHD is a CDS View that provides data about "CDS view for value help - ProductionSupplyArea by Material" in SAP S/4HANA. It reads from 2 data sources (I_KanbanControlCycle, I_ProductionSupplyArea) and exposes 9 fields. It has 2 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_KanbanControlCycle ControlCycle inner
I_ProductionSupplyArea ProdSuppArea from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier
[0..1] I_SupplierCompanyByPlant _SupplierCompanyByPlant $projection.Supplier = _SupplierCompanyByPlant.Supplier and $projection.WERKS = _SupplierCompanyByPlant.Plant

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName SHSMPVBEPKHD view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label CDS view for value help - ProductionSupplyArea by Material view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view

Fields (9)

KeyFieldSource TableSource FieldDescription
PRVBE I_ProductionSupplyArea ProductionSupplyArea Supply Area
WERKS I_ProductionSupplyArea Plant Valuation Area
MATNR I_KanbanControlCycle Product Product Sold
SPRAS _Text Language Report Text Language
PVBTG _Text ProductionSupplyAreaName Production Supply Area Name
PVBTX _Text ProductionSupplyAreaName Production Supply Area Name
Supplier I_KanbanControlCycle Supplier Supplier
_Supplier _Supplier
_SupplierCompanyByPlant _SupplierCompanyByPlant

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 SHSM_PVBE_PKHD.
-- 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: SHSMPVBEPKHD

CREATE VIEW SHSM_PVBE_PKHD AS
SELECT
  ProdSuppArea.ProductionSupplyArea AS PRVBE,
  ProdSuppArea.Plant AS WERKS,
  ControlCycle.Product AS MATNR,
  _Text.Language AS SPRAS,
  _Text.ProductionSupplyAreaName AS PVBTG,
  _Text.ProductionSupplyAreaName AS PVBTX,
  ControlCycle.Supplier AS Supplier
FROM I_ProductionSupplyArea AS ProdSuppArea
INNER JOIN I_KanbanControlCycle AS ControlCycle ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier  -- association [0..1]
LEFT OUTER JOIN I_SupplierCompanyByPlant AS _SupplierCompanyByPlant ON Supplier = _SupplierCompanyByPlant.Supplier AND WERKS = _SupplierCompanyByPlant.Plant  -- association [0..1]
;