Skip to Content
0
Former Member
Feb 25, 2009 at 06:47 AM

TBTCO - get Job Name

388 Views

Hi,

Is there any where I can get the job name when the program are running in background mode as I need to pass the job name with the date/time to the output log.

I'm trying get the job name from table TBTCO. However, i hint the error in ' incorrect expression ''SDLSTRTDT ' or 'SDLSTRTTM' in logical condition.

Below are the code i hint the errors. Is there any incorrectly. Please advise. Thanks.

SELECT jobname INTO TABLE i_job

FROM TBTCO

WHERE sdluname = sy-uname

SDLSTRTDT = p_date

SDLSTRTTM = p_time.