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: 

how to add a new menu item to a standard transaction

Former Member
0 Kudos

Hi experts,

is there any way to add a new menu item to a standard transaction without modifications?

Thanks for your help. Points will be awarded.

Cheers,

Jens

6 REPLIES 6

Former Member
0 Kudos

Hi Jens,

Try using BADIs or User Exit.

Regards,

Lisandro.

Former Member
0 Kudos

Check the PF-STATUS for the transaction screen ... sometimes there are user functions / customer exits available for activation e.g. in SE38 under Utilities you should see "+PGE" (I think that one is controlled in SMOD project SEU00002, but it's been a while since I used one of these).

Jonathan

Former Member
0 Kudos

Hi,

for this you have to write a menu exit.

for that find the program name for that transaction

copy the package

go to smod

go to search and enter the package as the parameter,

you will get the name of the customer exits and user exits

go to those exits and write a break point .

if the code reaches there during your execution then write your code inside the zinclude given there.

you have to update the T180 table after you have added the menu button

please reward points if useful

thanks

vivekanand

Former Member
0 Kudos

Hi,

thank a lot for your help. This would work for transactions that have exits in SMOD. Unfortunately, for the one I need (TA VBO1, report SAPMV13A in dev class VKON) I could not find any.

Any other ideas on how to solve this?

Thanks a lot and Regards,

Jens

0 Kudos

Hi jens,

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".

I hope this could help you in Creating Menu Exit...

Reward points if helpful.

Thanks

Naveen khan

Former Member
0 Kudos

Hi Naveen,

thanks for your help. Doesn't CMOD only apply to area menus and not the menu bars of transactions? Also I checked CMOD and looked for dev class VKON but could not find anything.

Maybe I am missing something here. Could you help me to understand how CMOD can help solve my issue. Anyone has any other ideas on how to do this?

Thanks,

Jens