05-12-2006 2:21 PM
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
05-12-2006 2:23 PM
Use the menu path
sm37> job> step--> ABAP Program
Regards,
Suresh Datti
05-12-2006 2:24 PM
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
05-12-2006 2:23 PM
check table TBTCP
give jobname , u will get PROGNAME
Message was edited by: Chandrasekhar Jagarlamudi
05-12-2006 2:24 PM
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
02-17-2007 1:51 AM
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