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
706

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....

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
652

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.

4 REPLIES 4
Read only

Former Member
0 Likes
652

This FM is called in the update task. Switch on update debugging prior to pressing 'save' button.

KR

Alfons Eberth

Read only

Former Member
0 Likes
653

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.

Read only

Former Member
0 Likes
652

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

Read only

Harsh_Bansal
Contributor
0 Likes
652

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