Skip to Content

Trigger an event ,when invoice posted from Mir7

Hi Experts,

I have a requirement, to create event based background job. When an invoice is parked from MIR7 and then if some one tries to post it , i need to trigger an event, and based on that event i need to run the background job. So whenever an invoice is posted this background job should run and send the invoice data to Maximo.

How do I resolve/approach this ? Any hints will be greatly appreciated.

Regards,

Sachin.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Feb 02, 2017 at 07:13 AM

    Did you look at a BAdI like INVOICE_UPDATE which methods are triggered in the SAVE process of invoice. For other available BAdIs executed during transaction, read 1156325 - BAdIs in the Logistics Invoice Verification environment.

    Regards,
    Raymond

    Add comment
    10|10000 characters needed characters exceeded

    • Wrap your event triggering code in a RFC enabled FM, CALL this FM IN BACKGROUND TASK, so it will be executed after database update. (For background event use BP_REMOTE_EVENT_RAISE which is RFC enabled)