Hi
Are you developing native application?
Did you create a new Result checker for your operation?
Did you create a Error Screen in workflow?
We can extract data from SAP in two ways, "Return structure" and "Return table", go through the code you can understand it easily. In the sample code if "return structure" is null, then extracted data by "return table".
Once you got the data, you have to decide whether you want to call error throwing method( DSException () ) or not. For example, if it returns any exception, you should call that method. some cases, SAP will return data as empty or null or with some other failure note, then also you should call the same method.
When the method is called with required parameters, then in application, error screen will be show up along with the error message.
In my case its a server initiated hybrid app, when SAP error throws, then new error message will be delivered to device.
Let me know if you need more clarification.
Regards
Yokesvaran Kumarasamy