Purpose
Get server date and time

The SAP application server can be located in a time zone which differs from the local frontend time zone.

Solution

// get time from SAP server
Call "GET_SYSTEM_TIME_REMOTE" _
 
out.L_DATE="appdate" _
 
out.L_TIME="apptime"

// V[appdate] now contains the server date in format YYYYMMDD and
// V[apptime] the server time in format HHMMSS

Components
InputAssistant