cancel
Showing results for 
Search instead for 
Did you mean: 

How to see if an exit is called by a query view ?

Former Member
0 Kudos

Hello,

I have a query with some variables filled by default with a customer exit (EXIT_SAPLRRS0_001). Those variable can then be edited by our users in the variable screen.

There is no issue to execute this query in our portal.

Then our users can create some query view, with or without saving initial variables values.

But as we have a customer exit we have the following issue :

RUN 1 :

Variable 1 is filled by default by the customer exit to "01.01.2010 - 31.12.2010"

Variable 1 is then changed by the user to "01.01.2010 - 30.06.2010"

then the user play with its query and when to save a view (VIEW_1), without saving variables values.

RUN 2 :

Variable 1 is filled by default by the customer exit to "01.01.2010 - 31.12.2010"

Variable 1 is changed by the user to "10.04.2010 to 10.05.2010"

then the user executes the query and want to retrieve VIEW_1.

But, after VIEW_1 execution the scope of variable 1 has been changed to "01.01.2010 - 31.12.2010" by the customer exit that is clearly not expected by our users.

How to avoid this behaviour ?

I would like to check in the exit if we are executing a query or a query view but I haven't find any parameter to do it.

Thanks in advance for your help,

GC.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You can display input variables interval as Heading in Reports headers. Whenever user execute it input  parameter will displayed.

Or if you can check by t.code RSRT & excute query & get information about varlables.

Regards,

Anand Mehrotra.