I have an issue getting the item number for a credit memo created in MIRO for multiple returns (customer direct ship to Vendor) of an item in table MSR_D_EXECUTED.
I have created order, delivery , invoice and complaint.
I created the advanced return with follow up action '0007'(customer direct ship to vendor)
then I created 2 credit memos in MIRO for the return PO (449XXXXXXX).
1st credit memo with quantity 8 and the next one with quantity 2.
For both credit memos. entries created in table MSR_D_EXECUTED with item number 000010 (NOT 000020 for the 2nd credit memo).
I would like to find out a user exit or BADI where I can write the code to update a custom table ZMSR_D_EXECUTED
with the correct item number for the 2nd item to resolve the issue.
Can anyone help me to find the user exit or BADI for this requirement.