on 08-19-2020 12:31 PM
I am using BAPI_SALESORDER_CREATEFROMDAT2 to create sales order but i wanna put condition only in item data not in header
I do not understand what is the roadblock here.
What did you try so far and what was the outcome?
The documentation for BAPI_SALESORDER_CREATEFROMDAT2 from transaction BAPI is quite detailed. Of course, you need the assistance of the SD consultant (if you are not very familiar with SD pricing) to find out what parameters you should specify in ORDER_CONDITIONS_IN and ORDER_CONDITIONS_INX.
To be able to add or modify a specific condition via the BAPI you need to make sure that the corresponding change to the condition is permitted via customizing. You can simply ask the consultant or perform a test via VA01/VA02 to find out if such changes are allowed.
Other than this, it is pretty straightforward (which is why I do not understand what is the problem that you face).
Here is an example that I created some time ago as test data in SE37:
Other than this, you may want to specify COND_HANDL = 'X' in LOGIC_SWITCH.
The easiest way to find out what to enter in ORDER_CONDITIONS_IN is to create an order with the data as you want it to be created via the BAPI and use the values from KONV.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.