04-18-2008 8:24 AM
hi all,
i need to check whether a transport job is running on not...
can anybody please tell me what is the job which runs and how can we check it via abap report..
we can check the status of any job via transaction SM37.but i want to achieve this functionality via a abap report...
thanks in advance,
ashutosh
04-18-2008 8:30 AM
04-18-2008 8:32 AM
Hi,
This will probably work.
report zTEST_0001 .
data: xtbtco type tbtco .
parameters: p_job type tbtco-jobname.
start-of-selection.
clear xtbtco.
select single * from tbtco
into xtbtco
where jobname = p_job
and status = 'R'. " running
if sy-subrc = 0.
write:/ 'Job', p_job, ' is currently running'.
endif.
Refer
https://forums.sdn.sap.com/click.jspa?searchID=4369376&messageID=1681128
Regards
Kiran sure
04-18-2008 9:00 AM
hi kiran,
can u please provide me any transport related job number to run the report....
i am interested in the one which moves the new changed files to test system.
thanks
ashutosh