R_ProductPlantSalesTP

DDL: R_PRODUCTPLANTSALESTP Type: view_entity TRANSACTIONAL

Product Plant Sales - TP

R_ProductPlantSalesTP is a Transactional CDS View that provides data about "Product Plant Sales - TP" in SAP S/4HANA. It reads from 1 data source (I_Productplantsales) and exposes 13 fields with key fields Product, Plant. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_Productplantsales I_Productplantsales from

Associations (2)

CardinalityTargetAliasCondition
[1..1] R_ProductTP _Product $projection.Product = _Product.Product
[1] E_Productplant _ActiveExtension $projection.Product = _ActiveExtension.Product and $projection.Plant = _ActiveExtension.Plant

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view
Search.searchable true view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label Product Plant Sales - TP view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY Product Product Sold
KEY Plant Plant Valuation Area
LoadingGroup LoadingGroup Loading Group
CapPlanningQuantityInBaseUoM CapPlanningQuantityInBaseUoM
ProdShipgProcgDurationInDays ProductShippingProcessingTime
WrkCentersShipgSetupTimeInDays WrkCentersShipgSetupTimeInDays
ReplacementPartType ReplacementPartType
AvailabilityCheckType AvailabilityCheckType Avail. check
BaseUnit BaseUnit Unit of Measure
_Product _Product
_ProductPlant _ProductPlant
_BaseUnitOfMeasure _BaseUnitOfMeasure
_AvailabilityCheckType _AvailabilityCheckType

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 R_ProductPlantSalesTP.
-- 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 R_ProductPlantSalesTP AS
SELECT
  cast (Product as productnumber preserving type ) AS Product,
  Plant,
  LoadingGroup,
  CapPlanningQuantityInBaseUoM,
  ProductShippingProcessingTime AS ProdShipgProcgDurationInDays,
  WrkCentersShipgSetupTimeInDays,
  ReplacementPartType,
  AvailabilityCheckType,
  BaseUnit
FROM I_Productplantsales
LEFT OUTER JOIN R_ProductTP AS _Product ON Product = _Product.Product  -- association [1..1]
LEFT OUTER JOIN E_Productplant AS _ActiveExtension ON Product = _ActiveExtension.Product AND Plant = _ActiveExtension.Plant  -- association [1]
;