on 08-07-2009 10:00 AM
Is there any thing worng in my catch statements .because when i do debug the curser not catching the catch statements
TRY.
CALL METHOD z_co_ifoasy_01_sa_gl=>execute_asynchronous
EXPORTING
output = gv_zsafe_mt_acc_gl_posting01.
CATCH cx_ai_system_fault INTO s_exception.
CATCH cx_ai_application_fault INTO s_exception_app.
ENDTRY.
IF ( s_exception IS INITIAL AND s_exception_app IS INITIAL )
.
MESSAGE i007.
ELSE.
PERFORM update_log_table.
COMMIT WORK.
MESSAGE i009. "Message sent to XI".
ENDIF.
ENDIF.
hi,
What type of Exceptions you want to catch in Proxy?
Try to do commit work before you read exception variables for text and code.
Follow this process:
Proxy call
catch exception
commit work.
Use Exception variale to read details.
If you want to check that RFC Destination that pings your PI server is fine or not.
Call FM: BDL_SERVER_PING
to check if your PI server is down.
Regards,
Anurag Garg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Post this in ABAP forum.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.