08-13-2007 7:34 AM
Hi all,
we have a function exit: EXIT_RSAQEXCE_001 and we want to know which query call this exit.
So is there a system variant contains query name?
Thanks,
-James
08-13-2007 7:39 AM
You can do a where used on the functino module EXIT_RSAQEXCE_001 in SE37.
Regards,
Amit
Reward all helpful replies.
08-13-2007 7:44 AM
PROGRAM is a parameter of the function module EXIT_RSAQEXCE_001.
Structure
The PROGRAM parameter contains the name of the query report which called the function module. From this name, you can determine which query has been processed, since the structure of the name is always as follows:
Aqmmb...bq...q
cc
= client or ZZ in the global area
b b
= user group name
q q
= query name
08-13-2007 7:44 AM
Using the function module RSAQ_DECODE_REPORT_NAME, you can derive the name of the query belonging to a report from the report name