03-05-2007 1:37 PM
Hi, I am using the FM L_TO_CREATE_DN but i am having a problem. When the batch number doesn't exist the program should keep the text with the error in an internal table and should continue running with other deliveries. The problem is that the error is not in the list of exceptions, the problem occurs inside the function module, so I don't know how control it. I think I should change anything inside the function but I don't know how to do it, or maybe I could control before. Does anybody how to do it??
03-05-2007 1:44 PM
Hi,
If you know it is inside create a custom FM of same and make changes in that.
Regards,
Sreevani
03-05-2007 1:59 PM
Hi amcaletrio,
As it is a Standard Function module,it is not possible for us to change. It is better to debug the code, not complete Function module.
In debugging first reach to the desired point by using break points.
1. In debugging mode, in the MENU bar you can see Breakpoints --->
Breakpoint at -
> statement(click here) .
2. Here type " MESSAGE".
3.Press F8
4.Stop here, the that u r looking is found or not
5.If not, again press F8
At one place you can get ur desired message.
Copy that FM only as user copy. Here instead calling the Standard FM call this
copied FM.Here in this Change message type from "E" to "W".
So that, you can get desired functionality.
Hope, the above desc. make you understand crystal clear.
If there is any doubts regarding this, You are welcome.
Reward,if helps.
Regards,
V.Raghavender.