‎2007 Apr 10 10:12 AM
hi friends, how to find out which function code executed for a push button inn selection screen of a report
‎2007 Apr 10 10:14 AM
place the cursor on the button and click F1 funciton key, then the function code of the button will be displayed
‎2007 Apr 10 10:15 AM
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
‎2007 Apr 10 10:16 AM
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
‎2007 Apr 10 10:22 AM
‎2007 Apr 10 10:23 AM
hi find sy-ucomm value in debugging mode. it will give u the answer u r loking for