on 09-20-2011 12:08 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.