REPORT YGUIVERS. DATA: BEGIN OF A. INCLUDE STRUCTURE RFCSI. DATA: END OF A. CALL FUNCTION 'RFC_SYSTEM_INFO' DESTINATION 'SAPGUI' IMPORTING RFCSI_EXPORT = A. WRITE: / 'You have a sapgui version ', A-RFCSAPRL.