Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

How catch any error (dump) occurred in remote FM

$
0
0

Hello experts

 

I am working in some application and we executed several functions in other SAP system  :

 

   CALL FUNCTION  'Z_REMOTE_FM'   DESTINATION   othersap

 

I need to catch any error ocurred in the remote function in order to do not appears any dump error but display instead an error message to user , we do not have problems in the communication beteewn systems, i need to call any other dumps ocurred when the remote function is being executed.

 

I treid with :

 

   TRY.
           CALL FUNCTION  'Z_REMOTE_FM'   DESTINATION   othersap 
           CATCH CX_ROOT.
              [code for send my error to user]

  ENDTRY.

 

 

But however, if in the remote function occurs a dump (for example, if we divide by zero) the CATCH does not catch the dump and the dump is trigered in my system and ends the session.

 

Is there any way for catch any dump occurred in the execution (no communication failure) of one remote function ?

 

Best Regards

Frank

 

 


Viewing all articles
Browse latest Browse all 8332

Trending Articles



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