Hi there,
I have a scenario where we call a custom planning function form AO using following VBA statement:
lResult = Application.Run("SAPExecutePlanningFunction", "CheckData")
The function "CheckData" is a custom planning function doing some checks on the data.
When there is an error we raise an error message like this:
The error message also comes up in AO.
Now the problem: The IResult does not reflect the error (value 1).
Do we have to set anything additonal in the planning function?
Thanks
Oliver