ADVERTISEMENTS
Banner
ADVERTISEMENT

Attention: open in a new window. PDFPrintE-mail

2009
15
Nov

ABAP Function Module for Displaying Clock

If you wish to display time in a Pop-up window then use the following function module.


F4_CLOCK


The user can select the desired time and the result is exported in one of the parameters.

Please find the code below.


REPORT ZEX_TIME .


Data: d_time like sy-uzeit.

CALL FUNCTION 'F4_CLOCK'
 EXPORTING
   START_TIME          = SY-UZEIT
   DISPLAY             = ' '
 IMPORTING
   SELECTED_TIME       = d_time.


   Write:/ 'The selected time is ', d_time.

 

Last Updated (Tuesday, 30 November 1999 00:00)
ADVERTISEMENT