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

Submit Help

Former Member
0 Likes
442

Hi all,

I am using the submit statement in my program to execute a report. that report name is stored in a variable because it is an input field. but when the processing comes to submit statement ,the program is terminated? help please urgent.

my code:

data progname(30) TYPE c.

SUBMIT progname.

Regards,

Sathya

1 ACCEPTED SOLUTION
Read only

dani_mn
Active Contributor
0 Likes
415

HI,

try this now.

data progname(30) TYPE c.

<b>SUBMIT (progname).</b>

Regards,

3 REPLIES 3
Read only

anversha_s
Active Contributor
0 Likes
415

hi,

try this.

data progname(30) TYPE c.

progname = 'zreport'.

*Submit report via its own selection screen

<b> SUBMIT progname VIA SELECTION-SCREEN.</b>

OR

*Submit report and return to current program afterwards

<b>SUBMIT progname AND RETURN.</b>

rgds

anver

if hlped mark points

Message was edited by: Anversha s

Read only

dani_mn
Active Contributor
0 Likes
416

HI,

try this now.

data progname(30) TYPE c.

<b>SUBMIT (progname).</b>

Regards,

Read only

Former Member
0 Likes
415

Thanks a lot. I got it.

Sathya