Application Development 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: 

Functioan Module problem

Former Member
0 Kudos

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

awin_prabhu
Active Contributor
0 Kudos

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