on 02-27-2006 9:10 AM - last edited on 02-04-2024 1:59 AM by postmig_api_4
hi all,
I'm using the standard bapi BAPI_SALESORDER_CREATEFROMDAT2 to create a sales order with customized order type (i.e. Zxxx)
after running, it returns an error message to me:
"Unpermitted combination of business object BUS2032 and sales doc. category H."
What's wrong are there?
Thanks.
Hello Macy,
As u r using return's process the FM BAPI_SALESORDER_CREATEFROMDAT2 has a hardcoded value of BUS2032 so u will not be able to use it. Try using FM BAPI_CUSTOMERRETURN_CREATE. This also calls the same FM SD_SALESDOCUMENT_CREATE but with business object BUS2102 which deals with returns.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
R u using returns process with sales order type Zxxx? Check the customisation trx vov8. check if the category assigned to Zxxx is H then u cannot use only BUS2102.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Macy,
The BAPI derives Business object based on the sales doc category. When the derived and the BUS2032 doesn't match then it gives this error. BAPI is using FM SD_OBJECT_TYPE_DETERMINE to check this and within this it is hardcoded business objects.
Abhijit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Use the FM - SD_SALESDOCUMENT_CREATE
regard
vinod
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.