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

how do i pass more variables with SUBMIT statement

Former Member
0 Likes
448

Hi All,

I am using Module Pool Programing. My requiremrnt is to call a Report program(ZNEW) from Module pool program.

I e. When user press the "REPORT" then report program has to be called.

For this purpose i have used

SUBMIT ZNEW with p_aa = v_mtra VIA SELECTION-SCREEN AND RETURN.

But my requirement is to pass 3 variables data (3 variables are geting inputs in MPP and i want to pass those inputs to Report program )

And i want to change

SUBMIT ZNEW with p_aa = v_mtra

p_bb = v_oilg

p_cc = v_miles

VIA SELECTION-SCREEN AND RETURN.

but it is giving errors.

My question is how do i pass more variables with SUBMIT statement

Thanks in advance

Kamali

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
431

Hi,

do like this.


SUBMIT ZNEW with p_aa = v_mtra
WITH p_bb = v_oilg
with p_cc = v_miles

VIA SELECTION-SCREEN AND RETURN.

rgds,

bharat.

3 REPLIES 3
Read only

Former Member
0 Likes
431

hi KR,

Read only

Former Member
0 Likes
431

Hi,

Refer to the following statement:

SUBMIT zbho_unix_move_and_send EXPORTING LIST TO MEMORY AND RETURN

WITH p_fname = p_f_fname "File Name

WITH p_ftpsrv = wf_server "FTP Server

WITH p_ftpfld = wf_folder "FTP Folder

WITH p_eraddr = p_email "Email Add

WITH p_unix = 'X'

WITH p_ftp = 'X'

WITH p_zip = 'X'

WITH p_stmp = 'X'.

Hope this helps.

Reward if helpful.

Regards,

Sipra

Read only

Former Member
0 Likes
432

Hi,

do like this.


SUBMIT ZNEW with p_aa = v_mtra
WITH p_bb = v_oilg
with p_cc = v_miles

VIA SELECTION-SCREEN AND RETURN.

rgds,

bharat.