I need help with running my custom function module automatically when users post invoices through FB60 or MIRO transactions.
I’ve been trying to figure out how to make this work but I’m stuck. When I tried to trace the events, I couldn’t find any function module that gets created by default during the posting process. This makes it really hard for me to understand what events are being triggered.
I want my custom function module to execute every time someone posts an invoice document in these transactions. Has anyone successfully implemented something like this before? What approach did you use?
I’m looking for guidance on the best way to hook into the posting process and call my function module at the right moment. Any help would be greatly appreciated since I’m not sure what the next steps should be.