‎2012 Feb 08 7:25 AM
Hi ABAP Gurus,
for migo cancellation ( Customer Function Exit in the Case of Updating a Mat. Doc ) i found out the Exit called
EXIT_SAPLMBMB_001 i written the code inside this exit
data : w_doc like mkpf-mblnr.
w_doc = xmkpf-mblnr.my Requirement is that : when i put the break point in this include and after going back to MIGO Transaction and while cancellation of any GR the debugging is not stopping in this Include. can u please let me know how to proceed using the EXIT.
eagerly waiting for your reply's....
‎2012 Feb 08 8:34 AM
Hi,
it is mentioned that it is called in the update FM MB_POST_DOCUMENT. This would mean that the exit would be called while update.
So put a breakpoint and turn system debugging and update debuggin on in the debugger and then it would stop at this exit.
Kindly check.
Regards,
Goutam Kolluru.
‎2012 Feb 08 8:22 AM
This FM is called in the update task. Switch on update debugging prior to pressing 'save' button.
KR
Alfons Eberth
‎2012 Feb 08 8:34 AM
Hi,
it is mentioned that it is called in the update FM MB_POST_DOCUMENT. This would mean that the exit would be called while update.
So put a breakpoint and turn system debugging and update debuggin on in the debugger and then it would stop at this exit.
Kindly check.
Regards,
Goutam Kolluru.
‎2012 Feb 08 9:16 AM
Hi,
Put a break point in your exit first.
Before click on save or cancellation put /h and enter into debug mode.In settings menu of Debugging mode select the options System debugging and Update debugging and save it.now press F8.
It will trigger your break point.
Regards,
Karuna N
‎2012 Feb 08 9:23 AM
Hi,
DO /h and then cancel the GR..Now in debugger settings, mark the update debugging as selected and save it.
Now press F8. Your normal debugging window will close. After this a new debugging session will open. This will be for update debugging.
If it doesn't come directly to your break point, try pressing F8 again..now you will reach your code.
Regards,
Harsh Bansal