Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8372

Re: SUP2.1.3 Android. How to get SAP operation output table result

$
0
0

Hi

 

Are you developing native application?

Did you create a new Result checker for your operation?

Did you create a Error Screen in workflow?

errorscr.JPG

 

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


Viewing all articles
Browse latest Browse all 8372

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>