‎2009 Jan 20 5:19 AM
Hi,
In transaction VA01 we are able to create credit memo request (ZRCR order type) with order category K (credit memo). Is this possible to create this order using "BAPI_SALESORDER_CREATEFROMDAT2" and BAPI_SALESORDER_CREATEFROMDAT1 function module.?
If we try to excute using this function module, following return message is appearing. "Unpermitted combination of business object BUS2032 and sales doc. category K". Any one please give me solution.
Thanks in advance,
Murali
‎2009 Jan 20 5:27 AM
Use the below FM. It will slove ur problem.
"SD_SALESDOCUMENT_CREATE".
‎2009 Jan 20 5:33 AM
Hi Priyanka,
Check out this link, I think it will surely help you.
[Sales Order creation using BAPI |http://abap.wikiprog.com/wiki/Category:BAPI_SalesOrder]
Regards,
Amit.
‎2009 Jan 20 5:34 AM
Hi,
Using below FM we can create SD.
BAPI_SALESDOCU_CREATEFROMDATA
BAPI_SALESORDER_CREATEFROMDAT1
BAPI_SALESORDER_CREATEFROMDAT2
BAPI_SALESORDER_CREATEFROMDATA
Regards
Md.MahaboobKhan
‎2009 Jul 30 11:47 AM
Hello Priyanka and SAP gurus!
I see this is marked as answered. I am trying to do the same thing but cannot see from the thread what the solution is.
From my investigations FM SD_SALESDOCUMENT_CREATE is called byI BAPI_SALESORDER_CREATEFROMDAT2.
Can you point me in the right direct please?
Thank you.