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: 

Job Scheduling: keeping program active

Former Member
0 Kudos

Hi Experts,

I have a program A and program B.

In Program A using Job, I call program B in which another job runs to call itself (program B) at periodic intervals. Once the processing of B finishes i want control back to program A in which i can read the joblog of Program B. is it Possible??

Program A

"

"

"

create job and call program B

"

"

-


>

Program B

"

"

"

Some processing using Job to call itself

"

"

after this job completes i want to return to program A as marked above by arrow and fetch the joblog of B.

Kindly Help.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Friend,

Check this link:

http://help.sap.com/saphelp_nw2004s/helpdata/en/fa/096e92543b11d1898e0000e8322d00/content.htm

Hope this helps you.

Regards,

Chandra Sekhar

3 REPLIES 3

Former Member
0 Kudos

Hi Friend,

Check this link:

http://help.sap.com/saphelp_nw2004s/helpdata/en/fa/096e92543b11d1898e0000e8322d00/content.htm

Hope this helps you.

Regards,

Chandra Sekhar

Former Member
0 Kudos

0 Kudos

Hi,

Once your job which was running using program B is finished you can retrieve the Joblog using FM: BP_JOBLOG_READ and display the results from your First Job;(Program A).

You may have to populate Jobcount or Jobname to get the Joblog details.

Regards,

Ashok