‎2014 Jan 18 8:23 AM
Hi All,
We have created a output type with special function which gets triggered upon PGI. In the program attached to this output type we are making a proxy call which is synchronous.
In case while doing creating delivbery and doing PGI, if the proxy call fails it ends with update termination since the above program executes in the update task.
Can you please suggest any way this expection can be handled so that creation of delivery is not terminated ?
Following call is made:
CALL METHOD lo_clientproxy->(lo_method)
EXPORTING
output = out_msg
IMPORTING
input = in_msg.
* Use Protocol Methods to get the sent Message ID
l_message_id = lo_protocol_messageid->get_message_id( ).
CATCH cx_ai_system_fault INTO lo_system_fault.
MESSAGE i008(zitf) WITH lo_system_fault->errortext.
WRITE: / lo_system_fault->errortext.
* get the root exception and display the textid value
CATCH cx_root INTO lo_root. "#EC CATCH_ALL
MESSAGE i008(zitf) WITH lo_root->textid.
* RETURN.
ENDTRY.
Thanks in advance.
‎2014 Jan 18 8:29 AM
In update task why please comment information message.do you have some commit?
‎2014 Jan 18 8:29 AM
In update task why please comment information message.do you have some commit?
‎2014 Jan 18 8:39 AM
Yes I commented the information message and it worked, thanks.
Can you please let me know the reason for this ?
‎2014 Jan 18 8:41 AM
In update tasks no user interaction is allowed for example this info message
‎2014 Jan 18 8:31 AM