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: 

Submit Help

Former Member
0 Kudos

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

dani_mn
Active Contributor
0 Kudos

HI,

try this now.

data progname(30) TYPE c.

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

Regards,

3 REPLIES 3

anversha_s
Active Contributor
0 Kudos

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

dani_mn
Active Contributor
0 Kudos

HI,

try this now.

data progname(30) TYPE c.

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

Regards,

Former Member
0 Kudos

Thanks a lot. I got it.

Sathya