Hi!
I have a RFC but sometimes i have a dump because connection problems.
How can avoid this dump? I need to use TRY CATCH statment, but has any way to get a generic exception?
Thanks!
Request clarification before answering.
Hallo,
as you can see here http://help.sap.com/saphelp_nw74/helpdata/en/48/99b3f3ee2b73e7e10000000a42189b/content.htm, you can use the standard exception SYSTEM_FAILURE and COMMUNICATION_FAILURE to avoid RFC dump:
CALL FUNCTION 'Z_TEST'
DESTINATION 'AAAAAAA'
EXCEPTIONS
system_failure = 1
communication_failure = 2
OTHERS = 3.
IF sy-subrc <> 0.
WRITE 'Error'.
ENDIF.
Marco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.