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

Data Table for SM04

Former Member
0 Likes
1,204

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

3 REPLIES 3
Read only

Former Member
0 Likes
612

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.

Read only

Former Member
0 Likes
612

SM04 information is obtained from the system functions in the kernal.

Read only

Former Member
0 Likes
612

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