Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Functioan Module problem

Former Member
0 Likes
436

Hi Friends

I am trying to execute 'TH_LONG_USR_INFO' FM in se38,program syntactically correct but when executing the program(F8).No output is displaying yet.Here is the program

data: begin of ITAB occurs 0.
         include structure UINFO2.
        data: end of ITAB.

CALL FUNCTION 'TH_LONG_USR_INFO'
  EXPORTING
     USER            = '*'
  TABLES
     user_info       = itab.

Can one help me out in this.

Regards

Kiran

1 REPLY 1
Read only

awin_prabhu
Active Contributor
0 Likes
396

Try to print itab in list.

See below code.

data: begin of ITAB occurs 0.

include structure UINFO2.

data: end of ITAB.

CALL FUNCTION 'TH_LONG_USR_INFO'

EXPORTING

USER = '*'

TABLES

user_info = itab.

DATA: wa TYPE uinfo2.

LOOP AT itab INTO wa.

WRITE:/ wa-session,wa-client,wa-user,wa-terminal,wa-mode,wa-tcode,wa-time,wa-lang.

ENDLOOP.

Edited by: Sap Fan on Aug 28, 2009 1:37 PM

Edited by: Sap Fan on Aug 28, 2009 1:37 PM