sap.s4hana.api_sales_order_simulation_srv
Module sap.s4hana.api_sales_order_simulation_srv
API
Definitions
![](https://bcentral-packageicons.azureedge.net/images/ballerinax_sap.s4hana.api_sales_order_simulation_srv_1.0.0.png)
ballerinax/sap.s4hana.api_sales_order_simulation_srv Ballerina library
Overview
S/4HANA is a robust enterprise resource planning (ERP) solution, designed for large-scale enterprises by SAP SE.
The ballerinax/sap.s4hana.api_sales_order_simulation_srv
package provides APIs that enable seamless integration with the Sales Order - Simulate (A2X) API v1.0.0. The service gives you information about pricing, material availability, and the customer's credit limit. The simulated sales order is not saved.
Setup guide
-
Sign in to your S/4HANA dashboard.
-
Under the
Communication Management
section, click on theDisplay Communications Scenario
title. -
In the search bar, type
Sales Order Integration
and select the corresponding scenario from the results. -
In the top right corner of the screen, click on
Create Communication Arrangement
. -
Enter a unique name for the arrangement.
-
Choose an existing
Communication System
from the dropdown menu and save your arrangement. -
The hostname (
<unique id>-api.s4hana.cloud.sap
) will be displayed in the top right corner of the screen.
Quickstart
To use the sap.s4hana.api_sales_order_simulation_srv
connector in your Ballerina application, modify the .bal
file as follows:
Step 1: Import the module
Import the sap.s4hana.api_sales_order_simulation_srv
module.
import ballerinax/sap.s4hana.api_sales_order_simulation_srv as simulation;
Step 2: Instantiate a new connector
Use the hostname and credentials to initiate a client
configurable string hostname = ?; configurable string username = ?; configurable string password = ?; simulation:Client simulationClient = check new ( { auth: { username, password } }, hostname );
Step 3: Invoke the connector operation
Now, utilize the available connector operations.
simulation:CollectionOfA_SlsOrdSimlnValAddedSrvcWrapper listServices = check simulationClient->listA_SlsOrdSimlnValAddedSrvcs();
Step 4: Run the Ballerina application
bal run
Examples
The S/4 HANA Sales and Distribution Ballerina connectors provide practical examples illustrating usage in various scenarios. Explore these examples, covering use cases like accessing S/4HANA Sales Order (A2X) API.
-
Salesforce to S/4HANA Integration - Demonstrates leveraging the
sap.s4hana.api_sales_order_srv:Client
in Ballerina for S/4HANA API interactions. It specifically showcases how to respond to a Salesforce Opportunity Close Event by automatically generating a Sales Order in the S/4HANA SD module. -
Shopify to S/4HANA Integration - Details the integration process between Shopify, a leading e-commerce platform, and SAP S/4HANA, a comprehensive ERP system. The objective is to automate SAP sales order creation for new orders placed on Shopify, enhancing efficiency and accuracy in order management.
Clients![](/images/permalink.svg)
sap.s4hana.api_sales_order_simulation_srv: Client![](/images/permalink.svg)
The API gives you information about pricing, material availability, and the customer's credit limit. The response is provided synchronously. The simulated sales order is not saved.
Constructor![](/images/permalink.svg)
Gets invoked to initialize the connector
.
init (ConnectionConfig config, string hostname, int port)
- config ConnectionConfig - The configurations to be used when initializing the
connector
- hostname string -
- port int 443 -
createA_SalesOrderSimulation![](/images/permalink.svg)
function createA_SalesOrderSimulation(CreateA_SalesOrderSimulation payload, map<string|string[]> headers) returns A_SalesOrderSimulationWrapper|error
Simulates the creation of a sales order.
Parameters
- payload CreateA_SalesOrderSimulation - New entity
Return Type
- A_SalesOrderSimulationWrapper|error - Created entity
createA_SlsOrdSimlnValAddedSrvc![](/images/permalink.svg)
function createA_SlsOrdSimlnValAddedSrvc(CreateA_SlsOrdSimlnValAddedSrvc payload, map<string|string[]> headers) returns A_SlsOrdSimlnValAddedSrvcWrapper|error
Add new entity to A_SlsOrdSimlnValAddedSrvc
Parameters
- payload CreateA_SlsOrdSimlnValAddedSrvc - New entity
Return Type
- A_SlsOrdSimlnValAddedSrvcWrapper|error - Created entity
deleteA_SlsOrdSimlnValAddedSrvc![](/images/permalink.svg)
function deleteA_SlsOrdSimlnValAddedSrvc(string ValueAddedServiceType, string ValueAddedSubServiceType, string SalesOrder, string SalesOrderItem, map<string|string[]> headers) returns Response|error
Delete entity from A_SlsOrdSimlnValAddedSrvc
Parameters
- ValueAddedServiceType string - VAS Service Types
- ValueAddedSubServiceType string - VAS Sub Services
- SalesOrder string - Document Number of Reference Document
- SalesOrderItem string - Item Number of the Reference Item
getA_SlsOrdSimlnValAddedSrvc![](/images/permalink.svg)
function getA_SlsOrdSimlnValAddedSrvc(string ValueAddedServiceType, string ValueAddedSubServiceType, string SalesOrder, string SalesOrderItem, map<string|string[]> headers, *GetA_SlsOrdSimlnValAddedSrvcQueries queries) returns A_SlsOrdSimlnValAddedSrvcWrapper|error
Get entity from A_SlsOrdSimlnValAddedSrvc by key
Parameters
- ValueAddedServiceType string - VAS Service Types
- ValueAddedSubServiceType string - VAS Sub Services
- SalesOrder string - Document Number of Reference Document
- SalesOrderItem string - Item Number of the Reference Item
- queries *GetA_SlsOrdSimlnValAddedSrvcQueries - Queries to be sent with the request
Return Type
- A_SlsOrdSimlnValAddedSrvcWrapper|error - Retrieved entity
listA_SlsOrdSimlnValAddedSrvcs![](/images/permalink.svg)
function listA_SlsOrdSimlnValAddedSrvcs(map<string|string[]> headers, *ListA_SlsOrdSimlnValAddedSrvcsQueries queries) returns CollectionOfA_SlsOrdSimlnValAddedSrvcWrapper|error
Get entities from A_SlsOrdSimlnValAddedSrvc
Parameters
- queries *ListA_SlsOrdSimlnValAddedSrvcsQueries - Queries to be sent with the request
Return Type
- CollectionOfA_SlsOrdSimlnValAddedSrvcWrapper|error - Retrieved entities
patchA_SlsOrdSimlnValAddedSrvc![](/images/permalink.svg)
function patchA_SlsOrdSimlnValAddedSrvc(string ValueAddedServiceType, string ValueAddedSubServiceType, string SalesOrder, string SalesOrderItem, Modified\ A_SlsOrdSimlnValAddedSrvcType payload, map<string|string[]> headers) returns Response|error
Update entity in A_SlsOrdSimlnValAddedSrvc
Parameters
- ValueAddedServiceType string - VAS Service Types
- ValueAddedSubServiceType string - VAS Sub Services
- SalesOrder string - Document Number of Reference Document
- SalesOrderItem string - Item Number of the Reference Item
- payload Modified\ A_SlsOrdSimlnValAddedSrvcType - New property values
performBatchOperation![](/images/permalink.svg)
function performBatchOperation(Request request, map<string|string[]> headers) returns Response|error
Send a group of requests
Parameters
- request Request - Batch request
Records![](/images/permalink.svg)
sap.s4hana.api_sales_order_simulation_srv: A_SalesOrderCreditSimulation![](/images/permalink.svg)
Fields
- SalesOrder string? -
- TotalCreditCheckStatus string? - Overall Status of Credit Checks
- to_SalesOrder A_SalesOrderSimulation? -
sap.s4hana.api_sales_order_simulation_srv: A_SalesOrderItemPartnerSimln![](/images/permalink.svg)
Fields
- SalesOrder string? -
- SalesOrderItem string? - Sales Order Item
- PartnerFunction string? -
- Customer string? - Customer Number
- Supplier string? - Account Number of Supplier
- Personnel string? -
- ContactPerson string? - Number of Contact Person
- VATRegistration string? - VAT Registration Number
- to_SalesOrder A_SalesOrderSimulation? -
- to_SalesOrderItem A_SalesOrderItemSimulation? -
sap.s4hana.api_sales_order_simulation_srv: A_SalesOrderItemSimulation![](/images/permalink.svg)
Fields
- SalesOrder string? -
- SalesOrderItem string? - Sales Order Item
- HigherLevelItem string? - Higher-Level Item in Bill of Material Structures
- HigherLevelItemUsage string? - ID for higher-level item usage
- SalesOrderItemCategory string? - Sales Document Item Category
- SalesOrderItemText string? - Short Text for Sales Order Item
- PurchaseOrderByCustomer string? -
- Material string? - Material Number
- MaterialByCustomer string? - Material Number Used by Customer
- PricingDate string? - Date for Pricing and Exchange Rate
- PricingReferenceMaterial string? - Pricing Reference Material
- RequestedQuantity string? -
- RequestedQuantityUnit string? - Unit of the Requested Quantity
- RequestedQuantitySAPUnit string? - SAP Unit Code for Requested Quantity
- RequestedQuantityISOUnit string? - ISO Unit Code for Requested Quantity
- OrderQuantityUnit string? -
- OrderQuantitySAPUnit string? - SAP Unit Code for Order Quantity
- OrderQuantityISOUnit string? - ISO Unit Code for Order Quantity
- ConfdDelivQtyInOrderQtyUnit string? - Cumulative Confirmed Quantity in Sales Unit
- ItemGrossWeight string? - Gross Weight of the Item
- ItemNetWeight string? - Net Weight of the Item
- ItemWeightUnit string? -
- ItemWeightSAPUnit string? - SAP Unit Code for Item Weight
- ItemWeightISOUnit string? - ISO Unit Code for Item Weight
- ItemVolume string? - Volume of the item
- ItemVolumeUnit string? -
- ItemVolumeSAPUnit string? - SAP Unit Code for Item Volume
- ItemVolumeISOUnit string? - ISO Unit Code for Item Volume
- TransactionCurrency string? - SD Document Currency
- NetAmount string? - Net Value of the Document Item in Document Currency
- TaxAmount string? - Tax Amount in Document Currency
- CostAmount string? - Cost in Document Currency
- Subtotal1Amount string? - Subtotal 1 from Pricing Procedure for Price Element
- Subtotal2Amount string? - Subtotal 2 from Pricing Procedure for Price Element
- Subtotal3Amount string? - Subtotal 3 from Pricing Procedure for Price Element
- Subtotal4Amount string? - Subtotal 4 from Pricing Procedure for Price Element
- Subtotal5Amount string? - Subtotal 5 from Pricing Procedure for Price Element
- Subtotal6Amount string? - Subtotal 6 from Pricing Procedure for Price Element
- MaterialSubstitutionReason string? - Reason for Material Substitution
- MaterialGroup string? -
- MaterialPricingGroup string? -
- Batch string? - Batch Number
- Plant string? - Plant (Own or External)
- StorageLocation string? -
- DeliveryGroup string? - Delivery Group (Items are delivered together)
- ShippingPoint string? - Shipping Point / Receiving Point
- ShippingType string? -
- DeliveryPriority string? -
- IncotermsClassification string? - Incoterms (Part 1)
- IncotermsTransferLocation string? -
- IncotermsLocation1 string? -
- IncotermsLocation2 string? -
- ProductTaxClassification1 string? - Tax Classification for Material
- ProductTaxClassification2 string? - Tax Classification for Material
- ProductTaxClassification3 string? - Tax Classification for Material
- ProductTaxClassification4 string? - Tax Classification for Material
- ProductTaxClassification5 string? - Tax Classification for Material
- ProductTaxClassification6 string? - Tax Classification for Material
- ProductTaxClassification7 string? - Tax Classification for Material
- ProductTaxClassification8 string? - Tax Classification for Material
- ProductTaxClassification9 string? - Tax Classification for Material
- ReferenceSDDocument string? - Document Number of Reference Document
- ReferenceSDDocumentItem string? - Item Number of the Reference Item
- CustomerPaymentTerms string? - Key for Terms of Payment
- SalesDocumentRjcnReason string? - Reason for Rejection of Sales Documents
- to_Partner A_SalesOrderItemSimulation_to_Partner? -
- to_PricingElement A_SalesOrderItemSimulation_to_PricingElement? -
- to_SalesOrder A_SalesOrderSimulation? -
- to_ScheduleLine A_SalesOrderItemSimulation_to_ScheduleLine? -
sap.s4hana.api_sales_order_simulation_srv: A_SalesOrderItemSimulation_to_Partner![](/images/permalink.svg)
Fields
- results A_SalesOrderItemPartnerSimln[]? -
sap.s4hana.api_sales_order_simulation_srv: A_SalesOrderItemSimulation_to_PricingElement![](/images/permalink.svg)
Fields
- results A_SalesOrderItmPrcgElmntSimln[]? -
sap.s4hana.api_sales_order_simulation_srv: A_SalesOrderItemSimulation_to_ScheduleLine![](/images/permalink.svg)
Fields
- results A_SalesOrderScheduleLineSimln[]? -
sap.s4hana.api_sales_order_simulation_srv: A_SalesOrderItmPrcgElmntSimln![](/images/permalink.svg)
Fields
- SalesOrder string? -
- SalesOrderItem string? - Sales Order Item
- PricingProcedureStep string? -
- PricingProcedureCounter string? - Condition Counter
- ConditionType string? -
- PriceConditionDeterminationDte string? - Condition Pricing Date
- ConditionCalculationType string? - Calculation Type for Condition
- ConditionBaseValue string? -
- ConditionRateValue string? - Condition Amount or Percentage
- ConditionCurrency string? - Currency Key
- ConditionQuantity string? - Condition Pricing Unit
- ConditionQuantityUnit string? - Condition Unit in the Document
- ConditionQuantitySAPUnit string? - SAP Unit Code for Condition Quantity
- ConditionQuantityISOUnit string? - ISO Unit Code for Condition Quantity
- ConditionIsForStatistics boolean? - Condition is used for statistics
- ConditionOrigin string? - Origin of the Condition
- IsGroupCondition string? -
- ConditionAmount string? -
- TransactionCurrency string? - SD Document Currency
- ConditionInactiveReason string? - Condition is Inactive
- ConditionClass string? -
- PricingScaleBasis string? - Scale Basis Indicator
- ConditionScaleBasisValue string? - Scale Base Value
- ConditionIsManuallyChanged boolean? - Condition Changed Manually
- to_SalesOrder A_SalesOrderSimulation? -
- to_SalesOrderItem A_SalesOrderItemSimulation? -
sap.s4hana.api_sales_order_simulation_srv: A_SalesOrderPartnerSimulation![](/images/permalink.svg)
Fields
- SalesOrder string? -
- PartnerFunction string? -
- Customer string? - Customer Number
- Supplier string? - Account Number of Supplier
- Personnel string? -
- ContactPerson string? - Number of Contact Person
- VATRegistration string? - VAT Registration Number
- to_SalesOrder A_SalesOrderSimulation? -
sap.s4hana.api_sales_order_simulation_srv: A_SalesOrderPrcgElmntSimln![](/images/permalink.svg)
Fields
- SalesOrder string? -
- PricingProcedureStep string? -
- PricingProcedureCounter string? - Condition Counter
- ConditionType string? -
- PriceConditionDeterminationDte string? - Condition Pricing Date
- ConditionCalculationType string? - Calculation Type for Condition
- ConditionBaseValue string? -
- ConditionRateValue string? - Condition Amount or Percentage
- ConditionCurrency string? - Currency Key
- ConditionQuantity string? - Condition Pricing Unit
- ConditionQuantityUnit string? - Condition Unit in the Document
- ConditionQuantitySAPUnit string? - SAP Unit Code for Condition Quantity
- ConditionQuantityISOUnit string? - ISO Unit Code for Condition Quantity
- ConditionIsForStatistics boolean? - Condition is used for statistics
- ConditionOrigin string? - Origin of the Condition
- IsGroupCondition string? -
- ConditionAmount string? -
- TransactionCurrency string? - SD Document Currency
- ConditionInactiveReason string? - Condition is Inactive
- ConditionClass string? -
- PricingScaleBasis string? - Scale Basis Indicator
- ConditionScaleBasisValue string? - Scale Base Value
- ConditionIsManuallyChanged boolean? - Condition Changed Manually
- to_SalesOrder A_SalesOrderSimulation? -
sap.s4hana.api_sales_order_simulation_srv: A_SalesOrderPricingSimulation![](/images/permalink.svg)
Fields
- SalesOrder string? -
- TotalNetAmount string? - Net Value of the Sales Document in Document Currency
- TransactionCurrency string? - SD Document Currency
- to_SalesOrder A_SalesOrderSimulation? -
sap.s4hana.api_sales_order_simulation_srv: A_SalesOrderScheduleLineSimln![](/images/permalink.svg)
Fields
- SalesOrder string? -
- SalesOrderItem string? -
- ScheduleLine string? -
- RequestedDeliveryDate string? - Requested Delivery Date
- ConfirmedDeliveryDate string? - Confirmed Delivery Date
- OrderQuantityUnit string? -
- OrderQuantitySAPUnit string? - SAP Unit Code for Order Quantity
- OrderQuantityISOUnit string? - ISO Unit Code for Order Quantity
- ScheduleLineOrderQuantity string? - Order Quantity in Sales Units
- ConfdOrderQtyByMatlAvailCheck string? -
- OpenConfdDelivQtyInOrdQtyUnit string? - Open Confirmed Delivery Quantity
- CorrectedQtyInOrderQtyUnit string? - Corrected quantity in sales unit
- to_SalesOrder A_SalesOrderSimulation? -
- to_SalesOrderItem A_SalesOrderItemSimulation? -
sap.s4hana.api_sales_order_simulation_srv: A_SalesOrderSimulation![](/images/permalink.svg)
Fields
- SalesOrder string? -
- SalesOrderType string? -
- SalesOrganization string? -
- DistributionChannel string? -
- OrganizationDivision string? -
- SalesGroup string? -
- SalesOffice string? -
- SalesDistrict string? -
- SoldToParty string? -
- CustomerGroup string? -
- AdditionalCustomerGroup1 string? -
- AdditionalCustomerGroup2 string? -
- AdditionalCustomerGroup3 string? -
- AdditionalCustomerGroup4 string? -
- AdditionalCustomerGroup5 string? -
- PurchaseOrderByCustomer string? -
- CustomerPurchaseOrderType string? - Customer Purchase Order Type
- CustomerPurchaseOrderDate string? -
- SalesOrderDate string? - Document Date (Date Received/Sent)
- TransactionCurrency string? - SD Document Currency
- AccountingDocExternalReference string? - Reference Document Number
- CustomerTaxClassification1 string? - Alternative Tax Classification
- CustomerTaxClassification2 string? - Tax Classification 2 for Customer
- CustomerTaxClassification3 string? - Tax Classification 3 for Customer
- CustomerTaxClassification4 string? - Tax Classification 4 for Customer
- CustomerTaxClassification5 string? - Tax Classification 5 for Customer
- CustomerTaxClassification6 string? - Tax Classification 6 for Customer
- CustomerTaxClassification7 string? - Tax Classification 7 for Customer
- CustomerTaxClassification8 string? - Tax Classification 8 for Customer
- CustomerTaxClassification9 string? - Tax Classification 9 for Customer
- TaxDepartureCountry string? -
- VATRegistrationCountry string? -
- PriceListType string? -
- CustomerPriceGroup string? -
- SDDocumentReason string? - Order Reason (Reason for the Business Transaction)
- PricingDate string? - Date for Pricing and Exchange Rate
- SDPricingProcedure string? - Pricing Procedure in Pricing
- RequestedDeliveryDate string? -
- ShippingCondition string? -
- CompleteDeliveryIsDefined boolean? - Complete Delivery Defined for Each Sales Order
- ShippingType string? -
- IncotermsClassification string? - Incoterms (Part 1)
- IncotermsTransferLocation string? -
- IncotermsLocation1 string? -
- IncotermsLocation2 string? -
- IncotermsVersion string? -
- ReferenceSDDocument string? - Document Number of Reference Document
- CustomerPaymentTerms string? - Key for Terms of Payment
- PaymentMethod string? -
- to_Credit A_SalesOrderCreditSimulation? -
- to_Item A_SalesOrderSimulation_to_Item? -
- to_Partner A_SalesOrderSimulation_to_Partner? -
- to_Pricing A_SalesOrderPricingSimulation? -
- to_PricingElement A_SalesOrderSimulation_to_PricingElement? -
sap.s4hana.api_sales_order_simulation_srv: A_SalesOrderSimulation_to_Item![](/images/permalink.svg)
Fields
- results A_SalesOrderItemSimulation[]? -
sap.s4hana.api_sales_order_simulation_srv: A_SalesOrderSimulation_to_Partner![](/images/permalink.svg)
Fields
- results A_SalesOrderPartnerSimulation[]? -
sap.s4hana.api_sales_order_simulation_srv: A_SalesOrderSimulation_to_PricingElement![](/images/permalink.svg)
Fields
- results A_SalesOrderPrcgElmntSimln[]? -
sap.s4hana.api_sales_order_simulation_srv: A_SalesOrderSimulationWrapper![](/images/permalink.svg)
Fields
sap.s4hana.api_sales_order_simulation_srv: A_SlsOrdSimlnValAddedSrvc![](/images/permalink.svg)
Fields
- ValueAddedServiceType string? -
- ValueAddedSubServiceType string? -
- SalesOrder string? - Document Number of Reference Document
- SalesOrderItem string? - Item Number of the Reference Item
- ValAddedSrvcTransactionNumber string? -
- ValAddedSrvcItemGroup string? -
- ValAddedSrvcItemNumber string? -
- ValueAddedServiceProduct string? - VAS Material Number
- ValAddedSrvcHasToBeOrdered boolean? - Requirement Relevancy Flag for VAS Material
- ValAddedSrvcIncrement string? - VAS Increment
- ValueAddedServiceChargeCode string? - VAS Charge Codes
- ValAddedSrvcIsCreatedManually string? - Manual Entry Indicator
- ValAddedSrvcItemNumberInSD string? - VAS Item Number in SD
- ValAddedSrvcIsRlvtForProcmt boolean? - Procurement Relevant for VAS Material
- ValueAddedServiceText1 string? - VAS Field 1 for Free Use by Customer
- ValueAddedServiceText2 string? - VAS Field 2 for Free Use by Customer
- ValueAddedServiceText3 string? - VAS Field 3 for Free Use by Customer
- ValueAddedServiceLongText string? -
sap.s4hana.api_sales_order_simulation_srv: A_SlsOrdSimlnValAddedSrvcWrapper![](/images/permalink.svg)
Fields
sap.s4hana.api_sales_order_simulation_srv: ClientHttp1Settings![](/images/permalink.svg)
Provides settings related to HTTP/1.x protocol.
Fields
- keepAlive KeepAlive(default http:KEEPALIVE_AUTO) - Specifies whether to reuse a connection for multiple requests
- chunking Chunking(default http:CHUNKING_AUTO) - The chunking behaviour of the request
- proxy ProxyConfig? - Proxy server related options
sap.s4hana.api_sales_order_simulation_srv: CollectionOfA_SlsOrdSimlnValAddedSrvc![](/images/permalink.svg)
Fields
- __count count? -
- results A_SlsOrdSimlnValAddedSrvc[]? -
sap.s4hana.api_sales_order_simulation_srv: CollectionOfA_SlsOrdSimlnValAddedSrvcWrapper![](/images/permalink.svg)
Fields
sap.s4hana.api_sales_order_simulation_srv: ConnectionConfig![](/images/permalink.svg)
Provides a set of configurations for controlling the behaviours when communicating with a remote HTTP endpoint.
Fields
- auth BearerTokenConfig|OAuth2RefreshTokenGrantConfig|CredentialsConfig - Configurations related to client authentication
- httpVersion HttpVersion(default http:HTTP_2_0) - The HTTP version understood by the client
- http1Settings ClientHttp1Settings? - Configurations related to HTTP/1.x protocol
- http2Settings ClientHttp2Settings? - Configurations related to HTTP/2 protocol
- timeout decimal(default 60) - The maximum time to wait (in seconds) for a response before closing the connection
- forwarded string(default "disable") - The choice of setting
forwarded
/x-forwarded
header
- poolConfig PoolConfiguration? - Configurations associated with request pooling
- cache CacheConfig? - HTTP caching related configurations
- compression Compression(default http:COMPRESSION_AUTO) - Specifies the way of handling compression (
accept-encoding
) header
- circuitBreaker CircuitBreakerConfig? - Configurations associated with the behaviour of the Circuit Breaker
- retryConfig RetryConfig? - Configurations associated with retrying
- responseLimits ResponseLimitConfigs? - Configurations associated with inbound response size limits
- secureSocket ClientSecureSocket? - SSL/TLS-related options
- proxy ProxyConfig? - Proxy server related options
- validation boolean(default true) - Enables the inbound payload validation functionality which provided by the constraint package. Enabled by default
sap.s4hana.api_sales_order_simulation_srv: CreateA_SalesOrderCreditSimulation![](/images/permalink.svg)
Fields
- TotalCreditCheckStatus string? - Overall Status of Credit Checks
- to_SalesOrder CreateA_SalesOrderSimulation? -
sap.s4hana.api_sales_order_simulation_srv: CreateA_SalesOrderItemPartnerSimln![](/images/permalink.svg)
Fields
- PartnerFunction string -
- Customer string? - Customer Number
- Supplier string? - Account Number of Supplier
- Personnel string? -
- ContactPerson string? - Number of Contact Person
- VATRegistration string? - VAT Registration Number
- to_SalesOrder CreateA_SalesOrderSimulation? -
- to_SalesOrderItem CreateA_SalesOrderItemSimulation? -
sap.s4hana.api_sales_order_simulation_srv: CreateA_SalesOrderItemSimulation![](/images/permalink.svg)
Fields
- SalesOrderItem string - Sales Order Item
- HigherLevelItem string? - Higher-Level Item in Bill of Material Structures
- SalesOrderItemCategory string? - Sales Document Item Category
- SalesOrderItemText string? - Short Text for Sales Order Item
- PurchaseOrderByCustomer string? -
- Material string? - Material Number
- MaterialByCustomer string? - Material Number Used by Customer
- PricingDate string? - Date for Pricing and Exchange Rate
- PricingReferenceMaterial string? - Pricing Reference Material
- RequestedQuantity string? -
- RequestedQuantityUnit string? - Unit of the Requested Quantity
- RequestedQuantitySAPUnit string? - SAP Unit Code for Requested Quantity
- RequestedQuantityISOUnit string? - ISO Unit Code for Requested Quantity
- MaterialGroup string? -
- MaterialPricingGroup string? -
- Batch string? - Batch Number
- Plant string? - Plant (Own or External)
- StorageLocation string? -
- DeliveryGroup string? - Delivery Group (Items are delivered together)
- ShippingPoint string? - Shipping Point / Receiving Point
- ShippingType string? -
- DeliveryPriority string? -
- IncotermsClassification string? - Incoterms (Part 1)
- IncotermsTransferLocation string? -
- IncotermsLocation1 string? -
- IncotermsLocation2 string? -
- ProductTaxClassification1 string? - Tax Classification for Material
- ProductTaxClassification2 string? - Tax Classification for Material
- ProductTaxClassification3 string? - Tax Classification for Material
- ProductTaxClassification4 string? - Tax Classification for Material
- ProductTaxClassification5 string? - Tax Classification for Material
- ProductTaxClassification6 string? - Tax Classification for Material
- ProductTaxClassification7 string? - Tax Classification for Material
- ProductTaxClassification8 string? - Tax Classification for Material
- ProductTaxClassification9 string? - Tax Classification for Material
- ReferenceSDDocument string? - Document Number of Reference Document
- ReferenceSDDocumentItem string? - Item Number of the Reference Item
- CustomerPaymentTerms string? - Key for Terms of Payment
- SalesDocumentRjcnReason string? - Reason for Rejection of Sales Documents
- to_Partner CreateA_SalesOrderItemSimulation_to_Partner? -
- to_PricingElement CreateA_SalesOrderItemSimulation_to_PricingElement? -
- to_SalesOrder CreateA_SalesOrderSimulation? -
- to_ScheduleLine CreateA_SalesOrderItemSimulation_to_ScheduleLine? -
sap.s4hana.api_sales_order_simulation_srv: CreateA_SalesOrderItemSimulation_to_Partner![](/images/permalink.svg)
Fields
- results CreateA_SalesOrderItemPartnerSimln[]? -
sap.s4hana.api_sales_order_simulation_srv: CreateA_SalesOrderItemSimulation_to_PricingElement![](/images/permalink.svg)
Fields
- results CreateA_SalesOrderItmPrcgElmntSimln[]? -
sap.s4hana.api_sales_order_simulation_srv: CreateA_SalesOrderItemSimulation_to_ScheduleLine![](/images/permalink.svg)
Fields
- results CreateA_SalesOrderScheduleLineSimln[]? -
sap.s4hana.api_sales_order_simulation_srv: CreateA_SalesOrderItmPrcgElmntSimln![](/images/permalink.svg)
Fields
- PricingProcedureStep string -
- PricingProcedureCounter string - Condition Counter
- ConditionType string? -
- ConditionRateValue string? - Condition Amount or Percentage
- ConditionCurrency string? - Currency Key
- ConditionQuantity string? - Condition Pricing Unit
- ConditionQuantityUnit string? - Condition Unit in the Document
- ConditionQuantitySAPUnit string? - SAP Unit Code for Condition Quantity
- ConditionQuantityISOUnit string? - ISO Unit Code for Condition Quantity
- TransactionCurrency string? - SD Document Currency
- to_SalesOrder CreateA_SalesOrderSimulation? -
- to_SalesOrderItem CreateA_SalesOrderItemSimulation? -
sap.s4hana.api_sales_order_simulation_srv: CreateA_SalesOrderPartnerSimulation![](/images/permalink.svg)
Fields
- PartnerFunction string -
- Customer string? - Customer Number
- Supplier string? - Account Number of Supplier
- Personnel string? -
- ContactPerson string? - Number of Contact Person
- VATRegistration string? - VAT Registration Number
- to_SalesOrder CreateA_SalesOrderSimulation? -
sap.s4hana.api_sales_order_simulation_srv: CreateA_SalesOrderPrcgElmntSimln![](/images/permalink.svg)
Fields
- PricingProcedureStep string -
- PricingProcedureCounter string - Condition Counter
- ConditionType string? -
- ConditionRateValue string? - Condition Amount or Percentage
- ConditionCurrency string? - Currency Key
- ConditionQuantity string? - Condition Pricing Unit
- ConditionQuantityUnit string? - Condition Unit in the Document
- ConditionQuantitySAPUnit string? - SAP Unit Code for Condition Quantity
- ConditionQuantityISOUnit string? - ISO Unit Code for Condition Quantity
- TransactionCurrency string? - SD Document Currency
- to_SalesOrder CreateA_SalesOrderSimulation? -
sap.s4hana.api_sales_order_simulation_srv: CreateA_SalesOrderPricingSimulation![](/images/permalink.svg)
Fields
- TotalNetAmount string? - Net Value of the Sales Document in Document Currency
- to_SalesOrder CreateA_SalesOrderSimulation? -
sap.s4hana.api_sales_order_simulation_srv: CreateA_SalesOrderScheduleLineSimln![](/images/permalink.svg)
Fields
- ScheduleLine string -
- RequestedDeliveryDate string? - Requested Delivery Date
- ConfirmedDeliveryDate string? - Confirmed Delivery Date
- OrderQuantityUnit string? -
- OrderQuantitySAPUnit string? - SAP Unit Code for Order Quantity
- OrderQuantityISOUnit string? - ISO Unit Code for Order Quantity
- ScheduleLineOrderQuantity string? - Order Quantity in Sales Units
- ConfdOrderQtyByMatlAvailCheck string? -
- OpenConfdDelivQtyInOrdQtyUnit string? - Open Confirmed Delivery Quantity
- CorrectedQtyInOrderQtyUnit string? - Corrected quantity in sales unit
- to_SalesOrder CreateA_SalesOrderSimulation? -
- to_SalesOrderItem CreateA_SalesOrderItemSimulation? -
sap.s4hana.api_sales_order_simulation_srv: CreateA_SalesOrderSimulation![](/images/permalink.svg)
Fields
- SalesOrder string -
- SalesOrderType string? -
- SalesOrganization string? -
- DistributionChannel string? -
- OrganizationDivision string? -
- SalesGroup string? -
- SalesOffice string? -
- SalesDistrict string? -
- SoldToParty string? -
- CustomerGroup string? -
- AdditionalCustomerGroup1 string? -
- AdditionalCustomerGroup2 string? -
- AdditionalCustomerGroup3 string? -
- AdditionalCustomerGroup4 string? -
- AdditionalCustomerGroup5 string? -
- PurchaseOrderByCustomer string? -
- CustomerPurchaseOrderType string? - Customer Purchase Order Type
- CustomerPurchaseOrderDate string? -
- SalesOrderDate string? - Document Date (Date Received/Sent)
- TransactionCurrency string? - SD Document Currency
- AccountingDocExternalReference string? - Reference Document Number
- CustomerTaxClassification1 string? - Alternative Tax Classification
- CustomerTaxClassification2 string? - Tax Classification 2 for Customer
- CustomerTaxClassification3 string? - Tax Classification 3 for Customer
- CustomerTaxClassification4 string? - Tax Classification 4 for Customer
- CustomerTaxClassification5 string? - Tax Classification 5 for Customer
- CustomerTaxClassification6 string? - Tax Classification 6 for Customer
- CustomerTaxClassification7 string? - Tax Classification 7 for Customer
- CustomerTaxClassification8 string? - Tax Classification 8 for Customer
- CustomerTaxClassification9 string? - Tax Classification 9 for Customer
- TaxDepartureCountry string? -
- VATRegistrationCountry string? -
- PriceListType string? -
- CustomerPriceGroup string? -
- SDDocumentReason string? - Order Reason (Reason for the Business Transaction)
- PricingDate string? - Date for Pricing and Exchange Rate
- RequestedDeliveryDate string? -
- ShippingCondition string? -
- CompleteDeliveryIsDefined boolean? - Complete Delivery Defined for Each Sales Order
- ShippingType string? -
- IncotermsClassification string? - Incoterms (Part 1)
- IncotermsTransferLocation string? -
- IncotermsLocation1 string? -
- IncotermsLocation2 string? -
- IncotermsVersion string? -
- ReferenceSDDocument string? - Document Number of Reference Document
- CustomerPaymentTerms string? - Key for Terms of Payment
- PaymentMethod string? -
- to_Credit CreateA_SalesOrderCreditSimulation? -
- to_Item CreateA_SalesOrderSimulation_to_Item? -
- to_Partner CreateA_SalesOrderSimulation_to_Partner? -
- to_Pricing CreateA_SalesOrderPricingSimulation? -
- to_PricingElement CreateA_SalesOrderSimulation_to_PricingElement? -
sap.s4hana.api_sales_order_simulation_srv: CreateA_SalesOrderSimulation_to_Item![](/images/permalink.svg)
Fields
- results CreateA_SalesOrderItemSimulation[]? -
sap.s4hana.api_sales_order_simulation_srv: CreateA_SalesOrderSimulation_to_Partner![](/images/permalink.svg)
Fields
- results CreateA_SalesOrderPartnerSimulation[]? -
sap.s4hana.api_sales_order_simulation_srv: CreateA_SalesOrderSimulation_to_PricingElement![](/images/permalink.svg)
Fields
- results CreateA_SalesOrderPrcgElmntSimln[]? -
sap.s4hana.api_sales_order_simulation_srv: CreateA_SlsOrdSimlnValAddedSrvc![](/images/permalink.svg)
Fields
- ValueAddedServiceType string -
- ValueAddedSubServiceType string -
- SalesOrder string - Document Number of Reference Document
- SalesOrderItem string - Item Number of the Reference Item
- ValueAddedServiceProduct string? - VAS Material Number
- ValAddedSrvcHasToBeOrdered boolean? - Requirement Relevancy Flag for VAS Material
- ValAddedSrvcIncrement string? - VAS Increment
- ValueAddedServiceChargeCode string? - VAS Charge Codes
- ValAddedSrvcIsRlvtForProcmt boolean? - Procurement Relevant for VAS Material
- ValueAddedServiceText1 string? - VAS Field 1 for Free Use by Customer
- ValueAddedServiceText2 string? - VAS Field 2 for Free Use by Customer
- ValueAddedServiceText3 string? - VAS Field 3 for Free Use by Customer
- ValueAddedServiceLongText string? -
sap.s4hana.api_sales_order_simulation_srv: GetA_SlsOrdSimlnValAddedSrvcQueries![](/images/permalink.svg)
Represents the Queries record for the operation: getA_SlsOrdSimlnValAddedSrvc
Fields
- \$select A_SlsOrdSimlnValAddedSrvcSelectOptions? - Select properties to be returned, see Select
sap.s4hana.api_sales_order_simulation_srv: ListA_SlsOrdSimlnValAddedSrvcsQueries![](/images/permalink.svg)
Represents the Queries record for the operation: listA_SlsOrdSimlnValAddedSrvcs
Fields
- \$skip int? - Skip the first n items, see Paging - Skip
- \$top int? - Show only the first n items, see Paging - Top
- \$orderby A_SlsOrdSimlnValAddedSrvcOrderByOptions? - Order items by property values, see Sorting
- \$inlinecount "allpages"|"none" ? - Include count of items, see Inlinecount
- \$select A_SlsOrdSimlnValAddedSrvcSelectOptions? - Select properties to be returned, see Select
sap.s4hana.api_sales_order_simulation_srv: Modified\ A_SlsOrdSimlnValAddedSrvcType![](/images/permalink.svg)
Fields
sap.s4hana.api_sales_order_simulation_srv: OAuth2RefreshTokenGrantConfig![](/images/permalink.svg)
OAuth2 Refresh Token Grant Configs
Fields
- Fields Included from *OAuth2RefreshTokenGrantConfig
- refreshUrl string(default "https://{host}:{port}") - Refresh URL
sap.s4hana.api_sales_order_simulation_srv: ProxyConfig![](/images/permalink.svg)
Proxy server configurations to be used with the HTTP client endpoint.
Fields
- host string(default "") - Host name of the proxy server
- port int(default 0) - Proxy server port
- userName string(default "") - Proxy server username
- password string(default "") - Proxy server password
sap.s4hana.api_sales_order_simulation_srv: UpdateA_SlsOrdSimlnValAddedSrvc![](/images/permalink.svg)
Fields
- ValueAddedServiceProduct string? - VAS Material Number
- ValAddedSrvcHasToBeOrdered boolean? - Requirement Relevancy Flag for VAS Material
- ValAddedSrvcIncrement string? - VAS Increment
- ValueAddedServiceChargeCode string? - VAS Charge Codes
- ValAddedSrvcIsRlvtForProcmt boolean? - Procurement Relevant for VAS Material
- ValueAddedServiceText1 string? - VAS Field 1 for Free Use by Customer
- ValueAddedServiceText2 string? - VAS Field 2 for Free Use by Customer
- ValueAddedServiceText3 string? - VAS Field 3 for Free Use by Customer
- ValueAddedServiceLongText string? -
Array types![](/images/permalink.svg)
sap.s4hana.api_sales_order_simulation_srv: A_SlsOrdSimlnValAddedSrvcOrderByOptions![](/images/permalink.svg)
A_SlsOrdSimlnValAddedSrvcOrderByOptions
sap.s4hana.api_sales_order_simulation_srv: A_SlsOrdSimlnValAddedSrvcSelectOptions![](/images/permalink.svg)
A_SlsOrdSimlnValAddedSrvcSelectOptions
String types![](/images/permalink.svg)
sap.s4hana.api_sales_order_simulation_srv: count![](/images/permalink.svg)
count
The number of entities in the collection. Available when using the $inlinecount query option.
Import
import ballerinax/sap.s4hana.api_sales_order_simulation_srv;
Metadata
Released date: about 2 months ago
Version: 1.0.0
License: Apache-2.0
Compatibility
Platform: any
Ballerina version: 2201.9.0
GraalVM compatible: Yes
Pull count
Total: 0
Current verison: 0
Weekly downloads
Keywords
Business Management/ERP
Cost/Paid
Vendor/SAP
Sales and Distribution
SD
Contributors
Other versions
1.0.0