08-29-2014 2:37 PM
Hi All,
I searched many thread but unfortunately, I couldn't find the answer.
I am using BAPI SD_SALESDOCUMENT_CREATE for creating return order.
My question is where we need to pass the return reason in SD_SALESDOCUMENT_CREATE.
Note : I can't change my BAPI at this moment.
Please help me.
Regards,
Shweta
08-29-2014 3:08 PM
Shweta,
you need to use Extension for return reason in item level. Also you have to append MSR_RET_REASON field in BAPE_VBAP, BAPE_VBAPX, VBAPKOM, VBAPKOMX, VBAPKOZ & VBAPKOZX structures.
then you have to pass the values for MSR_RET_REASON value in Extension which needs to be passed FM.
Regards,
Ritwik
08-29-2014 3:07 PM
Hello Shweta,
you can pass reason of return in Tables paramter in SALES_ITEM_IN in Field REASON_REJ.
Hope it is helpful.
08-29-2014 3:08 PM
Shweta,
you need to use Extension for return reason in item level. Also you have to append MSR_RET_REASON field in BAPE_VBAP, BAPE_VBAPX, VBAPKOM, VBAPKOMX, VBAPKOZ & VBAPKOZX structures.
then you have to pass the values for MSR_RET_REASON value in Extension which needs to be passed FM.
Regards,
Ritwik