BEx Variables – RRMS_MESSAGE_HANDLING popup disabled when calling RSDRI_INFOPROV_READ in customer exit.

I had this peculiar issue while working on a BEx report where I used FM RRMS_MESSAGE_HANDLING to report errors in the BEx Variable Exit in i_step = 3.

I needed to define the value of a BEx Variable by reading the content of a cube with FM RSDRI_INFOPROV_READ. This worked fine.

However, based on the result I also wanted to generate a popup error message in I_STEP = 3 of the BEx Variable Exit.

This can be achieved by calling FM RRMS_MESSAGE_HANDLING.

When I combined the call to FM RSDRI_INFOPROV_READ with a subsequent call to FM RRMS_MESSAGE_HANDLING, the BEx Variable exit considers that the Variable selection is in error (does not close variable screen, and expexts a new input) BUT, there is no popup message displayed in the user interface.

I had to submit an Incident (formerly Customer Message) in SAPs serivce site to figure out a solution to this. Finally, SAP told me that a call to FM RRMS_MESSAGE_OFF_RESET would solve the problem. This was the case, problem solved.

Leave a Reply