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

Menu Exit

Former Member
0 Likes
1,216

Hi experts,

I have created one menu by using user exit for a transaction.That menu is visible but how to add functionality to that menu. I have created a transaction code with the same name of function code(Means Both function code and transaction code are same).eventhough i could get that functionality.Can any body give step by step procedure to come out this problem. What are the things i have to take care while developing this exit.

Thanks in Advance.

K.Murali krishna

10 REPLIES 10
Read only

Former Member
0 Likes
1,174

Hello Krishna,

Obviosuly, if you have found a menu exit, then you should also find the corresponding user-exit where you can write the code.

By the way, which transaction and which screen are you talking about? Is there any special reason why you created the transaction code the same as the Function Code of the menu?

Regards,

Anand Mandalika.

Read only

Former Member
0 Likes
1,174

Hi Poornanand,

This is first time i am working on user exit.I am working on transaction 'SE41'.I need to assaign Menu to this.

Menu Exit : SAPLSMPE function code "+OBB"

Enhancement : SEUMP002

There are 2 function exits for this

1.EXIT_SAPLSMPE_001

2.EXIT_SAPMSMPE_001

The reason to create the transaction code same as function code is .I have gone through one material where

they given that both should be same.

Now i double click on this function module.written acode to call a screen .(Activation has done).why i am not get that screen.Please explain

Read only

0 Likes
1,174

Hi,

Have you created a project for that enhancement?

Have you activated the project?

Regards,

Anand Mandalika.

Read only

Former Member
0 Likes
1,174

Hi poornanand,

Menu is visible means project should activate now? I have created project and Activated and created a program for transaction code .In that program i am calling a selection screen .But whenever i click on that menu giving error on status bar that

"Specify a program name".Is all these things are possible.Please explain me.

If you have steps for this can you provide me?

Read only

0 Likes
1,174

Hi Krishna,

I'm sorry, I forgot that you mentioned about the Menu being visible. You should have specified before about this message that you are getting on the status bar.

What is the Function Type of the new fcode that you have included? Try out by making the Function of type 'E'.

Regards,

Anand Mandalika.

Read only

Former Member
0 Likes
1,174

Hi Poornanad,

Where can i get this function type? when i double click on function code i am not getting it.Can you clearly guide me how to get function type.what is relation with function type.Pleasde respond me?Is my all steps what i have written is correct?

Thanks in advance.

Read only

Former Member
0 Likes
1,174

Hi,

Can anybody reply descriptively for this problem .

Thanks in advance

Read only

0 Likes
1,174

Hi,

Could you please past the portion of code where you are calling the selection screen.

Regards

Read only

Former Member
0 Likes
1,174

Hi,

This is first time i am working on user exit.I am working on transaction 'SE41'.I need to assaign Menu to this.

Menu Exit : SAPLSMPE function code "+OBB"

Enhancement : SEUMP002

There are 2 function exits for this

1.EXIT_SAPLSMPE_001

2.EXIT_SAPMSMPE_001

Note : Menu is visible on the Tcode se41.Only thing is i want to add functionality to this.

Say suppose i want to call a selection screen when i press this menu.

1. where do i need to add code ?

2.what are the steps i have to follow.

when i press this button this is giving error

'Specify program name' on status Bar.what would be the problem?

Thanks in advance.

waiting for your kind reply.

Read only

0 Likes
1,174

Oops, I wanted to say POST the portion of code...sorry. Please copy the code where you are calling the selection screen and paste it here in this thread.

Regards

Message was edited by: Shehryar Khan