2009 Oct 05 11:34 AM
Hello, I've a problem..
Program RFSZIS00, there is a Dynamic Selections button with my Selections... I'm working on a copy of the standard and from my ZRFSZIS00 I've to submit the same report with differents value parameters...
Now I'm using RS_REFRESH_FROM_SELECTOPTIONS FM and after the changes I can do a submit istruction.
call function 'RS_REFRESH_FROM_SELECTOPTIONS'
exporting
curr_report = 'ZRFSZIS00'
IMPORTING
SP =
tables
selection_table = it_param
exceptions
not_found = 1
no_report = 2
others = 3
.
if sy-subrc ne 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
else.
Set dei parametri/select options per il lancio del programma
read table it_param assigning <fs_param>
with key selname = 'P_SUBMIT'.
if sy-subrc is initial.
move 'X' to <fs_param>-low.
endif.
read table it_param assigning <fs_param>
with key selname = 'VONZEIT'.
if sy-subrc is initial.
move lv_vonzeit to <fs_param>-low.
endif.
read table it_param assigning <fs_param>
with key selname = 'BISZEIT'.
if sy-subrc is initial.
clear lv_biszeit.
lv_biszeit = vonzeit - 1.
move lv_biszeit to <fs_param>-low.
endif.
endif.
submit zrfszis00 with selection-table it_param
exporting list to memory and return.
But into my it_param there aren't the Dynamic Selections parameter and I can't change its, Is it possible to change the velaues of Dynamic Selections parameter and Submit the program?
Thanks
Antonio
2009 Oct 05 11:48 AM
Hi Antonio,
<li>You need to use something like below,when you are calling program which has dynamic fields select.
<li>Press F1 on FREE on above statement, you will see how to use WITH FREE SELECTION.
Thanks
Venkat.O
SUBMIT report1 VIA SELECTION-SCREEN
WITH FREE SELECTIONS texpr.
2009 Oct 05 11:48 AM
Hi Antonio,
<li>You need to use something like below,when you are calling program which has dynamic fields select.
<li>Press F1 on FREE on above statement, you will see how to use WITH FREE SELECTION.
Thanks
Venkat.O
SUBMIT report1 VIA SELECTION-SCREEN
WITH FREE SELECTIONS texpr.
2009 Oct 05 1:25 PM
submit report
with selection-table seltab
with free selections seltext.
Works
Thank you