cancel
Showing results for 
Search instead for 
Did you mean: 

how to find the exact user exit for our requirement?

Former Member
0 Kudos

Dear Mr. keerthi,

can you please explain me how to find the exact user exit for our requirement?

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi sandip

There is more than one method in which you can check for user-exits.The following method is used very often.

<b>How to find the exact user-exit for your requirement.</b>

1. You can check the user exists using transaction SE85.

2. Repository Information System -> Enhancements -> Customer exits

3. You can search the user-exits by package name.

4. Double click on each exit name to check the function module exits.

<b>The procedure to find the package name.</b>

Execute transaction SE93

Enter the tcode of the transaction for which you want to check the user exit.

Example: if you want to find the user-exit for purchase orders while changing, enter ME22n and press display.

You will get to see the package name

But you need to confirm that the user exit will get triggered at the appropriate event.

( example: you might want some validations to be done ON SAVE of a purchase order)

<b>Checking if the user-exit is getting triggered or not.</b>

1. Open the user exit function module (that you have got in step 4) in Tcode SE37.

2. Click on where used button. In the pop up that immediately appears choose only programs .

3. You will get a list of programs. Double click on the program name.

4. You will get the list of location where this function module user exit is used.

5. Place session break points at each of these location ( at each CALL FUNCTION statement)

6. Now go to your transaction ( say change purchase order tcode:Me22n) and check if the user exit is getting triggered on appropriate event.

regards,

Prasad

Former Member
0 Kudos

thanks for the detailed reply Mr.Prasad,

but i stuck up at -

5. Place session break points at each of these location ( at each CALL FUNCTION statement)

how to place session break points?

Message was edited by:

sandip raut

former_member184627
Active Contributor
0 Kudos

Hi,

To find the user exits,for a t.code.

Eg:

1.)use t.code co02 & then goto menu->sytem -> status.

double click the program name.

goto-> attributes & check the package name.

2.)now use t.code smod.

here give a name & then choose F4,now give the package name & enter, you will get all the user exits for this package. From the description of the user exits we can get an idea reg. the respective user exits.

Then in cmod you can use this ext & go to the include program & add the program for futher enhancements.

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

http://www.planetsap.com/Userexit_List.htm

Regards,

Senthilkumar SD

Former Member
0 Kudos

Use CMOD and select PP application

Former Member
0 Kudos

Hi Sandip,

Ask your ABAP team, they must be havign some program, where if you enter t.code , it will give you list of USer exit avaiable for that t.code

Cheers

Bala

Former Member
0 Kudos

But out of that list, how can i decide which is suitable for my requirement?

Former Member
0 Kudos

Hi

I understand that just by seeing the program How can we tell weather that is useful or not ...

here is how it is ...

First you have to define your problem ...

Probelm definition

for example standard transaction is not calculating scrap quantity automatically when performing confirmation to an order.

Define you requirement

But your client want to calculate it when your performing confirmation to an order.

How to solve it

Ask ABAPer to check to see if there are any user exits related to this transaction

he will come up with a list of user exits.

Provide him with more info related to your requirement like ...

Scrap quantity Field techincal name ..

where to update and how to update

and also provide some back ground of that problem.

See if he can find a clue out of it.

then see if there are any OSS notes related to Scrap quantity and you will definitely find a OSS note which will provide more info.

Hope this is helpfull

Thanks

Prashanth

Award points if this info was usefull