cancel
Showing results for 
Search instead for 
Did you mean: 

CMOD get name of current query

0 Kudos

Hi,

I have an authorization exit variable which need to be filled based on the processed query. Any idea how to get the query name/id in CMOD?

Thanks a lot for your help!!

Regards,

Sven

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sven,

Read the field COMPID from Structure I_S_RKB1D in the Variable Exit.

"I_S_RKB1D-COMPID" should give you the Query Technical Name.

Additional info:

Report LRRS0U02 is used for the initialization of reports. Here, you have this structure as below:

function rrs_var_values_exit_before.
*"----------------------------------------------------------------------
*"*"Local Interface:
*"  IMPORTING
*"     VALUE(I_S_RKB1D) TYPE  RSR_S_RKB1D
*"     VALUE(I_S_RKB1F) TYPE  RRO01_S_RKB1F

Explore Structure RSR_S_RKB1D to get more details.

--

Sankar kumar

0 Kudos

Hi Sankar,

again (.; .... sorry, for my late answer!!!Works perfect as always!!

Full points assigned!!

Nice weekend!

Sven

kohesco
Active Contributor
0 Kudos

Hi,

Do you know how to get the RKB1D information in a inverse routine ?

would help me a lot ... http://scn.sap.com/thread/3777109 Please ?

Answers (0)