2006 Sep 12 7:20 AM
Hi all,
I have requirement to submit my zprogram to standard RFITEMGL program, while submitting the program I need to populate the selection screen fields with certain data.
But the problem is I need to populate the screen fields which are in dynamic selection screen also. I tried with
Submit via selection screen with screen table or
Submit via selection screen with screen-options but no use.
Please let me know how to proceed to solve the issue.
Thanks,
Chand Basha
Hi all,
I have requirement to submit my zprogram to standard RFITEMGL program, while submitting the program I need to populate the selection screen fields with certain data.
But the problem is I need to populate the screen fields which are in dynamic selection screen also. I tried with
Submit via selection screen with screen table or
Submit via selection screen with screen-options but no use.
Please let me know how to proceed to solve the issue.
Thanks,
Chand Basha
2006 Sep 12 7:41 AM
You can use the FM <b>RS_REFRESH_FROM_SELECTOPTIONS</b>to get the current contents of the selection screen.This FM returns you back a table <b>SELECTION_TABLE</b> containing the parameter/select-option name along with the value.Once you get these values pass these values using SUBMIT.
2006 Sep 12 7:45 AM
You can do something like this :
<b>* Table selection screen parms for submit</b> call function <b>'RS_REFRESH_FROM_SELECTOPTIONS'</b>
exporting
curr_report = 'ZLOR_COMP_SELECT'
tables
selection_table = i_select
exceptions
not_found = 1
no_report = 2.
submit (v_program) with selection-table i_select and return.