Skip to Content
avatar image
Former Member

How can I get RBKP-BELNR running MRRL?

Hi Gurus,

New blogger here, hope you are all great!

I have a request to add a Pop Up with some fields to complete once you run the MRRL transaction (and before the result is shown). I have to save this information in a Z table, along with some of the values that are already on the MRRL at that point (vales from RBKP to be more specific).

I was using the Exit: EXIT_SAPLMRMH_001 asi it has RBKP, but the problem I'm facing at this point is that RBKP-BELNR is not generated yet.

I tried BTE events 1120 and 1050 with the same issue, not having RBKP values available.

Is there any way I can get the RBKP-BELNR value while executing MRRL transaction?

Regards,

Agustin.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Oct 20, 2016 at 05:05 PM

    Hi

    The BTE 00001050 should be ok, but here you have accounting data (not incoming invoice), you can get the RBKP-BELNR from header data of accounting document,

    The information about the logistic document has generated the accouting one are in field BKPF-AWTYP and BKPF-AWKEY

    I dont' know transaction MRRL, but for incoming invoice:

    BKPF-AWTYP = RMRP

    BKPF-AWKEY = RBKP-BELNR+RBKP-GJAHR.

    Max

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 21, 2016 at 12:40 PM

    Hi,

    maybe with badi INVOICE_UPDATE method CHANGE_AT_SAVE?

    (or enhancement spot INVOICE_UPDATE)

    Best regards,

    Pablo

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 21, 2016 at 01:25 PM

    Right I've forgotten that BADI

    but probably the method CHANGE_BEFORE_UPDATE (just called before posting the data) or CHANGE_IN_UPDATE (just called while posting the data) are better in order to save some data in own custom table

    Add comment
    10|10000 characters needed characters exceeded