Current Position:Home > Attached file in receiver mail scenario and ConvertCRLFfromToLF

Attached file in receiver mail scenario and ConvertCRLFfromToLF

Update:10-11Source: network consolidation
Advertisement
Hi,
I have a problem attaching a text file in a receiver mail channel.
I use mail package, and I've created a UDF to create field content with:
for (int j=0;j<a.length;j++)
  b = b + a[j] + "\n"  ;
result.addValue(b);
In my receiver CC, I have configurated:
SAP XI Sample/ConvertCRLFfromToLF
mode --> LFtoCRLF
But when I open file attached by mail, it has only one line and line feed it's not correct.
How to insert correctly CR LF ?
Thanks,
cARME

The Best Answer

Advertisement
I need CRLF at the end of every line in text file (windows end line).
I have tried
1) inserting \r\n t in the UDF and no module in CC. With this I see 0A 0A at the end of every line (it would  be 0D 0)
2) inserting \n in the UDF and use module in CC to convert LF into CRLF. With this I see 0A at the end of every line.
How to do it?
Thanks,
Carme
  • Attached file in receiver mail scenario and ConvertCRLFfromToLF Update:10-11

    Hi, I have a problem attaching a text file in a receiver mail channel. I use mail package, and I've created a UDF to create field content with: for (int j=0;j<a.length;j++)   b = b + a[j] + "\n"  ; result.addValue(b); In my receiver CC, I hav

  • Dynamic attachment name in receiver mail adapter Update:10-11

    Hi  all, i am doing a receiver mail scenario (PI 7.1). my requirement is like this : Receiver file need to be send in receiver mail attachment and attachment name should be dynamic format for the attachment name should be like this R+value from a par

  • Having Some unknown characters in my file of Receiver Mail Adapter Update:10-11

    Hi All,         I have a unique problem, I am having special characters(  #[email protected] E" E$ u201Däu201Där 4TåE$R   D0u201CC3 u0192    [email protected]ÔôETÄPu201Du201Eu20220u201D [email protected]  ó ró#  u20ACu201C  ó# ó#  u2019 ) in text file of Receiver Mail Adapter.I

  • Attaching File While Sending Mail Update:11-30

    Dear All,             I want to send mail through sap for that i have used function module 'SO_NEW_DOCUMENT_SEND_API1'. Can anybode tell me how can i attach file in this mail. Regards, Mayankhi check this.. REPORT  ZMAIL. TABLES: ekko. PARAMETERS: p_

  • I used to have a indicator of time when attaching file in Yahoo Mail...I no longer have that in Safari 5.1.5...How can I get that indicator back??? Update:10-11

    I used to have a indicator of time when attaching file in Yahoo Mail...I no longer have that in Safari 5.1.5...How can I get that indicator back???I tried to find help with the support by web chat for 2 days already, but every time it says that chat

  • Safari 5.0 freezes after attaching files in Yahoo Mail Update:11-30

    Since upgrading to Safari 5, I cannot use Yahoo mail after attaching a file to a message. The program acts like there is a dialog box open and it is waiting for a choice to be made, but there is no dialog box.HI, BrowserPlus is causing problems when

  • File - BPM (RFC) - Mail Scenario Update:10-11

    My scenario is File to Mail scenario thru BPM. in BPM I need to make RFC Call. I set ASMA in File sender adapter and File Nmae is not accessible in BPM Mapping. we are PI7.0 SP12. Im sure this is possible but for some reason not working. Any clue ?Hi

  • Dynamic attachment name with receiver mail adapter and use mail package Update:10-11

    We need to send mapped XML payload as attachment (with dynamic name) to a recepient (recepient email id is part of input xml payload, but not part of the mapped XML payload). I could probably do this using the adapter module (as per the following lin

  • How to e-mail a file? File- XI- e-mail scenario Update:11-30

    Hi guys! I need to create a scenario for sending all files from one source directory to target e-mail address. I tried using it without mail package, but this renames the file (attachment) to a e-mail subject's name. I need to send this file and need

  • Attaching files to e-mails Update:11-30

    I am using Safari to access my e-mail account at Yahoo. I sometimes cannot send our e-mails that have attachments. A message from Yahoo advises that I remove the attached files and try again. I've removed the attached files and reattached them but st