07-10-2009 8:27 PM
Hi all,
My requirement is to assign reserve function keys F1, F3, F4 to z screen push buttons.
As this screen is going to execute in RFID device, they will have limited buttons like F1 to F4.
So, client is expecting F1, F2, F3, F4 should work for push buttons SAVE, CLEAR, BACK, NEXT respectively.
where as only F2 is available in MENU painter function keys, how can i assign these reserve keys to requirement?
I appreciate the help.
regards,
Naren.
07-10-2009 8:34 PM
Hi,
go to custom Menu painter and Expand Function Keys and add Standard Tools bar all 0ptions..
and next put the same function keys to your custom Push buttons..
Now the Custom buttons act like Standard Buttons..
or
Check the Recommended Function Key Settings , Freely Assigned Function Keys Under Function Keys and assign
which are available...
Prabhudas
07-10-2009 8:34 PM
Hi,
go to custom Menu painter and Expand Function Keys and add Standard Tools bar all 0ptions..
and next put the same function keys to your custom Push buttons..
Now the Custom buttons act like Standard Buttons..
or
Check the Recommended Function Key Settings , Freely Assigned Function Keys Under Function Keys and assign
which are available...
Prabhudas
07-10-2009 8:49 PM
prabhudas,
thanks for prompt response.
here, i need to use sap reserve function keys F1, F3, F4 which acts like F1 help, BACK SCREEN, F4 help respectively.
whereas F1, F3, F4 buttons are not available in menu painter.
but, users RFID device will have only 4 function keys F1...F4.
how can i use reserve function keys to z push buttons?
07-10-2009 8:55 PM
07-10-2009 9:14 PM
Heilman,
thanks for your input.
now i set pf status as 'LMOB_GROUP8'.
do i need to change fct codes of each push button in my screen as mentioned in the screen SAPLLMOB 0202?
thanks again.
07-10-2009 9:18 PM
Yes, I would make your function codes associated with your buttons on the screen the same as in the gui status which you just copied. You can use that screen as a reference probably, I don't have an ECC system in front of me right now. I'm pulling from memory a couple years back, I just know that I always just copied that gui status instead of trying to create it from scratch.
Regards,
Rich Heilman
07-11-2009 10:54 AM
Heilman,
Thanks for the reply.
after changing push buttons FCT codes to std screen fct codes,
do i need to write code for AT EXIT COMMAND? if yes, please give any sample code.
this help will be highly appreciated.
thanks alot.
07-13-2009 5:49 AM
Hi,
Check if this helps you.
TABLES: SSCRFIELDS.
TYPE-POOLS: ICON.
SELECTION-SCREEN: FUNCTION KEY 1,
FUNCTION KEY 2.
INITIALIZATION.
FUNCTXT-ICON_ID = ICON_SUPPLY_AREA.
FUNCTXT-QUICKINFO = 'Production'.
FUNCTXT-ICON_TEXT = 'Production'.
SSCRFIELDS-FUNCTXT_01 = FUNCTXT.
FUNCTXT-ICON_ID = ICON_CUSTOMER.
FUNCTXT-QUICKINFO = 'Customer'.
FUNCTXT-ICON_TEXT = 'Customer'.
SSCRFIELDS-FUNCTXT_02 = FUNCTXT.
AT SELECTION-SCREEN.
CASE SY-UCOMM.
WHEN 'FC01'.
" Write your logic for the first push button
WHEN 'FC02'.
" Write your logic for the second push button
ENDCASE.
08-02-2011 7:50 PM
Hi All,
Solution to use SAP reserve function keys F1 .. F4 (mostly this requirement comes up for RF screens) can be acheived by assigning your new Function code using the Menu path Utilities --> F key Consistency in the Menu Painter (SE41) . Once you assign your cutom function code to the standard Fn keys the only remaining step is to make sure that you set a curson on any of the field on sceen by using the Key Word "SET CURSOR" .
If you dont use the key word SET CURSOR in the PBO of the screen then you might not see any response for F4.
Thanks
10-13-2011 1:34 PM
Hey Suresh,
What you wrote works for me with the transaction SE41.
Thanks a lot.
01-19-2015 2:07 PM
Hello,
I have assigned Fkeys using "Utilities --> F key Consistency" and written Set Cursor command also, but it seems F1 and F4 is not triggering for custom fcode.
Could you please suggest what else I am missing.
Thanks,
Jitendra
03-20-2013 9:39 AM
The easy way to do it is just copying from program RLMENU the status gui LMOB_GROUP8, who already has F1 as a user command.