I_ProjMatCompAdditionalData

DDL: I_PROJMATCOMPADDITIONALDATA SQL: IPRMATCOMADDDAT Type: view BASIC

Additional Data for Proj Material Comp

I_ProjMatCompAdditionalData is a Basic CDS View that provides data about "Additional Data for Proj Material Comp" in SAP S/4HANA. It reads from 1 data source (rsadd) and exposes 22 fields with key fields Reservation, ReservationItem, RecordType. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
rsadd rsadd from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_ProjNtwkActyMatBOMAssembly _ProjNtwkActyMatBOMAssembly ( $projection.BillOfMaterialInternalID = _ProjNtwkActyMatBOMAssembly.BillOfMaterial and $projection.BillOfMaterialCategory = _ProjNtwkActyMatBOMAssembly.BillOfMaterialCategory ) or ( $projection.BillOfMaterialInternalID = _ProjNtwkActyMatBOMAssembly.BillOfMaterial )
[1..1] E_ProjectMaterialComponent _Extension $projection.Reservation = _Extension.Reservation and $projection.RecordType = _Extension.RecordType and $projection.ReservationItem = _Extension.ReservationItem

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IPRMATCOMADDDAT view
VDM.viewType #BASIC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Additional Data for Proj Material Comp view

Fields (22)

KeyFieldSource TableSource FieldDescription
KEY Reservation rsadd rsnum Reservation
KEY ReservationItem
KEY RecordType rsadd rsart Risk type
BillOfMaterialInternalID
BillOfMaterialCategory rsadd bstlt BOM category
IsThirdPartyRequisition rsadd strecke 3rd party order
CreatedByUser rsadd creaby User ID
CreationDate rsadd creadat Created On
LastChangedByUser rsadd changeby User Name
LastChangeDate rsadd changedat Time Stamp
BOMExplosionFixedKeyDate rsadd brtdate Fixed Key Date
PurchasingOrganization rsadd ekorg Purchasing Org.
RequisitionerUser rsadd afnam Requisitioner
RequirementTracking rsadd bednr Tracking Number
PurgInfoRecdDataIsFixed rsadd kzfix Price_fixed
MatlCompProcmtIndicatorCode rsadd mflic Procurement
AddressNumber rsadd adrn2 Address Number
Customer rsadd kunnr Stock customer
Supplier rsadd emlif Supplier
OverallLimitAmount rsadd overalllimitamount Overall Limit
ExpectedOverallLimitAmount rsadd expectedoveralllimitamount Expected Value
_ProjNtwkActyMatBOMAssembly _ProjNtwkActyMatBOMAssembly

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_ProjMatCompAdditionalData.
-- 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: IPRMATCOMADDDAT

CREATE VIEW I_ProjMatCompAdditionalData AS
SELECT
  rsadd.rsnum AS Reservation,
  cast (rsadd.rspos as ps_s4_rspos preserving type ) AS ReservationItem,
  rsadd.rsart AS RecordType,
  cast(rsadd.bstln as pph_stnum preserving type) AS BillOfMaterialInternalID,
  rsadd.bstlt AS BillOfMaterialCategory,
  rsadd.strecke AS IsThirdPartyRequisition,
  rsadd.creaby AS CreatedByUser,
  rsadd.creadat AS CreationDate,
  rsadd.changeby AS LastChangedByUser,
  rsadd.changedat AS LastChangeDate,
  rsadd.brtdate AS BOMExplosionFixedKeyDate,
  rsadd.ekorg AS PurchasingOrganization,
  rsadd.afnam AS RequisitionerUser,
  rsadd.bednr AS RequirementTracking,
  rsadd.kzfix AS PurgInfoRecdDataIsFixed,
  rsadd.mflic AS MatlCompProcmtIndicatorCode,
  rsadd.adrn2 AS AddressNumber,
  rsadd.kunnr AS Customer,
  rsadd.emlif AS Supplier,
  rsadd.overalllimitamount AS OverallLimitAmount,
  rsadd.expectedoveralllimitamount AS ExpectedOverallLimitAmount
FROM rsadd
LEFT OUTER JOIN I_ProjNtwkActyMatBOMAssembly AS _ProjNtwkActyMatBOMAssembly ON ( BillOfMaterialInternalID = _ProjNtwkActyMatBOMAssembly.BillOfMaterial AND BillOfMaterialCategory = _ProjNtwkActyMatBOMAssembly.BillOfMaterialCategory ) OR ( BillOfMaterialInternalID = _ProjNtwkActyMatBOMAssembly.BillOfMaterial )  -- association [0..1]
LEFT OUTER JOIN E_ProjectMaterialComponent AS _Extension ON Reservation = _Extension.Reservation AND RecordType = _Extension.RecordType AND ReservationItem = _Extension.ReservationItem  -- association [1..1]
;