‎2010 Mar 02 7:34 PM
Hi,
I am trying to look for User Exit examples in my trail Netweaver ABAP 7.01.
can anyone help to see some sample codes and how user exits are called ?
Thanks
‎2010 Mar 02 7:46 PM
‎2010 Mar 02 7:53 PM
I already did, I dont post a question before searching on the forum and on google.
I get some examples online, but I didnt find these examples on my system (Netweaver ABAP Trial), thats why
I am asking here .. I read that user exits are defined as subroutines ..
and I am assuming they will be called from external programs ..
so are they called in this way ? just like calling any external subroutines
perform user-exitName in program userexitProgram .
..I want to see examples on my system.
‎2010 Mar 02 8:34 PM
I still didn't understand exactly what you are asking for
for example you can check include program MV50AFZ1
‎2010 Mar 02 8:46 PM
thanks for getting back to me,
as I told you , one of my problems is that I have only SAP Netweaver Trial so I dont have the include
your provided (MV50AFZ1) .. I will do more google searches .
‎2010 Mar 03 9:20 AM
Go to tx SMOD. Search. Go to tx SE18. Search.
There are BC user exits - you just use the SAP system to search for them! Once you've found them, then search for examples. Please do NOT ask for examples or samples here.
matt
‎2010 Mar 03 5:11 PM
Thanks Matt for the help and suggestion,
if you dont mind me asking, is it part of the forum rules not to ask for examples, or you just personally think it is not appropriate to ask what asked ? I understand that it is not appropriate to ask without doing my own search
and you might find my question too easy to ask here..anyhow.
based on what I read before I post this question, there are user exits and customer exits and both are different.
a user exits is defined as a Form (subroutine) and called using PERFORM.
and customer exit is defined as functions module and called using CALL CUSTOMER-FUNCTION
http://www.allinterview.com/showanswers/23629.html
but when I I did a search on the forum ( call user exit) , I got something confused me ,
the first search hit was this:
this question was marked answer even though the syntax seems to be for calling a customer exit and not a user exit.
somewhere else, I found another confusing information, as they showed that use exits is defined as MODULE.
MODULE user_exit_0001 INPUT ...
http://www.sap-img.com/abap/what-is-user-exits.htm
in this link, customer exit is considered a different generation of user exit and maybe this is why it is confusing to distinguish them .
http://searchsap.techtarget.com/expert/KnowledgebaseAnswer/0,289625,sid21_gci1240915_mem1,00.html
I simply thought it will be good if someone can clear this confusing for me by providing me an example.
I am extracting all the source code of the system as html files , and I need to build hyperlinks.
so if there is a call to any use exit , a hyperlink should be there to take me to where this exist is defined.
I thought of asking first about user exits and then make second post for customer exits.
Misbah
‎2010 Mar 03 5:16 PM
I found this after a quick search in the SCN blogs, should keep you busy for a while. Your trial will have only few of those, since there is no application logic present.
/people/andrea.olivieri/blog/2009/05/22/how-many-exit-routines-are-active-in-your-sap-erp-system
Thomas
‎2010 Mar 03 6:01 PM
The reason not to ask for example and samples is that there are many of these throughout the web. When people request such things, the replies tend to be either links or copy/paste from other sites (or this site, or help.sap.com), none of which add value to SCN.
I do not recognise your distinction of user exit/customer exit etc. Although loosely within SAP they refer to specific type of user exit, the terms are generic enough to be interchangeable. Simply, a user/customer exit is a place to put your own processing. And so encompasses BADIs, enhancments, forms, includes, CMOD exits, routines, substitution and validation, etc. etc.. Some of these types of user exit, I'm afraid, you won't find in the trial version.
regards
matt
‎2010 Mar 04 4:10 PM
Thanks Thomas for the link , seems very interesting tool !
unfortunately I couldn't get it to compile or run because there was a missing Table (t001q) in my system !
Thank you Matt for the help too, I will just mark this question as answered and I do more research on this topic.
Misbah