I_ActiveLogisticalProduct

DDL: I_ACTIVELOGISTICALPRODUCT Type: view COMPOSITE

Active Logistical Product composite view

I_ActiveLogisticalProduct is a Composite CDS View that provides data about "Active Logistical Product composite view" in SAP S/4HANA. It reads from 2 data sources (I_Product, I_ProductRetail) and exposes 44 fields with key field Product. It has 20 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_Product product from
I_ProductRetail ProductRetail inner

Associations (20)

CardinalityTargetAliasCondition
[0..1] I_ProductDescription _Text $projection.Product = _Text.Product and _Text.Language = $session.system_language
[0..1] I_User _CreatedByUser $projection.CreatedByUser = _CreatedByUser.UserID
[0..1] I_User _LastChangedByUser $projection.LastChangedByUser = _LastChangedByUser.UserID
[1..1] I_UserContactCard _CreatedByUserContactCard $projection.CreatedByUser = _CreatedByUserContactCard.ContactCardID
[0..1] I_UserContactCard _LastChangedByUserContactCard $projection.LastChangedByUser = _LastChangedByUserContactCard.ContactCardID
[1..1] I_Producttype _ProductType $projection.ProductType = _ProductType.ProductType
[0..1] I_ProductTypeText _ProductTypeText $projection.ProductType = _ProductTypeText.ProductType and _ProductTypeText.Language = $session.system_language
[1..1] I_ProductCategory _ProductCategory $projection.ProductCategory = _ProductCategory.ProductCategory
[0..*] I_ProductCategoryText _ProductCategoryText $projection.ProductCategory = _ProductCategoryText.ProductCategory
[1..1] I_ProductGroup _ProductGroup $projection.ProductGroup = _ProductGroup.MaterialGroup
[0..1] I_ProductGroupText _ProductGroupText $projection.ProductGroup = _ProductGroupText.MaterialGroup and _ProductGroupText.Language = $session.system_language
[1..1] I_UnitOfMeasure _BaseUnitOfMeasure $projection.BaseUnit = _BaseUnitOfMeasure.UnitOfMeasure
[0..1] I_UnitOfMeasureText _BaseUnitText $projection.BaseUnit = _BaseUnitText.UnitOfMeasure and _BaseUnitText.Language = $session.system_language
[0..1] I_ProductUnitsOfMeasure _GoodsIssueUnit $projection.Product = _GoodsIssueUnit.Product and $projection.GoodsIssueUnit = _GoodsIssueUnit.AlternativeUnit
[1..1] I_UnitOfMeasure _GoodsIssueUnitOfMeasure $projection.GoodsIssueUnit = _GoodsIssueUnitOfMeasure.UnitOfMeasure
[0..1] I_UnitOfMeasureText _GoodsIssueUnitText $projection.GoodsIssueUnit = _GoodsIssueUnitText.UnitOfMeasure and _GoodsIssueUnitText.Language = $session.system_language
[0..1] I_ProductUnitsOfMeasure _PurchaseOrderUnit $projection.Product = _PurchaseOrderUnit.Product and $projection.PurchaseOrderUnit = _PurchaseOrderUnit.AlternativeUnit
[1..1] I_UnitOfMeasure _PurchaseOrderUnitOfMeasure $projection.PurchaseOrderUnit = _PurchaseOrderUnitOfMeasure.UnitOfMeasure
[0..1] I_UnitOfMeasureText _PurchaseOrderUnitText $projection.PurchaseOrderUnit = _PurchaseOrderUnitText.UnitOfMeasure and _PurchaseOrderUnitText.Language = $session.system_language
[0..1] E_Product _ProductExt $projection.Product = _ProductExt.Product

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IACTLOGPRD view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Active Logistical Product composite view view

Fields (44)

