Application Development 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: 

Std menu bar

Former Member
0 Kudos

I am created a screen using screen painter. I want to use the standard menu bar and be able to program the save button to copy variants like any normal screen.

In my PBO I do SET PF-STATUS 'SCREEN_100'. But because I dont have anything in the menu bar it only displays system and help. How to include the standard menu bar and how to program the SAVE button to copy variants. Thank you. Points will be awarded promptly

Message was edited by:

Megan Flores

1 ACCEPTED SOLUTION

Former Member
0 Kudos

That does not solve my problem. I want to be able to use all the functionality in a standard menu bar without having to manually write code for each one of them. How to code for SAVE button to store variants.

5 REPLIES 5

Former Member
0 Kudos

In the abap editor, at the "SET PF-STATUS 'SCREEN_100'." statement, double-click on any character of 'SCREEN_100'. It proposes to create the status.

To make the SAVE button available to the user, expand "function keys" section, and enter any function code above the SAVE icon (for example, "SAVE" is the usual function code value). In the PAI, you will add IF SY-UCOMM = 'SAVE'. etc.

Former Member
0 Kudos

That does not solve my problem. I want to be able to use all the functionality in a standard menu bar without having to manually write code for each one of them. How to code for SAVE button to store variants.

0 Kudos

Hi Megan..

use the Statement:

SET PF-STATUS SPACE.

This will call the Statndard GUI Status.

Note: In module pool Screens you may need to code always. This works fine incase of Reports .

reward if Helpful.

former_member223537
Active Contributor
0 Kudos

Hi,

Goto Transaction SE41 & Copy STANDARD PF Status with program SAPLKKBL.

Activate it.

Use the copied PF-status in your program using SET PF-STATUS....

Best regards,

Prashant

Former Member
0 Kudos

SAPLKKBL does not work for me. It does now have variant functionality in the mernu bar. I guess what I am looking for is .. How to make use of the SAVE button to call up variants and how to add the variants in the GOTO menu option. Any ideas?