sap.s4hana.api_sales_order_simulation_srv
Module sap.s4hana.api_sales_order_simulation_srv
API
Definitions
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 SAP S/4HANA Sales connector 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.
Key Features
- Simulate sales orders in SAP S/4HANA
- Retrieve pricing, material availability, and credit limit information
- Seamless integration with the Sales Order - Simulate (A2X) API v1.0.0
- Support for basic and OAuth 2.0 authentication
Setup guide
-
Sign in to your S/4HANA dashboard.
-
Under the
Communication Managementsection, click on theDisplay Communications Scenariotitle.
-
In the search bar, type
Sales Order Integrationand 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 Systemfrom 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:Clientin 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
sap.s4hana.api_sales_order_simulation_srv: Client
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
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
function createA_SalesOrderSimulation(CreateA_SalesOrderSimulation payload, map<string|string[]> headers) returns A_SalesOrderSimulationWrapper|errorSimulates the creation of a sales order.
Parameters
- payload CreateA_SalesOrderSimulation - New entity
Return Type
- A_SalesOrderSimulationWrapper|error - Created entity
createA_SlsOrdSimlnValAddedSrvc
function createA_SlsOrdSimlnValAddedSrvc(CreateA_SlsOrdSimlnValAddedSrvc payload, map<string|string[]> headers) returns A_SlsOrdSimlnValAddedSrvcWrapper|errorAdd new entity to A_SlsOrdSimlnValAddedSrvc
Parameters
- payload CreateA_SlsOrdSimlnValAddedSrvc - New entity
Return Type
- A_SlsOrdSimlnValAddedSrvcWrapper|error - Created entity
deleteA_SlsOrdSimlnValAddedSrvc
function deleteA_SlsOrdSimlnValAddedSrvc(string ValueAddedServiceType, string ValueAddedSubServiceType, string SalesOrder, string SalesOrderItem, map<string|string[]> headers) returns Response|errorDelete 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
function getA_SlsOrdSimlnValAddedSrvc(string ValueAddedServiceType, string ValueAddedSubServiceType, string SalesOrder, string SalesOrderItem, map<string|string[]> headers, *GetA_SlsOrdSimlnValAddedSrvcQueries queries) returns A_SlsOrdSimlnValAddedSrvcWrapper|errorGet 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
function listA_SlsOrdSimlnValAddedSrvcs(map<string|string[]> headers, *ListA_SlsOrdSimlnValAddedSrvcsQueries queries) returns CollectionOfA_SlsOrdSimlnValAddedSrvcWrapper|errorGet entities from A_SlsOrdSimlnValAddedSrvc
Parameters
- queries *ListA_SlsOrdSimlnValAddedSrvcsQueries - Queries to be sent with the request
Return Type
- CollectionOfA_SlsOrdSimlnValAddedSrvcWrapper|error - Retrieved entities
patchA_SlsOrdSimlnValAddedSrvc
function patchA_SlsOrdSimlnValAddedSrvc(string ValueAddedServiceType, string ValueAddedSubServiceType, string SalesOrder, string SalesOrderItem, Modified\ A_SlsOrdSimlnValAddedSrvcType payload, map<string|string[]> headers) returns Response|errorUpdate 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
function performBatchOperation(Request request, map<string|string[]> headers) returns Response|errorSend a group of requests
Parameters
- request Request - Batch request
Records
sap.s4hana.api_sales_order_simulation_srv: A_SalesOrderCreditSimulation
Fields
- SalesOrder? string -
- TotalCreditCheckStatus? string? - Overall Status of Credit Checks
- to_SalesOrder? A_SalesOrderSimulation -
sap.s4hana.api_sales_order_simulation_srv: A_SalesOrderItemPartnerSimln
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
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
Fields
- results? A_SalesOrderItemPartnerSimln[] -
sap.s4hana.api_sales_order_simulation_srv: A_SalesOrderItemSimulation_to_PricingElement
Fields
- results? A_SalesOrderItmPrcgElmntSimln[] -
sap.s4hana.api_sales_order_simulation_srv: A_SalesOrderItemSimulation_to_ScheduleLine
Fields
- results? A_SalesOrderScheduleLineSimln[] -
sap.s4hana.api_sales_order_simulation_srv: A_SalesOrderItmPrcgElmntSimln
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
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
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
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
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
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
Fields
- results? A_SalesOrderItemSimulation[] -
sap.s4hana.api_sales_order_simulation_srv: A_SalesOrderSimulation_to_Partner
Fields
- results? A_SalesOrderPartnerSimulation[] -
sap.s4hana.api_sales_order_simulation_srv: A_SalesOrderSimulation_to_PricingElement
Fields
- results? A_SalesOrderPrcgElmntSimln[] -
sap.s4hana.api_sales_order_simulation_srv: A_SalesOrderSimulationWrapper
Fields
sap.s4hana.api_sales_order_simulation_srv: A_SlsOrdSimlnValAddedSrvc
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
Fields
sap.s4hana.api_sales_order_simulation_srv: ClientHttp1Settings
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
Fields
- __count? count -
- results? A_SlsOrdSimlnValAddedSrvc[] -
sap.s4hana.api_sales_order_simulation_srv: CollectionOfA_SlsOrdSimlnValAddedSrvcWrapper
Fields
sap.s4hana.api_sales_order_simulation_srv: ConnectionConfig
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-forwardedheader
- 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
Fields
- TotalCreditCheckStatus? string? - Overall Status of Credit Checks
- to_SalesOrder? CreateA_SalesOrderSimulation -
sap.s4hana.api_sales_order_simulation_srv: CreateA_SalesOrderItemPartnerSimln
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
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
Fields
- results? CreateA_SalesOrderItemPartnerSimln[] -
sap.s4hana.api_sales_order_simulation_srv: CreateA_SalesOrderItemSimulation_to_PricingElement
Fields
- results? CreateA_SalesOrderItmPrcgElmntSimln[] -
sap.s4hana.api_sales_order_simulation_srv: CreateA_SalesOrderItemSimulation_to_ScheduleLine
Fields
- results? CreateA_SalesOrderScheduleLineSimln[] -
sap.s4hana.api_sales_order_simulation_srv: CreateA_SalesOrderItmPrcgElmntSimln
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
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
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
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
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
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
Fields
- results? CreateA_SalesOrderItemSimulation[] -
sap.s4hana.api_sales_order_simulation_srv: CreateA_SalesOrderSimulation_to_Partner
Fields
- results? CreateA_SalesOrderPartnerSimulation[] -
sap.s4hana.api_sales_order_simulation_srv: CreateA_SalesOrderSimulation_to_PricingElement
Fields
- results? CreateA_SalesOrderPrcgElmntSimln[] -
sap.s4hana.api_sales_order_simulation_srv: CreateA_SlsOrdSimlnValAddedSrvc
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
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
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
Fields
sap.s4hana.api_sales_order_simulation_srv: OAuth2RefreshTokenGrantConfig
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
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
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
sap.s4hana.api_sales_order_simulation_srv: A_SlsOrdSimlnValAddedSrvcOrderByOptions
A_SlsOrdSimlnValAddedSrvcOrderByOptions
sap.s4hana.api_sales_order_simulation_srv: A_SlsOrdSimlnValAddedSrvcSelectOptions
A_SlsOrdSimlnValAddedSrvcSelectOptions
String types
sap.s4hana.api_sales_order_simulation_srv: count
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;Other versions
2.0.0
1.0.0Metadata
Released date: 3 days ago
Version: 2.0.0
License: Apache-2.0
Compatibility
Platform: any
Ballerina version: 2201.12.0
GraalVM compatible: Yes
Pull count
Total: 19
Current verison: 1
Weekly downloads
Keywords
Type/Connector
Vendor/SAP
Area/ERP & Business Operations
Business Management/ERP
Cost/Paid
Sales and Distribution
SD
Contributors