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: 

submmit

Former Member
0 Kudos
226

hi ,

i have developed one program in which i am having 4 select options i have to make one button in existing

report and i have to call my program by that button without select option means when i click on submmit button my program final output shuld come without asking for select options ,

for calling that program i am using

submmit [program_name].

but for select options direclly passing i dont know what to do please help me

1 ACCEPTED SOLUTION

Former Member
0 Kudos
164

Hi,

Try like this :


 CASE r_ucomm.
    WHEN '&F04'. " Customized Back Button....use ur usercommand
      SUBMIT <called prg name>
              WITH <selection option name> EQ <value>
               WITH <selection option name1> EQ <value1>
                VIA SELECTION-SCREEN

8 REPLIES 8

Former Member
0 Kudos
164

use

if you want to pass selection screen then

submit program 'prog_name' and skip first screen.

else use

submit program 'prog_name' via selection screen

Regards,

Alpesh

Edited by: Alpesh on Oct 16, 2008 3:46 PM

0 Kudos
164

but when i use skip first screen i will skip the selection screen then output will not come.

Former Member
0 Kudos
164

HAI,

INITIALIZE THE ITAB(rspar).

SUBMIT REPORT WITH SELECTION-TABLE rspar.

0 Kudos
164

hi can you you sand me detail code

Former Member
0 Kudos
165

Hi,

Try like this :


 CASE r_ucomm.
    WHEN '&F04'. " Customized Back Button....use ur usercommand
      SUBMIT <called prg name>
              WITH <selection option name> EQ <value>
               WITH <selection option name1> EQ <value1>
                VIA SELECTION-SCREEN

0 Kudos
164

hi thank for your ans it really help me

but when i am clicking to submit button

it is taking values but it is shwing first screen i dont want selection screen.

can you tell me solution for that.

Former Member
0 Kudos
164

Hi,

You have to pass all the require parameter with this submit like

Submit Zxyz with name = p_name

roll = s_roll.

in which program Zxyz have 2 field name and roll in selection screen,

FYI : Submit always skip the selection screen.

Regards,

Tarak

Former Member
0 Kudos
164

hai,

use this fm RS_REFRESH_FROM_SELECTOPTIONS get the value of current program.

sel TYPE TABLE OF rsparams

u will be getting that value itab(sel).

if submit = 'x'.

refresh sel[].

submit report with selectio-table sel.

endif.