I_RFM_SalesDocumentItem

DDL: I_RFM_SALESDOCUMENTITEM Type: view BASIC

Sales Document Item

I_RFM_SalesDocumentItem is a Basic CDS View (Dimension) that provides data about "Sales Document Item" in SAP S/4HANA. It reads from 1 data source (vbap) and exposes 56 fields with key fields SalesDocument, SalesDocumentItem. It has 61 associations to related views.

Data Sources (1)

SourceAliasJoin Type
vbap vbap from

Associations (61)

CardinalityTargetAliasCondition
[0..1] I_SDDocumentCompletePartners _PartFuncShipToHdr $projection.SalesDocument = _PartFuncShipToHdr.SDDocument and _PartFuncShipToHdr.SDDocumentItem = '000000' and _PartFuncShipToHdr.PartnerFunction = 'WE'
[0..1] I_SDDocumentCompletePartners _PartFuncMarkFor $projection.SalesDocument = _PartFuncMarkFor.SDDocument and $projection.SalesDocumentItem = _PartFuncMarkFor.SDDocumentItem and _PartFuncMarkFor.PartnerFunction = 'MF'
[0..1] I_SDDocumentCompletePartners _PartFuncHdrMarkFor $projection.SalesDocument = _PartFuncHdrMarkFor.SDDocument and _PartFuncHdrMarkFor.SDDocumentItem = '000000' and _PartFuncHdrMarkFor.PartnerFunction = 'MF'
[0..*] I_MaterialText _MaterialText $projection.Material = _MaterialText.Material
[0..*] I_ShippingPointText _ShippingPointText $projection.ShippingPoint = _ShippingPointText.ShippingPoint
[1..1] I_RFM_SalesDocument _SalesDocument $projection.SalesDocument = _SalesDocument.SalesDocument
[0..1] I_Product _Product $projection.Material = _Product.Product
[0..1] I_Batch _Batch $projection.Plant = _Batch.Plant and $projection.Material = _Batch.Material and $projection.Batch = _Batch.Batch
[0..1] I_UnitOfMeasure _OrderQuantityUnit $projection.OrderQuantityUnit = _OrderQuantityUnit.UnitOfMeasure
[0..1] I_UnitOfMeasure _BaseUnit $projection.BaseUnit = _BaseUnit.UnitOfMeasure
[0..1] I_SalesDistrict _SalesDistrict $projection.SalesDistrict = _SalesDistrict.SalesDistrict
[0..1] I_CustomerGroup _CustomerGroup $projection.CustomerGroup = _CustomerGroup.CustomerGroup
[0..1] I_SalesDocumentRjcnReason _SalesDocumentRjcnReason $projection.SalesDocumentRjcnReason = _SalesDocumentRjcnReason.SalesDocumentRjcnReason
[0..1] I_ShippingPoint _ShippingPoint $projection.ShippingPoint = _ShippingPoint.ShippingPoint
[0..1] I_DeliveryPriority _DeliveryPriority $projection.DeliveryPriority = _DeliveryPriority.DeliveryPriority
[0..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[0..1] I_StorageLocation _StorageLocation $projection.Plant = _StorageLocation.Plant and $projection.StorageLocation = _StorageLocation.StorageLocation
[0..1] I_CustomerPaymentTerms _CustomerPaymentTerms $projection.CustomerPaymentTerms = _CustomerPaymentTerms.CustomerPaymentTerms
[0..1] I_IncotermsVersion _IncotermsVersion $projection.IncotermsVersion = _IncotermsVersion.IncotermsVersion
[0..1] I_IncotermsClassification _IncotermsClassification $projection.IncotermsClassification = _IncotermsClassification.IncotermsClassification
[0..1] I_SDProcessStatus _SDProcessStatus $projection.SDProcessStatus = _SDProcessStatus.SDProcessStatus
[0..1] I_ItemGenIncompletionStatus _ItemGeneralIncompletionStatus $projection.ItemGeneralIncompletionStatus = _ItemGeneralIncompletionStatus.ItemGeneralIncompletionStatus
[0..1] I_ItemBillingIncompletionSts _ItemBillingIncompletionStatus $projection.ItemBillingIncompletionStatus = _ItemBillingIncompletionStatus.ItemBillingIncompletionStatus
[0..1] I_PricingIncompletionStatus _PricingIncompletionStatus $projection.PricingIncompletionStatus = _PricingIncompletionStatus.PricingIncompletionStatus
[0..1] I_ItemDelivIncompletionSts _ItemDelivIncompletionSts $projection.ItemDeliveryIncompletionStatus = _ItemDelivIncompletionSts.ItemDeliveryIncompletionStatus
[0..1] I_Currency _TransactionCurrency $projection.TransactionCurrency = _TransactionCurrency.Currency
[0..1] I_CustomerPriceGroup _CustomerPriceGroup $projection.CustomerPriceGroup = _CustomerPriceGroup.CustomerPriceGroup
[0..1] I_ProductGroup_2 _ProductGroup $projection.ProductGroup = _ProductGroup.ProductGroup
[0..1] I_AdditionalMaterialGroup1 _AdditionalMaterialGroup1 $projection.AdditionalMaterialGroup1 = _AdditionalMaterialGroup1.AdditionalMaterialGroup1
[0..1] I_AdditionalMaterialGroup2 _AdditionalMaterialGroup2 $projection.AdditionalMaterialGroup2 = _AdditionalMaterialGroup2.AdditionalMaterialGroup2
[0..1] I_AdditionalMaterialGroup3 _AdditionalMaterialGroup3 $projection.AdditionalMaterialGroup3 = _AdditionalMaterialGroup3.AdditionalMaterialGroup3
[0..1] I_AdditionalMaterialGroup4 _AdditionalMaterialGroup4 $projection.AdditionalMaterialGroup4 = _AdditionalMaterialGroup4.AdditionalMaterialGroup4
[0..1] I_AdditionalMaterialGroup5 _AdditionalMaterialGroup5 $projection.AdditionalMaterialGroup5 = _AdditionalMaterialGroup5.AdditionalMaterialGroup5
[0..1] I_ShippingType _ShippingType $projection.ShippingType = _ShippingType.ShippingType
[0..1] I_SalesDocumentItemCategory _ItemCategory $projection.SalesDocumentItemCategory = _ItemCategory.SalesDocumentItemCategory
[0..1] I_ContactPersonStdDepartment _ContactPersonStdDepartment $projection.DepartmentClassificationByCust = _ContactPersonStdDepartment.ContactPersonStdDepartment
[0..1] I_CustomerPurchaseOrderType _CustomerPurchaseOrderType $projection.CustomerPurchaseOrderType = _CustomerPurchaseOrderType.CustomerPurchaseOrderType
[0..1] I_AdditionalCustomerGroup1 _AdditionalCustomerGroup1 $projection.AdditionalCustomerGroup1 = _AdditionalCustomerGroup1.AdditionalCustomerGroup1
[0..1] I_AdditionalCustomerGroup2 _AdditionalCustomerGroup2 $projection.AdditionalCustomerGroup2 = _AdditionalCustomerGroup2.AdditionalCustomerGroup2
[0..1] I_AdditionalCustomerGroup3 _AdditionalCustomerGroup3 $projection.AdditionalCustomerGroup3 = _AdditionalCustomerGroup3.AdditionalCustomerGroup3
[0..1] I_AdditionalCustomerGroup4 _AdditionalCustomerGroup4 $projection.AdditionalCustomerGroup4 = _AdditionalCustomerGroup4.AdditionalCustomerGroup4
[0..1] I_AdditionalCustomerGroup5 _AdditionalCustomerGroup5 $projection.AdditionalCustomerGroup5 = _AdditionalCustomerGroup5.AdditionalCustomerGroup5
[0..1] I_RetailAddlCustGrp6 _RetailAddlCustGrp6 $projection.RetailAdditionalCustomerGrp6 = _RetailAddlCustGrp6.RetailAdditionalCustomerGrp6 and $projection.SalesOrganization = _RetailAddlCustGrp6.SalesOrganization
[0..1] I_RetailAddlCustGrp7 _RetailAddlCustGrp7 $projection.RetailAdditionalCustomerGrp7 = _RetailAddlCustGrp7.RetailAdditionalCustomerGrp7 and $projection.SalesOrganization = _RetailAddlCustGrp7.SalesOrganization
[0..1] I_RetailAddlCustGrp8 _RetailAddlCustGrp8 $projection.RetailAdditionalCustomerGrp8 = _RetailAddlCustGrp8.RetailAdditionalCustomerGrp8 and $projection.SalesOrganization = _RetailAddlCustGrp8.SalesOrganization
[0..1] I_RetailAddlCustGrp9 _RetailAddlCustGrp9 $projection.RetailAdditionalCustomerGrp9 = _RetailAddlCustGrp9.RetailAdditionalCustomerGrp9 and $projection.SalesOrganization = _RetailAddlCustGrp9.SalesOrganization
[0..1] I_RetailAddlCustGrp10 _RetailAddlCustGrp10 $projection.RetailAdditionalCustomerGrp10 = _RetailAddlCustGrp10.RetailAdditionalCustomerGrp10 and $projection.SalesOrganization = _RetailAddlCustGrp10.SalesOrganization
[0..1] I_SalesOrganization _SalesOrganization $projection.SalesOrganization = _SalesOrganization.SalesOrganization
[0..1] I_Customer _SoldToParty $projection.SoldToParty = _SoldToParty.Customer
[0..1] I_Customer _ShipToParty $projection.ShipToParty = _ShipToParty.Customer
[0..1] I_OrderRelatedBillingStatus _OrderRelatedBillingStatus $projection.OrderRelatedBillingStatus = _OrderRelatedBillingStatus.OrderRelatedBillingStatus
[0..1] I_Route _Route $projection.Route = _Route.Route
[0..1] I_MaterialPricingGroup _MaterialPricingGroup $projection.MaterialPricingGroup = _MaterialPricingGroup.MaterialPricingGroup
[0..1] I_DeliveryBlockReason _DeliveryBlockReason $projection.DeliveryBlockReason = _DeliveryBlockReason.DeliveryBlockReason
[0..1] I_SalesGroup _SalesGroup $projection.SalesGroup = _SalesGroup.SalesGroup
[0..1] I_SalesOffice _SalesOffice $projection.SalesOffice = _SalesOffice.SalesOffice
[0..1] I_ShippingCondition _ShippingCondition $projection.ShippingCondition = _ShippingCondition.ShippingCondition
[0..1] I_BillingBlockReason _HeaderBillingBlockReason $projection.HeaderBillingBlockReason = _HeaderBillingBlockReason.BillingBlockReason
[0..1] I_SDDocumentReason _SDDocumentReason $projection.SDDocumentReason = _SDDocumentReason.SDDocumentReason
[0..1] I_Plant _TransitPlant $projection.TransitPlant = _TransitPlant.Plant
[0..1] I_SalesValueChainCategory _SalesValueChainCategory $projection.ValueChainCategory = _SalesValueChainCategory.ValueChainCategory

Annotations (16)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Sales Document Item view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.sqlViewName IRFMSDITM view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.representativeKey SalesDocumentItem view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view

Fields (56)

KeyFieldSource TableSource FieldDescription
KEY SalesDocument vbap vbeln SD Sched. Agmt
KEY SalesDocumentItem vbap posnr WBS Element
SalesDocumentItemUUID vbap handle TS handle
SalesOrganization vbak vkorg SD Sales Org.
DistributionChannel vbak vtweg RefDistCh-Cust/Mat.
OrganizationDivision vbak spart Source supplier
SoldToParty vbak kunnr Stock customer
CreatedByUser vbak ernam User Name
SDDocumentCategory vbak vbtyp TSW Det.Doc typ
OverallSDProcessStatus vbak gbstk Overall Status
OverallTotalDeliveryStatus vbak lfgsk Ovrl Deliv. Sts
TotalBlockStatus vbak spstg Ovrl Block Sts
SalesDocumentType vbak auart Sales Doc. Type
SalesGroup vbak vkgrp Sales Group
SalesOffice vbak vkbur Sales Office
ShippingCondition vbak vsbed Shipping Conditions
CreationDate vbak erdat Entered On
SDDocumentReason vbak augru Sales Document Reason
CustomerPurchaseOrderDate vbak bstdk Cust. Ref. Date
PurchaseOrderByCustomer vbap bstkd_ana Cust. Reference
SalesDocumentDate vbak audat Trans. Period End
HeaderBillingBlockReason vbak faksk Billing Block
OrderRelatedBillingStatus vbap fksaa Ord.Rel.BillgSt
HdrGeneralIncompletionStatus vbak uvall Overall Header
OvrlItmGeneralIncompletionSts vbak uvals All Items
TotalCreditCheckStatus vbak cmgst OverallCredStat
DeliveryBlockReason vbak lifsk Delivery Block
HeaderBillgIncompletionStatus vbak uvfak Billing Doc.
OvrlItmBillingIncompletionSts vbak uvfas Billg–All Items
OverallPricingIncompletionSts vbak uvprs Pricing – Item
HeaderDelivIncompletionStatus vbak uvvlk Delivery – Item
OvrlItmDelivIncompletionSts vbak uvvls Deliv–All Itms
RequestedDeliveryDate
AgrmtValdtyStartDate vbak guebg Valid From
AgrmtValdtyEndDate vbak gueen Valid To
CustomerPurchaseOrderType vbkd bsark Pur. Ord. Type
ShipToParty vbap kunwe_ana Ship-to Party
DeliveryStatus vbap lfsta Delivery Status
ValAddedSrvcItemNumber vbap fsh_item Item Number
ItemHasValueAddedService vbap fsh_vas_rel VAS Relevant
Material vbap matnr Vehicle Model
Batch vbap charg Chargeable Proc.
InventorySpecialStockType vbap sobkz Special Stock
IsReturnsItem vbap shkzg Returns
SalesDocumentItemText vbap arktx Short Text
OrderQuantity vbap kwmeng Sales Quantity
OrderQuantityUnit vbap vrkme UoM for SubItm CCD
ConfdDelivQtyInOrderQtyUnit vbap kbmeng CumltvConfdQty
OrderToBaseQuantityDnmntr vbap umvkn Denominator
OrderToBaseQuantityNmrtr vbap umvkz Numerator
BaseUnit vbap meins Valuation Unit
SalesDocumentItemCategory vbap pstyv Item Category
SalesDistrict vbkd bzirk Sales District
CustomerGroup vbkd kdgrp Customer group
SalesDocumentRjcnReason vbap abgru RejectionReason
RequirementSegment vbap sgt_rcat Req. Segment

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_RFM_SalesDocumentItem.
-- 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_RFM_SalesDocumentItem AS
SELECT
  vbap.vbeln AS SalesDocument,
  vbap.posnr AS SalesDocumentItem,
  vbap.handle AS SalesDocumentItemUUID,
  vbak.vkorg AS SalesOrganization,
  vbak.vtweg AS DistributionChannel,
  vbak.spart AS OrganizationDivision,
  vbak.kunnr AS SoldToParty,
  vbak.ernam AS CreatedByUser,
  vbak.vbtyp AS SDDocumentCategory,
  vbak.gbstk AS OverallSDProcessStatus,
  vbak.lfgsk AS OverallTotalDeliveryStatus,
  vbak.spstg AS TotalBlockStatus,
  vbak.auart AS SalesDocumentType,
  vbak.vkgrp AS SalesGroup,
  vbak.vkbur AS SalesOffice,
  vbak.vsbed AS ShippingCondition,
  vbak.erdat AS CreationDate,
  vbak.augru AS SDDocumentReason,
  vbak.bstdk AS CustomerPurchaseOrderDate,
  vbap.bstkd_ana AS PurchaseOrderByCustomer,
  vbak.audat AS SalesDocumentDate,
  vbak.faksk AS HeaderBillingBlockReason,
  vbap.fksaa AS OrderRelatedBillingStatus,
  vbak.uvall AS HdrGeneralIncompletionStatus,
  vbak.uvals AS OvrlItmGeneralIncompletionSts,
  vbak.cmgst AS TotalCreditCheckStatus,
  vbak.lifsk AS DeliveryBlockReason,
  vbak.uvfak AS HeaderBillgIncompletionStatus,
  vbak.uvfas AS OvrlItmBillingIncompletionSts,
  vbak.uvprs AS OverallPricingIncompletionSts,
  vbak.uvvlk AS HeaderDelivIncompletionStatus,
  vbak.uvvls AS OvrlItmDelivIncompletionSts,
  cast(vbak.vdatu as reqd_delivery_date preserving type) AS RequestedDeliveryDate,
  vbak.guebg AS AgrmtValdtyStartDate,
  vbak.gueen AS AgrmtValdtyEndDate,
  vbkd.bsark AS CustomerPurchaseOrderType,
  vbap.kunwe_ana AS ShipToParty,
  vbap.lfsta AS DeliveryStatus,
  vbap.fsh_item AS ValAddedSrvcItemNumber,
  vbap.fsh_vas_rel AS ItemHasValueAddedService,
  vbap.matnr AS Material,
  vbap.charg AS Batch,
  vbap.sobkz AS InventorySpecialStockType,
  vbap.shkzg AS IsReturnsItem,
  vbap.arktx AS SalesDocumentItemText,
  vbap.kwmeng AS OrderQuantity,
  vbap.vrkme AS OrderQuantityUnit,
  vbap.kbmeng AS ConfdDelivQtyInOrderQtyUnit,
  vbap.umvkn AS OrderToBaseQuantityDnmntr,
  vbap.umvkz AS OrderToBaseQuantityNmrtr,
  vbap.meins AS BaseUnit,
  vbap.pstyv AS SalesDocumentItemCategory,
  vbkd.bzirk AS SalesDistrict,
  vbkd.kdgrp AS CustomerGroup,
  vbap.abgru AS SalesDocumentRjcnReason,
  vbap.sgt_rcat AS RequirementSegment
FROM vbap
LEFT OUTER JOIN I_SDDocumentCompletePartners AS _PartFuncShipToHdr ON SalesDocument = _PartFuncShipToHdr.SDDocument AND _PartFuncShipToHdr.SDDocumentItem = '000000' AND _PartFuncShipToHdr.PartnerFunction = 'WE'  -- association [0..1]
LEFT OUTER JOIN I_SDDocumentCompletePartners AS _PartFuncMarkFor ON SalesDocument = _PartFuncMarkFor.SDDocument AND SalesDocumentItem = _PartFuncMarkFor.SDDocumentItem AND _PartFuncMarkFor.PartnerFunction = 'MF'  -- association [0..1]
LEFT OUTER JOIN I_SDDocumentCompletePartners AS _PartFuncHdrMarkFor ON SalesDocument = _PartFuncHdrMarkFor.SDDocument AND _PartFuncHdrMarkFor.SDDocumentItem = '000000' AND _PartFuncHdrMarkFor.PartnerFunction = 'MF'  -- association [0..1]
LEFT OUTER JOIN I_MaterialText AS _MaterialText ON Material = _MaterialText.Material  -- association [0..*]
LEFT OUTER JOIN I_ShippingPointText AS _ShippingPointText ON ShippingPoint = _ShippingPointText.ShippingPoint  -- association [0..*]
LEFT OUTER JOIN I_RFM_SalesDocument AS _SalesDocument ON SalesDocument = _SalesDocument.SalesDocument  -- association [1..1]
LEFT OUTER JOIN I_Product AS _Product ON Material = _Product.Product  -- association [0..1]
LEFT OUTER JOIN I_Batch AS _Batch ON Plant = _Batch.Plant AND Material = _Batch.Material AND Batch = _Batch.Batch  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _OrderQuantityUnit ON OrderQuantityUnit = _OrderQuantityUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _BaseUnit ON BaseUnit = _BaseUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_SalesDistrict AS _SalesDistrict ON SalesDistrict = _SalesDistrict.SalesDistrict  -- association [0..1]
LEFT OUTER JOIN I_CustomerGroup AS _CustomerGroup ON CustomerGroup = _CustomerGroup.CustomerGroup  -- association [0..1]
LEFT OUTER JOIN I_SalesDocumentRjcnReason AS _SalesDocumentRjcnReason ON SalesDocumentRjcnReason = _SalesDocumentRjcnReason.SalesDocumentRjcnReason  -- association [0..1]
LEFT OUTER JOIN I_ShippingPoint AS _ShippingPoint ON ShippingPoint = _ShippingPoint.ShippingPoint  -- association [0..1]
LEFT OUTER JOIN I_DeliveryPriority AS _DeliveryPriority ON DeliveryPriority = _DeliveryPriority.DeliveryPriority  -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [0..1]
LEFT OUTER JOIN I_StorageLocation AS _StorageLocation ON Plant = _StorageLocation.Plant AND StorageLocation = _StorageLocation.StorageLocation  -- association [0..1]
LEFT OUTER JOIN I_CustomerPaymentTerms AS _CustomerPaymentTerms ON CustomerPaymentTerms = _CustomerPaymentTerms.CustomerPaymentTerms  -- association [0..1]
LEFT OUTER JOIN I_IncotermsVersion AS _IncotermsVersion ON IncotermsVersion = _IncotermsVersion.IncotermsVersion  -- association [0..1]
LEFT OUTER JOIN I_IncotermsClassification AS _IncotermsClassification ON IncotermsClassification = _IncotermsClassification.IncotermsClassification  -- association [0..1]
LEFT OUTER JOIN I_SDProcessStatus AS _SDProcessStatus ON SDProcessStatus = _SDProcessStatus.SDProcessStatus  -- association [0..1]
LEFT OUTER JOIN I_ItemGenIncompletionStatus AS _ItemGeneralIncompletionStatus ON ItemGeneralIncompletionStatus = _ItemGeneralIncompletionStatus.ItemGeneralIncompletionStatus  -- association [0..1]
LEFT OUTER JOIN I_ItemBillingIncompletionSts AS _ItemBillingIncompletionStatus ON ItemBillingIncompletionStatus = _ItemBillingIncompletionStatus.ItemBillingIncompletionStatus  -- association [0..1]
LEFT OUTER JOIN I_PricingIncompletionStatus AS _PricingIncompletionStatus ON PricingIncompletionStatus = _PricingIncompletionStatus.PricingIncompletionStatus  -- association [0..1]
LEFT OUTER JOIN I_ItemDelivIncompletionSts AS _ItemDelivIncompletionSts ON ItemDeliveryIncompletionStatus = _ItemDelivIncompletionSts.ItemDeliveryIncompletionStatus  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _TransactionCurrency ON TransactionCurrency = _TransactionCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_CustomerPriceGroup AS _CustomerPriceGroup ON CustomerPriceGroup = _CustomerPriceGroup.CustomerPriceGroup  -- association [0..1]
LEFT OUTER JOIN I_ProductGroup_2 AS _ProductGroup ON ProductGroup = _ProductGroup.ProductGroup  -- association [0..1]
LEFT OUTER JOIN I_AdditionalMaterialGroup1 AS _AdditionalMaterialGroup1 ON AdditionalMaterialGroup1 = _AdditionalMaterialGroup1.AdditionalMaterialGroup1  -- association [0..1]
LEFT OUTER JOIN I_AdditionalMaterialGroup2 AS _AdditionalMaterialGroup2 ON AdditionalMaterialGroup2 = _AdditionalMaterialGroup2.AdditionalMaterialGroup2  -- association [0..1]
LEFT OUTER JOIN I_AdditionalMaterialGroup3 AS _AdditionalMaterialGroup3 ON AdditionalMaterialGroup3 = _AdditionalMaterialGroup3.AdditionalMaterialGroup3  -- association [0..1]
LEFT OUTER JOIN I_AdditionalMaterialGroup4 AS _AdditionalMaterialGroup4 ON AdditionalMaterialGroup4 = _AdditionalMaterialGroup4.AdditionalMaterialGroup4  -- association [0..1]
LEFT OUTER JOIN I_AdditionalMaterialGroup5 AS _AdditionalMaterialGroup5 ON AdditionalMaterialGroup5 = _AdditionalMaterialGroup5.AdditionalMaterialGroup5  -- association [0..1]
LEFT OUTER JOIN I_ShippingType AS _ShippingType ON ShippingType = _ShippingType.ShippingType  -- association [0..1]
LEFT OUTER JOIN I_SalesDocumentItemCategory AS _ItemCategory ON SalesDocumentItemCategory = _ItemCategory.SalesDocumentItemCategory  -- association [0..1]
LEFT OUTER JOIN I_ContactPersonStdDepartment AS _ContactPersonStdDepartment ON DepartmentClassificationByCust = _ContactPersonStdDepartment.ContactPersonStdDepartment  -- association [0..1]
LEFT OUTER JOIN I_CustomerPurchaseOrderType AS _CustomerPurchaseOrderType ON CustomerPurchaseOrderType = _CustomerPurchaseOrderType.CustomerPurchaseOrderType  -- association [0..1]
LEFT OUTER JOIN I_AdditionalCustomerGroup1 AS _AdditionalCustomerGroup1 ON AdditionalCustomerGroup1 = _AdditionalCustomerGroup1.AdditionalCustomerGroup1  -- association [0..1]
LEFT OUTER JOIN I_AdditionalCustomerGroup2 AS _AdditionalCustomerGroup2 ON AdditionalCustomerGroup2 = _AdditionalCustomerGroup2.AdditionalCustomerGroup2  -- association [0..1]
LEFT OUTER JOIN I_AdditionalCustomerGroup3 AS _AdditionalCustomerGroup3 ON AdditionalCustomerGroup3 = _AdditionalCustomerGroup3.AdditionalCustomerGroup3  -- association [0..1]
LEFT OUTER JOIN I_AdditionalCustomerGroup4 AS _AdditionalCustomerGroup4 ON AdditionalCustomerGroup4 = _AdditionalCustomerGroup4.AdditionalCustomerGroup4  -- association [0..1]
LEFT OUTER JOIN I_AdditionalCustomerGroup5 AS _AdditionalCustomerGroup5 ON AdditionalCustomerGroup5 = _AdditionalCustomerGroup5.AdditionalCustomerGroup5  -- association [0..1]
LEFT OUTER JOIN I_RetailAddlCustGrp6 AS _RetailAddlCustGrp6 ON RetailAdditionalCustomerGrp6 = _RetailAddlCustGrp6.RetailAdditionalCustomerGrp6 AND SalesOrganization = _RetailAddlCustGrp6.SalesOrganization  -- association [0..1]
LEFT OUTER JOIN I_RetailAddlCustGrp7 AS _RetailAddlCustGrp7 ON RetailAdditionalCustomerGrp7 = _RetailAddlCustGrp7.RetailAdditionalCustomerGrp7 AND SalesOrganization = _RetailAddlCustGrp7.SalesOrganization  -- association [0..1]
LEFT OUTER JOIN I_RetailAddlCustGrp8 AS _RetailAddlCustGrp8 ON RetailAdditionalCustomerGrp8 = _RetailAddlCustGrp8.RetailAdditionalCustomerGrp8 AND SalesOrganization = _RetailAddlCustGrp8.SalesOrganization  -- association [0..1]
LEFT OUTER JOIN I_RetailAddlCustGrp9 AS _RetailAddlCustGrp9 ON RetailAdditionalCustomerGrp9 = _RetailAddlCustGrp9.RetailAdditionalCustomerGrp9 AND SalesOrganization = _RetailAddlCustGrp9.SalesOrganization  -- association [0..1]
LEFT OUTER JOIN I_RetailAddlCustGrp10 AS _RetailAddlCustGrp10 ON RetailAdditionalCustomerGrp10 = _RetailAddlCustGrp10.RetailAdditionalCustomerGrp10 AND SalesOrganization = _RetailAddlCustGrp10.SalesOrganization  -- association [0..1]
LEFT OUTER JOIN I_SalesOrganization AS _SalesOrganization ON SalesOrganization = _SalesOrganization.SalesOrganization  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _SoldToParty ON SoldToParty = _SoldToParty.Customer  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _ShipToParty ON ShipToParty = _ShipToParty.Customer  -- association [0..1]
LEFT OUTER JOIN I_OrderRelatedBillingStatus AS _OrderRelatedBillingStatus ON OrderRelatedBillingStatus = _OrderRelatedBillingStatus.OrderRelatedBillingStatus  -- association [0..1]
LEFT OUTER JOIN I_Route AS _Route ON Route = _Route.Route  -- association [0..1]
LEFT OUTER JOIN I_MaterialPricingGroup AS _MaterialPricingGroup ON MaterialPricingGroup = _MaterialPricingGroup.MaterialPricingGroup  -- association [0..1]
LEFT OUTER JOIN I_DeliveryBlockReason AS _DeliveryBlockReason ON DeliveryBlockReason = _DeliveryBlockReason.DeliveryBlockReason  -- association [0..1]
LEFT OUTER JOIN I_SalesGroup AS _SalesGroup ON SalesGroup = _SalesGroup.SalesGroup  -- association [0..1]
LEFT OUTER JOIN I_SalesOffice AS _SalesOffice ON SalesOffice = _SalesOffice.SalesOffice  -- association [0..1]
LEFT OUTER JOIN I_ShippingCondition AS _ShippingCondition ON ShippingCondition = _ShippingCondition.ShippingCondition  -- association [0..1]
LEFT OUTER JOIN I_BillingBlockReason AS _HeaderBillingBlockReason ON HeaderBillingBlockReason = _HeaderBillingBlockReason.BillingBlockReason  -- association [0..1]
LEFT OUTER JOIN I_SDDocumentReason AS _SDDocumentReason ON SDDocumentReason = _SDDocumentReason.SDDocumentReason  -- association [0..1]
LEFT OUTER JOIN I_Plant AS _TransitPlant ON TransitPlant = _TransitPlant.Plant  -- association [0..1]
LEFT OUTER JOIN I_SalesValueChainCategory AS _SalesValueChainCategory ON ValueChainCategory = _SalesValueChainCategory.ValueChainCategory  -- association [0..1]
;