Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Menu Painter

Former Member
0 Likes
1,677

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

7 REPLIES 7
Read only

Former Member
0 Likes
1,337

Yes you can use that by using

SET PF-STATUS 'Statusname'.

statement in your program.

statusname should be ur statusname which u created.

Read only

vinod_vemuru2
Active Contributor
0 Likes
1,337

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.

Read only

Former Member
0 Likes
1,337

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

Read only

Former Member
0 Likes
1,337

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.

Read only

Former Member
0 Likes
1,337

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

Read only

Former Member
0 Likes
1,337

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

Read only

0 Likes
1,337

Yes please