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

user exit

Former Member
0 Likes
757

Hi Guruz,

how to debug user exit? plz explain

thanks

10 REPLIES 10
Read only

Sm1tje
Active Contributor
0 Likes
731

It's now way different from other coding. Just place a break point (hard or soft break point) and debug it. Make sure your user exit is activated.

Read only

Former Member
0 Likes
731

Hi Mick,

when i do same gettin msg "its not an online report".

thanks

Read only

Sm1tje
Active Contributor
0 Likes
731

You can't execute a user exit. A user exit is called during a transaction. In this user exit you can add some custom code.

Read only

Former Member
0 Likes
731

yh iam trying with transaction but it neva goin to that break point...im using break <myusername>...am i missing anything there...plz advise

regards

Read only

Former Member
0 Likes
731

Hi

May i know which userexit you are using for which transaction.

Check whether the user exit is getting triggerd or not.

Regards,

Kashi

Read only

Former Member
0 Likes
731

If the user exit is activated, the only reason for why it doesn't stop is that the user-exit is never used in the transaction with the steps you made.

Which transaction and user exit are you using?

Read only

Former Member
0 Likes
731

Hi,

Try like the following,

1) Identify the main program you want to locate a user exit/debug.

2) For example, go to SE80 and do a search by program or dev class (SAPMV45A sales order or Dev Class VMOD, most SD user exits are in this dev class). In SE80 if you go by program, most user exit programs end in a 'Z' on a rare occasion 'X' or 'Y'.

3) If you are looking at including MV45AFZZ, you can see where there are different forms. These forms will get called at times within the program. If you are looking to fill the storage location on the sales order, you will probably want to take a look at the perform that fills in a field in vbap.

4) If this is what you are trying to accomplish, you will need to do the select against the config Table TVKOL based on the shipping point/plant and possibly storage condition based on your picking strategies.

5) For the debug part, you can do the same as in the enhancements/modifications but you will not need to activate any projects.

Thanks&Regards,

Phani,

POINTS HELPFUL.

Read only

Former Member
0 Likes
731

HI,

Put break point. & Run.

If it is a Back ground JOb go to Trn SM50 & Select u r job.In Menu bar goto Progra/Mode -> Program -> Debugging.

Plz give me reward points if it help.

Cheers

Raj

Read only

Former Member
0 Likes
731

Hi Sudheer,

First you go to the user exit function module.

Then open the include program.

Then write the statement break <username>.

Save, check and Activate.

Then run the transaction of this particular exit.

If the transaction enters into breakpoint then that is the place where that exit is triggering.

If you have any queries reply me.Also if you have doubt give the complete information for which you are doing the exit.

Thanks & Regards,

AMK.

Reward Points If Useful.

Read only

Former Member
0 Likes
731

hi guyz ,

thanks for your replies...

the transaction im using is : /nbp

userexit = SAPLZCCCI.

thanks