2012 Feb 01 8:53 AM
Hi All,
We need to call our custom FM on event MeterReadingDocument.Confirmed for BOR object MTRREADDOC.
Please let us know how it has to be done.
Thanks
2012 Feb 03 3:51 AM
Are you implementing a workflow using the object? - If so, you can create a custom step after the "Wait for Event" step that executes your Function Module.
Another option would be to create a Z BO: ZMTRREADDO, define MTRREADDOC as Supertype. Set up the Delegation by going to Settings > Delegate, and you can redefine the Event (never had to do this, sorry) in your Z BO, or create a new method that calls your FM and use it after the "Wait for Event" step.
Hope that helps. You can also try posting your question in .
Regards,
Andres.
Hi All,
We need to call our custom FM on event MeterReadingDocument.Confirmed for BOR object MTRREADDOC.
Please let us know how it has to be done.
Thanks
2012 Feb 03 3:51 AM
Are you implementing a workflow using the object? - If so, you can create a custom step after the "Wait for Event" step that executes your Function Module.
Another option would be to create a Z BO: ZMTRREADDO, define MTRREADDOC as Supertype. Set up the Delegation by going to Settings > Delegate, and you can redefine the Event (never had to do this, sorry) in your Z BO, or create a new method that calls your FM and use it after the "Wait for Event" step.
Hope that helps. You can also try posting your question in .
Regards,
Andres.
2012 Feb 12 6:54 PM
Hi Andres,
We are not using any workflow.
Actually whenever the meter readings are saved this event gets triggered.
So what we did is we wrote our part of enhancement code in a standalone Function Module and attached the same to this event
in transaction SWE2.
Our FM gets triggered when we save the meter reading and our purpose is solved.
Thanks a lot for your response.
Regards,
Mozila