I_LogisticsOrderBasic

DDL: I_LOGISTICSORDERBASIC SQL: ILOGSORDBASIC Type: view BASIC

Logistics Order Basic

I_LogisticsOrderBasic is a Basic CDS View (Dimension) that provides data about "Logistics Order Basic" in SAP S/4HANA. It reads from 1 data source (afko) and exposes 112 fields with key field OrderID. It has 20 associations to related views.

Data Sources (1)

SourceAliasJoin Type
afko afko from

Associations (20)

CardinalityTargetAliasCondition
[1..1] I_OrderInternalID _OrderInternalID $projection.OrderInternalID = _OrderInternalID.OrderInternalID
[1..1] I_Order _Order $projection.OrderID = _Order.OrderID
[0..1] I_LogisticsOrderPriority _OrderPriority $projection.PriorityCode = _OrderPriority.PriorityCode
[0..1] I_UnitOfMeasure _BaseUnit $projection.BaseUnit = _BaseUnit.UnitOfMeasure
[0..1] I_UnitOfMeasure _MaterialBaseUnit $projection.MaterialBaseUnit = _MaterialBaseUnit.UnitOfMeasure
[0..1] I_ReservationDocumentHeader _Reservation $projection.Reservation = _Reservation.Reservation
[0..1] I_ReservationDocumentHeader _SettlementReservation $projection.SettlementReservation = _SettlementReservation.Reservation
[0..1] I_ProjectNetwork _SuperiorProjectNetwork $projection.SuperiorProjectNetwork = _SuperiorProjectNetwork.ProjectNetwork
[0..1] I_ProjectBasicData _Project $projection.ProjectInternalID = _Project.ProjectInternalID
[0..1] I_CapacityRequirement _CapacityRequirement $projection.CapacityRequirement = _CapacityRequirement.CapacityRequirement
[0..1] I_ConfirmationGroup _ConfirmationGroup $projection.MfgOrderConfirmation = _ConfirmationGroup.ConfirmationGroup
[0..1] I_ChangeMaster _ChangeNumber $projection.ChangeNumber = _ChangeNumber.ChangeNumber
[0..1] I_BillOfOperationsType _BillOfOperationsType $projection.BillOfOperationsType = _BillOfOperationsType.BillOfOperationsType
[0..1] I_BillOfOperationsGroup _BillOfOperationsGroup $projection.BillOfOperationsType = _BillOfOperationsGroup.BillOfOperationsType and $projection.BillOfOperationsGroup = _BillOfOperationsGroup.BillOfOperationsGroup
[0..1] I_BillOfOperations _BillOfOperations $projection.BillOfOperationsType = _BillOfOperations.BillOfOperationsType and $projection.BillOfOperationsGroup = _BillOfOperations.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _BillOfOperations.BillOfOperationsVariant
[0..1] I_BillOfOperationsChangeState _BillOfOperationsChangeState $projection.BillOfOperationsType = _BillOfOperationsChangeState.BillOfOperationsType and $projection.BillOfOperationsGroup = _BillOfOperationsChangeState.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _BillOfOperationsChangeState.BillOfOperationsVariant and $projection.BOOInternalVersionCounter = _BillOfOperationsChangeState.BOOInternalVersionCounter
[0..1] I_BillOfOperationsUsage _BillOfOperationsUsage $projection.BillOfOperationsUsage = _BillOfOperationsUsage.BillOfOperationsUsage
[0..1] I_InspectionLot _InspectionLot $projection.InspectionLot = _InspectionLot.InspectionLot
[0..1] I_SchedulingType _BasicSchedulingType $projection.BasicSchedulingType = _BasicSchedulingType.SchedulingType
[0..1] I_SchedulingType _ForecastSchedulingType $projection.ForecastSchedulingType = _ForecastSchedulingType.SchedulingType

Annotations (20)

