I_SalesOrderImport
Sales Order Header for Import
I_SalesOrderImport is a Basic CDS View (Dimension) that provides data about "Sales Order Header for Import" in SAP S/4HANA. It reads from 1 data source (I_SalesOrder) and exposes 140 fields with key field SalesOrder. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SalesOrder | SalesOrder | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_SalesOrderItemImport | _Item | $projection.SalesOrder = _Item.SalesOrder |
| [0..1] | E_SalesDocumentBasic | _Extension | SalesOrder.SalesOrder = _Extension.SalesDocument |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Sales Order Header for Import | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| AbapCatalog.sqlViewName | ISDSOIMPORT | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.representativeKey | SalesOrder | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.internalName | #LOCAL | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (140)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesOrder | SalesOrder | SD Document | |
| SalesOrderType | SalesOrderType | Sales Order Type | ||
| SalesOrderProcessingType | SalesOrderProcessingType | |||
| CreatedByUser | CreatedByUser | User Name | ||
| LastChangedByUser | LastChangedByUser | User Name | ||
| CreationDate | CreationDate | Time Stamp | ||
| CreationTime | CreationTime | Time of Change | ||
| LastChangeDate | LastChangeDate | Time Stamp | ||
| LastChangeDateTime | LastChangeDateTime | Timestamp | ||
| SenderBusinessSystemName | SenderBusinessSystemName | |||
| ExternalDocumentID | ExternalDocumentID | Ext. Reference ID | ||
| ExternalDocLastChangeDateTime | ExternalDocLastChangeDateTime | |||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| OrganizationDivision | OrganizationDivision | Org. Division | ||
| SalesGroup | SalesGroup | Sales Group | ||
| SalesOffice | SalesOffice | Sales Office | ||
| SoldToParty | SoldToParty | Sold-to Party | ||
| CustomerGroup | CustomerGroup | Customer Group | ||
| AdditionalCustomerGroup1 | AdditionalCustomerGroup1 | Customer Grp 1 | ||
| AdditionalCustomerGroup2 | AdditionalCustomerGroup2 | Customer Grp 2 | ||
| AdditionalCustomerGroup3 | AdditionalCustomerGroup3 | Customer Grp 3 | ||
| AdditionalCustomerGroup4 | AdditionalCustomerGroup4 | Customer Grp 4 | ||
| AdditionalCustomerGroup5 | AdditionalCustomerGroup5 | Customer Grp 5 | ||
| SlsDocIsRlvtForProofOfDeliv | SlsDocIsRlvtForProofOfDeliv | POD-relevant | ||
| CreditControlArea | CreditControlArea | Credit Control Area | ||
| CustomerRebateAgreement | CustomerRebateAgreement | |||
| SalesOrderDate | SalesOrderDate | Document Date | ||
| ServicesRenderedDate | ServicesRenderedDate | Services Rendered Date | ||
| SDDocumentReason | SDDocumentReason | Order Reason | ||
| PurchaseOrderByCustomer | PurchaseOrderByCustomer | Purchase Order Number | ||
| PurchaseOrderByShipToParty | ||||
| SDDocumentCollectiveNumber | SDDocumentCollectiveNumber | |||
| CustomerPurchaseOrderType | CustomerPurchaseOrderType | |||
| CustomerPurchaseOrderDate | CustomerPurchaseOrderDate | Purchase Order Date | ||
| CustomerPurchaseOrderSuplmnt | CustomerPurchaseOrderSuplmnt | |||
| SalesDistrict | SalesDistrict | Sales District | ||
| StatisticsCurrency | StatisticsCurrency | |||
| ProductCatalog | ProductCatalog | |||
| NextCreditCheckDate | NextCreditCheckDate | |||
| LastCustomerContactDate | LastCustomerContactDate | |||
| TotalNetAmount | TotalNetAmount | Total Net Amount | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| PricingDate | PricingDate | Pricing Date | ||
| PriceDetnExchangeRate | PriceDetnExchangeRate | Exchange Rate | ||
| RetailPromotion | RetailPromotion | Promotion | ||
| SalesOrderCondition | SalesOrderCondition | |||
| SDPricingProcedure | SDPricingProcedure | Pric. Procedure | ||
| CustomerPriceGroup | CustomerPriceGroup | CustPrice Group | ||
| PriceListType | PriceListType | Price List Tp. | ||
| CustomerTaxClassification1 | CustomerTaxClassification1 | |||
| CustomerTaxClassification2 | CustomerTaxClassification2 | |||
| CustomerTaxClassification3 | CustomerTaxClassification3 | |||
| CustomerTaxClassification4 | CustomerTaxClassification4 | |||
| CustomerTaxClassification5 | CustomerTaxClassification5 | |||
| CustomerTaxClassification6 | CustomerTaxClassification6 | |||
| CustomerTaxClassification7 | CustomerTaxClassification7 | |||
| CustomerTaxClassification8 | CustomerTaxClassification8 | |||
| CustomerTaxClassification9 | CustomerTaxClassification9 | |||
| TaxDepartureCountry | TaxDepartureCountry | Tx Dep Ctry/Reg | ||
| VATRegistrationCountry | VATRegistrationCountry | CtryRgnSlsTxNo. | ||
| RequestedDeliveryDate | RequestedDeliveryDate | Requested Delivery Date | ||
| DeliveryDateTypeRule | DeliveryDateTypeRule | Deliv Date Rule | ||
| ShippingType | ShippingType | Shipping Type | ||
| ShippingCondition | ShippingCondition | Shipping Conditions | ||
| IncotermsClassification | IncotermsClassification | Incoterms | ||
| IncotermsTransferLocation | IncotermsTransferLocation | Incoterms 2 | ||
| IncotermsLocation1 | IncotermsLocation1 | Inco. Location1 | ||
| IncotermsLocation2 | IncotermsLocation2 | Inco. Location2 | ||
| IncotermsVersion | IncotermsVersion | Inco. Version | ||
| CompleteDeliveryIsDefined | CompleteDeliveryIsDefined | Complete Dlv. | ||
| DeliveryBlockReason | DeliveryBlockReason | Delivery Block | ||
| FashionCancelDate | FashionCancelDate | |||
| SalesOrderApprovalReason | SalesOrderApprovalReason | |||
| BillingDocumentDate | BillingDocumentDate | Billing Date | ||
| BillingCompanyCode | BillingCompanyCode | CCodeToBeBilled | ||
| HeaderBillingBlockReason | HeaderBillingBlockReason | Billing Block | ||
| CustomerPaymentTerms | CustomerPaymentTerms | Pyt Terms | ||
| PaymentMethod | PaymentMethod | Pymt Meth. | ||
| FixedValueDate | FixedValueDate | Fixed Val. Date | ||
| FiscalYear | FiscalYear | G/L Fiscal Year | ||
| FiscalPeriod | FiscalPeriod | Tax period | ||
| ExchangeRateDate | ExchangeRateDate | Translatn Date | ||
| ExchangeRateType | ExchangeRateType | Exch. Rate Type | ||
| AccountingExchangeRate | AccountingExchangeRate | Exch.Rate Acct. | ||
| BusinessArea | BusinessArea | Business Area | ||
| CustomerAccountAssignmentGroup | CustomerAccountAssignmentGroup | AccAssmtGrpCust | ||
| CostCenterBusinessArea | CostCenterBusinessArea | |||
| CostCenter | CostCenter | Cost Center | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| OrderID | OrderID | Order ID | ||
| ControllingObject | ControllingObject | Object number | ||
| AssignmentReference | AssignmentReference | Assignment Reference | ||
| PaymentPlan | PaymentPlan | Paym.Ca.Pl.No. | ||
| CustomerCreditAccount | CustomerCreditAccount | |||
| ReferenceSDDocument | ReferenceSDDocument | Reference Doc. | ||
| ReferenceSDDocumentCategory | ReferenceSDDocumentCategory | Prec.Doc.Categ. | ||
| CorrespncExternalReference | CorrespncExternalReference | Your Reference | ||
| AccountingDocExternalReference | AccountingDocExternalReference | |||
| BusinessSolutionOrder | BusinessSolutionOrder | Solution Order | ||
| OverallSDProcessStatus | OverallSDProcessStatus | |||
| OverallPurchaseConfStatus | OverallPurchaseConfStatus | |||
| OverallSDDocumentRejectionSts | OverallSDDocumentRejectionSts | |||
| TotalBlockStatus | TotalBlockStatus | |||
| OverallDelivConfStatus | OverallDelivConfStatus | |||
| OverallTotalDeliveryStatus | OverallTotalDeliveryStatus | |||
| OverallDeliveryStatus | OverallDeliveryStatus | |||
| OverallDeliveryBlockStatus | OverallDeliveryBlockStatus | |||
| OverallOrdReltdBillgStatus | OverallOrdReltdBillgStatus | |||
| OverallBillingBlockStatus | OverallBillingBlockStatus | |||
| OverallTotalSDDocRefStatus | OverallTotalSDDocRefStatus | |||
| OverallSDDocReferenceStatus | OverallSDDocReferenceStatus | |||
| TotalCreditCheckStatus | TotalCreditCheckStatus | |||
| MaxDocValueCreditCheckStatus | MaxDocValueCreditCheckStatus | |||
| PaymentTermCreditCheckStatus | PaymentTermCreditCheckStatus | |||
| FinDocCreditCheckStatus | FinDocCreditCheckStatus | |||
| ExprtInsurCreditCheckStatus | ExprtInsurCreditCheckStatus | |||
| PaytAuthsnCreditCheckSts | PaytAuthsnCreditCheckSts | |||
| CentralCreditCheckStatus | CentralCreditCheckStatus | |||
| CentralCreditChkTechErrSts | CentralCreditChkTechErrSts | |||
| HdrGeneralIncompletionStatus | HdrGeneralIncompletionStatus | |||
| OverallPricingIncompletionSts | OverallPricingIncompletionSts | |||
| HeaderDelivIncompletionStatus | HeaderDelivIncompletionStatus | |||
| HeaderBillgIncompletionStatus | HeaderBillgIncompletionStatus | |||
| OvrlItmGeneralIncompletionSts | OvrlItmGeneralIncompletionSts | |||
| OvrlItmBillingIncompletionSts | OvrlItmBillingIncompletionSts | |||
| OvrlItmDelivIncompletionSts | OvrlItmDelivIncompletionSts | |||
| OverallChmlCmplncStatus | OverallChmlCmplncStatus | |||
| OverallDangerousGoodsStatus | OverallDangerousGoodsStatus | |||
| OverallSafetyDataSheetStatus | OverallSafetyDataSheetStatus | |||
| SalesDocApprovalStatus | SalesDocApprovalStatus | |||
| OverallTrdCmplncEmbargoSts | OverallTrdCmplncEmbargoSts | |||
| OvrlTrdCmplncSnctndListChkSts | OvrlTrdCmplncSnctndListChkSts | |||
| OvrlTrdCmplncLegalCtrlChkSts | OvrlTrdCmplncLegalCtrlChkSts | |||
| SalesOrderDownPaymentStatus | SalesOrderDownPaymentStatus | |||
| _Item | _Item | |||
| _Partner | _Partner | |||
| _StandardPartner | _StandardPartner | |||
| _PricingElement | _PricingElement | |||
| _SalesOrderType | _SalesOrderType |
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_SalesOrderImport.
-- 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_SalesOrderImport AS
SELECT
SalesOrder,
SalesOrderType,
SalesOrderProcessingType,
CreatedByUser,
LastChangedByUser,
CreationDate,
CreationTime,
LastChangeDate,
LastChangeDateTime,
SenderBusinessSystemName,
ExternalDocumentID,
ExternalDocLastChangeDateTime,
SalesOrganization,
DistributionChannel,
OrganizationDivision,
SalesGroup,
SalesOffice,
SoldToParty,
CustomerGroup,
AdditionalCustomerGroup1,
AdditionalCustomerGroup2,
AdditionalCustomerGroup3,
AdditionalCustomerGroup4,
AdditionalCustomerGroup5,
SlsDocIsRlvtForProofOfDeliv,
CreditControlArea,
CustomerRebateAgreement,
SalesOrderDate,
ServicesRenderedDate,
SDDocumentReason,
PurchaseOrderByCustomer,
cast ( PurchaseOrderByShipToParty as sd_purchase_order_by_shipto preserving type ) AS PurchaseOrderByShipToParty,
SDDocumentCollectiveNumber,
CustomerPurchaseOrderType,
CustomerPurchaseOrderDate,
CustomerPurchaseOrderSuplmnt,
SalesDistrict,
StatisticsCurrency,
ProductCatalog,
NextCreditCheckDate,
LastCustomerContactDate,
TotalNetAmount,
TransactionCurrency,
PricingDate,
PriceDetnExchangeRate,
RetailPromotion,
SalesOrderCondition,
SDPricingProcedure,
CustomerPriceGroup,
PriceListType,
CustomerTaxClassification1,
CustomerTaxClassification2,
CustomerTaxClassification3,
CustomerTaxClassification4,
CustomerTaxClassification5,
CustomerTaxClassification6,
CustomerTaxClassification7,
CustomerTaxClassification8,
CustomerTaxClassification9,
TaxDepartureCountry,
VATRegistrationCountry,
RequestedDeliveryDate,
DeliveryDateTypeRule,
ShippingType,
ShippingCondition,
IncotermsClassification,
IncotermsTransferLocation,
IncotermsLocation1,
IncotermsLocation2,
IncotermsVersion,
CompleteDeliveryIsDefined,
DeliveryBlockReason,
FashionCancelDate,
SalesOrderApprovalReason,
BillingDocumentDate,
BillingCompanyCode,
HeaderBillingBlockReason,
CustomerPaymentTerms,
PaymentMethod,
FixedValueDate,
FiscalYear,
FiscalPeriod,
ExchangeRateDate,
ExchangeRateType,
AccountingExchangeRate,
BusinessArea,
CustomerAccountAssignmentGroup,
CostCenterBusinessArea,
CostCenter,
ControllingArea,
OrderID,
ControllingObject,
AssignmentReference,
PaymentPlan,
CustomerCreditAccount,
ReferenceSDDocument,
ReferenceSDDocumentCategory,
CorrespncExternalReference,
AccountingDocExternalReference,
BusinessSolutionOrder,
OverallSDProcessStatus,
OverallPurchaseConfStatus,
OverallSDDocumentRejectionSts,
TotalBlockStatus,
OverallDelivConfStatus,
OverallTotalDeliveryStatus,
OverallDeliveryStatus,
OverallDeliveryBlockStatus,
OverallOrdReltdBillgStatus,
OverallBillingBlockStatus,
OverallTotalSDDocRefStatus,
OverallSDDocReferenceStatus,
TotalCreditCheckStatus,
MaxDocValueCreditCheckStatus,
PaymentTermCreditCheckStatus,
FinDocCreditCheckStatus,
ExprtInsurCreditCheckStatus,
PaytAuthsnCreditCheckSts,
CentralCreditCheckStatus,
CentralCreditChkTechErrSts,
HdrGeneralIncompletionStatus,
OverallPricingIncompletionSts,
HeaderDelivIncompletionStatus,
HeaderBillgIncompletionStatus,
OvrlItmGeneralIncompletionSts,
OvrlItmBillingIncompletionSts,
OvrlItmDelivIncompletionSts,
OverallChmlCmplncStatus,
OverallDangerousGoodsStatus,
OverallSafetyDataSheetStatus,
SalesDocApprovalStatus,
OverallTrdCmplncEmbargoSts,
OvrlTrdCmplncSnctndListChkSts,
OvrlTrdCmplncLegalCtrlChkSts,
SalesOrderDownPaymentStatus
FROM I_SalesOrder AS SalesOrder
LEFT OUTER JOIN I_SalesOrderItemImport AS _Item ON SalesOrder = _Item.SalesOrder -- association [0..*]
LEFT OUTER JOIN E_SalesDocumentBasic AS _Extension ON SalesOrder.SalesOrder = _Extension.SalesDocument -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA