Application Development 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: 

User exit for VA03

Former Member
0 Kudos

I want to know how to see the user exits used in t-code VA03. Also where the user exits are used like after which particular step in the order entry. Basically there is a user exit triggered during pricing determination and for some reason its value is being overwritten after it comes out of the user exit. So i want to know if the user exit is placed at the right step or not. And to know that i need to find out where its used currently.

Can you also advise how I can find out that there is a user exit used in a particular transacion?

How long does it take to debug the complete VA01?

1 ACCEPTED SOLUTION

GauthamV
Active Contributor
0 Kudos

hi,

goto TADIR table give obj type as cmod and obj name as z* and execute u will get all exits implemented in ur system.

give obj type as sxci and obj name as z* and execute u will get all badis implemented in ur system.

if uwant specific for a package then also give

package name in the selection screen(for ex zsd i ur sales related package).

6 REPLIES 6

former_member190578
Participant
0 Kudos

Hello Carrie,

there are different ways to find out, which EXIT is used in a program.

The easiest way to find out the EXIT is:


Use transaction 'SE15' (repository info system) 
---> Enhancements
   ---> Customer Exits  
      ---> Enhancements

Input the PACKAGE... (you will find the PACKAGE-name) in the program of 
VA0n under attributes in the field package.

Be aware: Sometimes...not all EXITS will be displayed because,

there package are different...

Edited by: Jürgen Hartwig on Aug 1, 2008 10:41 PM

ian_maxwell2
Active Participant
0 Kudos

For the VA01/02/03 transactions go to SE80, select "Program" and put in the program "SAPMV45A", hit enter and it will show you the components of this program (Main program for these transactions). Go down to subroutines, expand it out and look for the routines that start with "USEREXIT_". Each of these form routines is a user exit in the order processing transactions. You can double click on any of these, put a break point in the code and then run the transaction and see when it stops.

The VA01/02/03 transactions are very old transactions that have been around the SAP system for a long time, that is why these user exits are implimented in this way as opposed to some of the newer user exits features of other transactions.

With regards to debugging all of VA01/02/03. As mentioned these transactions have been around for a long time and really prove that SAP has become it's own legacy system, so there is a lot of stuff in there and it has gotten really tangled over the years. You would spend a long time going through it all.

~Ian

0 Kudos

Hi Carrie,

Another of searching user exits is by doing a string search in the underlying main program of any transaction.

To go to the main program of the transaction execute the transaction goto system status. Double click on the program name field, this will take you to the program associated with that transaction. Now do a word search for word "USEREXIT". Remember to select the Main Program radio button the search diaolg.

You can search for customer exits as well using search term "CALL CUSTOMER-FUNCTION" in similar way.

BADI's can be searched too using the search term "CL_EXITHANDLER".

Gajendra

naimesh_patel
Active Contributor
0 Kudos

You can find all the user exit related information for the Sales Order processing as well as the pricing in the Configuration (Tcode SPRO)

Find the following path in customization and click on the "IMG activity text" ICON (icon with the Specs and text).

Go to SPRO

... Sales and Distribution

...... System Modification

......... User Exits

.............User Exits in Sales

.................User Exit in Sales Document Processing.

Check the exits related to your problem.

Regards,

Naimesh Patel

Former Member
0 Kudos

Hello Carrie,

Please refer to the following link which gives you clear screen shots as of how to find user-exits.

http://abaplovers.blogspot.com/2008/02/user-exits-in-sap-sd.html

Regards

Indu.

GauthamV
Active Contributor
0 Kudos

hi,

goto TADIR table give obj type as cmod and obj name as z* and execute u will get all exits implemented in ur system.

give obj type as sxci and obj name as z* and execute u will get all badis implemented in ur system.

if uwant specific for a package then also give

package name in the selection screen(for ex zsd i ur sales related package).