Dear Experts,
I have a problem that need to be adressed immediately.
Have an Invoice.If we display it using "MIR4" - Under "payment" Tab ,there is the
BaselineDt (Say 11.11.2011) and
Due on (Say 25.12.2001). payterms is 44 days
Iam cancelling this invoice using Transaction "MR8M" - If I look into the reversedocument Under "Payment" tab the dates are as follows.
BaselineDt (11.11.2011) and
Due on (11.11.2011). payterms is 44 days
The due date in the reverse document is false here because it falls inside the due date of the Invoice ,which is 25.12.2011.The due date here also should be 11.11.2011 +44 = 25.12.2001
I or rather we found a solution within the sap note 968469 where there is a BADI interface "IF_EX_FMRI" with a method
FMRI_BADI_8(Different Due Date for Reversal): with parameters
IT_ACCIT Importing Type FMFI_T_ACCIT Accounting Interface: Item Information IF_FMIFIIT Importing Type FMIFIIT FI Line Item Table in Funds Management C_ZHLDT Changing Type FMIFIIT-ZHLDT Funds Management - Update Date
The challenge for me now is what should be implemented in this function.Iam new to FI module and I have no idea what should be done inside this.
Could someone give me some pointers or a sample code would be useful.
Thanks
P