‎2009 Jan 20 10:46 AM
Hi,
I am trying to create a sales order using Bapi BAPI_SALESORDER_CREATEFROMDAT1. I am getting the error:
Condition contract pricing is not activated.
Do we need to pass sonme data to the BAPI that is not being passed? If thats the case, what data we need to pass and in which structure and field of Bapi do we need to pass the data?
Else what steps do we need to take to rectify the above error.
Thanks.
Mick
‎2009 Jan 20 11:07 AM
hi
try this BAPI_SALESORDER_SIMULATE .
you have to execute BAPI_TRANSACTION_COMMIT after using your BAPI .
hope this helps
regards
Aakash Banga
‎2009 Jan 20 11:07 AM
hi
try this BAPI_SALESORDER_SIMULATE .
you have to execute BAPI_TRANSACTION_COMMIT after using your BAPI .
hope this helps
regards
Aakash Banga
‎2009 Jan 20 12:22 PM
Wouldnt you execute BAPI_TRANSACTION_COMMIT only if BAPI_SELESORDER_CREATEFROMDAT1 has been successful? The problem here is that BAPI_SELESORDER_CREATEFROMDAT1 is throwing an error and what do we need to do to rectify the error?
Mick
‎2009 Jan 20 12:30 PM
check whether u have given all these parameters
1. Mandatory entries:
ORDER_HEADER_IN : DOC_TYPE Sales document type
SALES_ORG Sales organization
DISTR_CHAN Distribution channel
DIVISION Division
ORDER_PARTNERS..: PARTN_ROLE Partner functions, SP sold-to party
PARTN_NUMB Customer number
ORDER_ITEMS_IN..: MATERIAL Material number
REQ_QTY Order quantity in sales unit
IF else,i think some configuration is missing
‎2009 Jan 20 12:48 PM
Thanks TT. I am passing all the parameters mentioned by you to the bapi BAPI_SALESORDER_CREATEFROMDAT1.
However when I create a sales order using the same parameters using TCode VA01, I am able to create the sales order, however some of the values are filled by deafult by the system.
Please help.
Mick
‎2009 Jan 21 9:17 AM
Hi,
In which TCode and table can I check and activate Condition contract pricing?
Mick
‎2009 Feb 27 5:40 AM