‎2008 Mar 11 7:05 AM
Hi,
I am trying create contract (VA41) using the BAPI BAPI_SALESORDER_CREATEFROMDAT2. But it is throwing error as "Unpermitted combination of business object BUS2032 and sales doc. category G". I have filled the fields order type, sales org, distribution channel, division and I put partner function as 'AG' and partner as some kunnr. what are the mandatory fields has to be filled for the creation of contract. Please help me out of this. Helpful answers will be rewarded.
Thanks
Shameem.
‎2008 Mar 11 7:24 AM
Hi Shameem,
You can't use that BAPI it's for sales orders only. Use BAPI_CONTRACT_CREATEFROMDATA to create Sales contracts.
Regards,
John.