Skip to Content
0
Former Member
May 09, 2008 at 07:13 PM

Bex variable to be filled under condition via user exit?

57 Views

Hi BI Experts,

We got issues in using Bex variable filled by user exit while using RRI (report report interface).

The background:

We defined a Bex variable (0calmonth) filled by user exit with 'Current Calendar Month', and it is ready for input (means user can change this value if necessary). The query (Query_R) can be run by the user and the same query is being used as receiver in RRI (where sender query (Query_S) is for reporting on year level).

Now the issue:

if the sender query (Query_S) is selecting current year, when user is using 'Go To' the receiver query (Query_R), the result is correct. However, if the sender query is reporting last year result (not current year), then the receiver query (Query_R) is showing the wrong month, because the variable for 0calmonth is still being filled by user exit with current month. What I would like to expect is, that in such a case the Bex variable should ignore the user exit, but accept the filter sent by sender query.

hope anyone out there could help me.

Thanks for your help in advance and best regards,

Sally