How to Read Archived Messages in XI

HI
I am facing problem in reading archived XI messages.
i am trying to read messages archived in November. Can please anyone explain me how to read this.
Thanks in Advance
Regards
Swapnil

Hi Swapnil,
>>I am facing problem in reading archived XI messages.
please let me know the Exact problem what u r facing?
i felt that, u are unable to findout the output file in the month of novmber which was archived.
while configuring the adapter we have Archive mode.
once u select the archive mode,
asking for the archive directory and followed by ADD time stamp.
it mean's the output file as well as archived file generated with the following name.
i.e filename+Timestamp(yyyymmdd-hh:mm:ss-msec).
  eg: XI_ouput20080118-190544-843
award the points if it really help to you.
Reagrds
Mahesh.

Similar Messages

  • Cannot read archived messages

    Hi,
    I am getting an error saying "Cannot read archived messages; reason: " in Runtime workbench -> Message Monitoring  -> Archive. Also i am not able to see any messages there. It says ' 0 Messages from Archive '. However i can see in SXMB_MONI the messages which are archived.
    Can anyone please tell me why I am getting this error message in runtime workbench and how can I rectify it?
    Regards,
    Mateen.

    Hi,
    unable to locate tht pdt guide, mean while plz go thru this:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/402fae48-0601-0010-3088-85c46a236f50
    regards

  • How to read Archive data??

    Hi,
    I am developing a program which requires me to retrive the <b>archive</b> data of table BSAK and then fill it into an itam then output the list.
    I use T-code 'SARA' to find the object name is 'FI_DOCUMNT'. There u can find that BSAK is contained in it.
    And i reference the DEMO programm 'SBOOKR' and coding as belows, but the error message always shows and F1 couldnt help.
    [IMG]http://www.designoo.com/files/6678/incorrectInfo.jpg[/IMG]
    My code:
    * for Read Archive
    DATA: handle                 LIKE sy-tabix,
          buffer                 TYPE arc_buffer,
          wa_arc_bsak               LIKE bsak,
          number_of_records_read TYPE i.
    data: LE_DATA(8192) TYPE C,
          LE_STRUCTURE  LIKE ARC_BUFFER-RNAME.
    perform read_archive_bsak.
    FORM read_archive_bsak.
    * open existing archive files for BSAK
      CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ'
           EXPORTING
                object         = 'FI_DOCUMNT'
           IMPORTING
                archive_handle = handle
           EXCEPTIONS
                OTHERS         = 1.
    *  IF sy-subrc <> 0.
    *    WRITE: / 'No file can be accessed'(001).
    *    EXIT.
    *  ENDIF.
      CLEAR number_of_records_read.
    * loop to get the next data object from the archive file(s)
      DO.
        CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT'
             EXPORTING
                  archive_handle = handle
             EXCEPTIONS
                  end_of_file    = 1
                  OTHERS         = 2.
        IF sy-subrc <> 0.
          EXIT.
        ENDIF.
    * get data records from the data container
        DO.
          CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD'
               EXPORTING
                    archive_handle   = handle
               IMPORTING
                    record           = LE_DATA
                    record_structure = LE_STRUCTURE
               EXCEPTIONS
                    end_of_object    = 1
                    OTHERS           = 2.
          IF sy-subrc <> 0.
            EXIT.
          ENDIF.
          CASE buffer-rname.
            WHEN 'BSAK'.
              wa_arc_bsak = LE_DATA.
              move-corresponding wa_arc_bsak to Tab_ARC_bsak.
                APPEND Tab_ARC_bsak.
                CLEAR: wa_arc_bsak, LE_DATA, Tab_ARC_bsak.
          ENDCASE.
          ADD 1 TO number_of_records_read.
        ENDDO.
      ENDDO.
    * close the archive session
      CALL FUNCTION 'ARCHIVE_CLOSE_FILE'
           EXPORTING
                archive_handle = handle.
    Move-corresponding tab_arc_bsak to tab_bsak.
    append tab_bsak.
    clear tab_bsak.
    ENDFORM.                    " read_archive_bsak
    Anyone helps??
    Thanks in advance!!!
    Hoo
    Message was edited by:
            Hoo lala

    Hi Aditya,
    The error msg is 'Incorrect access to an archive.'
    Thanks.
    Hoo.

  • How to Read a Message with Content Type multipart/alternative

    Hi ,
    I need to write a POP3 Client to read email message ..but some times the messages comes with content type multipart/alternative
    how to parse it and read only one of the content :
    for example :
    This is a multi-part message in MIME format.
    ------=_NextPart_000_12C25_01C6B64F.09226B00
    Content-Type: text/plain;
    charset="iso-8859-1"
    Content-Transfer-Encoding: 7bit
    Assignment to workgroup Name 1 : L2 SD Service Delivery Apps Spt
    Open CI Search Code : HPSD
    Description : tesat
    General Information :
    Is the workgroup owner Aware of the addition to Workgroup : Yes
    Workgroup to be added :
    L2 SD Service Delivery Apps Spt
    ------=_NextPart_000_12C25_01C6B64F.09226B00
    Content-Type: text/html;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    <br><P>Assignment to workgroup Name 1 : L2 SD Service Delivery Apps =
    Spt</P>
    <P>Open CI Search Code : HPSD</P>
    <P>Description : tesat</P>
    <P>General Information :</P>
    <P>Is the workgroup owner Aware of the addition to Workgroup : Yes</P>
    <P>Workgroup to be added :</P>
    <P>L2 SD Service Delivery Apps Spt</P>
    <P> </P>
    <P> </P>
    <P> </P>
    <P> </P>
    <P> </P>
    ------=_NextPart_000_12C25_01C6B64F.09226B00--
    The Same message is in text as well as HTML so not sure how to read it .
    currently my program is as follows
    for (int i = 0; i < found.length; i++) {
    Message m = found;
    // Get some headers
    Date date = m.getSentDate();
    Address [] from = m.getFrom();
    String subj = m.getSubject();
    String mimeType = m.getContentType();
    System.out.println(date + "\t" + from[0] + "\t" +
    subj + "\t" + mimeType);
    Object o = m.getContent();
    if (o instanceof String) {
    System.out.println("**This is a String Message**");
    System.out.println((String)o);
    } else if (o instanceof Multipart) {
    System.out.print("**This is a Multipart Message. ");
    Multipart mp = (Multipart)o;
    int count3 = mp.getCount();
    System.out.println("It has " + count3 +
    " BodyParts in it**");
    for (int j = 0; j < count3; j++) {
    // Part are numbered starting at 0
    BodyPart b = mp.getBodyPart(j);
    String mimeType2 = b.getContentType();
    System.out.println( "BodyPart " + (j + 1) +
    " is of MimeType " + mimeType);
    Object o2 = b.getContent();
    if (o2 instanceof String) {
    System.out.println("**This is a String BodyPart**");
    System.out.println((String)o2);
    } else if (o2 instanceof Multipart) {
    System.out.print(
    "**This BodyPart is a nested Multipart. ");
    Multipart mp2 = (Multipart)o2;
    int count2 = mp2.getCount();
    System.out.println("It has " + count2 +
    "further BodyParts in it**");
    } else if (o2 instanceof InputStream) {
    System.out.println(
    "**This is an InputStream BodyPart**");
    } //End of for
    } else if (o instanceof InputStream) {
    System.out.println("***********************************This is an InputStream message**");
    InputStream is = (InputStream)o;
    /* if(m.getContentType().equalsIgnoreCase("multipart/alternative")) {
    MimeMultipart mp = new MimeMultipart();
    // Assumes character content (not binary images)
    } else {*/
    BufferedReader reader
    =new BufferedReader(new InputStreamReader(is));
    String thisLine=reader.readLine();
    while (thisLine!=null) {
    System.out.println(thisLine);
    thisLine=reader.readLine();
    So when the Content TYpe is multipart/alternative it goes into InputStream message .
    any help and ideas to handel such situations ?
    Thanks
    San
    Message was edited by:
    sanrosh_95

    Try reposting that with tags (replace the {'s with ['s).
    Long story short, I think the FAQ and examples would go a long way towards explaining this, but you basically can check the content type, or check if the content contains parts, and parse each part separately.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to read the message body in a mail

    how can we read the message body of a mail. i am using pop3 server for reading the mails. my program is
    public class GetMessageExample {
    public static void main (String args[]) throws Exception {
    String host = args[0];
    String username = args[1];
    String password = args[2];
    Properties props = new Properties();
    Session session = Session.getInstance(props, null);
    Store store = session.getStore("pop3");
    store.connect(host, username, password);
    Folder folder = store.getFolder("INBOX");
    folder.open(Folder.READ_ONLY);
    BufferedReader reader = new BufferedReader (
    new InputStreamReader(System.in));
    Message message[] = folder.getMessages();
    for (int i=0, n=message.length; i<n; i++) {
    System.out.println(i + ": " + message.getFrom()[0]
    + "\t" + message[i].getSubject());
    System.out.println(
    "Do you want to read message? [YES to read/QUIT to end]");
    String line = reader.readLine();
    if ("YES".equals(line)) {
    message[i].writeTo(System.out);
    } else if ("QUIT".equals(line)) {
    break;
    folder.close(false);
    store.close();
    i am getting the following exception
    Exception in thread "main" java.lang.NoSuchFieldError: contentStream
    at com.sun.mail.pop3.POP3Message.getContentStream(POP3Message.java:115)
    at javax.mail.internet.MimePartDataSource.getInputStream(MimePartDataSou
    rce.java:61)
    at com.sun.mail.handlers.text_plain.getContent(text_plain.java:65)
    at javax.activation.DataSourceDataContentHandler.getContent(DataHandler.
    java:755)
    at javax.activation.DataHandler.getContent(DataHandler.java:511)
    at javax.mail.internet.MimeMessage.getContent(MimeMessage.java:1072)

    The Part interface that the Message class implements describes 3 ways for getting the content of a message. To use an Input Stream, you can call the getInputStream() method on the message itself, rather than System.in.
    Hope this helps!

  • How to retrive archived messages in sxmb_moni

    Hi,
    My client  want to see specific date archive messages, how to see those messages in SXMB_MONI window.  Let me know any standard program and procedure.  I am using PI 7.0 version SP19.

    Follow the below to activate your infostructure,then you should be able to see archived messages.
    1. start SXMB_ADM
    2. choose Schedule archiving jobs
    3. click "Archive management"
    4. click "Information System"
    5. click "Customizing"
    6. choose "Archive Infostructure" for Object "BC_XMB" and activate it by clicking on "Activate" button.
    7. go back and click on "Status".
    8. click on "Status per Infostructure"
    9. select your object "SAP_BC_XMB" and click "Fill Structures"
    10. run it as a background task
    Thanks
    Aamir

  • How to read mq message through jms

    Hi
    can anyone tell me how we can read an mq message through jms transport or by using jms adapter.
    Thanks in advance.

    A JMS program will be written typically to lookup administered objects ( namely connection factory and destination) from a jndi tree and use these to connect to the jms provider and read/write message to the destination. So administrators of the JMS provider usually create these objects and bind it to a jndi , which then can be used by the jms applications by doing a lookup from the jndi tree.
    Websphere MQ is a messaging provider which provides a native MQ API in many languages including Java for applications to talk to it. This is a IBM proprietary API and is not same as JMS. Later when JMS became more interoperable and the standard for java based messaging applications, IBM introduces the MQ JMS API which is a wrapper around the native MQ API, so that now java clients can talk to MQ using the JMS API. Since jms applications need to lookup the administered objects, IBM came up with the utility called JMSAdmin which allows MQJMS administers to create and bind JMS administered objects. The utility is flexible that it allows the objects to be binded to different type of JNDI trees - file based, ldap based etc. But the most widely used and robust one is the file based.
    So as part of configuration the first thing is to create the queue and queue manager objects by the MQ Administrator.
    A MQ JMS administrator will then create the JMS wrapper objects using the JMSAdmin utility and bind it to the file based jndi tree ( a file called .bindings)
    Now we need the application running in weblogic server ( the JMS Adapter ) to lookup these objects from the file based jndi tree. So for this we create a foreign jms server. A foreign jms server allows to create local jndi links (in weblogic's server jndi tree) for objects in a remote jndi provider (the .bindings file).
    Finally the application will look up the local jndi name from the local jndi which will automatically resolve to the remote provider and use it.
    The steps in the IBM developer work link folliows this sequence.
    Hope this helps.

  • How to read XML message present in Table using PL/SQL?

    Hi,
    How to read XML content present in Table using PL/SQL .And is it possible to parse the xml uisng xslt and insert xml output in same table again ?
    Thanks!

    Late reply, but hopefully better late than never.
    You can possibly do it all via a single SQL statement, such as {message:id=4232077}
    XMLTable Syntax can be found at http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/functions228.htm#CIHGGHFB (for 10.2 users) else find your correct version at http://www.oracle.com/technology/documentation/index.html

  • How to view archived messages in XI

    Hi All
    we have recently done some settings in integration engine level to archive messages older than 3 months. it works fine.. However, as per current requirement, we need to analyze message ran approx 4 months ago. Is there a way to see archived messages? If so, can any one guide me ?
    Thanks in advance.

    Open sxmb_moni and there you will find archive option too.
    Regards,
    Prateek

  • Removed account inadvertently, how to recover archived messages?

    I needed to rebuild my account. I didn't realize that if I removed the account that everything would be removed also. I found the .wab files. Are the archived messages stored somewhere on the hard drive? If so, what is the file extension? Thank you for your help'

    See if this helps.
    http://kb.mozillazine.org/Thunderbird_:_FAQs_:_Recover_Deleted_Account

  • How to read CSS message data

    Hi,
    I have a requirement here. When working as a Dev angel for multiple customers its really difficult to manage the message inflow and status with accuracy. Hence i am planning to develop an application which can retrive(only reading) the data from CSS and interpret the same to quickly arrive at decisons for the message. As a first set i need to read the message data from CSS. Are there any APIs available for the same. I guess SAP developer dashboard has some what similar functionality but with very limited scope. May be if somebody can comment on the technology/machanism behind pulling the data into dashboard?
    Any comments here?
    Regards,
    Paul

    http://gizmodo.com/5070368/caps-lock-trainer-key-painfully-punishes-poor-netiquette
    Also, there is no native way to display a PDF in flash. You will need to use a utility that converts it. SWFTools has one that works pretty well.

  • Would like to know how to read SOAP Messages from SOAP Client

    Hello,
    I am new to Webservices. Here is what I want to do.
    I need to develop a Web Service provider application.
    Here are the tools I am using to develop this application.
    a) WSAD 5.1.2
    b) Axis 1.0 built within WebSphere.
    I do have a WSDL file and I generated the code by using WSAD ==>WebService ==> Generate Java bean skeleton option. I want to know, how I can read the SOAP request message from the generated code and to add new SOAP header element.
    Any help you can provide would be greatly appreciated.

    Depending on the version of WebSphere you are using, there should be a menu option to create a dynamic web project. This will set up the basic structure of the application for you. Also, right-click on the newly created web application and there should be a context menu something like Web Services -> Deploy Web Service. This will do some more under-the-covers work for you.
    The webservices.xml deployment descriptor is only created when you generate your Java interfaces and helper classes. For example, if you are starting with a WSDL, you would right-click on the document, select Web Services -> Generate Java Bean Skeleton, and then follow the couple of dialog boxes afterwards. The webservices.xml document will then be created under the WEB-INF directory.
    I�d be wary of introducing any external web service software into a WebSphere environment. On my last project we ran into a few tricky SOAP API conflicts so we decided to stick with pure IBM implementations wherever possible. That said, this is some sample code that I've recycled from the Monson-Haefel book I've mentioned before:
    package sandbox;
    import javax.xml.namespace.QName;
    import javax.xml.rpc.handler.MessageContext;
    import javax.xml.rpc.handler.soap.SOAPMessageContext;
    import javax.xml.soap.*;
    public class MessageHandlerID extends javax.xml.rpc.handler.GenericHandler{
      QName [] headerNames = null;
      public QName [] getHeaders(){
        if(headerNames == null){
          QName myHeader = new QName("http://speck.net.au/message-id", "message-id");
          headerNames = new QName[] { myHeader };
        return headerNames;
      public boolean handleRequest(MessageContext context){
        String messageID = new java.rmi.dgc.VMID().toString();
        try{
          SOAPMessageContext soapCntxt = (SOAPMessageContext)context;
          SOAPMessage message = soapCntxt.getMessage();
          SOAPHeader header = message.getSOAPPart().getEnvelope().getHeader();
          Name blockName = SOAPFactory.newInstance().createName("message-id","mi","http://speck.net.au/message-id");
          SOAPHeaderElement headerBlock = header.addHeaderElement(blockName);
          headerBlock.setActor("http://speck.net.au/message-id/logger");
          headerBlock.addTextNode( messageID );
          return true;
        } catch(javax.xml.soap.SOAPException se){
              throw new javax.xml.rpc.JAXRPCException(se);
    }It doesn't do much but might give you some ideas.
    You may have already come across this, but I found the following RedBook invaluable:
    Wahli, U., Garcia, G. O., Cocasse, S. and Muetschard, M. (2004). WebSphere Version 5.1 Application Developer 5.1.1 Web Services Handbook. IBM.

  • How to read JMS message properties from BPEL or BPMN process

    Hi all,
    I have a JMS Adapter that consumes messages from a remote ActiveMQ queue and I don't find the way the get the properties of the JMS message as I would like to map them in BPEL or BPMN process variable. I only manage to get the content of the message.
    I've also read that if using a MapMessage, one of the map entry can be mapped directly and that the other map entries go to jca.jms.Map.xxxx where xxxx is key of the map entry.
    But how can I map those "jca.jms.Map.xxxx" properties on process variables ? and how to map JMS Properties (that seem to be mapped on jca.jms.JMSProperty.xxxx) to process variables ?
    I use SOA Suite version : 11.1.1.4.0
    Thanks for your help

    SOA Suite 11g - how to set/get JMS headers ?

  • How to read Archive.msf and .sbd files stored on backup media without restoring to current profile?

    I have stored extensive Archived e-mail files on back-up media in order to release hard disk memory. How can I read selected Archive.sbd and Archive.msf files without restoring them to the current profile? Can I create a new profile and restore them there temporarily?

    follow this link:
    https://addons.mozilla.org/en-US/thunderbird/addon/importexporttools/

  • How to read ARCHIVE LOGS.

    Is there any easier way to read 9i archive logs. I know the logminer has this capability. But it is very complicated. Is there any other way, if not can some basic steps how to use logminer.
    Thanks

    Hi,
    Here you have some links that will help you!
    Please take a look on the following links:
    - [Using LogMiner to Analyze Redo Logs|http://download.oracle.com/docs/cd/B10500_01/server.920/a96521/logminer.htm]
    - [Mining for Clues  - By Arup Nanda|http://www.oracle.com/technology/oramag/oracle/05-jul/o45dba.html]
    - [Steps and examples to use logminer for Remote mining |http://arjudba.blogspot.com/2008/08/steps-and-examples-to-use-logminer-for.html]
    Cheers,
    Francisco Munoz Alvarez
    http://www.oraclenz.com

Maybe you are looking for