Skip to Content

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

Sep 22, 2017 at 11:18 AM


avatar image
Former Member

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Jelena Perfiljeva
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.

10 |10000 characters needed characters left characters exceeded