on 2007 Jan 11 1:00 PM
Dear all,
I am making a message RFC -> XI ->RFC and I had an error that I can see into SXMB_MONI:
NODE SOAP HEADER -> ERROR:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>Application</SAP:Category>
<SAP:Code area="RFC_ADAPTER">APPLICATION_ERROR</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="urn:sap-com:document:sap:rfc:functions">Z_RET_DADOS.Exception</SAP:ApplicationFaultMessage>
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
NODE PAYLOADS -> MAINDOCUMENT (APPLICATION/XML)
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:z_RET_DADOS.Exception xmlns:ns0="urn:sap-com:document:sap:rfc:functions">
<Name>RFC_ERROR_SYSTEM_FAILURE</Name>
<Text>Document posted with success</Text>
- <Message>
<ID>RFC_ERROR_SYSTEM_FAILURE</ID>
<Number>null</Number>
</Message>
</ns0:Z_RET_DADOS.Exception>
This error regards to a message type I into source code of the target RFC Function. If I take off this message type I, the communication works fine, but in my application I will not be able to take off this message type I.
Does anybody know how can I solve this error?
Best Regards,
Fernando
Request clarification before answering.
hi,
can you wrap your RFC (the one with Exception) into another one
and call this new one from RFC ? so you will never get any exception ?
(if you don't want to see it)
so you will call one RFC inside which you will make another call to the original RFC
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michal,
i ve some serios doubts if it is a valueable strategy to close the eyes in case of errors. I would recommend to follow <a href="/people/michal.krawczyk2/blog/2006/01/17/xi-debugging-rfc-calls-from-the-xi-not-possible-who-said-that-">XI: Debugging RFC calls from the XI not possible? Who said that? :-)</a>
Regards,
Udo
Hi Udo,
sure it is! you're using RFCs! (so it's "your" fault that you have no error handling)
PROXIES or IDOCs are a way to go if you want great error control and not RFC...
BTW
my blog which you show is only a remedy/cure and you need
a complete IDEA how to handle your message errors
Regards,
michal
User | Count |
---|---|
76 | |
29 | |
9 | |
7 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.