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

Problem in creating Batch job for programs in different servers.

Former Member
0 Likes
353

Hi All,

I have a requirement like i have 2 different programs ( PRG1,PRG2 ) running in 3 different SAP servers (SER1,SER2,SER3).

I want to create a batch job for the programs.

Here When I run the PRG1 in Server SER1,it will create a file1 in SER1 as well as the other 2 servers (SER2 and SER3).

It just create a file and there is no content in the file.Once i start writing records to file1in SER1,the same record will be started writing in SER2 and SER3.This is using PRG1.

Once PRG1 will complete writing records in file,Next PRG2 will run in SER2 using file created by PRG1.

I want to create a batch job for PRG1.

How to trigger the PRG2 after completing job1 for PRG1 without any manual interaction.

Please help me for this.

1 REPLY 1
Read only

former_member214857
Contributor
0 Likes
317

Hi Ambili

You can set steps in these jobs in transaction SM36.

You can define that Job 2 starts after Job1 complete sucessfully and same game for other jobs.

Please, check attachment for detailed information about that

Kind regards

Edited by: Carlos Machado on May 27, 2010 6:01 PM