I_OrderComponentBasic

DDL: I_ORDERCOMPONENTBASIC Type: view_entity BASIC

Order Component Basic

I_OrderComponentBasic is a Basic CDS View that provides data about "Order Component Basic" in SAP S/4HANA. It reads from 1 data source (I_ReservationItem) and exposes 148 fields with key fields Reservation, ReservationItem, RecordType. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ReservationItem resb from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_OrderBasic _OrderBasic resb.aufnr = _OrderBasic.OrderID
[1..1] I_LogisticsOrder _LogisticsOrder $projection.OrderID = _LogisticsOrder.OrderID

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Order Component Basic view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (148)

KeyFieldSource TableSource FieldDescription
KEY Reservation I_ReservationItem rsnum Reservation
KEY ReservationItem
KEY RecordType
MaterialGroup I_ReservationItem matkl Product Sold Group
Material I_ReservationItem matnr Vehicle Model
Plant I_ReservationItem werks Receiving Plant
OrderID I_ReservationItem aufnr SettlementOrder
OrderItem I_ReservationItem afpos Item Number
Sequence I_ReservationItem plnfl Sequence
SequenceCategory
OrderOperation
OrderSuboperation
OrderInternalID
OrderOperationInternalID
MatlCompRequirementDate
MatlCompRequirementTime
LatestRequirementDate
ReservationItemCreationCode
ReservationIsFinallyIssued I_ReservationItem kzear Final Issue
MatlCompIsMarkedForDeletion
MaterialComponentIsMissing I_ReservationItem xfehl Missing Part
IsBulkMaterialComponent I_ReservationItem schgt Bulk material
MatlCompIsMarkedForBackflush I_ReservationItem rgekz Backflushing
MaterialIsCoProduct I_ReservationItem kzkup Co-Product
MatlCompIsTextItem I_ReservationItem txtps Text Item
MaterialPlanningRelevance
MatlCompIsConfigurable I_ReservationItem kfpos Configur. Item
MaterialComponentIsClassified I_ReservationItem clakz Classification
MaterialCompIsIntraMaterial I_ReservationItem inpos Intra Material
ReservationItemText
MaterialComponentText I_ReservationItem potx1 Item Text
MaterialComponentSecondText I_ReservationItem potx2 Item Text
LongTextLanguage
RequirementType
SalesOrder
SalesOrderItem
WBSElementInternalID
ProductConfiguration I_ReservationItem cuobj Object Number
ChangeNumber I_ReservationItem aennr Change Number
MaterialRevisionLevel
EffectivityParameterVariant I_ReservationItem techs Tech st from
MaterialComponentSortText I_ReservationItem sortf Sort string
ObjectInternalID I_ReservationItem objnr Val. Obj. No.
BillOfMaterialCategory
BillOfMaterialInternalID
BillOfMaterialVariant I_ReservationItem stlal AlternativeBOM
BOMItem
BillOfMaterialVersion I_ReservationItem bom_versn BOM Version
BOMItemInternalChangeCount I_ReservationItem stpoz Counter
InheritedBOMItemNode I_ReservationItem stvkn Nodes
BOMItemCategory
BillOfMaterialItemNumber
BOMItemDescription I_ReservationItem potx1 Item Text
BOMItemText2 I_ReservationItem potx2 Item Text
BOMExplosionDateID
PurchasingInfoRecord
PurchasingGroup
PurchaseRequisition
PurchaseRequisitionItem
PurchaseOrder
PurchaseOrderItem
PurchaseOrderScheduleLine
Supplier I_ReservationItem lifnr Vendor no.
DeliveryDurationInDays
MaterialGoodsReceiptDuration
NumberOfPriceUnits
GoodsMovementIsAllowed I_ReservationItem xwaok Mvt Allowed
StorageLocation
DebitCreditCode
GoodsMovementType I_ReservationItem bwart Valuation Type
InventorySpecialStockType
InventorySpecialStockValnType
ConsumptionPosting
SupplyArea
GoodsRecipientName
UnloadingPointName I_ReservationItem ablad Unloading Point
StockSegment I_ReservationItem sgt_scat Stock Segment
RequirementSegment I_ReservationItem sgt_rcat Req. Segment
Batch I_ReservationItem charg Chargeable Proc.
BatchSplitType I_ReservationItem splkz Checkbox
BatchClassification I_ReservationItem chobj Int.object no.
MaterialStaging I_ReservationItem berkz Staging Ind.
Warehouse I_ReservationItem lgnum Whse Number
StorageType I_ReservationItem lgtyp Storage Type
StorageBin I_ReservationItem lgpla Storage Bin
MaterialCompCostingRelevancy I_ReservationItem sanka CostingRelevncy
BusinessArea I_ReservationItem gsber Business Area
GLAccount I_ReservationItem saknr G/L Account
FunctionalArea I_ReservationItem fkber Functional Area
AccountAssignmentCategory
EarmarkedFundsDocument I_ReservationItem kblnr Earmarked funds
EarmarkedFundsDocumentItem I_ReservationItem kblpos Document Item
FundsCenter
Fund I_ReservationItem geber Fund
CommitmentItem I_ReservationItem fipex obsolete
CommitmentItemShortID
MaterialCompIsVariableSized I_ReservationItem rohps Var-Sized Item
VariableSizeItemQuantity
VariableSizeComponentQuantity
romeiasVariableSizeDimensionUnit
VariableSizeDimension1 I_ReservationItem roms1 Size 1
VariableSizeDimension2 I_ReservationItem roms2 Size 2
VariableSizeDimension3 I_ReservationItem roms3 Size 3
VariableSizeCompFormulaKey I_ReservationItem rform VSI Formula
MaterialCompIsAlternativeItem I_ReservationItem alpos Alternat. item
AlternativeItemGroup
AlternativeItemStrategy
AlternativeItemPriority
UsageProbabilityPercent I_ReservationItem ewahr Usg Probability
OriginalReservation I_ReservationItem original_rsnum Origl.Resv.no.
OriginalReservationItem I_ReservationItem original_rspos Origl. Item
MaterialComponentIsPhantomItem
OrderPathValue I_ReservationItem aufwg Order path
OrderLevelValue I_ReservationItem aufst Order level
Assembly I_ReservationItem baugr Pegged Reqmt
AssemblyOrderPathValue I_ReservationItem bauwg Assbly Ord.Path
AssemblyOrderLevelValue I_ReservationItem baust Assbly Ord. Lvl
DiscontinuationGroup
MatlCompDiscontinuationType I_ReservationItem kzaus Share of scrap
MatlCompIsFollowUpMaterial
FollowUpGroup
FollowUpMaterial
FollowUpMaterialIsActive
MaterialProvisionType
MatlComponentSparePartType
LeadTimeOffset
OperationLeadTimeOffsetUnit
OperationLeadTimeOffset
CriticalComponentType I_ReservationItem fsh_critical_comp Critical Component
CriticalComponentLevel I_ReservationItem fsh_critical_level Critical Level
QuantityIsFixed I_ReservationItem fmeng Qty. is fixed
IsNetScrap I_ReservationItem netau Net Indicator
ComponentScrapInPercent I_ReservationItem ausch Sep. Scrap CostComps
OperationScrapInPercent I_ReservationItem avoau Operation Scrap
MaterialQtyToBaseQtyNmrtr I_ReservationItem umrez Numerator
MaterialQtyToBaseQtyDnmntr I_ReservationItem umren Denominator
meinsasBaseUnit
RequiredQuantity I_ReservationItem bdmng Threshold value
WithdrawnQuantity
ConfirmedAvailableQuantity
MaterialCompOriginalQuantity
MaterialComponentUsageQuantity I_ReservationItem esmng Usage qty - UoM
erfmeasEntryUnit
GoodsMovementEntryQty
Currency I_ReservationItem waers Transaction Currency
WithdrawnQuantityAmount I_ReservationItem enwrt Withdr. Value
_OrderBasic _OrderBasic
_LogisticsOrder _LogisticsOrder

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_OrderComponentBasic.
-- 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_OrderComponentBasic AS
SELECT
  resb.rsnum AS Reservation,
  cast(resb.rspos as pph_rspos preserving type) AS ReservationItem,
  cast(resb.rsart as pph_rsart preserving type) AS RecordType,
  resb.matkl AS MaterialGroup,
  resb.matnr AS Material,
  resb.werks AS Plant,
  resb.aufnr AS OrderID,
  resb.afpos AS OrderItem,
  resb.plnfl AS Sequence,
  cast(resb.flgat as folgenart preserving type) AS SequenceCategory,
  cast(resb.vornr as vdm_vornr preserving type) AS OrderOperation,
  cast(resb.uvorn as vdm_uvorn preserving type) AS OrderSuboperation,
  cast(resb.aufpl as pph_aufpl preserving type) AS OrderInternalID,
  cast(resb.aplzl as operationinternalid preserving type) AS OrderOperationInternalID,
  cast(resb.bdter as pph_bdter preserving type) AS MatlCompRequirementDate,
  cast(resb.bdztp as pph_bdztp preserving type) AS MatlCompRequirementTime,
  cast(resb.sbter as pph_sbter preserving type) AS LatestRequirementDate,
  cast(resb.rssta as pph_rssta preserving type) AS ReservationItemCreationCode,
  resb.kzear AS ReservationIsFinallyIssued,
  cast(resb.xloek as sa_loekz preserving type) AS MatlCompIsMarkedForDeletion,
  resb.xfehl AS MaterialComponentIsMissing,
  resb.schgt AS IsBulkMaterialComponent,
  resb.rgekz AS MatlCompIsMarkedForBackflush,
  resb.kzkup AS MaterialIsCoProduct,
  resb.txtps AS MatlCompIsTextItem,
  cast(resb.no_disp as vdm_no_disp preserving type) AS MaterialPlanningRelevance,
  resb.kfpos AS MatlCompIsConfigurable,
  resb.clakz AS MaterialComponentIsClassified,
  resb.inpos AS MaterialCompIsIntraMaterial,
  cast(resb.sgtxt as pph_sgtxt preserving type) AS ReservationItemText,
  resb.potx1 AS MaterialComponentText,
  resb.potx2 AS MaterialComponentSecondText,
  cast(resb.ltxsp as pph_longtextlang preserving type) AS LongTextLanguage,
  cast(resb.bdart as pph_bdart preserving type) AS RequirementType,
  cast(resb.kdauf as co_kdauf preserving type) AS SalesOrder,
  cast(resb.kdpos as co_kdpos preserving type) AS SalesOrderItem,
  cast(resb.pspel as ps_s4_pspnr preserving type) AS WBSElementInternalID,
  resb.cuobj AS ProductConfiguration,
  resb.aennr AS ChangeNumber,
  cast(resb.revlv as vdm_qm_revlv preserving type) AS MaterialRevisionLevel,
  resb.techs AS EffectivityParameterVariant,
  resb.sortf AS MaterialComponentSortText,
  resb.objnr AS ObjectInternalID,
  cast(resb.stlty as pph_stlty preserving type) AS BillOfMaterialCategory,
  cast(resb.stlnr as pph_stnum preserving type) AS BillOfMaterialInternalID,
  resb.stlal AS BillOfMaterialVariant,
  cast(resb.stlkn as pph_stlkn preserving type) AS BOMItem,
  resb.bom_versn AS BillOfMaterialVersion,
  resb.stpoz AS BOMItemInternalChangeCount,
  resb.stvkn AS InheritedBOMItemNode,
  cast(resb.postp as pph_postp preserving type) AS BOMItemCategory,
  cast(resb.posnr as vdm_sposn preserving type) AS BillOfMaterialItemNumber,
  resb.potx1 AS BOMItemDescription,
  resb.potx2 AS BOMItemText2,
  cast(resb.sernr as pph_sernr preserving type) AS BOMExplosionDateID,
  cast(resb.infnr as pph_infnr preserving type) AS PurchasingInfoRecord,
  cast(resb.ekgrp as pph_ekgrp preserving type) AS PurchasingGroup,
  cast(resb.banfn as co_banfn preserving type) AS PurchaseRequisition,
  cast(resb.bnfpo as co_bnfpo preserving type) AS PurchaseRequisitionItem,
  cast(resb.ebeln as vdm_purchaseorder preserving type) AS PurchaseOrder,
  cast(resb.ebelp as vdm_purchaseorderitem preserving type) AS PurchaseOrderItem,
  cast(resb.ebele as fis_etenr preserving type) AS PurchaseOrderScheduleLine,
  resb.lifnr AS Supplier,
  cast(resb.lifzt as pph_lifzt preserving type) AS DeliveryDurationInDays,
  cast(resb.webaz as pph_webaz preserving type) AS MaterialGoodsReceiptDuration,
  cast(resb.peinh as pph_peinh preserving type) AS NumberOfPriceUnits,
  resb.xwaok AS GoodsMovementIsAllowed,
  cast(resb.lgort as pph_lgort preserving type) AS StorageLocation,
  cast(resb.shkzg as pph_shkzg preserving type) AS DebitCreditCode,
  resb.bwart AS GoodsMovementType,
  cast(resb.sobkz as inventoryspecialstocktype preserving type) AS InventorySpecialStockType,
  cast(resb.kzbws as pph_kzbws preserving type) AS InventorySpecialStockValnType,
  cast(resb.kzvbr as pph_kzvbr preserving type) AS ConsumptionPosting,
  cast(resb.prvbe as pph_prvbe preserving type) AS SupplyArea,
  cast(resb.wempf as pph_wempf preserving type) AS GoodsRecipientName,
  resb.ablad AS UnloadingPointName,
  resb.sgt_scat AS StockSegment,
  resb.sgt_rcat AS RequirementSegment,
  resb.charg AS Batch,
  resb.splkz AS BatchSplitType,
  resb.chobj AS BatchClassification,
  resb.berkz AS MaterialStaging,
  resb.lgnum AS Warehouse,
  resb.lgtyp AS StorageType,
  resb.lgpla AS StorageBin,
  resb.sanka AS MaterialCompCostingRelevancy,
  resb.gsber AS BusinessArea,
  resb.saknr AS GLAccount,
  resb.fkber AS FunctionalArea,
  cast(resb.knttp as pph_knttp preserving type) AS AccountAssignmentCategory,
  resb.kblnr AS EarmarkedFundsDocument,
  resb.kblpos AS EarmarkedFundsDocumentItem,
  cast(resb.fistl as bbpfistl preserving type) AS FundsCenter,
  resb.geber AS Fund,
  resb.fipex AS CommitmentItem,
  cast(resb.fipos as fmis_ci_internalname preserving type) AS CommitmentItemShortID,
  resb.rohps AS MaterialCompIsVariableSized,
  cast(resb.roanz as pph_roanz preserving type) AS VariableSizeItemQuantity,
  cast(resb.romen as pph_romen preserving type) AS VariableSizeComponentQuantity,
  resb.roms1 AS VariableSizeDimension1,
  resb.roms2 AS VariableSizeDimension2,
  resb.roms3 AS VariableSizeDimension3,
  resb.rform AS VariableSizeCompFormulaKey,
  resb.alpos AS MaterialCompIsAlternativeItem,
  cast(resb.alpgr as pph_alpgr preserving type) AS AlternativeItemGroup,
  cast(resb.alpst as pph_alpst preserving type) AS AlternativeItemStrategy,
  cast(resb.alprf as pph_alprf preserving type) AS AlternativeItemPriority,
  resb.ewahr AS UsageProbabilityPercent,
  resb.original_rsnum AS OriginalReservation,
  resb.original_rspos AS OriginalReservationItem,
  cast(resb.dumps as pph_dumps preserving type) AS MaterialComponentIsPhantomItem,
  resb.aufwg AS OrderPathValue,
  resb.aufst AS OrderLevelValue,
  resb.baugr AS Assembly,
  resb.bauwg AS AssemblyOrderPathValue,
  resb.baust AS AssemblyOrderLevelValue,
  cast(resb.nfeag as pph_nfeag preserving type) AS DiscontinuationGroup,
  resb.kzaus AS MatlCompDiscontinuationType,
  cast(resb.nfpkz as pph_kznfp preserving type) AS MatlCompIsFollowUpMaterial,
  cast(resb.nfgrp as pph_nfgrp preserving type) AS FollowUpGroup,
  cast(resb.nomat as pph_nomat preserving type) AS FollowUpMaterial,
  cast(resb.nafkz as pph_nafkz preserving type) AS FollowUpMaterialIsActive,
  cast(resb.beikz as vdm_beikz preserving type) AS MaterialProvisionType,
  cast(resb.erskz as vdm_erskz preserving type) AS MatlComponentSparePartType,
  cast(resb.nlfzt as pph_nlfzt preserving type) AS LeadTimeOffset,
  cast(resb.nlfmv as pph_nlfmv preserving type) AS OperationLeadTimeOffsetUnit,
  cast(resb.nlfzv as pph_nlfzv preserving type) AS OperationLeadTimeOffset,
  resb.fsh_critical_comp AS CriticalComponentType,
  resb.fsh_critical_level AS CriticalComponentLevel,
  resb.fmeng AS QuantityIsFixed,
  resb.netau AS IsNetScrap,
  resb.ausch AS ComponentScrapInPercent,
  resb.avoau AS OperationScrapInPercent,
  resb.umrez AS MaterialQtyToBaseQtyNmrtr,
  resb.umren AS MaterialQtyToBaseQtyDnmntr,
  resb.bdmng AS RequiredQuantity,
  cast(resb.enmng as pph_enmng preserving type) AS WithdrawnQuantity,
  cast(resb.vmeng as pph_vmeng preserving type) AS ConfirmedAvailableQuantity,
  cast(resb.nomng as pph_nomng preserving type) AS MaterialCompOriginalQuantity,
  resb.esmng AS MaterialComponentUsageQuantity,
  cast(resb.erfmg as pph_erfmg preserving type) AS GoodsMovementEntryQty,
  resb.waers AS Currency,
  resb.enwrt AS WithdrawnQuantityAmount
FROM I_ReservationItem AS resb
LEFT OUTER JOIN I_OrderBasic AS _OrderBasic ON resb.aufnr = _OrderBasic.OrderID  -- association [0..1]
LEFT OUTER JOIN I_LogisticsOrder AS _LogisticsOrder ON OrderID = _LogisticsOrder.OrderID  -- association [1..1]
;