12-21-2004 6:42 PM
Hi, we want to read all parameters of the selection screen of an abap report, we want to get the name and the type of the parameter.
Exists some function to do that?
Some suggestions are welcomed.
Thanks in advanced.
12-21-2004 6:53 PM
Hi,
Maybe you can have a look at function module RS_ALL_SELECTIONSCREENS.
Kind Regards,
Sükrü
12-21-2004 6:51 PM
12-21-2004 6:59 PM
12-21-2004 7:09 PM
Yep, I think that the other FM will work if you can get it to work. I couldn't seem to get it to work for me. Another option follows.
Regards,
Rich Heilman
report zrich_0002 .
data: l_sscr like rsscr occurs 10 with header line.
parameters: p_prog(30) type c.
start-of-selection.
load report p_prog part 'SSCR' into l_sscr.
check sy-subrc = 0.
12-21-2004 6:53 PM
Hi,
Maybe you can have a look at function module RS_ALL_SELECTIONSCREENS.
Kind Regards,
Sükrü
12-22-2004 3:56 PM
Hi thanks for the response, it seems useful, but Have you could execute it any time and get the fields?
I have executed it and only return the dynpro number.
Thanks.
12-22-2004 4:05 PM
In the previous message I spoke of the function RS_ALL_SELECTIONSCREENS.
Have someone could execute it and get the fields of the selection screen?
12-22-2004 4:16 PM
12-21-2004 9:09 PM
Hi Manuel,
Do you just want to read the parameters and select-options defined for a given report or do you want to know the values entered on the selection screen when the user is executing the report?
Here is a function module we use to get the runtime values entered in the selection screen. See if it helps.
It gives you all the parameters and their kind(P-parameter or S-Select-Option) and also the sign and values for low and high if entered.
RS_REFRESH_FROM_SELECTOPTIONS
Srinivas