DATA: BEGIN OF T_USER_TAB OCCURS 0. INCLUDE STRUCTURE UINFO. DATA: END OF T_USER_TAB. DATA NUMBER_OF_USERS TYPE I. CALL FUNCTION 'TH_USER_LIST' TABLES LIST = T_USER_TAB EXCEPTIONS OTHERS = 1. DESCRIBE TABLE T_USER_TAB LINES NUMBER_OF_USERS. WRITE:/ NUMBER_OF_USERS, 'ARE LOGGED IN NOW'. LOOP AT T_USER_TAB. WRITE:/ T_USER_TAB-BNAME. ENDLOOP.