‎2006 Oct 10 2:42 PM
hi to all
iam new to module pool i devolped a screena nd i want to place application bar and function keys such as save enter etc where we need to define and where particular code needs to be written
thanks in advance,
kiran kumar.
‎2006 Oct 10 3:07 PM
In PBO output form,just define an status as
SET PF-STATUS 'ZSTATUS'.
1. Click on the ZSTATUS and will ask for an description
for ur status.Enter descritpion.It will takes u to other svreen wich will have all the Functions keys.
2.Select the keys required in Tool Bar or other and add ur FCODE there and double click on it. It will ask for different texts etc. Finish it of and activate.
3. In PAI form CASE OK_CODE.
WHEN 'SAVE'.
DO SOMETHING.
‎2006 Oct 10 2:47 PM
Hi,
use menu painter:
http://help.sap.com/saphelp_47x200/helpdata/en/d1/801cf5454211d189710000e8322d00/frameset.htm
in PBO use statement:
set PF-status 'Z001'.
A.
Message was edited by: Andreas Mann
Message was edited by: Andreas Mann
‎2006 Oct 10 2:49 PM
Hello Kiran Kumar,
U have to create a menu in the menu painter(SE41).
To activate the functionality you need to write the code in the PAI of the screen,
If useful reward.
Vasanth
‎2006 Oct 10 3:07 PM
In PBO output form,just define an status as
SET PF-STATUS 'ZSTATUS'.
1. Click on the ZSTATUS and will ask for an description
for ur status.Enter descritpion.It will takes u to other svreen wich will have all the Functions keys.
2.Select the keys required in Tool Bar or other and add ur FCODE there and double click on it. It will ask for different texts etc. Finish it of and activate.
3. In PAI form CASE OK_CODE.
WHEN 'SAVE'.
DO SOMETHING.
‎2006 Oct 10 10:40 PM
you might also need the standard function codes for the icons on the menu.
Open up any sample program provided in SAP that has a custom menu, and if you want the same menu, you can directly copy it to your program using se41.
Using the standard function will save you the time of writing the code for handling each and every event. You can customize the action for whichever icon you want.
I hope this helps.