KeyFieldSource TableSource FieldDescription
KEY Product I_Product Product Product Sold
ProductDescription _Text ProductDescription Description
ProductExternalID I_Product ProductExternalID Material
CreationDate I_Product CreationDate Time Stamp
CreatedByUser I_Product CreatedByUser User Name
_CreatedByUser _CreatedByUser
_CreatedByUserContactCard _CreatedByUserContactCard
LastChangeDate I_Product LastChangeDate Time Stamp
LastChangeTime I_Product LastChangeTime Time changed
LastChangeDateTime I_Product LastChangeDateTime Timestamp
LastChangedByUser I_Product LastChangedByUser User Name
_LastChangedByUser _LastChangedByUser
_LastChangedByUserContactCard _LastChangedByUserContactCard
ProductStandardID I_Product ProductStandardID GTIN
AuthorizationGroup I_Product AuthorizationGroup AuthorizGroup
SalesProduct I_Product SalesProduct Sales Material No.
LogisticalProductCategory
BaseUnit I_Product BaseUnit Unit of Measure
_BaseUnitOfMeasure _BaseUnitOfMeasure
_BaseUnitText _BaseUnitText
ProductType I_Product ProductType Product Type Group
_ProductType _ProductType
_ProductTypeText _ProductTypeText
ProductCategory I_Product ProductCategory Prod Category
_ProductCategory _ProductCategory
_ProductCategoryText _ProductCategoryText
ProductGroup I_Product ProductGroup Product Sold Group
_ProductGroup _ProductGroup
_ProductGroupText _ProductGroupText
IndustrySector IndustrySector Industry
PurchaseOrderUnit
_PurchaseOrderUnit _PurchaseOrderUnit
_PurchaseOrderUnitOfMeasure _PurchaseOrderUnitOfMeasure
_PurchaseOrderUnitText _PurchaseOrderUnitText
PurchaseOrderUnitName _PurchaseOrderUnitText UnitOfMeasureName Meas. Unit Text
OrderToBaseQuantityDnmntr _PurchaseOrderUnit QuantityDenominator Units / Quantity - Alt Unit of Measure
OrderToBaseQuantityNmrtr _PurchaseOrderUnit QuantityNumerator Units / Quantity - Base Unit of Measure
GoodsIssueUnit
_GoodsIssueUnit _GoodsIssueUnit
_GoodsIssueUnitOfMeasure _GoodsIssueUnitOfMeasure
_GoodsIssueUnitText _GoodsIssueUnitText
GoodsIssueUnitName _GoodsIssueUnitText UnitOfMeasureName Meas. Unit Text
GoodsIssueToBaseQuantityDnmntr _GoodsIssueUnit QuantityDenominator Units / Quantity - Alt Unit of Measure
GoodsIssueToBaseQuantityNmrtr _GoodsIssueUnit QuantityNumerator Units / Quantity - Base Unit of Measure

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 I_ActiveLogisticalProduct.
-- 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 I_ActiveLogisticalProduct AS
SELECT
  product.Product AS Product,
  _Text.ProductDescription AS ProductDescription,
  product.ProductExternalID AS ProductExternalID,
  product.CreationDate AS CreationDate,
  product.CreatedByUser AS CreatedByUser,
  product.LastChangeDate AS LastChangeDate,
  product.LastChangeTime AS LastChangeTime,
  product.LastChangeDateTime AS LastChangeDateTime,
  product.LastChangedByUser AS LastChangedByUser,
  product.ProductStandardID AS ProductStandardID,
  product.AuthorizationGroup AS AuthorizationGroup,
  product.SalesProduct AS SalesProduct,
  cast( product.LogisticalProductCategory as logisticalproductcategory preserving type ) AS LogisticalProductCategory,
  product.BaseUnit AS BaseUnit,
  product.ProductType AS ProductType,
  product.ProductCategory AS ProductCategory,
  product.ProductGroup AS ProductGroup,
  IndustrySector,
  cast( product.PurchaseOrderQuantityUnit as purorderquantityunit preserving type ) AS PurchaseOrderUnit,
  _PurchaseOrderUnitText.UnitOfMeasureName AS PurchaseOrderUnitName,
  _PurchaseOrderUnit.QuantityDenominator AS OrderToBaseQuantityDnmntr,
  _PurchaseOrderUnit.QuantityNumerator AS OrderToBaseQuantityNmrtr,
  cast( ProductRetail.GoodsIssueUnit as goodsissueunit preserving type ) AS GoodsIssueUnit,
  _GoodsIssueUnitText.UnitOfMeasureName AS GoodsIssueUnitName,
  _GoodsIssueUnit.QuantityDenominator AS GoodsIssueToBaseQuantityDnmntr,
  _GoodsIssueUnit.QuantityNumerator AS GoodsIssueToBaseQuantityNmrtr
FROM I_Product AS product
INNER JOIN I_ProductRetail AS ProductRetail ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ProductDescription AS _Text ON Product = _Text.Product AND _Text.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_User AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_User AS _LastChangedByUser ON LastChangedByUser = _LastChangedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _CreatedByUserContactCard ON CreatedByUser = _CreatedByUserContactCard.ContactCardID  -- association [1..1]
LEFT OUTER JOIN I_UserContactCard AS _LastChangedByUserContactCard ON LastChangedByUser = _LastChangedByUserContactCard.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_Producttype AS _ProductType ON ProductType = _ProductType.ProductType  -- association [1..1]
LEFT OUTER JOIN I_ProductTypeText AS _ProductTypeText ON ProductType = _ProductTypeText.ProductType AND _ProductTypeText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_ProductCategory AS _ProductCategory ON ProductCategory = _ProductCategory.ProductCategory  -- association [1..1]
LEFT OUTER JOIN I_ProductCategoryText AS _ProductCategoryText ON ProductCategory = _ProductCategoryText.ProductCategory  -- association [0..*]
LEFT OUTER JOIN I_ProductGroup AS _ProductGroup ON ProductGroup = _ProductGroup.MaterialGroup  -- association [1..1]
LEFT OUTER JOIN I_ProductGroupText AS _ProductGroupText ON ProductGroup = _ProductGroupText.MaterialGroup AND _ProductGroupText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _BaseUnitOfMeasure ON BaseUnit = _BaseUnitOfMeasure.UnitOfMeasure  -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasureText AS _BaseUnitText ON BaseUnit = _BaseUnitText.UnitOfMeasure AND _BaseUnitText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_ProductUnitsOfMeasure AS _GoodsIssueUnit ON Product = _GoodsIssueUnit.Product AND GoodsIssueUnit = _GoodsIssueUnit.AlternativeUnit  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _GoodsIssueUnitOfMeasure ON GoodsIssueUnit = _GoodsIssueUnitOfMeasure.UnitOfMeasure  -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasureText AS _GoodsIssueUnitText ON GoodsIssueUnit = _GoodsIssueUnitText.UnitOfMeasure AND _GoodsIssueUnitText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_ProductUnitsOfMeasure AS _PurchaseOrderUnit ON Product = _PurchaseOrderUnit.Product AND PurchaseOrderUnit = _PurchaseOrderUnit.AlternativeUnit  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _PurchaseOrderUnitOfMeasure ON PurchaseOrderUnit = _PurchaseOrderUnitOfMeasure.UnitOfMeasure  -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasureText AS _PurchaseOrderUnitText ON PurchaseOrderUnit = _PurchaseOrderUnitText.UnitOfMeasure AND _PurchaseOrderUnitText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN E_Product AS _ProductExt ON Product = _ProductExt.Product  -- association [0..1]
;