cancel
Showing results for 
Search instead for 
Did you mean: 

menupainter in selection-screen

Former Member
0 Kudos

hi...

Is it possible to create menu painter in selection-screen ..

can anyone explain this ?

Thanks&Regards,

Varadarajan.R

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

if your purpose is to add buttons on selection screen

one option is to use menu exits

In older versions MENU Exits approached through Transaction CMOD by creating

PROJECTS and activating the project and assigning Program to that

Transaction Codes. For MENU Exits, Transaction Codes will be starting with

"+" sign and with default text "NODE TEXT NOT FOUND" for which you can

assign your Report or Dialog Program etc., (for Eg:- +DW4 MENU Exits

Transaction available in TOOLS --> ABAP Workbench --> Utilities --> <Node

Text Not found>).

Procedure for Creating MENU Exits.

1) To get into Area Menu Maintenance Screen Type SE43 T.Code in Command

Line.

2) In Area Menu Paramenter type 'S000' (S triple Zero)

3) Then Press Change Icon in Application Tool Bar. Then It may ask for

Access Key or it may display "Specify Processing mode" window. If it ask

for the Access Key Check for the availability of OSS Note and apply to open

Standard SAP Menu to include MENU Exits. Otherwise, if it display "Specify

Processing mode" window with Three Push Button. In which select "Change" and

proceed further.

4) Then it will display "Information" window with the following information

"Caution : The Original Language of the structure is German (editing lang. :

English) ". Then press "Enter Key to proceed further.

5) Then you will get into "Edit Area Menu S000".

6) for eg:- Expand Tools Menu.

7) Then Press ABAP Workbench <Icon>.

😎 Then you will get into ABAP Workbench Menu Tree.

9) Then Expand Utilities Menu.

10) In the last line you will find one MENU EXIT Provision to include your

own menu. "Node Text Not Found" This text can be change by double Clicking

that. There you can find the T.Code. Here for Eg:- "+DW4".

11) for eg: - Here change the Text to "Sample Menu Exit" and then note down

the T.Code "+DW4".

12) Then Save with Change Request Number and come out of Transaction SE43.

13) Then Goto Transaction SE93.

14) Then type T.Code "+DW4" and press Create.

15) Then proceed further to create transaction called "+DW4".

Thanks

reward if useful

Answers (7)

Answers (7)

Former Member
0 Kudos

HI.

SELECTION-SCREEN FUNCTION KEY n [ldb_additions].

Effect:

In the GUI status of the selection screen set by the system, the application toolbar contains five inactive pushbuttons, to which the function codes FC01 to FC05 are assigned. This statement activates the pushbutton of the function code FC0n, whereby a value between 1 and 5 must be entered for n.

To enable use of the pushbuttons, the statement TABLES must be used to declare an interface work area of the structure SSCRFIELDS from the ABAP Dictionary.

If a text is assigned to the component functxt_0n of the interface area sscrfields before the selection screen is called, this text is displayed on the relevant pushbutton. Otherwise, the pushbutton does not contain any text.

When the user chooses a pushbutton in the application toolbar, the runtime environment triggers the event AT SELECTION-SCREEN and the corresponding function code is transferred to the component comm of the interface work area sscrfields.

The additions ldb_additions can only be used in the selection include of a logical database.

Refer this program:demo_sel_screen_function_key

Reward all helpfull answers.

Regards.

Jay

raymond_giuseppi
Active Contributor
0 Kudos

Menu/Function codes in selection screen report

- You can create a MENU via MENU PAINTER and display it via SET PF-STATUS

- You can add up to four "function keys" (five on more recent versions) to the standard menu, using

SELECTION-SCREEN FUNCTION KEY 1. " 1 to 4 

You fill the information related (icon, texts) using structure smp_dyntxt and moving this structure to fields sscrfields-functxt_01 to 04. (déclare sscrfields with TABLES)

- You can add pushbutton to your screen using

SELECTION-SCREEN PUSHBUTTON fmt name USER-COMMAND ucom. 

For more information look at abap online help on SELECTION-SCREEN layout. or : Pushbuttons in the Application Toolbar and Pushbuttons on the Selection Screen

Regards

Former Member
0 Kudos

Hi VARADARAJAN ,

refer this link,

VARADARAJAN R

http://www.saptechnical.com/Tutorials/ABAP/MenuPainter/page1.htm

reward points if useful

cheers

Mohinder Singh chauhan

Former Member
0 Kudos

hey do you mean

How to use menu painter in report program

if yest the answer is:

By using set pf-status'zmenu' and double clicking on zmenu ...

thanks

Former Member
0 Kudos

Hi,

PLs provide more details. Your question is not clear.

Do you need extra menu options on a selection screen? if yes pls check the link below.

http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba80935c111d1829f0000e829fbfe/content.htm

Cheers

VJ

former_member1109645
Participant
0 Kudos

Hi,

Can you please explain your requirement?

regards,

Kannan

Former Member
0 Kudos

hi..

I want to add new Menuitems In my selectioion-screen .

i tried that.. but i dont know where i write the code for menu items...

Thanks,

Varadarajan.R

abdulazeez12
Active Contributor
0 Kudos

I think u cannot create.

Instead, u can create pushbuttons on application toolbar.

Tahnks