‎2008 Jul 24 10:19 AM
Hello Abapers,
I have created a couple of menues using the menu painter. I have two questions
1. What a menues that are created using a menu painter used for.
2. Can you use a menu created in the menu painter in a screen created in a screen painter or in a ABAP coding.
Warmest Regards
‎2008 Jul 24 10:23 AM
Yes you can use that by using
SET PF-STATUS 'Statusname'.
statement in your program.
statusname should be ur statusname which u created.
‎2008 Jul 24 10:27 AM
Hi,
These are as per user requirements. If there is no standard functionality given by SAP for the given requirement then we will create our own.
EG: PF STATUS.
Create a PF status in SE41 and assign that in ur program or to ur screeen using statement
SET PF-STATUS 'ZMYPF'.
In PAI module of screen/ In appropriate events in case of executable program like AT USER-COMMAND u have to handle these to achieve the desired functionality.
Thanks,
Vinod.
‎2008 Jul 24 10:28 AM
hiii
Menu is a collection of different functionality on the same screen data.like here on screen we have EDIT in Menu so we can have cut copy functionality there.so for the program also if we want to give facility like SORT then under that menu we can give sub menu like ascending and descending..
we can use that menu once created in any number of programs..just need to give the same status name in the program using SET PF-STATUS 'STATUS'.
regards
twinkal
‎2008 Jul 24 10:32 AM
hi yes we can use it..
the menu painter is used for the interactive reporting in reports or in alvs reports by using the set pf-status command...and the screen painter is used in the module pool programming. here you can create and design the screen in the screen painter and use it in the module pool program.
‎2008 Jul 24 10:54 AM
Hi Beatrice,
I would like to suggest a couple of applications of creating a menu using a menu painter,
Menu painter is used to create a new status (GUI STATUS)
A. Context Menus -
[SAP HELP - Standard Reference for Context Menus - Defined in the Menu Painter|http://help.sap.com/saphelp_nw04s/helpdata/en/94/c4a6377cc0c92ce10000009b38f8cf/content.htm]
[SAP HELP - Standard Reference for Creating a Context Menu using a menu painter|http://help.sap.com/saphelp_nw04s/helpdata/en/e2/5d3bb2e06411d295a900a0c94260a5/content.htm]
B. GUI STATUS -
[SAP HELP - Standard Reference for Creating a GUI STATUS using Menu painter|http://help.sap.com/saphelp_nw04s/helpdata/en/d1/801d43454211d189710000e8322d00/content.htm]
Menu painter is used to design the user interface - menu bar, standard toolbar, application toolbar, function key setting.
[SDN - Reference for menu created by SE41 - Menu Painter|;
[SDN - Reference for Connecting a Screen Painter From to a Menu created from Menu painter |;
Hope that's usefull.
Good Luck & Regards.
Harsh Dave
‎2008 Jul 24 11:45 AM
Hi,
This menus are like coustomize menubar of your Microsoft word, or Excel, And also in GUI status of a screen you can, add menu's associated to that program and screen.
Like if you have a screen 1000, for a program YTEST
You can create a status, for the 1000 screen in SE41 say YSTATUS. And then you just have to code that to your program that's all, if you need that code, let me know , i will send you.
Regards,
Khan
‎2008 Jul 24 2:09 PM