‎2005 Sep 06 9:59 PM
Hi everyone!
I'm trying to make a trace to the transaction SM04, but I haven't been able to figure out from where does this transaction brings the information. In particular I need the value for the field "TYPE" of the ALV table displayed in the transaction.
Can you please give me a hint from what tables is this transaction retrieving its data? Thank you for your help!
Felipe
‎2005 Sep 06 10:47 PM
It uses the system function ThUsrInfo to get out the informations.
It's better you see how the standard program uses it.
Progr. RSM04000_ALV: check the form build_list, start from piece of code:
if long_usr_list = th_true.
call 'ThUsrInfo' id 'OPCODE' field opcode_long_list
id 'TAB' field usr_tabl-sys.
else.
call 'ThUsrInfo' id 'OPCODE' field opcode_list
id 'TAB' field usr_tabl-sys.
endif.
‎2005 Sep 06 11:00 PM
SM04 information is obtained from the system functions in the kernal.
‎2005 Sep 07 4:42 AM
you want to know coding of SM04,
1. open SM04(user list), click system --- status.
2. on this screen you see program name SAPLKKBL
3. open se38 , type SAPLKKBL and display
4. now click button 'Display Object List'
regards