SAP Function BAPI_SALESORDER_SIMULATE - Sales Order: Simulate Sales Order

Parameter Reference Type Length Default Optional Text
CONVERT_PARVW_AUART BAPIFLAG-BAPIFLAG C 1 SPACE X Conversion of partner function + order type
ORDER_HEADER_IN BAPISDHEAD u 523 Order Header

Parameter Reference Type Length Text
BILLING_PARTY BAPIPAYER u 300 Payer
RETURN BAPIRETURN u 452 Error Text
SALESDOCUMENT BAPIVBELN-VBELN C 10 Sales and Distribution Document Number
SHIP_TO_PARTY BAPISHIPTO u 530 Ship-To Party
SOLD_TO_PARTY BAPISOLDTO u 273 Sold-to party

Parameter Reference Length Optional Text
EXTENSIONIN BAPIPAREX 990 X Customer enhancment import
MESSAGETABLE BAPIRET2 548 X Warning table (XVBFS)
ORDER_CCARD BAPICCARD 268 X Credit Card Data
ORDER_CCARD_EX BAPICCARD_EX 380 X Credit card data output
ORDER_CFGS_BLOB BAPICUBLB 256 X Internal configuration data (SCE)
ORDER_CFGS_INST BAPICUINS 233 X Configuration: Instances
ORDER_CFGS_PART_OF BAPICUPRT 123 X Configuration: Part-of Specifications
ORDER_CFGS_REF BAPICUCFG 397 X Configuration: Reference Data
ORDER_CFGS_VALUE BAPICUVAL 276 X Configuration: Characteristic Values
ORDER_CONDITION_EX BAPICOND 336 X Conditions Output
ORDER_INCOMPLETE BAPIINCOMP 122 X
ORDER_ITEMS_IN BAPIITEMIN 749 Item Data Input
ORDER_ITEMS_OUT BAPIITEMEX 726 X Item Data Output
ORDER_PARTNERS BAPIPARTNR 594 Partners
ORDER_SCHEDULE_EX BAPISDHEDU 344 X Schedule line data output
ORDER_SCHEDULE_IN BAPISCHDL 198 X Schedule Line Data Input
PARTNERADDRESSES BAPIADDR1 1574 X BAPI Reference Structure for Addresses (Org./Company)

Functionality
This method has the same interface definition as theBAPI_SALESORDER_CREATEFROMDAT1 function but differs from it in thathere the sales order is not updated.
Here you can determine availability and pricing. This data is displayedin the ORDER_ITEMS_OUT table.

Notes
For 46A, the following enhancements have been made:
New output tables:
ORDER_SCHEDULE_IN Schedule line data input
ORDER_CCARD_EX Credit card data output
ORDER_SCHEDULE_EX Schedule line data output
ORDER_CONDITION_EX Conditions output
MESSAGETABLE Warning table (XVBFS)
Sales area determination
Order entry with ship-to party
If no sales area is entered in the sales order header, then the systemcreates the sales area from the sold-to party or ship-to party, who hasbeen entered in the partner table. If no clear sales area can becreated, you will receive a system message, and the sales order willnot be created.

Description
This parameter contains data for the payer.

Description
This structure displays the return code of the function module.
Structure:
TYPE Message type: S Success, E Error, W Warning, I Information
CODE Message code
MESSAGE Message text
LOG_NO Application log: log number
LOG_MSG_NO Application log: sequential message number

Value range
If no errors occur, the return parameter is blank. Otherwise, thesystem issues the relevant error message with a short text.

Description
The paramter displays the sales order number generated by the BAPI.This is blank or zero when working with SIMULATE.

Description
This parameter contains data for the ship-to party.

Description
This parameter contains data for the sold-to party.
INCLUDE SD_BAPI_CONVERT_PARVW_AUART OBJECT DOKU ID TX

Description
This parameter contains data for the sales document header.
INCLUDE SD_EXTENSIONIN OBJECT DOKU ID TX

Description
Variable messages in SD are collected in the internal XVBFS table.
The table parameter MESSAGETABLE contains these variable messages,corresponding to the BAPIRET2 structure.
The table also contains the export parameter RETURN.

Description
Input table for credit card data.
However, only one payment card is processed.

Description
Credit card data output

Description
internal configuration data (SCE)

Description
Refer to the R/3 library and choose Logistics-General -> LO VariantConfiguration Guide -> EDI for Configurable Materials.

Description
See the SAP Documentation for Logistics - General,
LO - Variant Configuration, IDoc processing (EDI for configurable
materials).

Description
Refer to the R/3 library and choose Logistics-General -> LO VariantConfiguration Guide -> EDI for Configurable Materials.

Description
Refer to the R/3 library and choose Logistics-General -> LO VariantConfiguration Guide -> EDI for Configurable Materials.

Description
Conditions output

Description
Incompleteness log

Description
This paramter contrains the item input data for the sales order.

Description
This paramter contains item output data for the sales order.

Description
Partners, such as sold-to party, ship-to party are entered into thistable.

Description
Scheduling data output

Description
This paramter contains additional schedule line data for an item.
The first schedule line for an item is created when the item iscreated. You can enter additional schedule line data here. Requiredentries:
Item number
Requested delivery date
Quantity in sales units
INCLUDE SD_PARTNERADDRESSES OBJECT DOKU ID TX

685467CVV: Changes in BAPI interface II
93091Information about the BAPIs in Sales and Distribution
763791BAPI_SALESORDER_SIMULATE delivery priority
536483BAPI SD: incomplete pricing
495964Check incorrect date in the BAPI
307419EAN numbers for SD BAPIs
306876EAN number in the SD BAPIs