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: 

Menu exit

Former Member
0 Kudos

Hi all,

Can any body tell me the steps for creating menu exits or link or any soft copy.

Thanks

Amar

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

<u><b>Types of Exits</b></u>

There are several different types of customer exits. Each of these exits acts as hooks where you can attach or "hang" your own add-ons.

<u><b>Menu Exits</b></u>

Menu exits add items to the pulldown menus in standard SAP applications. You can use these menu items to call up your own screens or to trigger entire add-on applications.

SAP creates menu exits by defining special menu items in the Menu Painter. These special entries have function codes that begin with "+" (a plus sign). You specify the menu item’s text when activating the item in an add-on project.

<u><b>Screen Exits</b></u>

Screen exits add fields to screens in R/3 applications. SAP creates screen exits by placing special subscreen areas on a standard R/3 screen and calling a customer subscreen from the standard screen’s flow logic.

<u><b>Function Module Exits</b></u>

Function module exits add functions to R/3 applications. Function module exits play a role in both menu and screen exits. When you add a new menu item to a standard pulldown menu, you use a function module exit to define the actions that should take place once your menu is activated. Function module exits also control the data flow between standard programs and screen exit fields.

SAP application developers create function module exits by writing calls to customer functions into the source code of standard R/3 programs. These calls have the following syntax: CALL CUSTOMER-FUNCTION ‘001’.

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

<b>

Procedure for Creating MENU Exits.</b>

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

Check these links

http://sap.ittoolbox.com/groups/technical-functional/sap-dev/menu-exits-73193

http://help.sap.com/saphelp_nw04/helpdata/en/c8/19762743b111d1896f0000e8322d00/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/c8/19760043b111d1896f0000e8322d00/content.htm

Reward all helpfull answers

Regards

Pavan

1 REPLY 1

Former Member
0 Kudos

Hi

<u><b>Types of Exits</b></u>

There are several different types of customer exits. Each of these exits acts as hooks where you can attach or "hang" your own add-ons.

<u><b>Menu Exits</b></u>

Menu exits add items to the pulldown menus in standard SAP applications. You can use these menu items to call up your own screens or to trigger entire add-on applications.

SAP creates menu exits by defining special menu items in the Menu Painter. These special entries have function codes that begin with "+" (a plus sign). You specify the menu item’s text when activating the item in an add-on project.

<u><b>Screen Exits</b></u>

Screen exits add fields to screens in R/3 applications. SAP creates screen exits by placing special subscreen areas on a standard R/3 screen and calling a customer subscreen from the standard screen’s flow logic.

<u><b>Function Module Exits</b></u>

Function module exits add functions to R/3 applications. Function module exits play a role in both menu and screen exits. When you add a new menu item to a standard pulldown menu, you use a function module exit to define the actions that should take place once your menu is activated. Function module exits also control the data flow between standard programs and screen exit fields.

SAP application developers create function module exits by writing calls to customer functions into the source code of standard R/3 programs. These calls have the following syntax: CALL CUSTOMER-FUNCTION ‘001’.

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

<b>

Procedure for Creating MENU Exits.</b>

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

Check these links

http://sap.ittoolbox.com/groups/technical-functional/sap-dev/menu-exits-73193

http://help.sap.com/saphelp_nw04/helpdata/en/c8/19762743b111d1896f0000e8322d00/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/c8/19760043b111d1896f0000e8322d00/content.htm

Reward all helpfull answers

Regards

Pavan