Professional Documents
Culture Documents
2003 Page 1
________________________________________________________________________
Number 481102
Version 2 from 20.12.2001
Status Released for Customer
Set on 20.12.2001
Language EN
Master language DE
Short text BAPI_SALESORDER_CREATEFROMDAT2 & configuration
Responsible SAP AG
Component SD-SLS-GF-VA
SD BOM, Variant processing
________________________________________________________________________
Long text
Symptom
You create a sales order by means of function module
BAPI_SALESORDER_CREATEFROMDAT2. In the sales order, the characteristic
valuation of the configuration deviates from the characteristic
valuation specified for the BAPI.
Solution
Therfore, two steps must be carried out in the BAPI scenario as in the
VA01online scenario. First, you must create the sales order by means of
BAPI_SALESORDER_CREATEFROMDAT2. Then you can carry out the
reconfiguration in the generated document by means of
BAPI_SALESORDER_CHANGE.
For the case described here, you have also the option to break down the
two-step scenario into a one-step scenario by setting the 'Cnfg' flag to
'+' in the requirements class, that is, a configuration is mandatory.
In the sales order (VA01), the configuration would then be called in the
foreground already during the creation of the material, and the material
variant could be reconfigured.
The same applies to the BAPI scenario. In this way, the creation and
Page 2
________________________________________________________________________
SD-SLS-GF-IF
Sales Documents BAPI's
________________________________________________________________________
________________________________________________________________________