2007 Jun 07 7:36 AM
Hi friends ..
can anybudy tell me how can I put push button in application toolbar of basic list and assign user commant to it.
thankx
Regards,
Virat
Hi friends ..
can anybudy tell me how can I put push button in application toolbar of basic list and assign user commant to it.
thankx
Regards,
Virat
2007 Jun 07 7:40 AM
hi
u can set the pf-status in the program.
set pf-status '<name>'
<name> is set in menupainter se41.
user command is given in menu painter only.....
2007 Jun 07 7:41 AM
Virat,
After start of selection :
Give.
SET PF-STATUS 'EXCL'.
Double click on 'EXCL'.Then it will show the User interfaces Menu bar,Application tool bar...then u given the push button you want in application tool bar.
Reward pts if useful.,
Raj.
2007 Jun 07 7:43 AM
2007 Jun 07 7:45 AM
hi virat,
u can create a pushbutton on the selection screen using this stmt.
selection-screen pushbutton : (5) but1 user-command XYZ,
10(5) but2 user-command DEF.
for application toolbar u have use,
SET pf-status 'push'.
Likewise a maximum of 5 pushbuttons u can able to create in the application toolbar.
Regards...
Arun.
2007 Jun 07 7:45 AM
hi
u can set the pf-status in the program.
set pf-status '<name>'.
u write this set pf just before u are displaying ur basic list.
and in at user command. u need to capture the sy_ucomm i.e which pushbutton u have clicked all those coding u need to write it in at user command.
2007 Jun 07 7:48 AM
hi,
SET PF-STATUS '0001'.
PERFORM f_display_basiclist.
AT USER-COMMAND.
CASE sy-ucomm.
WHEN 'BACK'.
LEAVE PROGRAM.
WHEN 'EXIT'.
LEAVE SCREEN.
WHEN 'CANC'.
LEAVE SCREEN.
when 'PUSHBUTTON'.
ur logic.
endcase.
2007 Jun 07 12:16 PM
Hi,
You can use set PF-STATUS '<Name>'.
On doubleclicking this it will take you to Screen menu
painter where you can add push buttons to Application, Satandard Tool bars.
Regards
Jitendra
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |