Fault message in Asynchronous messages - SXMB_MONI in PI problem
Hello,
I am working on File to Proxy asynchrnous interfaces. I am using fault message type on inbound message interfaces.
I have done all the configuration according to below link
/people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1
After raising the exception, I can see messages are being failed in ECC , but in PI moni, message status is successfully status.
I want PI message status "Application Error".
Any idea.
Thanks in advance.
Just letting you know fault message is not something message could not be processed or due to system error mesg failed or so.
Using fault message to show business errors for the application. Example if the request message does not have purchase order number, then fault mesg could be "Purchase order is missing". In this case, Pi will respond with fault message. But this is successful processing end to end.
Basically you get response from ECC as fault message not wrong in it. SO PI will show only success log.
Dont confuse messages failing due to system downtime or network issues or firewall issue with application or business logic errors. Hope that helps.
Similar Messages
-
Fault message in asynchronous ABAP Proxy
Hi,
I have a question about fault messages in asynchronous ABAP proxy server.
The configured scenario is SOAP XI ABAP Proxy. Between XI and the ABAP Proxy I have configured an inbound asynchronous interface with a fault message, and then I have generated all the classes and implemented some code for exception handling in the ABAP Proxy side successfully.
When I tested negative cases, the exception raises and it is visible in the SXMB_MONI transaction in the R/3 side, but this exception is not displayed in the SXMB_MONI of XI it just displays a successful delivery to the ABAP Proxy message.
According the XI documentation it says <i>In the asynchronous case, you can see a fault message in the monitoring of the Exchange Infrastructure.</i> But this is not working.
Am I missing something?Hi,
This parameters are form group RUNTIME.
Please check it:
http://help.sap.com/saphelp_nw04/helpdata/en/d6/49543b1e49bc1fe10000000a114084/content.htm
Regards,
Wojciech -
Dear Friends,
In Message interface there is a option to select synchronous or asynchronous. If we select synchronous the fault message appearing and if select assynchronous the fault message disappearing, then in this case how can we do fault handling.
Thanks
Premhi
A fault message is a message that describes an application-specific error situation.
Fault message types are designed for application-specific errors that occur on the inbound side and that are reported back to the sender or persisted in monitoring.
· In the synchronous case, when an application-specific error occurs on the inbound side, instead of sending a response message back to the sender, the application can send a fault message to handle the error.
· The fault message of the application for an asynchronous ABAP server proxy is persisted for monitoring. In the case asynchronous of Java server proxies, the fault message is part of a negative application acknowledgement (see Acknowledgments).
Application-specific means that the application on the inbound side triggers the error itself because, for example, the request message did not contain sufficient information.
http://help.sap.com/saphelp_nw04/helpdata/en/dd/b7623c6369f454e10000000a114084/content.htm -
Abstract asynchronous message interface for fault (exception) messages
Hi,
Has anyone yet discovered how to create an abstract asynchronous message interface for a fault message so that said message can be referenced in an Integration Process? I am currently at a loss as to how to reference the exception message returned by a synchronous RFC call, and how to return the fault message of a synchronous MI from a BPM.
Thanks for any help you can provide on this issue - please do not refer me to existing blogs or forum messages if they do not specifically answer this question in a positive manner. I have just been through the SAP Notes and the SDN forum and Google and while I have seen many questions about this topic I have not seen any answers.
Stephenhi stephen,
never worked on this but out ofcuriosity after seeing ur question i tried to create one:
but i found these:
fault message types will only be used in case of synchronous messages.....if it is asynchronous the fault message type radio button it self will not seen while creating message interface..just check.
you need to create a Fault message type to use it in an interface...u can add your own fields also if u want.
in your present case you mentioned you are using synchronous RFC...try creating a synchronous abstract interface there you can give fault message type also...just check by creating one...
correct me if i am wrong...
regards. -
Message not showing in SXMB_MONI
Dear All,
I have File - XI - RFC and RFC response - XI - File.
After i put my file in the sender folder, the status in RWB:
- file sender adapter executed successfully.
- file receiver adapter also executed successfully
- RFC receiver also no problem.
I can see my file generated in the receiver path.
The thing is after I refresh t-code SXMB_MONI, i still can't see my messages that just processed. Any possibility why it happened?
Best Regards,
Victor.Hi Victor,
You have to set parameter LOGGING (type runtime) in TC SXMB_ADM --> Integration Engine Configuration --> Specific Configuration.
This will enable asynchronous messages to be displayed in sxmb_moni.
Do the same with parameter LOGGING_SYNC in order to display synchronous messages.
Carlos
Edited by: Carlos Gonzalez on Oct 9, 2008 10:19 AM -
Can Synchronous messages be reprocessed from sxmb_moni. Pls help
Hello
Can Synchronous messages be reprocessed from sxmb_moni
or from any other transaction like we reprocess asynchronous messages.
Pls adviceRick, it cant be done from XI for Sync messages, Raj is right. When you think about it:
normally sender sends a sequest and waits for a response. But here you'd send the message form middleware, so sender does not await anything, because it didn't send any request... So what would it do with the response?
If you explain us your problem in deeper detail , maybe we could advice you some other solution. This is definetely not a way.
Peter -
Fault name for Rejection Messages in Fault policy.
Hi ,
I am trying to do my fault handling for Rejected messages .I am bit confused what is the fault name i should specify for rejection messages .
Say for BPEL , We have bpelx:binding fault etc for BPEL ..
<faultName xmlns:rjm="http://schemas.oracle.com/sca/rejectedmessages" name="rjm:[?????????????] ">
<condition>
<action ref="writeToFile"/>
</condition>
</faultName>
</Conditions>
Regards ,
NagaIt should be the "service name" for the inbound adapter in the composite. Here is the doc link which explains this: http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10231/life_cycle.htm#TKADP187.
regards,
Sandeep -
Flex with JMS Topic/Queue for Asynchronous messaging
I have been working on Flex and JMS integration using Data
Services for Asynchronous messaging. I am able to do this
successfuly. Now I am in need to do the same without using the Data
Services piece.
For doing this I have done the following ......
I have created a JMS Webservice in the Oracle JDeveloper 10G
along with Webservice Client.I am able to Listen to JMS Topic/Queue
( this has been created in the Oracle AS ) using this Webservice
and receive the messages from this JMS Topic/Queue
Asynchronously.....
But If I need to use the Flex Client , I am not able to
Communicate with this Webservice to listen to the JMS Topic/Queue.
Did any one in this forum tried to communicate with JMS
Topic/Queue without using Flex Data Service.If so please share your
inputs.Here is my confusion (I'm using J2EESDK1.3).
On a local server I did the following
j2eeadmin -addJmsFactory jms/RemoteTCF topic -props url=corbaname:iiop:mars#mars
In the app client running on the local server I had the code
ic = new InitialContext();
// JNDI lookup. The resource factory ref points to the
// Remote Connection Factory I registered
tcf = (TopicConnectionFactory)ic.lookup("java:comp/env/jms/TopicConnectionFactory");
// The env ref points to jms/Topic of the local server
pTopic = (Topic)ic.lookup("java:comp/env/jms/PTopic");
So I'm assuming that I'm using a connection factory that connect to mars and a Topic on the local box.
On remote server mars, I deployed a MDB which use
jms/TopicConnectionFactory and jms/Topic. But I'm thinking this jms/Topic and the one I used on the local box are not the same one. Right? Then how could the app client and the MDB share messages?
Some of my explanation I don't if it makes sense or not.
ConnectionFactory is a way to tell what kind of connection it could generate (Queue, Topic, Durable etc) and Where the connection would go to (local or remote).'
As for as destination, I'm not sure. How could two server share one Topic? -
Wrong Reciever message interface name in SXMB_MONI in PI7.1
Hi All,
Some of the interfaces that are getting executed in PI7.1 have wrong reciever message interface name in SXMB_MONI view.
In SOAP Envelope
1.Reciever message interface name is getting populated in <SAP:Sender> tag and
2. Sender message interface name is getting populated in <SAP:Receiver> tag.
But the end to end message flow is getting executed succesfully.
It is not particular to any one of the interfaces. It is occuring randomly.
Did any one encounter this problem earlier?Please share your inputs to resolve the same.
Thanks,
Younus.Hi,
The SAP note mentioned - contains details specific to SOAP Adapter.
The problem which we have mentioned is occurring across adapters.
Even in SICF transaction. All the details have been correctly maintained.
Any further steps to resolve the issue will be helpful.
Thanks,
Younus -
SOAP to RFC : Message visible in Message Monitoring , but not in SXMB_MONI
Hi Experts,
I'm doing a SOAP to BAPI scenario. The interface is a SYNCHRONOUS one . I'm using XML SPY as the soap client to test the interface. Even though i don't have the test for the BAPI after sending an empty request message i'm able to receive an empty response from the BAPI. I'm also able to see the message send in message monitoring .
But when i go inside SXMB_MONI its acting in a strange way . I'm not able to see the any of the messages. Any ideas??
Thanks & Regards,
Rahul.Hi Rahul,
Synchronous messages are not persisted on the Integration server unless logging is switched on in SXMB_ADM Tcode(Specific Configuration->RUNTIME(Category)->LOGGING_SYNC(Parameters)).
That's the reason you couldn't find SYNCHRONOUS message in SXMB_MONI.
Thanks,
Jag -
Sender RFC Message not seen in sxmb_moni
Hi,
Uptill now i must have created 9 RFC To file scenarios ..all of them are working perfectly.
But this tenth one is bugging me up:
Problem:
1. I created RFC destination which is working perfectly fine i.e connection test is successful.
2. When i run the program the function module gets executed successfully, but i dont see any messages in sxmb_moni .In RWB inside communication channel monitoring I can just see is processing started and nothing else for that communication channel.. Whereas for other 9 CCs i can see processing started
& Message processed successfully messages properly..
Any help will be appreciated & points will be rewarded.Hello,
can you have a look at this weblog:
/people/michal.krawczyk2/blog/2005/05/10/xi-i-cannot-see-some-of-my-messages-in-the-sxmbmoni
it's a how to turn on the traces - Logging on the XI
This will help you...
************Reward points,if found useful -
Hi Gurus!
i´already schuedule the job in sxmb_adm the deletion jobs
-DEFINE INTERFACES FOR ARCHIVING AND RETENTION PERIODS
-SCHEDULE DELTES JOBS
But I can´t find yet, some way to erase asynchronous message, any idea?Hi. Raul:
When you "DEFINE INTERFACES FOR ARCHIVING AND RETENTION PERIODS", haven't you seen there is a option to specify "Retention Period for Asynchronous XML Messages in the Database"
Under it, you can put the number of days for "XML Messages Without Errors Awaiting Deletion"
That is the place to specify how long you want Asynchronous Message Persisted in database, once the specified days reached, the message should be deleted by your scheduled job: SAP_BC_XMB_DELETE_<Client>
Regards !
Liang -
Solution to merge incoming asynchronous messages inside OSB ?
Hello,
What is the good practice to merge (aggregate) two or more asynchronous messages reading from JMS queues ?
I have to collect responses from a single request and merge them into a single message, so I have to identifie the responses in order to merge them with others responses from the same request.
Does a solution based on the SplitJoin can address this issue ?
Or do I have to store in a temporary buffer and call a Java Callout to read responses, identifie them and then remove them when all the responses have been received ?
Or is there another better solution ?
Thanks for your help.
Best regardsI am also interested in the answer to this question.
In my requirement I may have a large number of provider services so I don't want to hard code each one in BPEL. I also need to allow for timeouts, the main service should wait for 1 min and then send back all the results it has received.
I have gone down the line of combining the Scatter-Gather and Publish/Subscribe design patterns. The only problem is that the JMS adapter cannot synchronously read messages from a queue so I have built a POJO webservice to do this. -
Raising alerts in an asynchronous messaging scenario
Hi
I have a simple scenario involving asynchronous messages going from a SAP box --> ABAP client proxy --> XI --> Webservice call
Since the call from the SAP box is asynchronous, I would like to get an alert to a particular email id - if the message errored out in the XI IS or the adapter framework ( when calling the webservice )
Any pointers to documents/weblogs to how to setup this alert framework - the basis settings and the application level settings in XI ??
Thank you for your time in advance.hi,
>>.like end-to-end monitoring for the alert mechanism to work ??
yes
only from sp14 you don't have to do it:
http://help.sap.com/saphelp_nw04/helpdata/en/43/0f562f9d3b2a30e10000000a1553f6/content.htm
btw
check my weblog with altrts troubleshooting
Regards,
michal -
No message is created in sxmb_moni
Hi experts
iam working on FILE - IDOC scenario...the sourse file is archived successfully . but there is no message is cretaed in SXMB_MONI. and i checked in RWB. there are no messages created related to this scenario.
but this inteface working prevouslyin PRD system ,it stoped suddenly working now.
and in quality system it has been working succesfully now also
it would be great if you suugest me on wht could be the error
thanks
vasavihi
Check the Rfc destination is working properly or not by using test connection.
First check the SMQ1 and SMQ2 in sap xi for any messages are stucked in the queues . If any message are stucked clear those messages.
Check the idocs are created in the sap xi by using idx5 for those files. if it is ok then check those reached the R/3 system or not by using the WE02 tr. code.
If those are not reached then check the sm58 tr code in sap xi any messages for that users.
Regards
sridhar Goli
Maybe you are looking for
-
Deskjet 6988dt, how to use photo/envelope slot for printing 4x6 photo paper?
Windows 7 Home Premium 64-bit OS. Printer has the extra250 sheet paper tray. Upper and lower tray work fine. I can of course load photo paper in upper tray and print photos from there, but I was trying to load just one sheet of photo paper in the
-
What's New in Adobe Story | Digital Video CS6 | Adobe TV
Adobe Evangelist Jason Levine shows how to use Adobe Story to outline, plan, script and schedule projects. http://adobe.ly/Ir92ME
-
Enhancement Point Creation in Internal table
Hi, I want to create a Enhancement Point in Internal table declared in Customize Program. This is more related to clarification of concept related to Enhancment Point. But when i am putting the cursor inside the internal table and right click and Enh
-
Spotlight will not fully index PowerBook used in target disk mode
I connected my PowerBook in target disk mode to my desktop to transfer files. Quickly added the PowerBook drive to the desktop's privacy list. After restarting the PowerBook, it started indexing, but said it was finished in less than 5 minutes (about
-
Is Adobe Reader compatable with Window 7.
I can't get documents to open from website, just opens blank box. I have unistalled Adboe Reader 2 times and reinstalled, still won't open documents. An erroe comes up, " Unable to Download DocumentView.aspx. What can I do