Application Development 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: 

Submission of selection screen values

Former Member
0 Kudos

Hi friends,

iam having one report with selection screen of date and some fields and a store name so now i want to prepare the report as in my present report i want to submit that report with the same selection screen except that store because there r 160 stores r there so it wants to take it as one by one automatically ie.. in subbmission only store want to be incresed automatically

Mohan

2 REPLIES 2

Former Member
0 Kudos

use set-parameter id

then

submit program via selection screen

to call another program

Regards,

Alpesh

Former Member
0 Kudos

DATA: text TYPE c LENGTH 10,

rspar_tab TYPE TABLE OF rsparams,

rspar_line LIKE LINE OF rspar_tab,

range_tab LIKE RANGE OF text,

range_line LIKE LINE OF range_tab.

LOOP AT STORE.

rspar_line-selname = 'SELCRIT1'.

rspar_line-kind = 'S'.

rspar_line-sign = 'I'.

rspar_line-option = 'EQ'.

rspar_line-low = STORE-VALUE

APPEND rspar_line TO rspar_tab.

rspar_line-selname = 'SELCRIT1'.

rspar_line-kind = 'S'.

rspar_line-sign = 'I'.

rspar_line-option = 'EQ'.

rspar_line-low = 'ABAP'.

APPEND rspar_line TO rspar_tab.

range_line-sign = 'E'.

range_line-option = 'EQ'.

range_line-low = 'H'.

APPEND range_line TO range_tab.

range_line-sign = 'E'.

range_line-option = 'EQ'.

range_line-low = 'K'.

APPEND range_line TO range_tab.

SUBMIT report1 USING SELECTION-SCREEN '1100'

WITH SELECTION-TABLE range_tab.

ENDLOOP.