08-10-2007 12:12 PM
Hi ,
i want to print the job start date and time in report.
Shall i take the sy-datum, syuzeit. or any other. please adivise me inthois
regards,
AJ
08-10-2007 12:16 PM
Hi Ajay,
Check the table <b>TBTCO.</b>
Jobname TBTCO-JOBNAME
StartDate TBTCO-STRTDATE
Starttime TBTCO-STRTTIME
EndDate TBTCO-ENDDATE
Endtime TBTCO-ENDTIME
Thanks,
Vinay
08-10-2007 12:14 PM
Hi Ajay ,
Your question is not clear , do you mean the starting time of background job , if that is the case you can get all the data from the table TBTCO / TBTCP.
Regards
Arun
08-10-2007 12:15 PM
Hi,
You need to take the values from TBTCP table for a JOB ..
Regards
Sudheer
08-10-2007 12:16 PM
Hi Ajay,
Check the table <b>TBTCO.</b>
Jobname TBTCO-JOBNAME
StartDate TBTCO-STRTDATE
Starttime TBTCO-STRTTIME
EndDate TBTCO-ENDDATE
Endtime TBTCO-ENDTIME
Thanks,
Vinay
08-10-2007 12:30 PM
Hi Vinay,
How can declare this variable , when i am doing it is giving errors.
w_start_date like SDLDATE
w_start_time like SDLTIME.
is it correct.
regards,
AJ
08-10-2007 2:01 PM
Hi Ajay,
here is the code, i am giving for a single job, you need to declare a table and all the values into that table and give that internal table in the output
Data: w_start_date likeTBTCP-SDLDATE,
w_start_time like TBTCP-SDLTIME.
Select Single SDLDATE SDLTIME into (w_start_date,w_start_time) from TBTCP
where JOBNAME = <Your Job name>
Write:/ w_start_date, w_start_time
Regards
Sudheer