cancel
Showing results for 
Search instead for 
Did you mean: 

Break point in EXIT_SAPLV05I_002

former_member211575
Participant
0 Kudos

Hi, I nead your help.

I've already put a break point in EXIT_SAPLV05I_002, INCLUDE ZXV05U05 but when I crete a delivery the debuging is not started.

Dou you know in what moment this exit should stop?

Thanks

Dora

Accepted Solutions (1)

Accepted Solutions (1)

venkateswarareddy_medam
Active Participant
0 Kudos

Hi Dora,

Please keep the break point on the function module CALL CUSTOMER-FUNCTION '002' in the report LV05IFLK.

Put the break point on the call customer line.When break point reaches the function module click F5.it wen to inside the report.

I hope it will help you.

Regards,

Venkat.

former_member211575
Participant
0 Kudos

Hi

I made all you tell me but it doesn't stop.

Do you know if it should stop when I create a delivery?

Former Member
0 Kudos

check with your ABAP team pls.

0 Kudos

Hi Venkat

Your user exit does get processed during the delivery save.

Your breakpoints are not stopping in it because all the indexes tables VKDFS, VEPVG etc

are handled in the update task, so you have to use update debugging.

The quick wat to get to your user exit to see what is is doing is as follows:

Create a delivery in VL01n

Before you hit the save button switch on the debugger

then press save

In the debugger oput a breakkpoint on the ABAP statement COMMIT WORK

The program will stop at this statement which is the end of the application processing.

In the debugger go to SETTINGS > UPDATE DEBUGGING

Then press F8 to contunue

A new screen will appear with the update task.

In the new screen put a breakpoint in function module RV_DELIVERY_INDEX_SAVE

( If this were from a sales order you would do the same but with function RV_SALES_DOCUMENT_INDEX_ADD)

Your user exit is called below marked :

RV_DELIVERY_INDEX_SAVE

...

  • Billing type appears in the index if there is at least one R/3

  • billing relevant item in the delivery

if vbuk_wa-fkstk ca 'AB' or

vbuk_wa-fkivk ca 'AB'.

...

perform lk_01. "Fakturaauslöser >>>>>>>

EXIT_SAPLV05I_002 is called in here....

I hope this helps explain the system behaviour

Kind regards

Brian

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Unless you register that exit in CMOD and put some code in that INCLUDE..your break point won't stop..

pls consult your ABAP team on this..

instead try this.. put a breakpoint in the parent program i.e. the program which calls this FM/ exit..

Regards,

Raghu.