cancel
Showing results for 
Search instead for 
Did you mean: 

Reverse Document using transaction MR8M

former_member457420
Participant
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

When you cancel an invoice, actually you are posting a credit memo (see SAP Note 46564 - Cancelling/reversing an invoice/credit memo: Posting logic).

To change these values, try with badi MRM_PAYMENT_TERMS (see SAP Note 1559443 - Changing baseline dates for payment terms for Spain as a sample) although I am not sure if it works with MR8M.

I hope this helps you

Regards

Eduardo

Marssel700
Active Contributor
0 Kudos

Dear,

please look at this link bellow:

http://help.sap.com/saphelp_470/helpdata/en/5f/071eed117c11d5b37d0050dadef62b/content.htm

Anyway I suggest you get ABAP support in this implementation.

regards

former_member457420
Participant
0 Kudos

Thanks for the answer.I was trying to implement the interface using SE80 I get a message interface IF_EX_FMRI does not include IF_BADI_INterface.

How should I go about it...