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

Problem to debug EXIT_SAPLEINS_001.

Former Member
0 Likes
904

Hi,

I have a problem when i create PO IN ME21N transaction. I modify USER EXIT :" EXIT_SAPLEINS_001" with new include with functions. I want to debug new changes but i execute ME21N transaction and the USER EXIT not open debug.

Can you help me?

Hi,

I have a problem when i create PO IN ME21N transaction. I modify USER EXIT :" EXIT_SAPLEINS_001" with new include with functions. I want to debug new changes but i execute ME21N transaction and the USER EXIT not open debug.

Can you help me?

3 REPLIES 3
Read only

Former Member
0 Likes
783

HI,

I am not sure of what requirement you are using this exit for but this looks to be an enhancement related to BI/BW related enhancements and not R/3 enhancements.

Regards,

Himanshu Verma

Read only

eduardo_hinojosa
Active Contributor
783

Hi,

You can set the debugger for 'update debugging'. Write /H in the box for tcodes. And when you view the debugging, in the path go to 'update debugging'. If you have a break-point in the exit (include ZX*) the system will stop in it when it begins to update the infostructures (LIS).

I hope this helps you

Regards

Eduardo

Read only

RaymondGiuseppi
Active Contributor
0 Likes
783

EXIT_SAPLEINS_001 is executed in ME_STATISTICS_LIS* function modules during the update task. You can activate the debug in update task in debug menu.

Don't forget to check also this exit during update of purchase orders via Purchase maintenance (ME22n), Good receipts, Invoice receipts, etc. (check list of events/transactions to test via transaction LBWE)

You can also check this exit during the Setup of Purchasing Statistical Data

(Transaction SBIW - Settings for Application-Specific DataSources, Logistics, Managing Extract Structures, Initialization, Filling in the Setup Table, Application-Specific Setup of Statistical Data, Purchasing - Perform Setup or transaction OLI3 OLI3 - PURCHIS Statistical Setup)

Regards,

Raymond