on 10-07-2009 4:50 AM
Hello
I made scenario SAP(abap proxy)-PI-Legacy system(WS SOAP).
I define outbound synchronous service interface for message from sap, second define inbound synchronous service interface for message to legacy system.
I define operation mapping for this interface. All work good.
Problem: time to time legacy system return error message
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<errinfo>
<general>
<class name="CICOAlreadyCheckedOutInSameSession">
<error id="10105" name="CICOAlreadyCheckedOutInSameSession" uid="814e6cc1-c8cd-4880-8729-26bc2f883637" />
</class>
</general>
</errinfo>
In message monitoring i see message:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!-- XML Validation Inbound Channel Response -->
<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="UNKNOWN">APPLICATION_ERROR</SAP:Code>
<SAP:P1/>
<SAP:P2/>
<SAP:P3/>
<SAP:P4/>
<SAP:AdditionalText>application fault</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="">errinfo</SAP:ApplicationFaultMessage>
<SAP:Stack/>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
How to handle an error in the PI that would Abap Proxy everything worked?
Regads
Max
When you define Out/ Inbound Service Interfaces you might have observed a section created for Fault message.....inlcude the relevant message there.
Create a Message mapping between the Fault message of Source and Target....in Operation Mapping you will see an additional section of Fault Mapping when you say read interfaces (so you will have Request, Response, Fault options in the dropdown). Include the above mapping program here.
So if there is any fault message populated by the system then this mapping will get executed.
How to handle an error in the PI that would Abap Proxy everything worked?
Confused about this statement of yours.....can you explain what you actually mean by the above.
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How define fault message type for my message?
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<errinfo>
<general>
<class name="CICOAlreadyCheckedOutInSameSession">
<error id="10105" name="CICOAlreadyCheckedOutInSameSession" uid="814e6cc1-c8cd-4880-8729-26bc2f883637" />
</class>
</general>
</errinfo>
Fault message type contein mandatory standart data ExchangeFaultData and i can input additional data type.
But this message type not same that described above.
[Pictures with error|http://docs.google.com/Doc?docid=0AfRGxYH8QeFsZDU0cmI5Z18xNmNjd3Nzcmc0]
Hi Maxim,
You need to handle the fault messages too. also your proxy shoudl be able to take the fault message information to R#
Check these blogs
Regards
Suraj
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.