Skip to Content
0
Former Member
May 11, 2010 at 08:54 AM

BACKGROUND JOB WITH TIME INTERVAL

85 Views

Dear All,

I have one report scheduled in background, selection screen for this report is time interval like

selection-options; s_time TYPE sy-datum.

Here i have to scheduled report for 10 minutes. and i have to pass time to s_time dynamically.

like system time and systemtime + 10min

14:00 to 14:10

Next 14: 10 14:20

14:20 14:30 etc.

Depending on this time interval system will fetch data.

Please help me how can i pass time to this report dynamically in background.

I don't want to use below logic in report

IF S_TIME IS INITIAL.

TEMP_SYTIME = SY-UZEIT - 1000.

S_TIME-SIGN = 'I'.

S_TIME-OPTION = 'BT'.

S_TIME-LOW = TEMP_SYTIME.

S_TIME-HIGH = SY-UZEIT.

APPEND S_TIME.

ENDIF.

Thanks nad regards,