C_PFMViewProductFootprints

DDL: C_PFMVIEWPRODUCTFOOTPRINTS Type: view_entity CONSUMPTION

Product Footprints

C_PFMViewProductFootprints is a Consumption CDS View that provides data about "Product Footprints" in SAP S/4HANA. It reads from 4 data sources (I_PFMMasterDataFootprintQty, I_PFMMasterDataFootprintQty, P_PFMViewProductFootprints, P_PFMViewProdPlntSuplrFprints) and exposes 81 fields with key field PFMMasterDataFootprintQtyUUID. It has 2 associations to related views. It is exposed through 1 OData service (UI_PFMMDFOOTPRINT_VIEW). It is used in 1 Fiori application: View Product Footprints.

Data Sources (4)

SourceAliasJoin Type
I_PFMMasterDataFootprintQty _PFMMasterDataFootprintQty inner
I_PFMMasterDataFootprintQty _PFMMasterDataFootprintQty inner
P_PFMViewProductFootprints _PFMProdPlntFootprint from
P_PFMViewProdPlntSuplrFprints _PFMViewProdPlntSuplrFprint union_all

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_SupplierCompany _SupplierCompany $projection.Supplier = _SupplierCompany.Supplier and $projection.CompanyCode = _SupplierCompany.CompanyCode

Annotations (9)

NameValueLevelField
EndUserText.label Product Footprints view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #D view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view

OData Services (1)

ServiceBindingVersionContractRelease
UI_PFMMDFOOTPRINT_VIEW UI_PFMMDFOOTPRINT_VIEW V2 C1 NOT_RELEASED

Fiori Apps (1)

App IDApp NameTypeDescription
F5783 View Product Footprints Transactional This application enables you to view product footprints like for example the carbon footprint in CO2-equivalent.

View Product Footprints

Business Role: Administrator - Product Footprint Management

With this app you can view product footprints that have been calculated in SAP Sustainability Footprint Management on SAP Business Technology Platform.

Fields (81)

