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

function code executed for a push button

Former Member
0 Likes
1,866

hi friends, how to find out which function code executed for a push button inn selection screen of a report

5 REPLIES 5
Read only

Former Member
0 Likes
1,087

place the cursor on the button and click F1 funciton key, then the function code of the button will be displayed

Read only

Former Member
0 Likes
1,087

HI Kumar..

Place the cursor on that button , and then click F1 on that , you will get the function code.

Or start debugging the program(enter /h in command field) then click that button and then see the value of <b>sy-ucomm</b>, it gives you the function code attached to that.

if it helps reward with points

Regards Rk

Read only

Former Member
0 Likes
1,087

PUT A BREAK POINT IN

AT SELECTION SCREEN EVENT.

NOW CHECK SY-UCOMM OR SSCRFIELDS-UCOMM IN DEBUG MODE THE VALUE IT WILL SHOW IS THE FN CODE . BUT BEFORE THAT YOU HAVE TO DECLARE TABLES : SSCRFIELDS.

REGARDS

SHIBA DUTTA

Read only

0 Likes
1,087

thank u shiba i got my answer.

kumar

Read only

Former Member
0 Likes
1,087

hi find sy-ucomm value in debugging mode. it will give u the answer u r loking for