Skip to Content
avatar image
Former Member

How to access the date and time when my job ran for the first time, into the report program ?

I have created an abap program which should fetch idoc information every twenty four hours from the time when it is first executed.

i.e, if scheduled job for very first time ran at 17:00:00,program should fetch all the records for past twenty four hours till 17:00:00 and it should happen every day. I need to write a statement to filter records on this basis , for which i need to access the time when the scheduled job ran for first time. How do i access that time into my report program inside a parameter?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 05, 2017 at 08:14 PM

    Errr... You run a report in a background job and want to capture time when it started? Wouldn't it be just sy-uzeit at the very beginning of the report? The milliseconds that it takes to kick off the report are probably not that important.

    Otherwise please explain more clearly what you're trying to achieve.

    Add comment
    10|10000 characters needed characters exceeded