Skip to Content
avatar image
Former Member

EXIT needed to be executed only while posting in MIR4


I used INVOICE_UPDATE (BAdi) to perform additional tasks while saving the document in MIR4.

It worked fine, however the requirement is now more restricted - the execution of code should only take place while posting the document (not while saving partially /fully but only while posting). This is when the sy-ucomm = 'BU'.

But after pressing the posting button (sy-ucomm = 'BU') there are some popups, that change the value of sy-ucomm , so in my BADI - i already don't know what sy-ucomm was.

I tried with transporting this sy-ucomm value to memory in "first" badi, but I'll never be sure if there was any popup before.

Maybe this is not the best way to achieve the point. If you know the better one - please let me know or if not please help to improve my way.

Thank You, Lukas.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 15, 2014 at 07:43 AM


    Add comment
    10|10000 characters needed characters exceeded