SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

Populating XBLNR in the FP08 document

Former Member
0 Kudos
614

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,

6 REPLIES 6

ivor_martin
Active Contributor
0 Kudos
249

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

AmlanBanerjee
Active Contributor
0 Kudos
249

Hi,

Check event 1118, where you can perform activities before posting documents.

Thanks,

Amlan

0 Kudos
249

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,

0 Kudos
249

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

0 Kudos
249

Hi,

Event 0060 provides access to Document Header data.

See if you are able to change the header data through this Event.

Regards,

Ivor

RonnyF
Product and Topic Expert
Product and Topic Expert
249

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