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: 

how to searc BDC job' program name

Former Member
0 Kudos

hi friends,

how to search program name for the job that we run

eg; i am running 1 job in background i want to know that

program how to find that

regards,

soorya

5 REPLIES 5

suresh_datti
Active Contributor
0 Kudos

Use the menu path

sm37> job> step--> ABAP Program

Regards,

Suresh Datti

0 Kudos

hi Soorya,

you can find the same in <b>sm37->job->step->program</b> else look for the job name in <b>TBTCP</b> Table

Regards,

Santosh

Former Member
0 Kudos

check table TBTCP

give jobname , u will get PROGNAME

Message was edited by: Chandrasekhar Jagarlamudi

Former Member
0 Kudos

Hi Soorya,

Use table <b>TBTCP(Background Job Step Overview).</b>

Give the jobname to <b>JOBNAME</b> field and you will get the report to field <b>PROGNAME.</b>

<b>The code for your requirement will as follows.</b>

data: v_jobname like tbtcp-jobname,

v_program like tbtcp-progname.

select single progname

from tbtcp

into v_program

where jobname = v_jobname.

if sy-subrc = 0.

write:/ 'The program for background job' v_jobname 'is' v_program.

endif.

I hope this may solve your problem.

Thanks,

Vinay

Note: Plz reward points to all helpful answers

Former Member
0 Kudos

Hey Soorya ...

it might be toooooo late ... but if u haven't found the answer to how to get the program name for any BDC session, then solution is here ...

1. First go to SM37 and check the date & time when ur session was executed.

2. Then, go to TCODE STAT and check out the programs which were running on the same date and same time ... and then try to map frm the list of program to ur BDC session.

hope this will answer ur query....

Ashwani