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: 

Job start date and time

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

5 REPLIES 5

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

You need to take the values from TBTCP table for a JOB ..

Regards

Sudheer

Former Member
0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

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