KeyFieldSource TableSource FieldDescription
KEY PFMMasterDataFootprintQtyUUID I_PFMMasterDataFootprintQty PFMMasterDataFootprintQtyUUID Master Data Footprint Quantity
Product P_PFMViewProductFootprints Product Product Sold
ProductName
ProductGroup
ProductGroupName
Plant P_PFMViewProductFootprints Plant Valuation Area
PlantName
Supplier Supplier
SupplierName
CompanyCode _ValuationArea CompanyCode Receiver Company Code
CompanyCodeName _CompanyCode CompanyCodeName Company Name
PFMFootprintCategory I_PFMMasterDataFootprintQty PFMFootprintCategory Footprint Category
PFMFootprintCategoryName
PFMFootprintQuantity
PFMFootprintUnit I_PFMMasterDataFootprintQty PFMFootprintUnit Unit
PFMFootprintUnitName
PFMFootprintReferenceBasis I_PFMMasterDataFootprintQty PFMFootprintReferenceBasis Reference Basis
PFMFootprintReferenceBasisName
BaseUnit
UnitOfMeasureName
SupplierAuthznGrp
SupplierCompanyAuthznGroup AuthorizGroup
DataControllerSet
DataController1
DataController2
DataController3
DataController4
DataController5
DataController6
DataController7
DataController8
DataController9
DataController10
_BaseUnitOfMeasure
_Plant P_PFMViewProductFootprints _Plant
_Product P_PFMViewProductFootprints _Product
_ProductGroup_2
_CompanyCode _CompanyCode
_UnitOfMeasure I_PFMMasterDataFootprintQty _UnitOfMeasure
_PFMFootprintCategory I_PFMMasterDataFootprintQty _PFMFootprintCategory
PFMMasterDataFootprintQtyUUID Master Data Footprint Quantity
Product P_PFMViewProdPlntSuplrFprints Product Product Sold
ProductName
ProductGroup
ProductGroupName
Plant P_PFMViewProdPlntSuplrFprints Plant Valuation Area
PlantName
Supplier P_PFMViewProdPlntSuplrFprints Supplier Supplier
SupplierName
CompanyCode _ValuationArea CompanyCode Receiver Company Code
CompanyCodeName _CompanyCode CompanyCodeName Company Name
PFMFootprintCategory I_PFMMasterDataFootprintQty PFMFootprintCategory Footprint Category
PFMFootprintCategoryName
PFMFootprintQuantity
PFMFootprintUnit I_PFMMasterDataFootprintQty PFMFootprintUnit Unit
PFMFootprintUnitName
PFMFootprintReferenceBasis I_PFMMasterDataFootprintQty PFMFootprintReferenceBasis Reference Basis
PFMFootprintReferenceBasisName
BaseUnit
UnitOfMeasureName
SupplierAuthznGrp
SupplierCompanyAuthznGroup _SupplierCompany AuthorizationGroup AuthorizGroup
DataControllerSet
DataController1
DataController2
DataController3
DataController4
DataController5
DataController6
DataController7
DataController8
DataController9
DataController10
_BaseUnitOfMeasure
_Plant P_PFMViewProdPlntSuplrFprints _Plant
_Product P_PFMViewProdPlntSuplrFprints _Product
_ProductGroup_2
_CompanyCode _CompanyCode
_UnitOfMeasure I_PFMMasterDataFootprintQty _UnitOfMeasure
_PFMFootprintCategory I_PFMMasterDataFootprintQty _PFMFootprintCategory
_PFMFootprintReferenceBasis I_PFMMasterDataFootprintQty _PFMFootprintReferenceBasis

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 C_PFMViewProductFootprints.
-- 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 C_PFMViewProductFootprints AS
SELECT
  _PFMMasterDataFootprintQty.PFMMasterDataFootprintQtyUUID AS PFMMasterDataFootprintQtyUUID,
  _PFMProdPlntFootprint.Product AS Product,
  _PFMProdPlntFootprint._Product._Text[1: Language= $session.system_language ].ProductName AS ProductName,
  _PFMProdPlntFootprint._Product.ProductGroup AS ProductGroup,
  _PFMProdPlntFootprint._Product._ProductGroupText_2[1: Language= $session.system_language ].ProductGroupName AS ProductGroupName,
  _PFMProdPlntFootprint.Plant AS Plant,
  _PFMProdPlntFootprint._Plant.PlantName AS PlantName,
  cast('' as lifnr ) AS Supplier,
  cast('' as md_supplier_name) AS SupplierName,
  _ValuationArea.CompanyCode AS CompanyCode,
  _CompanyCode.CompanyCodeName AS CompanyCodeName,
  _PFMMasterDataFootprintQty.PFMFootprintCategory AS PFMFootprintCategory,
  _PFMMasterDataFootprintQty._PFMFootprintCategory._Text[1: Language= $session.system_language ].PFMFootprintCategoryName AS PFMFootprintCategoryName,
  cast (_PFMMasterDataFootprintQty.PFMFootprintQuantity as pfmfootprintquantity_ui) AS PFMFootprintQuantity,
  _PFMMasterDataFootprintQty.PFMFootprintUnit AS PFMFootprintUnit,
  _PFMMasterDataFootprintQty._UnitOfMeasure._Text[1: Language= $session.system_language].UnitOfMeasureName AS PFMFootprintUnitName,
  _PFMMasterDataFootprintQty.PFMFootprintReferenceBasis AS PFMFootprintReferenceBasis,
  _PFMMasterDataFootprintQty._PFMFootprintReferenceBasis._Text[1: Language= $session.system_language ].PFMFootprintReferenceBasisName AS PFMFootprintReferenceBasisName,
  _PFMProdPlntFootprint._Product.BaseUnit AS BaseUnit,
  _PFMProdPlntFootprint._Product._BaseUnitOfMeasureText[1: Language= $session.system_language ].UnitOfMeasureName AS UnitOfMeasureName,
  cast('' as brgru) AS SupplierAuthznGrp,
  cast('' as brgru) AS SupplierCompanyAuthznGroup,
  '' AS DataControllerSet,
  cast('' as bu_data_controller ) AS DataController1,
  cast('' as bu_data_controller ) AS DataController2,
  cast('' as bu_data_controller ) AS DataController3,
  cast('' as bu_data_controller ) AS DataController4,
  cast('' as bu_data_controller ) AS DataController5,
  cast('' as bu_data_controller ) AS DataController6,
  cast('' as bu_data_controller ) AS DataController7,
  cast('' as bu_data_controller ) AS DataController8,
  cast('' as bu_data_controller ) AS DataController9,
  cast('' as bu_data_controller ) AS DataController10,
  _PFMProdPlntFootprint._Product._BaseUnitOfMeasure AS _BaseUnitOfMeasure,
  _PFMProdPlntFootprint._Plant AS _Plant,
  _PFMProdPlntFootprint._Product AS _Product,
  _PFMProdPlntFootprint._Product._ProductGroup_2 AS _ProductGroup_2,
  _PFMMasterDataFootprintQty._UnitOfMeasure AS _UnitOfMeasure,
  _PFMMasterDataFootprintQty._PFMFootprintCategory AS _PFMFootprintCategory,
  _PFMMasterDataFootprintQty._PFMFootprintReferenceBasis AS _PFMFootprintReferenceBasis
FROM P_PFMViewProductFootprints AS _PFMProdPlntFootprint
INNER JOIN I_PFMMasterDataFootprintQty AS _PFMMasterDataFootprintQty ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_SupplierCompany AS _SupplierCompany ON Supplier = _SupplierCompany.Supplier AND CompanyCode = _SupplierCompany.CompanyCode  -- association [0..1]
-- UNION ALL with additional select branch(es): P_PFMViewProdPlntSuplrFprints
;