Email content with newline from R/3 using XI.

Hi all,
I am trying to send email from R/3 using XI mail adapter.
For content I am using a String in R/3 but the interpreter does not recognize the new line char \n embedded in the string.When the mail arrives it comes as a single line.
What is the right way to build the string so that line  break is maintained.
Thanks ,
Bikram

Hello Bikram,
i guess this a bit too late for you but for all the others having the same question:
I think it depends in which format you send the email but for my scenario it worked with a user-defined function where you have something like that:
String newline = System.getProperty("line.separator");
return ("Sentence one." + newline + "Sentence two.");
Hope that helps
Mathias

Similar Messages

  • Can't locate email content? All of a sudden my email content has disappeared from inside MacMail? The actual emails are coming through but I am unable to view them as the area is just left blank! Nothing has been done to have changed this?

    Can't locate email content? All of a sudden my email content has disappeared from inside MacMail? The actual emails are coming through but I am unable to view them in the content area! Nothing has been done to have changed this?

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Please take this step regardless of the results of Step 1.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2.

  • I have just dowloaded the icloud control panel on my PC and i am am able to see everything that has been pushed to icloud from my ipad. However i cannot see my email. i can send from the computer using icloud, but i do not see any mail that is being rec.

    i have just dowloaded the icloud control panel on my PC and i am am able to see everything that has been pushed to icloud from my ipad. However i cannot see my email. i can send from the computer using icloud, but i do not see any mail that is being received by my ipad, which is set up with my mail server. What haven't i checked lol?

    turn your ipad off by holding the sleep wake button for 5 seconds and slide to turn off then turn it back on and the apps should be finished and if the apps didnt finish just redownload them

  • How do I view iPhoto content with AppleTV from MacBook?

    How do I view iPhoto content (from within iPhoto) with AppleTV from a MacBook?

    I see.  I'm downloading now.  Will see where this gets me and update. Thank you very much.

  • How to Extract email subject with date from outlook?

    Hello,
    I am new to powershell and was wondering how i can extract the email subject with date for entire last month? i need to generate a report every month end and have to go through all the emails which can be very cumbersome at times. 
    Divyansh 
    Divyansh

     Ok i was able to find the commands but it only list email which are exactly 2 week old .. it does not list the recent items ..  
     Add-type -assembly "Microsoft.Office.Interop.Outlook" | out-null
     $olFolders = "Microsoft.Office.Interop.Outlook.olDefaultFolders" -as [type] 
     $outlook = new-object -comobject outlook.application
     $namespace = $outlook.GetNameSpace("MAPI")
     $folder = $namespace.getDefaultFolder($olFolders::olFolderSentMail)
     $folder.items  | where { $_.SentOn -gt [datetime]"3/1/2014" -AND $_.On -lt [datetime]"3/25/2014" }  | Select-Object -Property Subject, SentOn, Importance, SenderName
    Divyansh

  • Copying email content with AppleScript

    I'm hoping someone out there can tell me what's going on here...
    I'm trying to extract text from an email using an AppleScript.  The script is being called by a mail rule based on a particular sender.  The script I have cobbled together from a few online sources is:
    tell application "Finder" to set ptd to "Macintosh HD:Users:Rob:Documents:Rob Woods Art:Vitec:Tasks:" as string
    using terms from application "Mail"
              on perform mail action with messages theIncomingMessages for rule theRule
                        tell application "Mail"
                                  repeat with each_message in theIncomingMessages
                                            set theText to content of theIncomingMessages
                                            set theFile to ptd & "Task " & (theIncomingMessages's id as string)
                                            set theFileID to open for access file theFile with write permission
      write theText to theFileID
      close access theFileID
                                  end repeat
                        end tell
              end perform mail action with messages
    end using terms from
    What should happen is I get a text file at the location defined at 'ptd' called 'Task (id)'.  But I get nothing.  I know the rule is running OK as it also plays a sound only on that rule.
    I'm banging my head now!  I'm running Snow Leopard if it makes any difference.
    Thanks peeps.
    Rob

    In case it helps debug this, I've been messing around and with the message selected, if I apply rules from the menu, I get what I expected - a txt file with the content written out.  But it's only working because I have the message selected. 
    Does that ring any bells?
    Rob

  • How to modify Fileadapter filename with val from JMS msg using xsl?

    In my case I need to name the file based on information received in a JMS message.
    I would like to receive an xml document from a JMS queue, the document will contain content as well as the name of a file to be saved off. I found references to something similar in the BPEL and ESB documentation for the file adapter by using "ehdr:setOutboundHeader(" as a means to set the outbound header value but I cannot find the mechanics of how to accomplish getting that set with a value that is selected from an incoming message in XSL code.
    The examples shown indicate the creation of a pass through mechanism that would take a message from a request header and pass it along to the outbound header which is great but I need a snippet of code to get me through setting the outbound header with an element value that is sourced from the inbound message.
    I also found an incomplete reference in a "Oracle SOA Suite Enterprise Server Bus" powerpoint presentation that indicates JMS custom properties support for "Property[@name="Country"]/@value" but no details were provided to assist further.
    I would greatly appreciate any information you can provide.
    Thank You,
    John

    Ok I was able to get fileadapter filenames modified.
    First you cannot do this after a dbadapter query as that functionality seems to be broken. The best way to solve it for me was to simplify the problem, I started with placing the setoutbound header data after reading a simple file and ignoring the files content altogether. I do the set inside a match of the xslt using a constant value, again for simplicity. For the test just put in 'ateststring.txt' in the setoutbound header call, no need to select data from the document at this point; we will get to that. Now get that to work.
    Once you have that working take a value from the incoming document and select it into a variable named myvariable then replace the 'ateststring.txt' with $myvariable. So basically its a three step process for the final solution. Select the data of interest from the document into a variable. add a select statement to make the method call just after that. Make the method call inside the select statement and prepend the variable name with the $ symbol.
    So far I have only tested this file to file and file to ftp, I suspect that jmsadapter to file will work fine too. So the trick for me was to understand that if an incoming document is the result of a query that just wont do. My requirement was to take an input JMS request, use that to drive a query, take the data from the query and write it to a filename as defined in the JMS request. No matter what I did to set the frustrating fileadapter/ftpadapter filename in the header I was unable to do so. I used constant strings etc in every part of the document ( before select, inside select, outside select etc ). It wasnt until I went file to file that I was able to get this to work at all. And then not in the xslt header etc, it MUST be in an area of the document that resulted in a select match, which after review makes sense.
    To work around the query to file issue, I place the results of the data query into a temporary filename%SEQ%.tmp, along with the query results I add the real filename inside the document. I have a file listener that listens for the filename using wildcards filename*.tmp, it takes the file reads it in, pulls the permanent filename from the incoming document, and sets that filename in the header using the steps worked out above by selecting the filename into myvariable.
    You cannot ( to my knowlege ) store variables in ESB so I found I had to put them inside the documents to move the data around. When I am all done with the work through the routing service I strip out the variable data fields that I needed to carry along with the data.
    I hope this saves someone else a bit of frustration!
    John

  • Emailing Activities with attachments from SAP

    Our customer is on 88 PL 18 using MS Outlook 2010.  They are using Outlook integration. 
    They send out Activities from SAP throughout the day.  A few of the sales members notice when they have several attachments included in the Activities and sent it as an email from SAP they get an error of B02069, Failed to send E-mail via Microsoft Outlook.    The latest example was 4 attachments in a Activity.  It is not a size limit issue as the 4 attachments only totaled 2 mg yet the error noted above popped up. 
    Is there a limit on the number of attachments in Activities.  Could this be an issue with the B1_shr folder?   
    Tried this and no go, Re: Outlook message sending

    Hi,
    The size of 2mb might be matter here. Have you checked if you have any bigger size email message sent out without problem in regardless of number of attachments.
    Thanks,
    Gordon

  • Capture mail with Attachment from POP server using PL/SQL

    Hey guys,
    With the help of this forum and Billy I am able to capture the email from POP3 server and display it to the user. But my query is how can I get an Attachment from the email using PL/SQL's UTL-TCP method ? Right now it displays some encrypted code.
    Thanks.

    Hey guys,
    With the help of this forum and Billy I am able to capture the email from POP3 server and display it to the user. But my query is how can I get an Attachment from the email using PL/SQL's UTL-TCP method ? Right now it displays some encrypted code.
    Thanks.

  • Email Alert with data from payload SAP PI 7.0

    Hi,
    i have a requirement to send an email alert when a Purchase Order Transmission fails through PI. In the email i need to send PO number which had failed.
    Format is:
    Subject- PO # XXXXXXX failed to reach XXXTarget
    in the mail content i need to mention the error and why the error occurred.
    Please tell if this is possible in SAP PI 7.0 If yes then How?
    Regards,
    Ashwani

    Hi,
    If the message fails in in mapping, you can send the alert with PO number in the email. Steps would be following.
    Catch the execpetion
    Call RFC SALERT_CREATE  by passing required parameters
    You can also pass the PO number as one of the value which will can be used in you alert category
    PO number can be used as one of the Alert container
    But if the message fails in adapter engine you cannot send the PO number in the email. You can just send email with standard alert containers.

  • How to design universe with tables from two databases using a db link?

    I am building a universe (v3.1) that has tables from two different oracle db instances.  My dba created synonyms for me and there is a database link in place.  I don't know how to get this working in Designer.  I can see the views under my ID when I browse to insert a table, but there is no structure.  I think I have to create a new strategy.  I attempted to do that, but the directions aren't very clear to me, and it isn't working.  Any help or advice would be greatly appreciated.  Thanks!!

    i've been working with DB links much before, but this was since long time ago before i join the Business Intelligence field
    from my understanding that you Have link from DB1 to DB2
    and from your user in DB1 you can access tables and view from DB2
    if you are using your user to create a universe im not sure if you can use tables from DB2 or not
    and you dont see the tables of the link in the Universe
    but you can try to create a drived table selecting from any tables from DB2
    for example
    select id,name from user.table2@mylink
    check this way and give me your feedback
    good luck

  • HT1296 How to sync Notes from iPad with Notes from Outlook 2011 using iCloud

    Have been using iCloud successfully on my iPad and iPhone for photos, documents.  But want to sync the Notes app items from the iPad to my iMac.  Am assuming it would go to Outlook 2011 - but not clear how the sync works.  Or does there have to be a separate App on the iMac for Notes?

    I'm unfamilar with Outlook 365 but you can investigate the iCloud program. See if it'll work over wifi to sync your notes.
    You might also be able to save your notes or export them out of outlook, e-mail them to yourself and then import them from there.

  • Can I make a pdf with hyperlinks from Power Point using Acrobat ?

    I have a Power Point presentation which includes hyperlinks to websites. When I use the Power Point slide display they work.
    Can Acrobat make a pdf from Power Point which includes the hyperlinks ?
    Will the hyperlinks work when the pdf is displayed by Acrobat Reader?
    Thanks
    John
    newbie

    But I want the pages in the pdf shown spreadwise.
    In AcrobatPro you can set the initial document view of single pages as spreads via Page Layout: Two-Up Continuous (Cover Page)

  • Playing content with computer from an ipod without syncing.

    Is there a way to watch what's on my ipod on a computer without syncing or 'tranfering purchases'?
    N.B.
    The ipod is synced with another computer.

    Click here, set the iPod to manual, and play the content.
    (47515)

  • Updating a portlet's content with data from another portlet

    hi,
    I have two portlets. The first portlet has a form that collects data from the
    user to process a query. Once the query gets processed, i want to display the
    query results on the second portlet. How do i go about doing this?
    Thanks in advance

    you could start by reading other posts in this newsgroup addressing the exact same
    topic. also, look at martini portlet on dev2dev.bea.com
    "rashed karim" <[email protected]> wrote:
    >
    hi,
    I have two portlets. The first portlet has a form that collects data
    from the
    user to process a query. Once the query gets processed, i want to display
    the
    query results on the second portlet. How do i go about doing this?
    Thanks in advance

Maybe you are looking for

  • My PC sign: driver for keyboard filter not found. what can i do?

    my PC sign: driver for keyboard filter not found. what can i do?

  • Problem in changing the Business Area?

    Hi, I have a discoverer report where the eul folders are in one business are. Now I need to change the business area. By manage folder option I can do that. Now my query is as the business are is changed for the folder what should I do for the workbo

  • Is it possible to change image quality on the iPhone 4S?

    What's happened is that all images viewed on the phone used to have good quality to them (note not actual images taken by the camera but safari related) but something has changed and now they are small and poor. Have tried to research what it could b

  • Hanging Report Requests

    Report Requests Hang on page no. 482 when reports is more than 480 pages Reports with 410 pages is generated ok. When I terminate the job I got the following Terminated with error REP: 56048: Engine rwEng-0 crashed I have tried all what exist on the

  • May I get this program converted to readable in Labview 2010?

    May I get the following programs converted to readable in Labview 2010? I think the real files are in Labview 2013! Thank you Solved! Go to Solution. Attachments: Loop for RAE Read.vi ‏13 KB Test to separate bits from Binary.vi ‏9 KB