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

enhancements

Former Member
0 Likes
534

please specify how to add menu item in the standard menu program

thanks

please specify how to add menu item in the standard menu program

thanks

3 REPLIES 3
Read only

Former Member
0 Likes
506

Hi Prasad,

Menu enhancements with function codes are provided for in the user interfaces. These function codes must adhere to the form /namensraum/+<...>, just like in the enhancement technique SMOD/CMOD. These function codes are assigned to an enhancement. Only when there is an active implementation of the assignment do they appear in the menu.

The application developer reserves specific function codes for customers when defining a Business Add-In and assigns them in the Menu Painter in the appropriate menu lists. The application developer must also ensure that these menu options are queried in the application program and that the corresponding add-in method is also called. Customers can take advantage of menu enhancements by creating a new implementation, choosing a text for the menu option, and then programming the method used to determine what action is performed when the menu enhancement is called.

For more informaion check this : http://help.sap.com/saphelp_nw2004s/helpdata/en/83/7a18cbde6e11d195460000e82de14a/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/eb/3e7cfd940e11d295df0000e82de14a/content.htm

Regards,

Raghav

Read only

SantoshKallem
Active Contributor
0 Likes
506

Menu exits

Menu exits allow you to add your own functionallity to menus. Menu exits are implemented by SAP,

and are reserved menu entries in the GUI interface. The developer can add his/her own text and

logic for the menu.

Function codes for menu exits all start with "+"

Example

We want to create a new menu item in the Office menu. The text for the menu should be "Run

ZTEST", and the menu will

run report ZTEST.

Goto transaction SE43 Area Menu Maintenance

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

Select Change and ignore all the warning screens

Expand the office menu. In the buttom of the office tree you will find a menu named "Customer

function"

Double click on the text. In the pop-up screen change the text to "Run ZTEST". Note that the

trsnaction code is +C01

Goto transaction SE93 and create transaction +C01 that calls report ZTEST.

Now you will se the menu displayed in the office tree. If you delete transaction +C01 again, the new

menu will dissapear.

Reward if useful

Read only

Former Member
0 Likes
506

Hi prasad,

Check out these links.

http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm

http://www.sap-img.com/abap/what-is-user-exits.htm

Search through www.enips.com.

You can find lot of material there.

Regards,

Balaji Reddy G

***Rewards if answers are helpful