NameValueLevelField
AbapCatalog.sqlViewName ILOGSORDBASIC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE view
ClientHandling.type #CLIENT_DEPENDENT view
Consumption.ranked true view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #NONE view
ObjectModel.representativeKey OrderID view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
EndUserText.label Logistics Order Basic view

Fields (112)

KeyFieldSource TableSource FieldDescription
KEY OrderID afko aufnr SettlementOrder
OrderInternalID
PriorityCode afko aprio Priority
MfgOrderIsPartOfCollvOrder afko prodnet Collective Order
OrderIsNotCostedAutomatically
OrdIsNotSchedldAutomatically
MfgOrderHierarchyLevel afko stufe Level Number
OrderHierarchyLevelValue afko stufe Level Number
OrderHierarchyPathValue afko wegxx Path
ProdnProcgIsFlexible afko flexible_processing Flexible
MfgOrderSuperiorMfgOrder afko maufnr SuperiorOrder
lead_aufnrasLeadingOrder
sfcpfasProductionSchedulingProfile
plgrpasResponsiblePlannerGroup
ProjectInternalID
aufntasSuperiorProjectNetwork
Reservation afko rsnum Reservation
SettlementReservation afko arsnr Settle.reser.No
MfgOrderConfirmation afko rueck Return Agmt
MfgOrderConfirmationCount afko rmzhl Counter
CapacityRequirement afko bedid Id number
InspectionLot afko prueflos Inspection Lot
ChangeNumber afko aennr Change Number
BasicSchedulingType
SchedulingIsAllowingForBreaks afko breaks Exact breaks
ProdAvailyCheckPlanningType afko plart Sched. basis
NtwkAccountAssignmentCode afko netzkont Account assgnt
NetworkProfile afko profid PP/DS Alert Pr.
ProductConfiguration afko cuobj Object Number
MaterialRevisionLevel
CapacityActiveVersion afko kapversa Version
CapacityRqmtHasNotToBeCreated afko kbed No Cap. Reqmts.
OrderSequenceNumber afko cy_seqnr Sequence Number
MfgOrderSplitStatus afko splstat Split Status
ExtdQualityCheckIsRequired afko extended_quality_checks Relevant for EQC
MfgOrderIsProductReworkOrder afko is_rework_order
ActualCostsCostingVariant afko klvari Act. Costing Variant
PlannedCostsCostingVariant afko klvarp Plnd Costing Variant
Material
BillOfOperationsType
BillOfOperationsGroup
BillOfOperationsVariant
BOOInternalVersionCounter afko zaehl Sort pos.
BillOfOperationsUsage
BillOfOperationsApplication
BillOfOperationsVersion afko tl_versn Routing Version
BOOExplosionDate afko plauf Explosion Date
BOOValidityStartDate afko pdatv Valid From
plnnrasBillOfOperations
BillOfMaterialCategory
BillOfMaterial
BillOfMaterialVariant afko stlal AlternativeBOM
BillOfMaterialVariantUsage afko stlan Usage
BillOfMaterialVersion afko bom_versn BOM Version
BillOfMaterialStatus afko stlst Order level
BOMExplosionDate afko aufld BOM Expl. Date
BOMValidityStartDate afko sdatv Valid From
MasterProductionOrder afko fsh_mprod_ord Master Prod. Ord.
SchedulingFloatProfile
FloatBeforeProductionInWrkDays
FloatAfterProductionInWorkDays
ReleasePeriodInWorkDays afko freiz Release period
ChangeToScheduledDatesIsMade
gstrpasPlannedStartDate
PlannedStartTime afko gsuzp Start time
PlannedEndDate afko gltrp Basic fin. date
PlannedEndTime afko gluzp Basic Fin. Time
PlannedReleaseDate
gstrsasScheduledBasicStartDate
ScheduledBasicStartTime afko gsuzs SchedStartTime
ScheduledBasicEndDate
ScheduledBasicEndTime afko gluzs Finish time
ScheduledReleaseDate
ActualStartTime afko gsuzi ActualStart
ConfirmedEndDate afko getri Actual Finish
ConfirmedEndTime afko geuzi Actual Finish
ActualEndDate afko gltri Actual finish
ActualDeliveryDate
ActualReleasedDate
ScheduledFcstdReleaseDate afko ftrps Release
gsbtrasTotalCommitmentDate
LastScheduledDate afko trmdt Scheduled on
BaseUnit afko gmein Base Unit
OrderPlannedTotalQty afko gamng Target Quantity
OrderPlannedScrapQty afko gasmg Total Scrap
OrderConfirmedYieldQty afko igmng Confirmed Yield
OrderConfirmedScrapQty afko iasmg Confirmed Scrap
MfgOrderConfirmedReworkQty afko rmnga Rework Quantity
TotalConfirmedQuantity
MaterialFromLotSizeQuantity afko slsvn From Lot Size
MaterialToLotSizeQuantity afko slsbs To Lot Size
MaterialBaseUnit afko bmeins Base Unit
PlannedTotalQtyInBaseUnit afko bmenge Base quantity
_BaseUnit _BaseUnit
_MaterialBaseUnit _MaterialBaseUnit
_Order _Order
_OrderInternalID _OrderInternalID
_OrderPriority _OrderPriority
_BillOfOperationsType _BillOfOperationsType
_BillOfOperationsGroup _BillOfOperationsGroup
_BillOfOperations _BillOfOperations
_BillOfOperationsChangeState _BillOfOperationsChangeState
_BillOfOperationsUsage _BillOfOperationsUsage
_Reservation _Reservation
_SettlementReservation _SettlementReservation
_ChangeNumber _ChangeNumber
_CapacityRequirement _CapacityRequirement
_ConfirmationGroup _ConfirmationGroup
_SuperiorProjectNetwork _SuperiorProjectNetwork
_Project _Project
_InspectionLot _InspectionLot
_BasicSchedulingType _BasicSchedulingType

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_LogisticsOrderBasic.
-- 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: ILOGSORDBASIC

