Shot in the dark here. I am calling an SAP function to convert Unit of Measure in my R3_dataflow. SAP throws an exception when trying to convert to different dimensions, such as converting mass to volume.
What I would like to do is catch this exception and move on to the next row, rather than failing the dataflow.
That’s one of the holes we have right now, when we call functions that raise exceptions then we have no way of dealing with it.
Look at it from the ABAP perspective. You have an ABAP program selecting millions of rows and for each row you call the conversion function. At one row that function does raise an exception. What will happen? The ABAP program will stop and return with that exception.
What would you do?
a) change the called function so it does not return an exception
b) add an exception handler in the ABAP calling the function
I would love to have option b) in DS as well, at the moment all you can do is writing yourself a wrapper function that deals with the situation that your conversion function does raise an error.