2010 Dec 29 2:51 PM
Hi
As we are not using any variant to run Z report, am using RS_COVERPAGE_SELECTIONS to get user entred input values on the selection screen, but this FM is not giving me the result in a good/wanting format, pls. let me know is there any other FMs to get/read selection screen values of a report.
Thank you
2010 Dec 29 2:55 PM
Hi
As we are not using any variant to run Z report, am using RS_COVERPAGE_SELECTIONS to get user entred input values on the selection screen, but this FM is not giving me the result in a good/wanting format, pls. let me know is there any other FMs to get/read selection screen values of a report.
Thank you
2010 Dec 29 2:55 PM
2010 Dec 29 3:20 PM
Thank you.
But, am actually looking to get the user entered input values/data!
2010 Dec 29 3:25 PM
2010 Dec 29 3:25 PM
Then as suggested already try FM DYNP_VALUES_READ to read screen input values.
2010 Dec 29 3:36 PM
data:v_matnr type mara-matnr.
data:i_par type table of rsparams.
data:la type rsparams.
parameters:p_v type vkorg.
select-options:so1 for v_matnr.
start-of-selection.
call function 'RS_REFRESH_FROM_SELECTOPTIONS'
exporting
curr_report = sy-repid
tables
selection_table = i_par[].
sort i_par by kind.
loop at i_par into la.
at new kind.
read table i_par into la index sy-tabix.
check sy-subrc = 0.
if la-kind = 'S'.
write 'Select-options'.
skip 1.
else.
write 'parameters'.
skip 1.
endif.
endat.
at new selname.
read table i_par into la index sy-tabix.
check sy-subrc = 0.
write:/ la-selname.
endat.
write:/ la-low.
write: la-high.
at end of selname.
skip 1.
endat.
endloop.
2010 Dec 29 3:15 PM
Hi,
Can you check FM : dynp_values_read
which reads fields in screen .
Regards,
Prasad
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |