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

Function Module to find the background job name

Former Member
0 Likes
3,490

Hi -

I need to send a mail in the below format where the SUBJECT has to be replaced by background job name :

Subject : <Jobname>

Hello,

The file extract <file name > to GTS could not be distributed to GTS due to fatal technical errors.

Thanks,

XYZ

Hence, is there any Function Module to find the job name else what r other options to find the same?

Thanks,

raj

1 ACCEPTED SOLUTION
Read only

GauthamV
Active Contributor
0 Likes
1,529

You have not mentioned on what basis to find bakground job name.

Use TBTCO,TBTCP tables to get the same.

Hi -

I need to send a mail in the below format where the SUBJECT has to be replaced by background job name :

Subject : <Jobname>

Hello,

The file extract <file name > to GTS could not be distributed to GTS due to fatal technical errors.

Thanks,

XYZ

Hence, is there any Function Module to find the job name else what r other options to find the same?

Thanks,

raj

6 REPLIES 6
Read only

Former Member
0 Likes
1,529

Hi,

Try there FM's

JOB_OPEN

JOB_SUBMIT

JOB_CLOSE

SCMA_DELETE_JOB

Regards,

IFF

Read only

GauthamV
Active Contributor
0 Likes
1,530

You have not mentioned on what basis to find bakground job name.

Use TBTCO,TBTCP tables to get the same.

Read only

Sandeep_Panghal
Product and Topic Expert
Product and Topic Expert
0 Likes
1,529

FM: BP_JOB_READ

Read only

viquar_iqbal
Active Contributor
0 Likes
1,529

HI

check this FM

Retrieve Report & Job information based on Object ID

/OSP/BKT_REPJOBINFO_RETRIEVE

BDL_BCKGRD_JOB_NAME

AFX_MONITOR_JOBS_SHOW

Thanks

viquar iqbal

Read only

Former Member
0 Likes
1,529

Can anyone be more clear on step-by-step what to do?

Read only

Former Member
0 Likes
1,529

thanks