By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
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.