E-mail Receiving

Hi all,
   is there any procedure of receving e-mails from outside SAP system to the SAP system , including the attachment.
    or is there any option on e-mail client to connect to SAP to do the above step.
Thanks in Advance
Kishore Kumar Yerra.

hi
good
Sending Email to a non-SAP system:
Though SAP mail is a very robust method of interacting with users within SAP system, it is always good to receive email in Microsoft inbox. This also works like an additional notification to users in case they do not check SAP mail regularly.
Sending an email to the Microsoft Inbox is a way of interacting with a non SAP system through ABAP code and hence is very interesting. A fair knowledge of UNIX shell scripting is assumed here.
The ABAP code to send an email to Microsoft inbox revolves around following UNIX script
Echo "From:" "<"$1">" > <unix file path name>
Echo "To:" "<"$2">" >> <unix file path name>
Echo "Subject:" "<"$3">" >> <unix file path name>
Cat $4 >> <unix file path name>
Uuencode $5 $6 >> <unix file path name>
Cat <unix file path name> | /usr/sbin/sendmail –f $fraddr $toaddr
(Note : the commands in the above script can be case sensitive. Check the actual case on the unix installation in question)
Let us understand the various parts of the above script.
$1 = Sender email address
$2 = Recipient email address
$3 = Subject of the email
$4 = Path of unix server file having email body
Form email body as an internal table in ABAP program, download it to a unix server file
$5 = Path of unix server file to be sent as email attachment
$6 = Name to be given to the attachment (like test1.doc, test1.xls). The corresponding Microsoft icon
will be shown in the email for the type of file attached ( Word document, excel document etc)
The script builds a temporary file and pipes the file to the sendmail command to achieve the mission.
This script can be invoked from SAP to send the mail to the intended recipient. Store this small script on the unix server. (Assume script name is sndmail )
To do this we should define a link in the SAP system between a customized command and this unix script.
The FM to define a customized command in SAP system has the following pattern.
call function 'SXPG_CALL_SYSTEM'
exporting
commandname =
PARAMETERS = ' '
importing
status =
tables
exec_protocol =
exceptions
no_permission = 1
command_not_found = 2
parameters_too_long = 3
security_risk = 4
wrong_check_call_interface = 5
program_start_error = 6
program_termination_error = 7
x_error = 8
parameter_expected = 9
too_many_parameters = 10
illegal_command = 11
others = 12.
GO THROUGH THIS LINK
http://www.thespot4sap.com/Articles/SAP_Mail_SO_Object_Send.asp
THANKS
MRUTYUN

