2010 Apr 21 6:04 AM
Dear Gurus,
I would like to know, how can i get the program name associated with a useexit.
for example, if we know only the userexit "USEREXIT_CHECK_VBAP ", than how can I get the name of Program associated it with so that we can check the same in ABAP Editor (Se38)
Wishes,
Abhishek
2010 Apr 21 10:38 AM
Abhisek,
I dont think we can use where used list with only form name. By seeing your form 'USEREXIT_CHECK_VBAP ', it may be used in sales order (va01) program.
I just searched in va01 main program for string 'USEREXIT_CHECK_VBAP '.
I found it is used in include MV45AFZB.
--
Reddy
Hi Reddy,
yes this is done. but still the main concern is, in order to fetch these details the user must be aware of the Program Name of the so called T-code VA01.
but what, if the user is not aware of the t-code itself. as here in your case, you were aware of the tcode VA01 associated with this, by your experience.
Wishes,
Abhishek
2010 Apr 21 8:49 AM
goto se37 and put the name of the usereixt there, and then use the 'where-used' fucntionality
2010 Apr 21 8:57 AM
I used the same userexit "USEREXIT_CHECK_VBAP" in SE37 and used the 'where-used' fucntionality, but I it said function module "USEREXIT_CHECK_VBAP" does not exist.
so i think it wl not work this way....
any other solution pls.
Abhi
2010 Apr 21 9:50 AM
HI Abhishek,
You can write a BREAK-POINT statement in the user-exit and check the main program name in the debuger.
Regards,
Satyam
2010 Apr 22 10:07 AM
Hi Satyam,
kindly provide me the detailed information for BREAK-POINT statement for this context.
Wishes,
Abhishek
2010 Apr 22 1:17 PM
HI Abhishek,
You can write a BREAK-POINT statement in your User-Exit and activate it. After you hit your tcode the system will go into the debugger mode and after you press F5 that takes you out of the User-Exit. Here you can see what is the program where this CALL Custome_exit function is called exactly.
HOpe this is wat you need.
Regards,
Satyam
2010 Apr 22 1:22 PM
Satyam,
He was talking about user exit (FORM ... ENDFORM), Not customer exit.
--
Reddy
2010 Jun 14 7:51 AM
Hi All ,
I have gone thru many documents related to the differences in Userexits and Customer Exit. But still i am not clear about the differences .
1.User Exits called in the Sub-Routines , if thats the case EXIT_SAPLMEWR_001 , this User Exit is called using the CALL CUSTOMER FUNCTION '001'. Then why do we say that the User exits are called between FORM AND END FORM.
2.To add the custome code in the User Exit we require Access Key , but with the exit EXIT_SAPLMEWR_001 i can add my own code without the access key.
3.Many says that i can find the user exit thru CMOD , but USEREXIT are included inthe INCLUDES . Then how can i find the user exits.
Please clarify these points. And appreciate if explained with examples.
Thanks,
Subash.D
2010 Apr 21 10:38 AM
Abhisek,
I dont think we can use where used list with only form name. By seeing your form 'USEREXIT_CHECK_VBAP ', it may be used in sales order (va01) program.
I just searched in va01 main program for string 'USEREXIT_CHECK_VBAP '.
I found it is used in include MV45AFZB.
--
Reddy
2010 Apr 22 10:05 AM
Hi Reddy,
this was your experience so that you get that the Form "USEREXIT_CHECK_VBAP" in include present in VA01 main program.
but those who don't have these experience, how they will be able to get the include name of a form like "USEREXIT_CHECK_VBAP".
secondly, i checked the main program of VA01. it is "SAPMV45A", thn my question is how you have achieved on the include "MV45AFZB" having the same form "USEREXIT_CHECK_VBAP". there are so many includes present in the SAPMV45A.
kindly provide a explanation.
Wishes,
Abhishek
2010 Apr 22 10:55 AM
Hi Abhisek,
search in the main program source code for string 'USEREXIT_CHECK_VBAP', you will get that include.
I dont think that we can get the program name by FORM name.
--
Reddy
2010 Apr 22 11:21 AM
Hi Reddy,
yes this is done. but still the main concern is, in order to fetch these details the user must be aware of the Program Name of the so called T-code VA01.
but what, if the user is not aware of the t-code itself. as here in your case, you were aware of the tcode VA01 associated with this, by your experience.
Wishes,
Abhishek
2010 Apr 22 11:57 AM
Abhisek,
Go to trasaction SPRO -> click on SAP reference IMG --> go to Sales and distrubution -->system modifications --> user exits --> click on any node documentation (not execution button!)
you will get the list of user exits for that activity. then check the Form name whether thats listed in any of them.
--
Reddy
2010 Apr 22 12:03 PM
Dear Reddy,
this is what you are saying similar to search a needle in bunch of dried grass. i am looking for a simple and accurate solution if you know..
Abhi
2010 Apr 22 12:22 PM
Yes you are right. solution is beeing fetched as per the requirement
Can you please tell me one business scenario where they will give a user exit to implement without letting you know the trasaction!
--
Reddy
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |