2015 May 28 6:56 PM
I have a CM posted with reference to an Invoice.
While reversing this CM using FP08, I want to copy the reference field of the CM into the reference field of RD.
I could not find any event where I can change the RD header data (DFKKKO-XBLNR)
Currently, the XBLNR comes blank in RD.
Is there a way we can achieve this?
Any pointers will he highly appreciated.
Thanks,
2015 May 29 2:08 AM
Hi,
You could explore the usage of FICA Event 0020.
It has access to the document structures during Clearing.
Please read the Function Module documentation for FKK_SAMPLE_0020.
In your case, you would have your developer code custom logic for Clearing Reason "05" (Reversal).
I hope this helps.
Regards,
Ivor
2015 May 29 12:06 PM
Hi,
Check event 1118, where you can perform activities before posting documents.
Thanks,
Amlan
2015 May 29 6:11 PM
Both 0020 and 1118 are not useful.
Both of these and several other events gets he FKKKO header data but not none allow to change it.
We can change BP and GL line items but not the header-xblnr.
Thanks,
2015 May 31 6:43 AM
Hi,
Check Event 1132 first. If you are unable to change the document header through this event, then you can look for event 1129.
Thanks,
Amlan
2015 Jun 03 4:48 AM
Hi,
Event 0060 provides access to Document Header data.
See if you are able to change the header data through this Event.
Regards,
Ivor
2015 Jun 03 3:00 PM
Hello,
with a customer function module for FI-CA event 0061 you could change the reference number in the document header (DFKKKO-XBLNR). But a change via the mentioned event is only possible if the field is still empty (should be the case for your example) and the Official Document Numbers are not used (flag TFK000C-XEXTN).
Best regards,
Ronny