Similar Messages

  • Error while sending excel sheet as attachment to Mail Receiver

    Hi everyone,
    I am facing the below error when I am trying to send data to Mail receiver adapter. The attachment is excel sheet.
    Delivery of the message to the application using connection Mail_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Object not found in lookup of MessageTransformBean.: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of MessageTransformBean..
    I don't understand where the problem is. This has been running since long time and last month we have changed our web dispatcher details. I hope everything is fine. But not sure the root cause for this issue.
    Please help me in resolving this.
    Thank you.
    Regards
    Bhanu T.

    Check if this helps: MessageTransformBean module
    Confirm that you have configured the MessagetransformationBean properly.
    Are you trying to convert some payload into Excel and send it as an attachment in the Mail CC? If yes, then I hope that you have included the correct Content_type value.
    Check this for more info on Content_type: /people/community.user/blog/2006/09/08/email-report-as-attachment-excelword
    Regards,
    Abhishek.

  • New mails received after IOS 5.0.1 update do not show graphics but instead unviewable file name and an attachment winmail.dat

    I sent out a mail, composed by outlook 2007 in HTML format this afternoon which contained graphics, to several of my friends and copied myself.  All of them had duly received the mail and were able to see the graphics in the mail in their iphones or ipads.  However, the copy that was extended to myself had only the unviewable graphic filename and also an attachment winmail.dat(which cannot be opened) from both my iphone and ipad (both updated with IOS 5.0.1).  Prior to this update, I had no problem of seeing graphics or photos in the mails received in both my ipad or iphone.  I ran couple of test mails and they all ended up the same.
    Any ideas??

    Turned out, it's the Microsoft SP3 update that caused the problem.

  • Mail Receiver Error:  java.lang.IllegalArgumentException: can't parse argum

    Hi everybody,
    I get the error in mail receiver CC:
    java.lang.IllegalArgumentException: can't parse argument number
    My Payload looks like this:
    <?xml version="1.0" encoding="utf-8" ?>
    - <ns1:Mail xmlns:ns1="http://sap.com/xi/XI/Mail/30">
      <Subject>The subject</Subject>
      <From>mailadress</From>
      <To>mailadress</To>
      <Content_Type>multipart/mixed; boundary="AaBb--984dfgeSSd3532"</Content_Type>
    - <Content_Description>
      <attachment filename="Filename.txt">content_of_attachment</attachment>
      </Content_Description>
      <Content_Disposition>attachment</Content_Disposition>
      <Content>Constant</Content>
      </ns1:Mail>
    Any ideas?
    Regards
    Mario

    Hi Mario..
    Go thru this thread for it.
    Error Catagory : XI_J2EE_ADAPTER_MAIL
    Regards

  • Query on Mail Receiver Adapter

    Hello Experts,
    I am using Asyn Proxy to Mail Scenario.
    Mail receiver adapter generating the Mail with Excel file attachment by using the following details.
    R3 coding (Proxy calling code):-
          G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-FROM = From Mail ID.
          G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-TO = To Mail ID
          G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-SUBJECT = 'Alert Mail'.
          G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-DATE = SY-DATUM.
          G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-CONTENT_TYPE = 'application/vnd.ms-excel;name="filename.CSV"'.
          G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-CONTENT = 'Field1,Field2,Field3'.
          G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-CONTENT_DISPOSITION = 'attachment'.
    ID COnfiguration:-
        -->Selected the Use Mail Package & Content Encoding = base64
        -->Selected the Keep Attachment option.
    I have two questions as mentioned below.
    (1)Can i generate the Mail BODY and Excel file attachment both together in a single mail?
    (2)With this same IR & ID Objects can i generate only Mail body without any attachment (i.e.
    by changing the Content_Type in R/3 coding) ?
    Please suggest.
    Thanks & Regards
    Jagesh

    Hi Michal,
    Thanks for ur reply.
    I referred your Blog /people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments for genreating the
    Mail With attachment and Content together.
    but when I select the option KEEP ATTACHMENT in the Mail Receiver Adapter and sending only the Content data without any attachment coding as shown in this Blog then also i am getitng attachment(.txt) file and no mail content. In this case i have used the following R/3 coding.
    G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-FROM = From Mail ID.
          G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-TO = To Mail ID.
          G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-SUBJECT = 'subject'.
          G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-DATE = SY-DATUM.
          G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-CONTENT = 'How are u? This is Mail Content'.
    Calling the Proxy method.
    Important:- with this same coding if i deselct the KEEP ATTACHMENT option in ID then i am geeting
    Mail Content properly.
    So i think i have to use different communication chaneel one for the Excel file attachment and second for the Mail content.
    Please suggest me if i am wrong.
    Regards,
    Jagesh

  • Send XML File as attachement in Mail Receiver adapter

    Hi all,
    i have the following scenario. i would like to read an XML file from the file system and send this file as an attachement of a mail to a mail receiver specified in this file.
    i would like to fill the payload of the mail with some information from the xml file and in addition i would like to send the complete xml file as an mail attachement.
    can anybody tell me, how the mail receiver adater needs to be specified ?
    best regards,
    martin

    Hey,
    you can go for dynamic configuration of mail adapter.
    In this you need to import a mail structure.
    mail details such as to, from, subject and content of the mail are a part of the structure.
    In your ID check the Use Mail package and also keep attachments.
    Now you can give your details in mapping itself.
    whatever you want to map in the content of the mail, map it in the content field.
    also your file will behave as an attachment.
    refer to this blog.
    this is the mail structure. Import it as extenal definitions.
    <?xml version="1.0" encoding="utf-8" ?>
    <!--
    SAP takes no position regarding the validity or scope of any intellectual property or
    other rights that might be claimed to pertain to the implementation or use of the
    technology described in this document or the extent to which any license under such
    rights might or might not be available; neither does it represent that it has made any
    effort to identify any such rights.
    Copyright © SAP 2003-2004. All Rights Reserved.
    This document and translations of it may be copied and furnished to others, and derivative
    works that comment on or otherwise explain it or assist in its implementation may be
    prepared, copied, published and distributed, in whole or in part, without restriction of
    any kind, provided that the above copyright notice and this paragraph are included on all
    such copies and derivative works. However, this document itself does not be modified in
    any way, such as by removing the copyright notice or references to SAP.
    This document and the information contained herein is provided on an u201CAS ISu201D
    basis and SAP DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
    ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY
    IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
    -->
    <xs:schema targetNamespace="http://sap.com/xi/XI/Mail/30"
      xmlns:xi="http://sap.com/xi/XI/Mail/30"
      xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <!--
    Mail
      -->
      <xs:element name="Mail">
        <xs:annotation>
          <xs:documentation>Mail package for XI - Mail Adapter</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Subject" type="xs:string" minOccurs="0"/>
            <xs:element name="From" type="xs:string" minOccurs="0"/>
            <xs:element name="To" type="xs:string" minOccurs="0"/>
            <xs:element name="Reply_To" type="xs:string" minOccurs="0"/>
            <xs:element name="Content_Type" type="xs:string" minOccurs="0"/>
            <xs:element name="Date" type="xs:dateTime" minOccurs="0"/>
            <xs:element name="Message_ID" type="xs:string" minOccurs="0"/>
            <xs:element name="X_Mailer" type="xs:string" minOccurs="0"/>
            <xs:element name="Content" minOccurs="0">
              <xs:annotation>
                <xs:documentation>any type</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
          <xs:attribute name="encoding" type="xs:string"/>
        </xs:complexType>
      </xs:element>
      <xs:element name="MailReceipt">
        <xs:annotation>
          <xs:documentation>Mail Receipt for XI - Mail Adaper</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Server" type="xs:string"/>
            <xs:element name="Format" type="xs:string"/>
            <xs:element name="UseMailPackage" type="xs:boolean"/>
            <xs:element name="Encoding" type="xs:string"/>
            <xs:element name="Subject" type="xs:string" minOccurs="0"/>
            <xs:element name="From" type="xs:dateTime" minOccurs="0"/>
            <xs:element name="To" type="xs:string" minOccurs="0"/>
            <xs:element name="Date" type="xs:dateTime" minOccurs="0"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:schema>
    regards,
    milan

  • Extra header lines appearing in payload after singning and encrypting in Mail Receiver adapter PI 7.31

    Hi,
    We have a mail receiver adapter which is sending out a edi payload as attachment to the external receiver.
    When we send the normal .edi file it is ok.
    But when we sign and encrypt the payload and send it out, the external customer receiver decrypts and validates the message successfully but when their application tries to read the edi payload it finds the extra header lines as below :
      content-id:
    <[email protected]>
    Content-Disposition: attachment; filename=xxxxxxxx.edi Content-Type:
    application/xml
    At their end, their application (DataPower) expects the first three characters of the payload
    (decrypted payload) to be either UNA or UNB.This is how it validates whether the incoming message is an EDI message.
    But it encounters the extra MIME headers in the payload.
    Therefore it gets rejected by DataPower which thinks the content is an
    unknown message type.
    How to suppress the header lines appearing in the payload(after decryption and validation).
    Thanks,
    Guest

    hi,
    try content-type as "text/xml"

  • How to attach Excel file in Mail Receiver Adapter?

    Hello Experts,
    In R/3 coding I have Internal Table data available for which i have to generate an Alert mail with Excel file attachment.
    This is the scenario of Proxy sender to Mail Receiver. but I don't know how to convert the Internal Table data into Alert mail excel File attachment.
    Please suggest me.
    Regards,
    Jagesh

    Hi Santhosh,
    Thanks for your suggestion.
    But without using XSLT mapping also, I have generated the Excel File attachment.
    Throgh R/3 coding I am passing following.
    G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-FROM = From Mail Address.
          G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-TO = TO Mail Address.
          G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-SUBJECT = 'Test Alert mail'.
          G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-DATE = SY-DATUM.
          G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-CONTENT_TYPE =   'text/plain;name="CSV_data.csv"'.
          G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-CONTENT = 'Testing1,Testing2,Testing3'.
          G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-CONTENT_DISPOSITION = 'attachment'.
    And in the Mail Receiver Adapter i have configured as following.
    Use Mail package and Keep Attachment both options are selectd.
    So I am getting the data in different columns in the excel file But How to set the Next ROW in Excel file?
    I thnk i am missing something in CONTENT value.
    Regards
    Jagesh

  • Mail receiver adapter: THeaderREPLY-TO not working on ASMA

    Hello people,
    (note: all the @ where changed by " at " because of limitations of SDN)
    I'm trying to set some adapter specific message attributes (ASMA) in a mail receiver adapter.
    Two properties I'm trying to set: THeaderFROM e THeaderREPLY-TO.
    The first one is working great, the second one does not work.
    My scenario is Soap to Mail. I send a soap message, in the message mapping a user defined function get the mail address (to and reply-to) and set it with DinamicConfiguration like this (hard coded to be simple):
    DynamicConfiguration conf = (DynamicConfiguration)container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/Mail", "THeaderREPLY-TO");
    conf.put(key, "reply.to at teste.com";);
    DynamicConfigurationKey from = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/Mail", "THeaderFROM");
    conf.put(from, "from at teste.com";);
    As in the documentation, it should work. But the mail message reaches the mailbox with mime header Return-Path = from at teste.com.
    Reading all the notes related to mail adapter (and adapter module processing) I found the tool TCPGateway to monitor what is going from adapter engine to the mail server. So I changed a little the scenario to test it and now the scenario is Soap->TCPGateway->MailServer. In the TCPGateway I got this:
    EHLO brjgs916.weg.net
    MAIL FROM:<from at teste.com>;
    RCPT TO:<roberti at mycompany.net>;
    DATA
    Date: Thu, 5 May 2011 19:55:17 -0000
    Subject: mail - teste
    To: roberti at mycompany.net
    From: from at teste.com
    MIME-Version: 1.0
    content-id: payload-98c5c8b0775111e090110018714e4a28 at sap.com
    Content-Type: text/xml;charset=utf-8
    Content-Disposition: attachment;filename="Untitled.xml";
    Content-Transfer-Encoding: binary
    <?xml version="1.0"; encoding="UTF-8"?>
    <ns0:MTP_SAMPLE_MAIL_MESSAGE xmlns:ns0="http://soa.weg.net/sampleMail"><Title>titulo</Title><Body>body a ser preenchido</Body><Footer>footer tambem</Footer></ns0:MTP_SAMPLE_MAIL_MESSAGE>.
    QUIT
    With this information, I found that something is not right in the mail adapter, because it is not writing the relevant reply-to attributes to the mail message.
    Some of you has any idea about it?
    Thank you in advance.
    waldemar roberti
    Edited by: Waldemar Roberti on May 5, 2011 5:02 PM

    Satish,
    Actually (for testing purposes) I have the email roberti at mycompany.com set in all fields of receiver mail adapter mail attributes (from, to, cc and bcc). I turned all of them on and of and analysed the result. It seems that the information whe put on ASMA overloads the information on these mail attributes. But, in mail attributes, we don't have a field for REPLY-TO, just on ASMA we have this field.
    So... the problem is in REPLY-TO. It has not been set in mail adapter, even if I set it with dinamic configuration.
    thank you.
    Waldemar Roberti

  • Mail Receiver Adapter - Flat File as Attachment

    Hello,
    I would like to send a flat file as attachment using an E-Mail receiver communication channel.
    The flatfile is picked up beforehand using a file sender channel, so there is only routing necessary in PI.
    Is it possible to send the flatfile as attachment by checking the option "XIPAYLOAD" or would this result in an error?
    The scenario is quite simple and I am looking for the fastest and easiest way to implement it.
    Thank you very much.

    Hey
    You can follow as given in the below blog
    https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken]
    Thanks
    Aamir

  • I want to have Mail list Received e-mails chronologically without attaching new e-mails received to older e-mails from the same recipient.  Is their a Preferences setting or a toggle to set this?

    I want to have Mail list Received e-mails chronologically without attaching new e-mails received to older e-mails from the same recipient/with the same title.  Is there a Preferences setting or a toggle to set this?

    View menu.
    Uncheck "Organize by Conversation."
    Regards,
    Barry
    BTW: Mail is part of the bundled "System software" and is discussed in the community for your version of OS X:
    Mac OS X v10.7 Lion
    The link will take you there.
    Edit: I see someone has requested a transfer, and this conversation is now in the correct space.
    Barry

  • Error in Mail Receiver Adapter

    Hi Everyone,
        I have been doing Mail Receiver Adapter Scenario.I am getting this error in Adapter Monitoring in Runtime Workbench.
    <b>not initialized: failed to initialize the channel: com.sap.aii.messaging.util.URI$MalformedURIException: no scheme</b>
    I would appreciate if anyone would provide a solution for this issue.
    Thanks & Regards,
    Varun Reddy.K

    Hi Jai Shankar, Thanks for your reply.
         This is the XML source code generated after doing Mapping.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:SourceMT_mail27 xmlns:ns0="http://isg.com/xi/training/MailReceiver27">
       <Subject>This is only a test mail</Subject>
       <From>[email protected]</From>
       <To>[email protected]</To>
       <Content>hi sudhir, How are you doing?</Content>
    </ns0:SourceMT_mail27>
    Regards,
    Varun Reddy.K

  • Mail Receiver Adapter - Error

    Hi All,
    I am creating a scenario in my test environment Http -- > XI ---> Mail. The http client sending messages to XI successfully. I want to send messages to my gmail account. For that in the receiver communication channel the following items are configured.
    I have only one message type with name and id as elements for both inbound and outbound message types.
    Adapter Type: Mail, Receiver
    Mail Server URL: smtp://smtp:google.com
    Configure User Authentication is checked in
    Authentication Method: Plain
    User: xxxxxx
    password:xxxxx
    From: [email protected]
    to: [email protected]
    subject: test subject
    When I send a message from http client to XI, getting the below error.
    <SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code>.
    Please help me to resolve the above issue/error.
    Thanks,
    Reddy P

    hi,
    1. create your directory configuration using directory wizard
    and you'll be sure that everything will be ok
    2. make sure you use outbound asynchronous message interface (for mail)
    3. make sure you check quality of service to Exacly once 
    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>

  • Mail receiver adapter: attachment adds 3 empy lines

    Hi,
    i use the mail receiver adapter with "mail package" for setting dynamic attachment names.
    The attachment always gets 3 "cr/lf" lines at the end? Why and how can i stop that?
    System: xi3.0sp15build0
    Message was edited by:
            Bernhard Josef Neuhauser

    HI,
    Please read above link for PayloadSwapBean.
    You use the PayloadSwapBean module to replace the application payload of the XI message that contains the business data with another payload that is appended to the XI message as an attachment
    Also see the links below.. how to use PayloadSwapBean.
    HOW - PayloadSwapBean - adding attachments to the message? :-)
    Mailadapter, receive mails from mailserver: attachment?
    Work with attachments
    Sender Mail Adapter - html body mail
    Multi Attachments with ZIP or Mail Adapter (Outbound)
    Regards
    Chilla..

  • Receive a mail with attachment and send it as it is via Mail-receiver

    Hi,
    we have PI/7.0
    I have a scenario with a mail-sender.
    I get mails with attachments and depending on the subject I have to send some mails to an other mail-address via mail-receiver-adapter.
    My problem is, that I have to send it "as it was" - with all attachments (and the correct attachment names) and the original mail-body.
    I tried to check the checkbox "keep attachments": I got all attachments but the original mail-body was now an extra attachment (with the extension .xml).
    I don't wanna have this new attachment!
    What can I do?
    Thanx a lot!
    Regards
    Wolfgang

    Hi,
    I think quite simple
    message protocol: xipayload
    Use Mail package: NO
    Keep Attachments: YES
    Content encoding: <nothing>
    No extra modul
    I entered all address-informations (from, to,...) in the fields displayed after the checkbox for "use mail package".
    that's all.
    regards
    Wolfgang

  • Mail receiver adapter - line feed problem

    Hi!
    I am just configuring a mail receiver adapter. In the module tab i configured a conversion from XML to plain which works well. The plain text file is created but there are no line feeds after the plain text lines.
    The configuration in the module tab looks like this:
    Modulename: localejbs/AF_Modules/MessageTransformBean
    Type: Local Enterprise Bean
    Module key: XML2Plain
    <u>Module configuration:</u>
    XML2Plain - Transform.Class - com.sap.aii.messaging.adapter.Conversion
    XML2Plain - Tansform.ContentType - text/plain;charset=utf-8
    XML2Plain - xml.conversionType - SimpleXML2Plain
    XML2Plain - xml.addHeaderLine - 0
    XML2Plain - xml.fieldFixedLengths - 80,80,80,80,80,80
    XML2Plain - xml.fixedLengthTooShortHandling - Cut
    Can anybody please help me?
    Thanks in advance
    Chris

    Hi Stefan!
    Thanks for your reply! Your suggestions would be perfect if I already had any kind of line break, eg. lf or crlf. At the moment there is no separator at the end of each line.
    <u>The XML file looks like this:</u>
    <b>  <?xml version="1.0" encoding="UTF-8" ?>
      <ns:X_ANSI_TXT xmlns:ns="urn:customer.com:edi:kunden">
      <MSG>
      <LINE_01>*** START OF REPORT ***</LINE_01>
      <LINE_02>PO CHANGE REQUEST</LINE_02>
      <LINE_03>DATE: 10/05/05 TIME: 0744</LINE_03>
      <LINE_04 />
      <LINE_05>PO TYPE: CR: Change to Release</LINE_05>
      <LINE_06>PO #: DB65544027560070</LINE_06>
      <LINE_07>ORIGINAL PO DATE: 02/03/93</LINE_07>
      <LINE_08>PO CHANGE REQUEST DATE: 10/05/05</LINE_08>
      <LINE_09>SHPMT PMT METHOD: CC: COLLECT</LINE_09>
      <LINE_10>FOB POINT: OR:ORIGIN (SHIPPNG PT)</LINE_10>
      <LINE_11>FOB DESCRIPTION: ORIGIN (SHIPPNG PT)</LINE_11>
      <LINE_12>*** END OF REPORT *** </LINE_50>
      <LINE_13 />
      </MSG></b>
    <u>After conversion the output looks like this:</u>
    <b>*** START OF REPORT ***          PO CHANGE REQUEST          DATE: 10/05/05 TIME: 0744                    PO TYPE: CR: Change to Release          PO #: DB65544027560070          ORIGINAL PO DATE: 02/03/93          PO CHANGE REQUEST DATE: 10/05/05          SHPMT PMT METHOD: CC: COLLECT          FOB POINT: OR:ORIGIN (SHIPPNG PT)          FOB DESCRIPTION: ORIGIN (SHIPPNG PT)          *** END OF REPORT ***</b>
    <u>I would like to create a more readable format like this:</u>
    <b>*** START OF REPORT ***
    PO CHANGE REQUEST
    DATE: 10/05/05 TIME: 0744
    PO TYPE: CR: Change to Release
    PO #: DB65544027560070
    ORIGINAL PO DATE: 02/03/93
    PO CHANGE REQUEST DATE: 10/05/05
    SHPMT PMT METHOD: CC: COLLECT
    FOB POINT: OR:ORIGIN (SHIPPNG PT)
    FOB DESCRIPTION: ORIGIN (SHIPPNG PT)
    END OF REPORT ***</b>
    Do I have to change the XML message or is there a chance to use a module entry?
    Kind regards
    Chris

Maybe you are looking for

  • How to delete duplicate entries in address book

    Is there an easy way to delete duplicate entries in Address Book?

  • 'Adobe Reader has stopped working' error message

    I've recently updated from Adobe Reader X to Adobe Reader XI using Adobe Cleaner and installer from the website. Whenever I open a pdf file or start the Reader the following error occurs and closes the program: 'Adobe Reader has stopped working'. Thi

  • My iPod touch won't go into recovery mode

    I have a first generation iPod touch, with a slightly broken home button (I have to press it really hard to work).I had just erased the memory off of it, and it had rebooted. As it starts up, it keeps getting stuck on a screen with an Apple logo, wth

  • Sound Output - Internal Speaker and Headphone Jack?

    I just installed my new iMac, which replaced my Mac Mini. I hook my Mac to my stereo via the headphone jack for playing iTunes. But most of the time I don't have the stereo on. is there a way to keep the headphone jack plugged in and still have audio

  • Error in T-Code: IM24 -Position ID is longer than the maximum allowed 24

    Dear All, I am trying to generate Investment Program from Org. Unit in T-Code IM24, but system throws error as below: Position ID is longer than the maximum allowed 24 characters Message no. AP240 I have created the Organization unit of my own like I