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

Program execution in background

Former Member
0 Likes
338

Hi,

I have a program my requirement is If I press execute button in the selection screen I need to display the report output in background. Please tell me what logic additionally I need to add in my program. Is there any need to create job in sm36 or system will automatically create it by using function module job open?

Please tell me the steps to do this.

Thanks a lot in advance.

2 REPLIES 2
Read only

naimesh_patel
Active Contributor
0 Likes
318

Yes.. system can create a job with the OPEN_JOB ..SUBMIT... CLOSE_JOB.

Say, you want to run the program Ztest1 into background, than make Ztest2 and use like:

ZTEST2 should contains all the fields which you want to pass to ztest1.

In Ztest2's start-of-selection.

1. open group

2. submit ztest1 with all selections and jobname/jobnumber

3. close group

Regards,

Naimesh Patel

Read only

Former Member
0 Likes
318

Ok...

SE38---> Enter pgm name ---> in menu 'Program' ---> Execute ---> Background

OR

From selction screen press 'F9'

Message was edited by:

Perez C