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

Re: error messages of sap based web service provider

$
0
0

Hi Dirk,

 

You can catch the exception:

 

DATA: exc TYPE REF TO cx_ai_system_fault.

TRY.
       CALL METHOD proxy->myproxy
         EXPORTING
           output = ..
         IMPORTING
           input  = ...
     CATCH cx_ai_system_fault INTO exc.
   error_text = exc->get_text( ).
     CATCH cx_ai_application_fault.
   error_text = exc->get_text( ).
   ENDTRY.


However the information is not clear for a final user.

Like ABAP developer you should try to do some validations before the call to avoid this errors and to inform to the client with a clear information.


Regards.


Viewing all articles
Browse latest Browse all 9069

Trending Articles



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