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

FM which determines which job triggered the program

Former Member
0 Likes
666

Hi all,

I have a programmed triggerred by several jobs.

when the program is trigerred i want to know which job triggerred the program because i have different conditions for different jobs.

Is there any FM which determines which job triggered the program

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
642

Hi Kajol,

Check the FM:

BP_FIND_JOBS_WITH_PROGRAM

Regards,

Ravi

Hi all,

I have a programmed triggerred by several jobs.

when the program is trigerred i want to know which job triggerred the program because i have different conditions for different jobs.

Is there any FM which determines which job triggered the program

Thanks

4 REPLIES 4
Read only

Former Member
0 Likes
643

Hi Kajol,

Check the FM:

BP_FIND_JOBS_WITH_PROGRAM

Regards,

Ravi

Read only

0 Likes
642

Hi,

I passed the dialog type as N for BP_FIND_JOBS_WITH_PROGRAM

What does N means.

Also the above FM brings the entries from TBTCP.

Iam not sure whether TBTCP gets an entry after the job is completed or once the job is created in SM36.

Let me know

Thanks

Read only

0 Likes
642

N means No Dialog. If not, you will probably get a pop up.

The FM Brings the entries form TBTCP table and it does contain all the jobs that are created in SM36.

YOu can check the status of each JOB in the field: STATUS

Regards,

Ravi Kanth Talagan

Read only

0 Likes
642

Hi ,

I awarded full points to you

Thanks