XI: Remove Carriage Return +Line Feed at end of XML

Hi All,
Scenario
Currently, we have a JMS --> XI --> IDOC scenario. The Sender Service always sends a CRLF (Carriage Return & Line Feed+) without fail at the end of each xml file once this non-sap system finishes its transaction.
Example
<STARTOFXML>
Data------
</ENDOFXML>CR+LF
Question
Is it possible to remove this from XI JMS Sender Adapter? From the receiver Service (JMS) this is possible.
Cheers!
Sulaiman

Why do you want to remove this? Does this lead to errors?
Regards
Stefan

Similar Messages

  • How do we remove Carriage Return (line feed) inserted in FCC files

    Hi Experts,
    The file that we generate has a carriage return at the end.
    Is there any way in which we can remove this carriage return (line feed) from the file?
    The FCC parameters used at our end are as below:
    structure.filedNames:
    structure.fieldFixedLengths:
    structure.fixedLengthTooShortHandling: Cut
    Kindly tell us a solution ASAP.
    Thanks & Regards
    Dhwani

    Dear All,
    Let me elaborate on my query
    Consider that the files output looks like below:
    12  34  45  545 5454 UL
    23  33  43  434 4545 FG
    45  44  44  586 6535 GM
    Now there is an extra line(Carriage Return) getting inserted after the last line 45  44  44  586 6535 GM  which is not required at our end.
    The cursor of the file instead of stopping on the last character M, points to the next line.
    Can you please suggest how to remove this extra line from the files.
    I dont understan how will remove context help in this case.
    Regards
    Dhwani

  • What is escape character for for Carriage Return, Line Feed, Form Feed

    Hi
    I need to a text file which should have following characters
    Carriage Return, Line Feed, Form Feed
    How do i insert them in a string
    i know "\f" is carriage return,
    but what are characters for line feed and form feed
    Ashish

    uncle_alice wrote:
    jverd wrote:
    remus.dragos wrote:
    I forgot that it does not exist in Java. A good thing
    from my point of view.Running the following makes my computer beep.
    public class Bell {
    public static void main(String... args) {
    System.out.println("\u0007");
    Sure, sending a BEL character to the console rings the bell, but that has nothing to do with Java. Anyway, I think he meant Java doesn't support the \a escape sequence in string and char literals.
    >
    >
    >I forgot that it does not exist in Java. A good thing
    from my point of view.
    Running the following makes my computer beep.
    public class Bell {
    public static void main(String... args) {
    System.out.println("\u0007");
    } Sure, sending a BEL character to the console rings the bell, but that has nothing to do with Java. Anyway, I think he meant Java doesn't support the \a escape sequence in string and char literals.
    Ah, I thought he was saying Java doesn't support ringing the bell.

  • Carriage Returns, Line Feeds, and Tabs in Text Area

    I am having users copy and paste data from an Excel spreadsheet into a textarea on a BSP page.  When they submit this, since there are tabs and line feeds in the data, the BSP does not recognize the data.  The value in the field comes through as blank. When I manually type something into this field, with out any carriage returns, tabs, etc., the value does not come through as blank?  Does anybody know how to get around this?

    HI
    Iam uploading the data from application server(AL11) to other server.
    In the GLPCA-SGTXT(Table) iam having some text like 'This is good ##'.i was downloded some other data with this text('This is good ##') by using report program in to aplicationserver(AL11) and from there iam uploading that data into other server.
    But here the problem is in the UNIX, it was showing some problem.
    That is actually it need to show the format like:
    001 256 786 This is good## 459786
    But here it was showing like:
    001 256 786 This is good^M
    459786
    So here '459786' is coming to next line. But i need this '459786' also in the same line.
    I am not sure if it is possible to remove CR and LF's using the code the program is written in, but that is what we need to do.   In Unix  ^M is the CR (Carriage return), but I am not sure what LF is?

  • Carriage Returns & Line Feeds in XML documents

    Does anyone know why the PL/SQL XML parser will NOT work with Carriage Returns (0x0D) within the XML document?
    Currently I'm having to strip them out, leaving just the Line Feed (0x0A).
    I only realised this after looking at the family.xml example document.
    T.I.A.
    Geoff

    I forgot to mention that I'm running Oracle 8i on Windows NT.

  • How to insert a carriage return/line feed in a TextEdit without using wrap

    Hi,
    The string that I want to pass to the textedit is
    "Order Notes : bla bla bla
    Shipping notes : bla bla bla"
    The length of Order notes and shipping notes can vary.
    I am using wrapping. But I need to insert a line feed just before Shipping Notes so it comes on a different line inside the textedit box.
    How do I achieve this?
    Thanks in advance,
    Sachin

    Good thinking, Craig
    I didn't think of this large textarea being present there, just waiting for a question like this ...
    To sum it up for the lazy ones (cause looking at the examples is always worth it, so go do as Craig told ya g!):
    CONCATENATE
    `Order Notes : bla bla bla`
    `Shipping notes : bla bla bla`
    INTO text SEPARATED BY cl_abap_char_utilities=>cr_lf.

  • How to insert a Carriage Return + Line Feed inside a TextView UI element ?

    Hello All,
      Does anyone know how can I achieve the above scenario ? I have a string variable that collects and appeneds text messages from various BAPI calls. At the end of the process, the contents of this variable will be mapped to a textview. Problem is, the length of the string collected is way too long and hence not very readable.  I am not able to find a way to introduce a CRLF after each message is read and appended. Can anyone advise ? Thank you.
    from
    Kwok Wei

    Hi Renjith,
      So far I manage to get find a walk-around to the problem by using the TextEdit as what you have suggested. This works fine... till when you try to print it out. As you see, during printing, I need to remove the vertical scrollbar and ensure that all the text are properly displayed and I do not see any visibleFooter = false option (similar to that of a table) available to the TextEdit.
      If anyone has any suggestions or a more feasible walk around that allows me to print the entire contents in the TextEdit, that will be greatly appreciated
    from
    Kwok Wei

  • Need help on carriage return / line feed...

    Hi,
    I have a variable defined for a new line, e.g. <CFSET
    NewLine = "#chr(13)##chr(10)#">, that I use as a break between
    lines of text within CFMAIL.
    <CFSET Message = NewLine & "Product Name: " &
    Trim(GetProduct.ProductName) & NewLine>
    <CFSET Message = Message & "Product Description: "
    & Trim(GetProduct.ProductDesc) & NewLine>
    <CFSET Message = Message & "Product Color: " &
    Trim(GetProduct.ProductColor) & NewLine>
    <CFMAIL FROM="[email protected]"
    TO="[email protected]" SUBJECT="Product
    Info">#Message#</CFMAIL>
    If the email is sent to and open up in Microsoft Outlook
    account (mailbox), the "Product Description" line of text would
    stay on the same line as the Product Name (when
    LEN(GetProduct.ProductName) > 50). In other words, the NewLine
    variable is not doing the break. The code works with yahoo or
    hotmail account though.
    Any advice is greatly appreciated.
    Thanks in advance!

    The trick is to add 3 blank spaces (" " ) at the end of each
    line but before the break (NewLine) such as these:
    <CFSET NewLine = "#chr(13)##chr(10)#">
    <CFSET Message = NewLine & "Product Name: " &
    Trim(GetProduct.ProductName) & " " & NewLine>
    <CFSET Message = Message & "Product Description: "
    & Trim(GetProduct.ProductDesc) & " " & NewLine>
    <CFSET Message = Message & "Product Color: " &
    Trim(GetProduct.ProductColor) & NewLine>
    <CFMAIL FROM="[email protected]"
    TO="[email protected]" SUBJECT="Product
    Info">#Message#</CFMAIL>

  • Remove carriage returns from a field in an oracle table

    I have a field that is defined as a LONG in my oracle table; the data contained in this field has carriage returns/line feeds (it's free form text); as i'm selecting data from this field, i need the carriage returns removed so that the data from this field all appears on one line.
    I tried using the TRANSLATE function to convert the carriage returns to something else, but that doesn't work.
    Example:
    Select comment from Notes:
    COMMENT
    the applicant called for an appointment;
    an exam was scheduled for 4/1/05 at 9am;
    called applicant to confirm app
    this needs to be extracted as: "the applicant called for an appointment; an exam was scheduled for 4/1/05 at 9am; called applicant to confirm app"
    How can i do this? Can the decode function be used to remove the carriage returns in this field?

    when i used translate its giving correctly,
    SQL> ed
    Wrote file afiedt.buf
    1 select translate('the applicant called for an appointment;
    2 an exam was scheduled for 4/1/05 at 9am;
    3 called applicant to confirm app
    4 this needs to be extracted as: "the applicant called for an appointment; an exam was scheduled
    5 How can i do this? Can the decode function be used to remove the carriage returns in this field
    6* ',' ') from dual
    SQL> /
    TRANSLATE('THEAPPLICANTCALLEDFORANAPPOINTMENT;ANEXAMWASSCHEDULEDFOR4/1/05AT9AM;CALLEDAPPLICANTTOCONF
    the applicant called for an appointment; an exam was scheduled for 4/1/05 at 9am; called applicant t
    SQL> ed
    Wrote file afiedt.buf
    1 select 'the applicant called for an appointment;
    2 an exam was scheduled for 4/1/05 at 9am;
    3 called applicant to confirm app
    4 this needs to be extracted as: "the applicant called for an appointment; an exam was scheduled
    5* How can i do this? Can the decode function be used to remove the carriage returns in this field
    SQL> /
    'THEAPPLICANTCALLEDFORANAPPOINTMENT;ANEXAMWASSCHEDULEDFOR4/1/05AT9AM;CALLEDAPPLICANTTOCONFIRMAPPTHIS
    the applicant called for an appointment;
    an exam was scheduled for 4/1/05 at 9am;
    called applicant to confirm app
    this needs to be extracted as: "the applicant called for an appointment; an exam was scheduled for 4
    How can i do this? Can the decode function be used to remove the carriage returns in this field?
    SQL>

  • Remove carriage return between text two objects

    How to remove carriage return between objects. 
    I have a text box and table  I want to remove carriage return between them. 
    Also I have a table with two columns and I want to remove carriage return between these two columns.
    Thank You in advance.

    Hi ,
    Try like this ,
    --To replace Carriage return
    =REPLACE(Fields!Column.Value, CHAR(10), "" )
    --To replace Line feed
    =REPLACE(Fields!Column.Value, CHAR(13), "" )
    --To replace Tab
    =REPLACE(Fields!Column.Value, CHAR(9), "" )
    And also , ConsumeContainerWhitespace property to remove blank space -
    http://beyondrelational.com/modules/2/blogs/115/posts/11153/consumecontainerwhitespace-property-to-remove-blank-space-in-ssrs-2008-report.aspx
    sathya - www.allaboutmssql.com ** Mark as answered if my post solved your problem and Vote as helpful if my post was useful **.

  • Removing Carriage Returns within a Textarea

    Hi,
    Just wondering if someone could please let me know how to remove carriage returns from a Textarea after submitting the page?
    Within my PL/SQL process, I have used both REPLACE and TRANSLATE on both CHR(10) and CHR(13) but unfortunately it stills comes out the other end as follows:
    Description :this
    is
    a
    testWould like it all on one line minus the carriage returns.
    Thanks.
    Tony.

    The code I showed works for me. Computations and processes work similarly except that in a process you have to save the value in session state whereas in a computation that's done for you. Show your code or put an example on apex.oracle.com if you can't get it to work and I'll check it.
    Scott

  • Need to remove carriage returns, spaces, etc.

    Hello,
    I am trying to build a string that is on one line,
    1,2,3,4,5,6,7,8,9
    however, I wind up with each number on a separate line.
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    9
    My code looks like this:
    var xxx = "";
    for (var i=1; i<= nNumWords; i++) {
          global.srchVals[i].name = "Payor Mix";
       global.srchVals[i].mode = 0;
       xxx = i;
       if (i < nNumWords) {
       xxx = xxx + ",";
      //xxx = xxx.replace(/\s+/g,"").trim();
      } else {
       xxx = xxx;
       //xxx = xxx.replace(/\s+/g,"").trim();
          var PMItms = [xxx];
       //console.println(xxx);
    I tried using the following line of code to remove carriage returns and spaces:
       xxx = xxx.replace(/\s+/g,"").trim();
    But it keeps on giving me the following error:
    TypeError: xxx.replace(/\s+/g, "").trim is not a function
    Any help is appreciated.
    Thanks
    Linda

    I just want to make sure I'm approaching this problem the correct way.
    I am trying to build a string that is on one line,
    1,2,3,4,5,6,7,8,9
    however, in the debugging console, I wind up with each number on a separate line.
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    9
    Will "Trimming" the string correct the issue?
    Thanks
    Linda

  • Carriage Returns / Line Breaks & PDF

    I have a requirement to display a customers address in 1 column of a PDF report.
    The address is stored in the RPD as Address1, Address2, etc. etc.
    I use the answer of the question "Carriage Returns / Line Breaks" as a basic startup.
    ( Question Registered the 02/24/10 from user12673225 )
    I get a great result in the HTML report.
    But, when I print the report in PDF the HTML control codes appear in the PDF report.
    e.g.
    LTHEA A | P.O. BOX 877 *<br* | KY | VERNON A 100000479 |
    VERNON | /> GRAND...........|....|.............................|
    ...........| CAYMAN.............|....|.............................|
    ...........| KY1-1103 *<br*......|....|.............................|
    ...........| /> CAYMAN.........|....|.............................|
    ...........| ISLANDS.............|....|.............................|
    Presently I generate the report in HTML then I convert it in PDF format.
    Is there a way to print the report directly in PDF without the html control appearing in clear in the pdf file. Is is possible to do the job in one step only?
    Edited by: user9214078 on Feb 24, 2010 11:42 AM

    Hi Will,
    The [   instead of   <  does not work.
    The character "[" is not recognized as an HTLM control code.
    It worth the try.
    Thanks
    Gilles.

  • Remove Carriage Return from a TextEdit field

    Hi All,
    I have a tableview, of which the last field Description, is of type TextEdit. Not only this, when the data was migrated from a legacy system to SAP, either the last field with the value (If Description has value, Description field, else the field before Description) has 2 '##' at the end of it.
    The 2nd # is EQ to
    cl_abap_char_utilities=>newline
    , which I can remove using
    REPLACE ALL OCCURRENCES OF cl_abap_char_utilities=>newline IN <fs> WITH ''.
    But the first # is having the Hex Value 0D00, which is EQ to Carriage Return. CR_LF is Carraige Return and Line Feed, but here, I need to remove only CR.
    Can anyone give me the right solution?
    I tried moving this data to a string field and then do a REPLACE All... IN BYTE MODE, but again, it didn't work.
    Thanks and Regards
    Gladson Jacob

    Hi Patrick,
    The program's ending with a Short Dump. The code snippet is as below.
    DATA: it_contract TYPE TABLE OF zbpa_bp_contract,
          xstring_val TYPE x VALUE '0D00',
          value2 TYPE x VALUE '2000',
          string_value TYPE string,
          xstring_value TYPE xstring,
          stringtable TYPE TABLE OF string,
          reply_value TYPE TABLE OF tline.
    FIELD-SYMBOLS <fs> TYPE zbpa_bp_contract.
    SELECT * FROM zbpa_bp_contract
      INTO TABLE it_contract.
    *  WHERE id BETWEEN 2316 AND 2328.
    LOOP AT it_contract ASSIGNING <fs>.
      string_value = <fs>.
      APPEND string_value TO stringtable.
      CALL FUNCTION 'CONVERT_STREAM_TO_ITF_TEXT'
        TABLES
          text_stream = stringtable
          itf_text    = reply_value.
    ENDLOOP.
    The dump description is as follows
    Error analysis
        At the statment "DESCRIBE" only character-type data objects are supported at the argument position "TEXT_STREAM", but no strings are supported (data types STRING and XSTRING).
        In this particular case, the operand "TEXT_STREAM" has the type "g".
    <b>Please help.</b>
    Thanks in advance.
    Gladson
    Message was edited by:
            Gladson Jacob
    Message was edited by:
            Gladson Jacob

  • How to remove carriage returns in message mapping

    Hi Experts,
    I am getting carriage returns in one of the source field, i need to remove those carriage returns and i need to pass it to target field, can anyone suggest me how can i achieve this.

    Hello,
    Are you getting only CR or CR+LF (line feed) ?
    In this case - CRLF - you can use content conversion in your sender adapter:
    <recordset_structure>.fieldSeparator = 'nl'
    So in your receiver adapter you can replace any special char by 'nl' again.
    Check these links.
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
    http://help.sap.com/saphelp_nwpi711/helpdata/en/44/686e687f2a6d12e10000000a1553f6/content.htm
    Regards,
    Diego Estanguini Gabriel

Maybe you are looking for

  • WORD Error message -- Report from Template

    Hello everyone, I try to generate a "Report from Template" with transaction CG03. I can select the generation variant and the parameter values in the next two pop-ups. WORD is starting but then there is the error message: "Word cannot read this docum

  • Error when creating Recordset using CF and Postgres

    I'm a complete newbie when it comes to databases and development so go easy on me. I have created a simple database with a schema (ABC) and 2 tables (_Address, _Member) in Postgres 9.0.  I have installed CF 9 in development and am creating a new appl

  • Is my display card available for "OPENGL" in "AE CS4" or not?

    My video display card is " ATI FireGL V3350 " is it supported in "After effects CS4" ? this card has OPENGL 2.0, but I can't find it in Preview setting(AE CS4)! I found the list "OpenGL Preview display card support in After Effects" http://www.adobe.

  • Blank line in address display for country mexico

    Hi All, I am using address node to print the addrees using address no in smart forms. It is working fine but when the country is mexico the one blan line is printing after street address.  Please let me know how to avoid blank lines. Your quick respo

  • How to view print history with multiple users

    Is there an easy way to see how much different users printed on a shared officejet? Situation: We have a network with multiple computers(most of them win7) and one shared officejet 6500A connected to the LAN with an ethernet cable. I want to be able