CREATE VIEW I_LogisticsOrderBasic AS
SELECT
  afko.aufnr AS OrderID,
  cast(afko.aufpl as pph_aufpl preserving type) AS OrderInternalID,
  afko.aprio AS PriorityCode,
  afko.prodnet AS MfgOrderIsPartOfCollvOrder,
  cast(afko.naucost as vdm_naucost preserving type) AS OrderIsNotCostedAutomatically,
  cast(afko.nauterm as vdm_nauterm preserving type) AS OrdIsNotSchedldAutomatically,
  afko.stufe AS MfgOrderHierarchyLevel,
  afko.stufe AS OrderHierarchyLevelValue,
  afko.wegxx AS OrderHierarchyPathValue,
  afko.flexible_processing AS ProdnProcgIsFlexible,
  afko.maufnr AS MfgOrderSuperiorMfgOrder,
  cast(afko.pronr as ps_s4_proj_pspnr preserving type) AS ProjectInternalID,
  afko.rsnum AS Reservation,
  afko.arsnr AS SettlementReservation,
  afko.rueck AS MfgOrderConfirmation,
  afko.rmzhl AS MfgOrderConfirmationCount,
  afko.bedid AS CapacityRequirement,
  afko.prueflos AS InspectionLot,
  afko.aennr AS ChangeNumber,
  cast(afko.terkz as pph_termkz preserving type) AS BasicSchedulingType,
  afko.breaks AS SchedulingIsAllowingForBreaks,
  afko.plart AS ProdAvailyCheckPlanningType,
  afko.netzkont AS NtwkAccountAssignmentCode,
  afko.profid AS NetworkProfile,
  afko.cuobj AS ProductConfiguration,
  cast(afko.revlv as vdm_qm_revlv preserving type) AS MaterialRevisionLevel,
  afko.kapversa AS CapacityActiveVersion,
  afko.kbed AS CapacityRqmtHasNotToBeCreated,
  afko.cy_seqnr AS OrderSequenceNumber,
  afko.splstat AS MfgOrderSplitStatus,
  afko.extended_quality_checks AS ExtdQualityCheckIsRequired,
  afko.is_rework_order AS MfgOrderIsProductReworkOrder,
  afko.klvari AS ActualCostsCostingVariant,
  afko.klvarp AS PlannedCostsCostingVariant,
  cast(afko.plnbez as billofoperationsmaterial preserving type) AS Material,
  cast(afko.plnty as billofoperationstype preserving type) AS BillOfOperationsType,
  cast(afko.plnnr as billofoperationsgroup preserving type) AS BillOfOperationsGroup,
  cast(afko.plnal as billofoperationsvariant preserving type) AS BillOfOperationsVariant,
  afko.zaehl AS BOOInternalVersionCounter,
  cast(afko.pverw as billofoperationsusage preserving type) AS BillOfOperationsUsage,
  cast(afko.plnaw as billofoperationsapplication preserving type) AS BillOfOperationsApplication,
  afko.tl_versn AS BillOfOperationsVersion,
  afko.plauf AS BOOExplosionDate,
  afko.pdatv AS BOOValidityStartDate,
  cast(afko.stlty as pph_stlty preserving type) AS BillOfMaterialCategory,
  cast(afko.stlnr as pph_stnum preserving type) AS BillOfMaterial,
  afko.stlal AS BillOfMaterialVariant,
  afko.stlan AS BillOfMaterialVariantUsage,
  afko.bom_versn AS BillOfMaterialVersion,
  afko.stlst AS BillOfMaterialStatus,
  afko.aufld AS BOMExplosionDate,
  afko.sdatv AS BOMValidityStartDate,
  afko.fsh_mprod_ord AS MasterProductionOrder,
  cast(afko.fhori as vdm_fhori preserving type) AS SchedulingFloatProfile,
  cast(afko.vorgz as vdm_vorgz preserving type) AS FloatBeforeProductionInWrkDays,
  cast(afko.sichz as vdm_sichz preserving type) AS FloatAfterProductionInWorkDays,
  afko.freiz AS ReleasePeriodInWorkDays,
  cast(afko.upter as vdm_upter preserving type) AS ChangeToScheduledDatesIsMade,
  afko.gsuzp AS PlannedStartTime,
  afko.gltrp AS PlannedEndDate,
  afko.gluzp AS PlannedEndTime,
  cast(afko.ftrmp as fis_co_ftrmp preserving type) AS PlannedReleaseDate,
  afko.gsuzs AS ScheduledBasicStartTime,
  cast(afko.gltrs as fis_co_gltrs preserving type) AS ScheduledBasicEndDate,
  afko.gluzs AS ScheduledBasicEndTime,
  cast(afko.ftrms as fis_co_ftrms preserving type) AS ScheduledReleaseDate,
  afko.gsuzi AS ActualStartTime,
  afko.getri AS ConfirmedEndDate,
  afko.geuzi AS ConfirmedEndTime,
  afko.gltri AS ActualEndDate,
  cast(afko.gltri as co_ltrmi preserving type) AS ActualDeliveryDate,
  cast(afko.ftrmi as fis_co_ftrmi preserving type) AS ActualReleasedDate,
  afko.ftrps AS ScheduledFcstdReleaseDate,
  afko.trmdt AS LastScheduledDate,
  afko.gmein AS BaseUnit,
  afko.gamng AS OrderPlannedTotalQty,
  afko.gasmg AS OrderPlannedScrapQty,
  afko.igmng AS OrderConfirmedYieldQty,
  afko.iasmg AS OrderConfirmedScrapQty,
  afko.rmnga AS MfgOrderConfirmedReworkQty,
  (igmng + iasmg + rmnga) AS TotalConfirmedQuantity,
  afko.slsvn AS MaterialFromLotSizeQuantity,
  afko.slsbs AS MaterialToLotSizeQuantity,
  afko.bmeins AS MaterialBaseUnit,
  afko.bmenge AS PlannedTotalQtyInBaseUnit
