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