2008 Apr 17 8:50 AM
Hi,
Im using 'FORM USEREXIT_SAVE_DOCUMENT_PREPARE' in include program 'MV45AFZZ'. Im putting a break-point inside the routine. When im saving the sales document in 'VA01', the program is not stopping at the break-point.
Im working on IDES server.
What can be the possible. cause.
RR
Hi,
Im using 'FORM USEREXIT_SAVE_DOCUMENT_PREPARE' in include program 'MV45AFZZ'. Im putting a break-point inside the routine. When im saving the sales document in 'VA01', the program is not stopping at the break-point.
Im working on IDES server.
What can be the possible. cause.
RR
2008 Apr 17 9:00 AM
you can not debug USER EXIT...
try using BREAK-POINT statement inside the exit...
else print message with the field contents (Inside exit) ... so that you'll Atlas be able to check if proper value is getting fetched or not....
2008 Apr 17 9:03 AM
Hi
Infact, i have used the ABAP statement 'break-point' in side the routine. Then also its not stopping.
2008 Apr 17 9:07 AM
you can not debug the exit....
try the other method of using MESSGAE to print field values...
and check if desired valuesare coming or not...
2008 Apr 17 9:22 AM
Hi Rajiv,
Once we put a break point that too a SESSION break point then the system will definitelly stop at that point where you have placed the break point. If you have placed an External i.e. HTTP break point then it gets triggered from outside of SAP environment. Please verify that you have placed SESSION break point.
Also you can try with the following code. BREAK followed by a username is not a statement but it's a predefined macro.
BREAK <your username> " for example BREAK
or instead you can also use the following code and try.
BREAK-POINT.
The BREAK-POINT statement without the ID addition is always active and therefore causes an error in the enhanced program check.
Also chech if this Include MV45AFZZ containing the routine USEREXIT_SAVE_DOCUMENT_PREPARE is active or not. If it is inactive also then there are chanses that it will not gets triggered.
Hope that this is helpful to you. Reward accordingly.
Thanks and Regards,
Maddineni Bharath.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |