cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to Create Return Order using /AFS/BAPI_SALESORD_CREATEFDATA

Former Member
0 Kudos

Hi Experts,

We are trying to use BAPI FM "/AFS/BAPI_SALESORD_CREATEFDATA" to create a return Order. It's giving an error as below.

"V1 761 Unpermitted combination of business object BUS2032 and sales doc. category H".

I found that we can use "BAPI_CUSTEMERRETURN_CREATE" which recommended for return order (Business Object 2102). However, it seems that it may not be applicable for AFS materials because we can't give Grid data for schedule lines and system creates a return sales order but assigns a J2 rejection code at schedule line.

Any suggestions on this will be helpful.

Regards,

Sachin

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hello colleagues!

I've the same issue working in AFS , and resolved using the BAPI:  BAPI_CUSTOMERRETURN_CREATE to create the document just at header level, and after using the BAPI:     /AFS/BAPI_SALESORD_CHANGE  to assign the item levels.

Regards!

Shiva_Ram
Active Contributor
0 Kudos

Will implementation of OSS Note 438261 - BAPI SD: Error 'V1761' with BAPI_SALESDOCU_CREATEFROMDATA help with the first option? not sure whether you can use it for AFS solutions.

Regards,