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

What function module does sm50 use?

Former Member
0 Likes
2,236

Can someone tell me in which function module sm50 uses in order to calculate the time for each process?

thanks.

6 REPLIES 6
Read only

GauthamV
Active Contributor
0 Likes
1,256

hi,

the standard program for SM50 is RSMON000_ALV.

in this program click find and give call function it will give all available function modules.

Read only

Former Member
0 Likes
1,256

Thanks, ill try it

Read only

Former Member
0 Likes
1,256

I couldn't find anything that would help me...

Any other suggestions?

Read only

JozsefSzikszai
Active Contributor
0 Likes
1,256

hi,

FM TH_WPINFO is called inside the program (in FORM BUILD_LIST). This delievrs the required data. Inside this FM there is C function call (ThWpInfo), which gives back the information.

hope this helps

ec

Read only

Former Member
0 Likes
1,256

Hi,

I think these are the function modules

CALL FUNCTION 'TH_WPINFO'

CALL FUNCTION 'STRC_SELECT_LOADMASK'.

CALL FUNCTION 'STRC_SELECT_DISPLAYMASK'.

CALL FUNCTION 'TH_GET_WP_TRACE'

CALL FUNCTION 'TH_QUERY_WP_TRACE'

CALL FUNCTION 'TH_RESET_TRACE'

Hope it may be helpful

Regards

Narin Nandivada

Read only

Former Member
0 Likes
1,256

Hi Friend.

I have observed a few things and hope this might solve your problem.

To check the function module responsible for work process in transaction SM50 :

1. Go to SE38 and write 'RSMON000_ALV' in program.

2. After loading of program search for string or this piece of function code:

CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'

EXPORTING

I_STRUCTURE_NAME = 'WP_TABL_ALV'

I_CALLBACK_PROGRAM = 'RSMON000_ALV'

I_CALLBACK_PF_STATUS_SET = 'SM50_SET_STATUS'

I_CALLBACK_USER_COMMAND = 'SM50_USER_CMD'

I_SAVE = 'A'

IT_FIELDCAT = FIELDCAT[]

IS_LAYOUT = LAYOUT

IS_VARIANT = IS_VARIANT

TABLES

T_OUTTAB = WP_TABL_ALV.

Hope that is what you are looking for.