FROM afko
LEFT OUTER JOIN I_OrderInternalID AS _OrderInternalID ON OrderInternalID = _OrderInternalID.OrderInternalID  -- association [1..1]
LEFT OUTER JOIN I_Order AS _Order ON OrderID = _Order.OrderID  -- association [1..1]
LEFT OUTER JOIN I_LogisticsOrderPriority AS _OrderPriority ON PriorityCode = _OrderPriority.PriorityCode  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _BaseUnit ON BaseUnit = _BaseUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _MaterialBaseUnit ON MaterialBaseUnit = _MaterialBaseUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_ReservationDocumentHeader AS _Reservation ON Reservation = _Reservation.Reservation  -- association [0..1]
LEFT OUTER JOIN I_ReservationDocumentHeader AS _SettlementReservation ON SettlementReservation = _SettlementReservation.Reservation  -- association [0..1]
LEFT OUTER JOIN I_ProjectNetwork AS _SuperiorProjectNetwork ON SuperiorProjectNetwork = _SuperiorProjectNetwork.ProjectNetwork  -- association [0..1]
LEFT OUTER JOIN I_ProjectBasicData AS _Project ON ProjectInternalID = _Project.ProjectInternalID  -- association [0..1]
LEFT OUTER JOIN I_CapacityRequirement AS _CapacityRequirement ON CapacityRequirement = _CapacityRequirement.CapacityRequirement  -- association [0..1]
LEFT OUTER JOIN I_ConfirmationGroup AS _ConfirmationGroup ON MfgOrderConfirmation = _ConfirmationGroup.ConfirmationGroup  -- association [0..1]
LEFT OUTER JOIN I_ChangeMaster AS _ChangeNumber ON ChangeNumber = _ChangeNumber.ChangeNumber  -- association [0..1]
LEFT OUTER JOIN I_BillOfOperationsType AS _BillOfOperationsType ON BillOfOperationsType = _BillOfOperationsType.BillOfOperationsType  -- association [0..1]
LEFT OUTER JOIN I_BillOfOperationsGroup AS _BillOfOperationsGroup ON BillOfOperationsType = _BillOfOperationsGroup.BillOfOperationsType AND BillOfOperationsGroup = _BillOfOperationsGroup.BillOfOperationsGroup  -- association [0..1]
LEFT OUTER JOIN I_BillOfOperations AS _BillOfOperations ON BillOfOperationsType = _BillOfOperations.BillOfOperationsType AND BillOfOperationsGroup = _BillOfOperations.BillOfOperationsGroup AND BillOfOperationsVariant = _BillOfOperations.BillOfOperationsVariant  -- association [0..1]
LEFT OUTER JOIN I_BillOfOperationsChangeState AS _BillOfOperationsChangeState ON BillOfOperationsType = _BillOfOperationsChangeState.BillOfOperationsType AND BillOfOperationsGroup = _BillOfOperationsChangeState.BillOfOperationsGroup AND BillOfOperationsVariant = _BillOfOperationsChangeState.BillOfOperationsVariant AND BOOInternalVersionCounter = _BillOfOperationsChangeState.BOOInternalVersionCounter  -- association [0..1]
LEFT OUTER JOIN I_BillOfOperationsUsage AS _BillOfOperationsUsage ON BillOfOperationsUsage = _BillOfOperationsUsage.BillOfOperationsUsage  -- association [0..1]
LEFT OUTER JOIN I_InspectionLot AS _InspectionLot ON InspectionLot = _InspectionLot.InspectionLot  -- association [0..1]
LEFT OUTER JOIN I_SchedulingType AS _BasicSchedulingType ON BasicSchedulingType = _BasicSchedulingType.SchedulingType  -- association [0..1]
LEFT OUTER JOIN I_SchedulingType AS _ForecastSchedulingType ON ForecastSchedulingType = _ForecastSchedulingType.SchedulingType  -- association [0..1]
;