A custom action, “Correct Plausible Meter Reading Results” is required. This corresponds to transaction EL29, and for simplicity’s sake this example will use the function module ISU_S_METERREAD_CHANGE.

3. If necessary, implement the relevant BAdI class
Create the enhancement implementation for BAdI /BTI/MDE_BADI_MD_ACTION. The example implementation /BTI/MDE_ACTION_EXAMPLE is provided to assist with this.

4. Add the logic to handle the user command
Use the logic in /BTI/MDE_ACTION_EXAMPLE as a template to implement the custom action.

Here is an example of what the final code in ZCL_EXAMPLE may look like:

Note that the line of code: “x_action->set_action_handled” is used to ensure that the action is considered “finished” so that the action can be logged, and the customer account refreshed as per the configuration.

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment