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

SMOD

Former Member
0 Likes
1,336

Hi Experts,

I need to create Menu Exit for SE38. For that I created One Project using CMOD.

For My enhancement SEU00001[For SE38] I want to add One more Function Module.

But I can't create Function Module in SE37 started with "EXIT". Is it possible to create a Function Module starting with Exit or can I change the Exisisting Function Module In SMOD.

Thanks,

All helps will be appreciated.

1 ACCEPTED SOLUTION
Read only

Sougata
Active Contributor
0 Likes
1,200

What is the point in enhancing the SMOD by inserting one more FM even if you could create a FM with a name begining with EXIT?

These two existing exits (FM) are called by the standard application (SE38 in this case) to perform the code supplied by the customers. So if you happen to insert one of your FMs in the SMOD, you'll then have to modify the standard program from where these exits are being called up by the system.

The question is - do you want to do that? and more importantly why??

9 REPLIES 9
Read only

Sougata
Active Contributor
0 Likes
1,201

What is the point in enhancing the SMOD by inserting one more FM even if you could create a FM with a name begining with EXIT?

These two existing exits (FM) are called by the standard application (SE38 in this case) to perform the code supplied by the customers. So if you happen to insert one of your FMs in the SMOD, you'll then have to modify the standard program from where these exits are being called up by the system.

The question is - do you want to do that? and more importantly why??

Read only

Former Member
0 Likes
1,200

Hi Sougata Chatterjee,

Its not important to create a FM. Just I want to know its possible or not?

Any way thanks.

Read only

Sougata
Active Contributor
0 Likes
1,200

Jasmine,

Short answer is <b>NO</b>, because it does not make any sense if you understand the SAP UE Architechture.

Also, what are you trying to achieve with this Menu Exit? What is your requirement?

Read only

Former Member
0 Likes
1,200

Hi Sougata Chatterjee,

Just I want to learn Menu Exits. So I followed the Help Document. But I Can't get it fully.

Could you please explain The Procedure?

Thanks.

Read only

0 Likes
1,200

Hi Jasmine..

Menu Exit is available in Tcode V+01 (Second screen).

To find the Menu exit open the GUI Status and in the Menu bar search for the Function Codes starting with +. It means menu exit.

Search for the Enhancement in MODSAP table and implement it in CMOD.

<b>Reward if Helpful.</b>

Read only

Former Member
0 Likes
1,200

Hi,

It is not possible to create a new Exit FM in the Components of the Project,

but you can make use of the existing one and then call a new FM from there provided the existing Exit meets your requirement.

Regards,

Raghavendra

Read only

varma_narayana
Active Contributor
0 Likes
1,200

Hi Jasmine..

There are no Menu exits(Function codes) available in Enhancement SEU00001.

But there are FM exits EXIT_SAPLSEDTATTR_010 and EXIT_SAPDSAHD_010.

You cannot add any new exits here.

Reward if Helpful.

Read only

0 Likes
1,200

Hi Varma,

How can I find whether the Enhancement Consist of Menu Exits or Not?

Then How can I create a Menu Exit and where can I add?

I created one Project using CMOD. Then I don't know any thing about this issue.

Please Help me.

Thanks.

Read only

Former Member
0 Likes
1,200

Hi,

In the table MODSAP , if u give the enahancement name for the field NAME , it will show all the exits available for the enhancement.

here is some information of MENU EXITS.

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.

There are 'only' 177 Menu exits in standard - I couldn't see the right one, too.

But you could search the implemented exits, this should be only a small number. Go to transaction CMOD, enter * and F4, information system (F5), show all selections (Shift+F7) and then you can restrict to search only menu exits.

Of course there is the possibility, that these are added in a different way...

... at least you can be sure, if it's a normal menu exit.

Check this sap help..

http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm

Reward points if it is Useful.

Thanks,

Manjunath MS