SAP S/4HANA · Schema
SalesOrder
Sales order header entity (A_SalesOrder) representing a complete sales document in SAP S/4HANA. Contains organizational data, customer references, pricing totals, and processing status information.
Business ApplicationsCloudEnterprise Resource PlanningERPFinanceHuman ResourcesInventoryLogisticsManufacturingPlant MaintenanceProcurementS/4HANASalesSAP
Properties
| Name | Type | Description |
|---|---|---|
| SalesOrder | string | Sales order number |
| SalesOrderType | string | Sales document type (e.g., OR for standard order, RE for returns) |
| SalesOrganization | string | Sales organization responsible for the sales order |
| DistributionChannel | string | Distribution channel through which the product reaches the customer |
| OrganizationDivision | string | Division for the sales organization |
| SalesGroup | string | Sales group within the sales organization |
| SalesOffice | string | Sales office responsible for the order |
| SalesDistrict | string | Geographic sales district |
| SoldToParty | string | Customer number of the sold-to party |
| CreationDate | string | Date when the sales order was created |
| CreatedByUser | string | User who created the sales order |
| LastChangeDate | string | Date of the last change to the sales order |
| LastChangeDateTime | string | Timestamp of the last change including time zone |
| PurchaseOrderByCustomer | string | Customer purchase order number |
| CustomerPurchaseOrderType | string | Customer purchase order type |
| CustomerPurchaseOrderDate | string | Customer purchase order date |
| SalesOrderDate | string | Document date of the sales order |
| TotalNetAmount | string | Total net value of the sales order in document currency |
| TransactionCurrency | string | Currency key for the sales order (ISO 4217) |
| SDDocumentReason | string | Order reason (e.g., reason for return or credit memo) |
| PricingDate | string | Date used for pricing determination |
| RequestedDeliveryDate | string | Requested delivery date for the entire order |
| ShippingCondition | string | Shipping condition code |
| CompleteDeliveryIsDefined | boolean | Indicator for complete delivery requirement |
| ShippingType | string | Shipping type code |
| HeaderBillingBlockReason | string | Billing block reason at header level |
| DeliveryBlockReason | string | Delivery block reason |
| IncotermsClassification | string | Incoterms classification (e.g., FOB, CIF, EXW) |
| IncotermsTransferLocation | string | Incoterms location (named place) |
| IncotermsLocation1 | string | Incoterms location 1 |
| IncotermsLocation2 | string | Incoterms location 2 |
| IncotermsVersion | string | Incoterms version year |
| CustomerPaymentTerms | string | Payment terms key |
| PaymentMethod | string | Payment method code |
| AssignmentReference | string | Assignment reference number |
| ReferenceSDDocument | string | Reference document number (e.g., quotation or contract number) |
| ReferenceSDDocumentCategory | string | Reference document category |
| AccountingExchangeRate | string | Exchange rate for accounting |
| OverallSDProcessStatus | string | Overall processing status of the sales document (A=Not yet processed, B=Partially processed, C=Completely processed) |
| TotalCreditCheckStatus | string | Overall status of credit checks |
| OverallTotalDeliveryStatus | string | Overall delivery status |
| OverallSDDocumentRejectionSts | string | Overall rejection status of the sales document |
| BillingDocumentDate | string | Billing date for the entire order |
| ContractAccount | string | Contract account number |
| AdditionalCustomerGroup1 | string | Customer group 1 |
| AdditionalCustomerGroup2 | string | Customer group 2 |
| AdditionalCustomerGroup3 | string | Customer group 3 |
| AdditionalCustomerGroup4 | string | Customer group 4 |
| AdditionalCustomerGroup5 | string | Customer group 5 |
| SlsDocIsRlvtForProofOfDeliv | boolean | Indicator that the document is relevant for proof of delivery |
| CustomerTaxClassification1 | string | Tax classification 1 for customer |
| CustomerTaxClassification2 | string | Tax classification 2 for customer |
| CustomerTaxClassification3 | string | Tax classification 3 for customer |
| CustomerTaxClassification4 | string | Tax classification 4 for customer |
| CustomerAccountGroup | string | Customer account group |
| to_Item | array | Navigation to sales order items |
| to_Partner | array | Navigation to header partner functions |
| to_PricingElement | array | Navigation to header pricing elements |
| to_Text | array | Navigation to header text records |