MonitorFor Processed XML Messages

Hi Eveybody,
I have a little problem with my message. I uploaded my xml with Transaction CG3Z from my directory to SAP system. I saw the xml in AL1. After a few minute it disappears and when I go to SXMB_MONI and I execute for check the process.
The status is in Red Flag, the error is Transaction IDX1: Port ER6, client, RFC
                                                                        destination contains errors.
Could you help me please?
In advance thank you,
Mohamed R.

Hi,
I did also that.
I receive now another error: Runtime error RFC_NO_AUTHORITY has occurred
Anybody know this runtime ?
Thank you,
Mohamed R.
Edited by: rahhaoui mohamed on Feb 6, 2009 3:15 PM

Similar Messages

  • No show message in monitor for processed XML messages

    Hi,
    I get the document 'VALIDANTING A CONNECTION BETWEEN SAP R/3 AND SAP XI WITH RFC' and following the steps until step 9 it's ok but I can execute the step 10 I get 2 problem:
    First Problem - I dont know where see the ABAP code STFC_CONNECTION, How do you know?
    The Second Problem is the step 11 the system not show message and the documentation show message.
    Please Help-me.
    Any Ideas ?
    Regards.
    Mattos.

    Hi, Ashish thanks for anwser my doubt.
    So, the step 10 is "10. Refer to the following ABAP code snippet for executing the STFC_CONNECTION programmatically
    instead of using the user interface shown above.
    Call STFC_CONNECTION to send/receive request/response to/from XI***
    DATA: v_msg_text(80) TYPE C. "Message text
    CLEAR v_msg_text.
    CALL FUNCTION 'STFC_CONNECTION'
    DESTINATION 'XI'
    EXPORTING
    requtext = 'REQUEST_TEXT'
    EXCEPTIONS
    communication_failure = 1 MESSAGE v_msg_text
    system_failure = 2 MESSAGE v_msg_text.
    IF SY-SUBRC NE 0.
    **Write your code here**
    ELSE.
    **Write your code here**
    ENDIF."
    and the setep eleven is "11. Check the Integration Engine monitor for the processed XML messages (SXMB_MONI):
    Shows Sender Interface:"
    But I not see messege in my Monitor.
    Other doubt in step 5 the document order to create the RFC_Sender Communication Channel, this configuration have the parameters PROGRAM ID (mandatory), we dont have any idea what input there, Can you Help-me? How can find this parameters? in document we have the exemple INTEGRATION_SERVER.
    Thanks.
    Regards,
    Mattos.

  • What is the payload structure has to be used for AQ to process XML messages.

    Hi Experts,
    We have an IBM MQ and Oracle AQ has to be be linked to that.
    MQ always contains XML messages and same message will come to AQ.
    Now I want to create AQ. What is the payload structure(object) has to be used for AQ to process XML messages.
    Please help me.
    Thanks.

    Hello,
    using XML type data in AQ you have to define a special AQ payload type
    (corresponding to MQ):  QUEUE_PAYLOAD_TYPE = 'SYS.MGW_BASIC_MSG_T'.
    An example template for enqueueing looks like (you have to transform
    from XMLTYPE to the MGW payload type):
    DECLARE    
       queue_options      DBMS_AQ.ENQUEUE_OPTIONS_T; 
       message_properties DBMS_AQ.MESSAGE_PROPERTIES_T;  
       message_id         RAW(16);  
       v_message          SYS.XMLType;   
       v_clob             CLOB;
       v_payload          SYS.MGW_BASIC_MSG_T;
       v_text_body       
    SYS.MGW_TEXT_VALUE_T;
    BEGIN
       v_message      := SYS.XMLType.createXML('<SAMPLE>hello world</SAMPLE>'); 
       v_clob         := v_message.GETCLOBVAL();
       v_text_body    := SYS.MGW_TEXT_VALUE_T( NULL, v_clob );
       v_payload      := SYS.MGW_BASIC_MSG_T( v_header, v_text_body, NULL );
       DBMS_AQ.ENQUEUE( queue_name         => 'my_queue',
                        enqueue_options    => queue_options,
                        message_properties => message_properties,
                        payload            => v_payload,
                        msgid              => message_id);
    END;
    Kind regards,
    WoG

  • Table Names of Processed  XML Messages

    Hi ALL,
    We are facing space problem  in PRD box with one of our client, due to increase in large number of Messages  .
    Our basis tryed to do archiving, but endup with no luck.
    Could any one tell us in which tables processed idoc xml messages will get stored.
    .Any help is highly appreciated.
    Kind Regards,
    Vijay

    Hi,
    you should not delete XI Message directely from database table. Please schedule archive or delete jobs. If you never define which interface should be archived, it could NOT be done afterwards. This is also documented clearly on the help.sap.com. What you could do is delete the old messages to free table space. You could configure now interface which should be archived, in this case the message processed in XI in future could be archvied.
    XI message is actually stored in different tables,
    SXMSPMAST, SXMSPMAST2      XML Message master Table,  contains runtime information on XML messages processed by XI; in this table you can find all the information that is visible in SXMB_MONI.
    SXMSCLUP     XI Message Payload Tabelle
    SXMSCLUR     XI Message Payload Tabelle
    SMPPREL3     this table contains information about interfaces; here you can find information on sender (party, service, interface and namespace) and receiver (party, service, interface and namespace) as well as information on maps (their GUID and name as well as namespace).
    SXMSPFRAWH     Performance Head Data, Audit Log,
    SXMSPFRAWD     Performance Data, Audit Log
    There are could be more tables used to store information about XI messages, as I mentioned don't modify database table by your own risk. You will not get support by SAP, it could cause fatal error.
    regards,
    Hai

  • Monitor for processed xml messages

    Hi all experts,
    I'm a newbie. My work duty is PI/XI trouble shooting, and it's difficult for me currently.
    I input tcode:sxmb_moni, and list all errors. After I double click a Interface, I see any xml. Although  I have some programmer experience, but I can't understand what it mean yet.
    Who can tech me, or give me a reference link to study?
    Thanks  a lot

    Hi,
    For XI monitoring and Troubleshooting you should go through the couple documents available on SDN.
    That will help to give the corrective direction.
    In SXMB_MONI, when you will double click on the failed messages, you will see 4 sections.
    1. Left-top section indicates the Request /Response of message
    2. Left-bottom section will drilled down the reqest/Response tree to further indepth details.
    3. Right-top section indicates the processing log of the message along with trace details.
    4. Right-bottom section will be based on the left side topic selected from the tree structure.
    (Initally you will get error details in case of failures.)
    XI Production Errors -- Steps to refer it in SXMB_MONI.
    /people/prashanth.azharuddin/blog/2006/11/24/some-errors-in-an-xi-production-environment
    /people/michal.krawczyk2/blog/2006/01/02/xi-sxmbmoni--controlling-access-to-message-display
    /people/sukumar.natarajan/blog/2007/06/05/message-monitoring-overview-in-xi-with-sp20-sp12-in-70
    Troubleshooting
    Search various blogs for the troubleshooting based on the scenarios - file/soap/http/proxy etc.
    THanks
    Swarup

  • Use of BPM for processing XML message

    I have got a requirement for updating X-number and X- status into the SAP system from a non SAP system. I am getting the message which contains both these values in the form of xml and using HTTP and should be posted as 2 different IDOCs at the SAP system.
    But the requirement is to post the X-number first and once it is updated X-status should be posted based on the number.
    Assuming that X-number is available first and the status next in the non SAP system can we use BPM and if so how what needs to be done to make sure status doesnt update before number.

    Hi,
    Proceed as follows:
    1) Receive the X-message
    2) have  a transformation step....and map only the x-number into the target IDOC
    3) have a synchronous send step....why a sync send....because in that you can get the confirmation for success/failure of your x-number upload....this is only if you want a confirmation...this will make sure that your x-number is updated first.....
    4) now if you do not want to have a response back then...have a transformation step to map the x-status to your IDOC...then have a async send step...
    5)
    a)If sync send used: then you can have a condition like check the status of upload of x-number and if successful then send the x-status.
    b) if failure then you can resend the x-number message.
    c) if async send then you can directly send your x-status message.
    Steps 3, 5(a), 5(b) can be avoided if async commn is used. If you want that your BPM runs somewhat faster then you can avoid the transformation steps....instead you can use the mappings in the respective interface detemination.
    Regards,
    Abhishek.

  • How to restart correctly processed XML messages

    Folks,
    Is there a way to resend already successfully processed message in XI (SXMB_MONI shows checkered flag). The requirement is to re-send PO or Invoice due to the customer demand.
    All inputs deeply appreciated.
    Thank you.

    Sandeep,
    Is there a way to resend already successfully processed message in XI (SXMB_MONI shows checkered flag).
    Go through this blog from Michal -
    /people/michal.krawczyk2/blog/2005/11/09/xi-restarting-successfully-processed-messages
    You can perform this even in PRD, but it is not at all recommended ... ideally, such messages should be sent from the source.
    Hope this helps.
    Regards,
    Neetesh

  • Single queue: concurrent processing of messages in multiple consumers

    Hi,
    I am new to jms . The goal is to  process messages concurrently from a queue in an asynchronous listener's onMessage method  by attaching a listener instance to multiple consumer's with each consumer using its own session and running in a separate thread, that way the messages are passed on to the different consumers for concurrent processing. 
    1) Is it ossible to process messsages concurrently from a single queue by creating multiple consumers ?
    2)  I came up with the below code, but would like to get your thoughts on whether the below code looks correct for what I want to accomplish.  
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.util.Properties;
    import javax.jms.Connection;
    import javax.jms.ConnectionFactory;
    import javax.jms.Destination;
    import javax.jms.JMSException;
    import javax.jms.Message;
    import javax.jms.MessageConsumer;
    import javax.jms.MessageListener;
    import javax.jms.Session;
    import javax.jms.TextMessage;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    import com.walmart.platform.jms.client.JMSConnectionFactory;
    public class QueueConsumer implements Runnable, MessageListener {
      public static void main(String[] args) {
       // Create an instance of the client
        QueueConsumer consumer1 = new QueueConsumer();
        QueueConsumer consumer2 = new QueueConsumer();
        try {
        consumer1.init("oms","US.Q.CHECKOUT-ORDER.1.0.JSON");   //US.Q.CHECKOUT-ORDER.1.0.JSON   is the queue name
        consumer2.init("oms","US.Q.CHECKOUT-ORDER.1.0.JSON");
        }catch( JMSException ex ){
        ex.printStackTrace();
        System.exit(-1);
        // Start the client running
        Thread newThread1 = new Thread(consumer1);
        Thread newThread2 = new Thread(consumer1);
        newThread1.start();newThread2.start();
        InputStreamReader aISR = new InputStreamReader(System.in);
              char aAnswer = ' ';
              do {
                  try {
      aAnswer = (char) aISR.read();
    catch (IOException e)
      // TODO Auto-generated catch block
      e.printStackTrace();
    } while ((aAnswer != 'q') && (aAnswer != 'Q'));
              newThread1.interrupt();
              newThread2.interrupt();
              try {
      newThread1.join();newThread2.join();
      } catch (InterruptedException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
              System.out
      .println("--------------------exiting main thread------------------------"+Thread.currentThread().getId());
            System.exit(0);
    // values will be read from a resource properties file
    private static String connectionFactoryName = null;
    private static String queueName = null;
    // thread safe object ref
      private static ConnectionFactory qcf = null;
      private static Connection queueConnection = null;
    // not thread safe
      private Session ses = null;
      private Destination queue = null;
      private MessageConsumer msgConsumer = null;
      public static final Logger logger = LoggerFactory
      .getLogger(QueueConsumer.class);
      public QueueConsumer() {
      super();
      public void onMessage(Message msg) {
      if (msg instanceof TextMessage) {
      try {
      System.out
      .println("listener is "+Thread.currentThread().getId()+"--------------------Message recieved from queue is ------------------------"
      + ((TextMessage) msg).getJMSMessageID());
      } catch (JMSException ex) {
      ex.printStackTrace();
      public void run() {
      // Start listening
      try {
      queueConnection.start();
      } catch (JMSException e) {
      e.printStackTrace();
      System.exit(-1);
      while (!Thread.currentThread().isInterrupted()) {
      synchronized (this) {
      try {
      wait();
      } catch (InterruptedException ex) {
      break;
      * This method is called to set up and initialize the necessary Session,
      * destination and message listener
      * @param queue2
      * @param factoryName
      public void init(String factoryName, String queue2) throws JMSException {
      try {
      qcf = new JMSConnectionFactory(factoryName);
      /* create the connection */
      queueConnection = qcf.createConnection();
      * Create a session that is non-transacted and is client
      * acknowledged
      ses = queueConnection.createSession(false,
      Session.CLIENT_ACKNOWLEDGE);
      queue = ses.createQueue(queue2);
      logger.info("Subscribing to destination: " + queue2);
      msgConsumer = ses.createConsumer(queue);
      /* set the listener  */
      msgConsumer.setMessageListener(this);
      System.out.println("Listening on queue " +queue2);
      } catch (Exception e) {
      e.printStackTrace();
      System.exit(-1);
      private static void setConnectionFactoryName(String name) {
      connectionFactoryName = name;
      private static String getQueueName() {
      return queueName;
      private static void setQueueName(String name) {
      queueName = name;

    Hi Mark,
    if the messages are sent with quality of service EO (=exactly once) you can add queues.
    From documentation:
    Netweaver XI -> Runtime -> Processing xml messages -> Queues for asynchronous message processing
    ...For incoming messages you set the parameter EO_INBOUND_PARALLEL from the Tuning category.
    If more than one message is sent to the same receiver, use the configuration parameter EO_OUTBOUND_PARALLEL of the Tuning category to process messages simultaneously in different queues.
    Transaction: SXMB_ADM
    Regards
    Holger

  • No xml message for PI

    Hi experts,
    In my scenarios, I read data from files in folder A, archive these files to folder B,and outbound to http service(BID). I actived all in my scenarios in ID/IR.
    Now I put one file to folder A, and found lots of files in folder B. (add 1 file every second), but I  do nothing.
    Now I had a try in test configuration. I found a red square in "Receiver Determination"
    Runtime error
    Error while refreshing the XI runtime cache
    It's strange I have no message for my scenarios at any time, even I don't find my service/interface name/interface namespace in "Monitor for Processed xml messages" (tcode:sxmb_moni). Of cause, I find nothing in RWB.
    Please help me,and thanks.

    Hi,
    Check this links
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c0332b2a-eb97-2910-b6ba-dbe52a01be34&overridelayout=true
    Error while refreshing the XI runtime cache
    Error while refreshing the XI runtime cache
    Regards
    Ramesh

  • Problem in de-queuing xml messages after upgrade to 11g database

    We just upgraded from database 10g to 11g. After upgrade we are facing a problem in processing xml messages smaller than 4000 bytes. Messages larger than 4K bytes are handled correctly.
    We have Tibco IM/BW adaptors accessing Oracle AQ through JDBC Thin from other platforms than the DB is on.
    These clients connect to the database with an application user (XXIO) which belongs to the APPS schema.
    The client makes an enqueue to the queue-table XXIO_I00_I_JMS_Q_TABLE and in USER_DATA-part of the message the client specifies some header-information for the message with the actual data.
    The enqueue is made with JDBC Thin 11.1.0.7 and with the aqapi.jar/jmscommon.jar-files from the rdbms 11.1.0.7-installation, so the API towards the database is of the correct version.
    When the enqueue is done, the message has correctly been put into the table XXIO_I00_RT_I_JMS_Q_TABLE.
    Now to the problem,
    For example, we have a message that just has been put into the table, and it has a text_len of 3887.
    The text-part of the message is put in text_lob, not in text_vc.
    The problem now is that when the propagation starts
    (execute DBMS_AQADM.ENABLE_PROPAGATION_SCHEDULE(queue_name => 'XXIO.XXIO_I00_RT_I_JMS_Q'),
    the code for dequeue and move of the message, assumes that the text is in text_vc when text_len <= 4000 bytes.
    Since that's not the case, the message propably gets errored out, and is put in the errorqueue.
    The length of the messages that are put into text_lob vary from 2000 and up, so text_vc seems to be used only
    for messages below 2000 bytes now. This problem occurred when we upgraded the DB and client API to 11.1.0.7.
    Any pointer will be helpful.
    Thanks

    here is the output
    HOST LOWER_PORT UPPER_PORT ACL ACLID
    smtp.ABC.com 25 25 /sys/acls/ACLPORTA25.xml A275C7806DD74DE38F95D7E17794803D
    mqlinuxext.serasa.com 4081 4081 /sys/acls/ACLPORTA4081.xml 85ED7A539AAC4A419C828D0EC037C090
    mqlinuxext.serasa.com 80 80 /sys/acls/ACLPORTA4081.xml 85ED7A539AAC4A419C828D0EC037C090
    mqlinuxext.serasa.com /sys/acls/http_access_acl.xml 40C25DBC57E4476BA7906652EBD50332
    Thanks a lot

  • Concurrent processing of messages

    Hello,
    We are splitting big messages in the file adapter.
    After the split, we want XI to process the different messages concurrently (at the same time).
    Does anybody have an idea how to arrange this?
    Now all messages are processed after each other.
    Regards,
    Mark

    Hi Mark,
    if the messages are sent with quality of service EO (=exactly once) you can add queues.
    From documentation:
    Netweaver XI -> Runtime -> Processing xml messages -> Queues for asynchronous message processing
    ...For incoming messages you set the parameter EO_INBOUND_PARALLEL from the Tuning category.
    If more than one message is sent to the same receiver, use the configuration parameter EO_OUTBOUND_PARALLEL of the Tuning category to process messages simultaneously in different queues.
    Transaction: SXMB_ADM
    Regards
    Holger

  • Plan-driven proc. Simultaneously access to one SC from some XML messages.

    Hi SRM gurus.
    We've implemented plan-driven procurement scenario and have caught an error. I explain error on example:
    ERP generates via PI 5 XLM messages for update 5 positions of SRM SC. When the first XML locks SC for update, the second XML trying to lock SC and cannot do it and therefore get out an error. When i restart processing XML marked as error manually all works fine.
    So question is - How to ensure step by step processing XML messages which belong to one ERP PR. I played with parameters in SMQR with XTBR* queue but it was unsuccessfully.
    P.S. We've got some ABAP ideas about adding XML messages to separate queue based on ERP PR but it looks too hard.

    Dear Poster,
    As no response has been provided to the thread in some time I must assume the issue is resolved, if the question is still valid please create a new thread rephrasing the query and providing as much data as possible to promote response from the community.
    Best Regards,
    SDN SRM Moderation Team

  • XML Messages export to Excel

    Hi,
    In NW2004s PI7, under oracle 10g, windows 2003server...
    I would like to export XML messages in excel automatically everyday... do I need some ABAP program or scripts to do that ...
    I know how to do manualy..
    SXMB_MONI
    Monitor for processed XML messages
    Execute
    spreadsheet
    and export to file...
    The same above procedure i like to do automatically....
    Regards
    Thank in Advance

    Thanks you so much your reply... sound like very easy basically is not
    Very strange, when I go SXMB_MONI all messages are displayed, but when I check SE16 Table: SXMSPMAST2 none of message there... also I treid SE38 to run program... I got ABAP dump error...
    I check in SQL to display that table still no entries...
    (here is that info. I found out)
    Table:XI_AF_MSG has more then 25 fields match with moni records
    Table: SXMSPEMAS has more then 3 fields
    Table: SXMSPMAST has more then 5 fields
    I am not sure I am right track or not
    any ohter idea

  • Processing large XML messages ( 100Mb) in PI 7.1

    Hi All
    I have PI 7.1 & need to process & create Large XML messages with not so extensive mapping & direction is from SAP to FTP server.
    I created the test scenario using Consumer Proxy in order to check how large message our PI server can handle, so till 100Mb it went fine but anything above 100Mb got stuck in R3 server Integration engine only. When I checked the message in MONI of R3 server, initially it gives "Automatic Restart" status & after the retry limit was over it gave me "System Error-after automatic restart" with the error status as -->
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Integration Server
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">CLIENT_RECEIVE_FAILED</SAP:Code>
      <SAP:P1>110</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error while receiving by HTTP (error code: 110, error text: )</SAP:Stack>
      <SAP:Retry>A</SAP:Retry>
      </SAP:Error>
    Can you let me know how can we further tune our SAP R3 server to process the large files as the message is getting stuck in R3 server (at HTTP_SEND) only it is not even reaching PI server, also breaking message into small messages cannot be implemented as we need to send the file in ONE go only.
    Regards
    Lalit
    Edited by: Lalit Chaudhary on May 5, 2009 6:05 PM
    Edited by: Lalit Chaudhary on May 6, 2009 2:49 AM

    so till 100Mb it went fine but anything above 100Mb got stuck in R3 server Integration engine only
    all the systems are configured with a default timeout parameter....it determines till what time a system should try processing a file...if this is exceeded then you may get the mentioned error....
    So what you can do is try increasing the timeout of your system....so that you give the system some more time for processing the file
    Please note that increasing the timeout would mean decreasing performance
    To check how much is the impact see the performance before increasing the timeout and after increasing..
    If you need some help in file processing in XI:
    /people/sravya.talanki2/blog/2005/11/29/night-mare-processing-huge-files-in-sap-xi
    Hope it helps.
    regards,
    Abhishek.

  • SXMB_MONI-- Processing Statistcs - XML messages in "Being Edited" State

    Under SXMB_MONI--> Processing Statistics, I see that I have a large number of messages in a state of "XML Message being edited".  I need to delete these messages out of my system.  The regular delete jobs do not work because they are not in a state of Complete Successfully or in error. 
    These are causing my persistence layer to be above 100%.  Any input is appreciated.  All of the online help mentions every statistic on this page except for the "XML message being edited".
    Thanks!

    delete messages in SXMB_MONI
    For step by step procedure of how to archieve and delete messages in XI go through the urls:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/402fae48-0601-0010-3088-85c46a236f50

Maybe you are looking for