2007 Feb 19 7:48 AM
hi all
how to put a push button in application toolbar .
thanks
abaper
2007 Feb 19 7:53 AM
hi,
declare a pf-status in your program like this pf-status 's001'. double click on the s001. it wil create a pf-status. in the application toolbar option u can cretae a push button
In the item 1-7 colum enter the name for push button and press enter.
Message was edited by:
Navneeth Bothra
hi all
how to put a push button in application toolbar .
thanks
abaper
2007 Feb 19 7:53 AM
hi,
declare a pf-status in your program like this pf-status 's001'. double click on the s001. it wil create a pf-status. in the application toolbar option u can cretae a push button
In the item 1-7 colum enter the name for push button and press enter.
Message was edited by:
Navneeth Bothra
2007 Feb 19 7:55 AM
Hi,
In the PBO of the screen,uncomment module status100 and double click on it.
It will ask you if you want to write the code for the module in the main program or a separate include.
Now,in PF status,
MODULE status_0200 OUTPUT.
SET PF-STATUS 'GUI2'.
Uncomment the SET PF_STATUS line and give a name say GUI2 and double click on the name.
You will find three tabs in the GUI status:
In the application toolbar,write the function code for the push button you want,say DELETE.Press enter and give the function text,icon name and info text and save and activate the GUI status.
Now,in the PAI of the screen,uncomment the module user command and write the code:
Case ok_code.
When 'DELETE'.
...logic
Endcase.
(ok_code is defined in the top include as
DATA:ok_code type sy-ucomm.)
<b>http://help.sap.com/saphelp_46c/helpdata/en/d1/801d5d454211d189710000e8322d00/frameset.htm</b>
Regards,
Beejal
**Reward if this helps
2007 Feb 19 7:55 AM
Hi,
Create a PF-status for the particular program and then u double click on it, then u define the text what u want to display on the button and any icon sort of things,
u need to define a function code for the btton in the same.
U have to handle that function code in ur program,by comparing the Sy-Ucomm.
Cheers,
SImha.
2007 Feb 19 7:57 AM
hi,
goto se41...
give ur pgm name and pf-status.
or Double click on the pf-status in the program...
Select Application Toolbar...
Give the button name in Items(1-7)...
double click, u will get a popup..enter the Functional type,Function Text,Icon Name,Icon Text etc......
Save & activate...
regards,
priya.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |