R_InventoryPriceChangeItemTP

DDL: R_INVENTORYPRICECHANGEITEMTP Type: view_entity TRANSACTIONAL Package: ODATA_ML_CHANGEMATERIALPRICES

CHMP - Price Change Item

R_InventoryPriceChangeItemTP is a Transactional CDS View that provides data about "CHMP - Price Change Item" in SAP S/4HANA. It reads from 1 data source (I_InventoryPriceChangeItem) and exposes 32 fields with key fields BatchItemUUID, ChangeDocTableKeyUUID. It has 6 associations to related views. Part of development package ODATA_ML_CHANGEMATERIALPRICES.

Data Sources (1)

SourceAliasJoin Type
I_InventoryPriceChangeItem I_InventoryPriceChangeItem from

Associations (6)

CardinalityTargetAliasCondition
[0..1] I_Material _Material $projection.Material = _Material.Material
[0..1] I_Ledger _Ledger $projection.Ledger = _Ledger.Ledger
[0..1] R_LedgerValuationCrcyRole _CurrencyRoleMapping $projection.CurrencyRole = _CurrencyRoleMapping.LedgerValuationCurrencyRole
[0..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_WBSElementBasicData _WBSElementBasicData $projection.WBSElementExternalID = _WBSElementBasicData.WBSElementExternalID

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label CHMP - Price Change Item view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view

Fields (32)

KeyFieldSource TableSource FieldDescription
KEY BatchItemUUID BatchItemUUID Draft Document ID
KEY ChangeDocTableKeyUUID ChangeDocTableKeyUUID Change Document Table Key Universally Unique Identifier
BatchUUID BatchUUID Target Grp GUID
CostEstimate CostEstimate Cost EstimateNo
CurrencyRole CurrencyRole Curr./Val. Type
InventoryValuationType InventoryValuationType Valuation Type
LedgerValnCrcyRoleIsUsedInLogs Is Log. Curr. Type
Material Material Vehicle Model
MaterialPrice Inventory Price
StatisticalMaterialPrice StatisticalMaterialPrice Inventory Price
MaterialPriceUnitQty Price unit
NewMaterialPrice Inventory Price
NewStatisticalMaterialPrice NewStatisticalMaterialPrice Inventory Price
NewMaterialPriceUnitQty Price unit
Currency Currency Valuation Crcy
MaterialBaseUnit MaterialBaseUnit Valuation Unit
Ledger Ledger Ledger
MaterialPriceType MaterialPriceType Price Type
MaterialPriceControl MaterialPriceControl Price Control
SalesDocument SalesDocument SD Document
SalesDocumentItem SalesDocumentItem Sales Document Item
WBSElementExternalID WBSElementExternalID WBS Element External ID
ChangeRequestNote Short Description
Plant Plant Valuation Area
CompanyCode CompanyCode Receiver Company Code
_InventoryPriceChangeHeader _InventoryPriceChangeHeader
_Material _Material
_Ledger _Ledger
_CurrencyRoleMapping _CurrencyRoleMapping
_Plant _Plant
_WBSElementBasicData _WBSElementBasicData
_CompanyCode _CompanyCode

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_InventoryPriceChangeItemTP.
-- 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_InventoryPriceChangeItemTP AS
SELECT
  BatchItemUUID,
  ChangeDocTableKeyUUID,
  BatchUUID,
  CostEstimate,
  CurrencyRole,
  InventoryValuationType,
  cast( LedgerValnCrcyRoleIsUsedInLogs as fml_chmp_price_category preserving type ) AS LedgerValnCrcyRoleIsUsedInLogs,
  Material,
  cast (MaterialPrice as fml_chmp_current_price preserving type) AS MaterialPrice,
  StatisticalMaterialPrice,
  cast (MaterialPriceUnitQty as fml_chmp_current_price_unit preserving type) AS MaterialPriceUnitQty,
  cast (NewMaterialPrice as fml_chmp_new_price preserving type) AS NewMaterialPrice,
  NewStatisticalMaterialPrice,
  cast (NewMaterialPriceUnitQty as fml_chmp_new_peinh preserving type) AS NewMaterialPriceUnitQty,
  Currency,
  MaterialBaseUnit,
  Ledger,
  MaterialPriceType,
  MaterialPriceControl,
  SalesDocument,
  SalesDocumentItem,
  WBSElementExternalID,
  cast( ChangeRequestNote as fml_chmp_change_note preserving type ) AS ChangeRequestNote,
  Plant,
  CompanyCode
FROM I_InventoryPriceChangeItem
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material  -- association [0..1]
LEFT OUTER JOIN I_Ledger AS _Ledger ON Ledger = _Ledger.Ledger  -- association [0..1]
LEFT OUTER JOIN R_LedgerValuationCrcyRole AS _CurrencyRoleMapping ON CurrencyRole = _CurrencyRoleMapping.LedgerValuationCurrencyRole  -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_WBSElementBasicData AS _WBSElementBasicData ON WBSElementExternalID = _WBSElementBasicData.WBSElementExternalID  -- association [0..1]
;