Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Submitting the zprogram to standard program (which is having LDB)

Former Member
0 Likes
456

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

2 REPLIES 2
Read only

Former Member
0 Likes
410

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.

Read only

Former Member
0 Likes
410

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.