‎2008 Feb 20 11:39 AM
Hi you,
always I used sy-zonlo to determine the time zone of the server. Now I'm working in an environment where someone always used FUNCTION 'GET_SYSTEM_TIMEZONE' for the same purpose.
What is the possible difference exceot that the function call may slow down the process.
TIA,
Clemens Li
‎2008 Feb 20 11:46 AM
Hi,
I would assume there are two possible reasons:
1. The function module selects the timezone from a configuration table viz. TTZCU. Hence, here the timezone to be returned can be changed by a system administrator as per requirement by changing the table entry. However if you use the system field SY-ZONLO, you cannot change the system field.
2. The developer who used the function module, was not aware of a available system field :-). However as you said, using a system field is always beneficial from performance perspective.
Cheers,
Aditya
‎2008 Jul 24 9:44 AM
We just use SY-ZONLO as abbreviation of FUNCTION 'GET_SYSTEM_TIMEZONE' and have no issues.
Regards,
Clemens