Carriage return inside help text

Hello All,
I have a requirement to put <ENTER> inside the tag area since i am displaying 2 fields in the same box.
Example:
<?ASSEMBLY_LINE?>
<?OPERATOR_CODE?>
This displays the output as "IE-10912".Here IE-109 is the assembly code and 12 is the operator code.
I need something as this
IE-109
12
Meaning there should be an enter or carriage return in between the 2 displayed values.
Thanks
Sk

1. <?DEPTNO?><xsl:if xdofo:ctx="row" test="1<2"><xsl:attribute name="break-after"></xsl:attribute></xsl:if><?DNAME?>
2. <?DEPTNO?><xsl:text>
</xsl:text><?DNAME?>
anyhow, not the efficient solutions..

Similar Messages

  • Carriage return in central text

    Hi,
    I'd like to know how to add a carriage return character in a central text of an order document.
    I use SAVE_TEXT BAPI to add central text in an order.
    Thank you for your help.

    carriage return is available in class CL_ABAP_CHAR_UTILITIES
    you just have to concatenate existing text with
    CL_ABAP_CHAR_UTILITIES=>CR_LF

  • Carriage Return with the text in xdofx

    Hi
    I have to insert a carriage return with in a text I tried <?xdoxslt:chr(10)?>
    e.g <?xdofx:if x>'0' then 'Approved. Thank you.' else 'Disapprov.Thank you. ' end if?>
    so the output should be
    Approved
    Thank You
    I need carriage return between Approved and Thank You
    Thanks

    Use this:
    <?xdoxslt:ifelse(x>0, concat('Approved', xdoxslt:chr(10), 'Thank you.'), concat('Disapprov. ', xdoxslt:chr(10), 'Thank You.'))?>
    I tried this and it works
    <?xdoxslt:ifelse(10>9, concat('Approved', xdoxslt:chr(10), 'Thank you.'), concat('Disapprov. ', xdoxslt:chr(10), 'Thank You.'))?>
    Thanks,
    Bipuser

  • Ignore carriage return in a text area

    Hi
    I've a JTextArea of 3 rows on an applet screen.
    I want to disable the carriage return key on the text area.
    Thanx in advance

    Look at the API documentation for JTextField; it contains an example of a class called UpperCaseField. You could modify this code to ignore line-end characters; the concept works with JTextArea as well as JTextField. This code would prevent people from pasting line-end characters as well as from keying them.

  • Carriage Return in line Text for invoice line item.

    Hi,
    I am trying to create an non PO invoice through calling a BAPI "BAPI_INVOICE_CREATE"
    in which  i am passing all the required data . I have a field called "SGTXT" which is item text and i am passing this field
    which has maximum length of 50 char i just want to add a new line characters on to it. i.e want to support Carriage Return
    just want to know whether it can hold Carrige Return.
    I just tried by entering some Characters and hitting Enter the value which i am passing is simillar to
    itemtext
    "abcdabcdabcdabcd#
    abacdabcdabcd#
    abcdabcd"   My program is not able to parse this values hence landing into dump.
    How should i support this scenario.
    Thanks,

    Here is the dump.
    The termination occurred in the ABAP program "SAPLZIBA_SSP_READ_CSV" in
    "LINE_TO_CELL_ESC_SEP".                                                 
    The main program was "ZIBA_SSP_INVOICELOAD ".                                                                               
    The termination occurred in line 149 of the source code of the (Include) 
    program "LZIBA_SSP_READ_CSVF01"                                       
    of the source code of program "LZIBA_SSP_READ_CSVF01" (when calling the
    editor 1490).                                                           
            IF i_string CS l_pipe.                     
              l_stringlength = strlen( i_string ).     
              DO l_stringlength TIMES.                 
                REPLACE '  ' WITH '""' INTO i_string.  
                IF sy-subrc NE 0.                      
                  EXIT.                                
                ENDIF.                                 
              ENDDO.                                   
            ENDIF.                                     
            ASSIGN I_STRING(L_INT) TO <L_CELL>.        
            I_INTERN_VALUE = <L_CELL>.                 
          endif.                                       
          L_INT = L_INT + 2.                           
          I_SIC_INT = L_INT.                           
          I_STRING = I_STRING+L_INT.                   
        ELSEIF I_STRING CS C_ESC.                      
        letzte Celle                                 
          L_INT = SY-FDPOS.                            
          if l_int = 0.                                
            clear i_intern_value.                      
          else.                                        
            ASSIGN I_STRING(L_INT) TO <L_CELL>.        
            I_INTERN_VALUE = <L_CELL>.                 
          endif.                                       
          L_INT = L_INT + 1.                           
          I_SIC_INT = L_INT.                           
          I_STRING = I_STRING+L_INT.                   
          L_INT = STRLEN( I_STRING ).                  
          IF L_INT > 0 . MESSAGE X001(KX) . ENDIF.     
        ELSE.                                          
          MESSAGE X001(KX) . "was ist mit csv-Format   
        ENDIF.                                         
      ENDIF.                                           
    Can you let me knwo how should i put my condition to support CR .
    thanks,

  • Cfmail missing carriage returns in plain text

    CF8
    Im sending plain text mail and when my email arrives I dont'
    see carriage returns, it's all joined together.
    Using utf8 encoding, but does the same in all encodings.
    Any ideas why?

    I'm not putting ascii codes on the lines i want to line
    feed...
    I simply put text between the cfmail tags and hit enter...it
    has always worked in the past.
    cfmail
    text here
    text here
    text here, etc...
    /cfmail
    that would show up like that in outlook express when i read
    the mail...with the CR in place.

  • How to insert a "carriage return" in a text of a mail ?

    Hi to all,
    I'm facing a problem in an FB desktop app (WIN) which is supposed to automatically send emails.
    Everything works ok except that the line feed instructions inserted in the mail text are ok if i try to visualize the text in a preview textfield in FB, but are not taken in consideration in the message displayed on the recipient screen (both with outlook and thunderbird).
    I've tried various solutions such as "\n" or String.fromCharCode(13) + String.fromCharCode(10) without success.
    Thks in advance for help
    Best regards

    Post Author: gilles
    CA Forum: Data Integration
    Thanks a lot,
    I'll upgrade to 11.7 (currently 11.5.1)
    Gilles

  • Importing XML Text files with Indesign friendly 'Carriage Returns'

    Hi,
    I have a question wrt importing XML into Indesign.  I have my text stored in Excel (Fig A) and intend to export as an XML file where each line will represent each page.  However, my first attempt failed to treat the 'carriage returns' as I'd envisaged:
    The 'carriage returns' used within an Excel cell (ALT-ENTER) are maintained when transforming to a CSV file (Fig B).  However, when converting to an XML file, the conversion only takes place on a line by line basis and hence the XML file becomes incomplete (Fig C).
    So, it appears I need to make sure that the CSV file contains one line per entry, while also maintaining the actual carriage returns in my source spreadsheet and for Indesign to recognise them.  In order to do this, I'll need to substitute the 'carriage returns' in my excel column to be represented by a new set of characters.  My question is how can I let Indesign know to recognise this set of characters to be converted to a carriage return, when importing text.
    For example, if this set of characters was '%%%%%%', then my new csv file would look like Figure D and the XML would be produced correctly, like Figure E.  Then importing this XML file to InDesign, the carriage returns would automatically be reinstated, hopefully.
    I hope someone can help me as I am only starting out in Indesign and feel Im running before I can walk by venturing into the XML/Indesign arena too soon.
    Best Regards
    Luke

    Hi,
    Thanks for all the responses.
    With regard to XML, it could well be an issue has crept in because I am using another utility to convert my csv's to xml and maybe there are better options out there. I will take a look for other utilities and try that (Its not possible from Excel easily, even though there is an option to save as an XML file).
    Secondly, because the XML was readable by internet explorer, I assumed it had a satisfactory standard XML format which would be accepted by any program, including InDesign.  This proved true, since the XML file i generated was actually recognised by my Indesign document and populated the tags correctly, albeit without any carriage returns. 
    When I save my excel sheet as a csv, it does actually hold the carriage returns causing multiple lines per entry, hence why I need to substitute the actual carriage returns in my excel sheet to a alternative character set so that the entry remains on one line.
    Re: Double quotes on text fields.  Im sorry, I didnt realise I had commas in my sample csv example.
    I should have corrected it, but I intend on using semi-colons as my csv delimiter and don't intend on having semi-colons in my excel sheet itself, so I possibly won't need any double-quotes.
    So, it looks like this is what I need to do ;
    i)   Add a column in Excel which substitutes all the carriage returns with a line break identifier (^n).
    ii)  Convert Excel file to a semi-colon csv holding this new column,
    iii) Convert csv file to XML using a good CSV->XML utility,
    iv)  Add the respective XML tags to my INDD document,
    v)   Add a GREP rule which does a find/replace on all instances of ^n and replace with a line break,
    vi)  Import the XML file,
    vii) Apply the find/replace GREP rule on the whole document. Carriage returns on my text fields should be consistent with my original excel sheet.
    Thanks for all your help fellas.  Will report on how I get on once Im done.
    Best Regards
    L

  • Removing new lines and carriage returns

    Hi,
    SO I am new to regular expressions in java and I want to remove all the new lines and carriage returns from some text, and change them into <p>
    I have tried,
    Pattern pat = Pattern.compile("\n");
    Matcher mat = pat.matcher(text);
    StringBuffer sb = new StringBuffer();
    boolean result = mat.find();
    while (result){
    mat.appendReplacement(sb,"<p>");
    result = mat.find();
    mat.appendTail(sb);
    text=sb.toString();
    But it seems to have no effect. Anyone know what I'm doing wrong?
    Cheers
    Sandra

    Hello, i've got the same problem. I want to replace "carriage return" and "new line" from an text file. and i use the replace all function for a String object. The problem is, if i call the replace function like this:
    row = row.replaceAll ("\\r", "<p>");
    The "carriage return" is replaced, but not with the "<p>" characters, only with nothing.
    Lines from my original textfile:
    This is an example.
    I want to replace.
    After replacing with the function call row = row.replaceAll ("\\r", "<p>");
    This is an example.I want to replace.
    What is wrong. If i insert tab spaces and replace them, everything is fine. it is abug in my Java Version?
    I use j2re1.4.2_05
    I hope, anybody can help me

  • How can i put three carriage returns (ENTERs) in this script's output?

    I have a script like
    begin
    select tablename list;
    dbms_output.put_line(q'[Altering selected tables' datalength]' );
    for i in 1..x loop
       execute immediate v_sql;
    end;While executing this in SQL*Plus, the output currently looks like
    Altering selected tables' datalength
    ALTER TABLE EMP MODIFY (ENAME VARCHAR2(30 CHAR ))
    ALTER TABLE DEPT MODIFY (DEPTNO VARCHAR2(30 CHAR ))
    ALTER TABLE ARCHIVE_CNG  MODIFY (TMAT_ENABLED CHAR(30 CHAR ))
    .But i need three ENTERs (Carriage Returns) after the text Altering selected tables' datalength.
    ie the output should look like
    Altering selected tables' datalength
    ALTER TABLE EMP MODIFY (ENAME VARCHAR2(30 CHAR ))
    ALTER TABLE DEPT MODIFY (DEPTNO VARCHAR2(30 CHAR ))
    ALTER TABLE ARCHIVE_CNG  MODIFY (TRIGGER_ENABLED CHAR(30 CHAR ))
    ALTER TABLE ARCHIVE_CONFIG MODIFY (USER_ID VARCHAR2(30 CHAR ))
    .

    user659394 wrote:
    What is the difference between a carriage return and a newline ? Aren't they both the same?
    Edited by: user659394 on May 13, 2009 10:28 AMThey are different characters, one is chr(13) and the other is chr(10). Many editors will treat them the same but by default, when you hit the Enter key on your keyboard the character generated depends on your operating system
    Mac chr(13), unix chr(10), windows chr(13)||chr(10)
    That's basically the difference between an ascii and a binary transfer between machines with different operating systems. In a binary transfer nothing is changed in the transfer. In an ascii transfer carriage return/newline characters are converted to the default for the operating system.

  • Embedded carriage return

    We have  an application with a textarea that is used for comments, free form text. It seems that if the user enters a line of text, then uses the enter key to go to the next line, it captures the carriage return. When the form is brought up for review, it is completely empty, yet all the data that was entered is in the table.
    If the textarea is entered without using the enter key, the data displays when the form is reviewed.
    I have never encountered this problem before and tried it and it does indeed do what is described above. I entered the textarea without using the enter key and the data displays. I went back to edit and added the enter key to the textarea and the form is completely blank.
    What is going on and how can I prevent this from happening ?

    The data is not missing. It is in table after submit. It is just not showing up when using html/form to review. Using <cfinput type="text" name="field" value="qryField">, etc..., when there is a carriage return used in the textarea.
    We took the textarea data, scrubbed out the carrirage return characters, and reinserted in the table, and then entire form displayed. When I went back to edit the form and added the carriage returns, nothing displayed.
    We have isolated the problem to the carriage return in the text area becuause that is the only thing we have touched so far.

  • How do I get a carriage return in a Calendar "event"  in Mt. Lion?  I used to be able to do option-return which has worked for previous s/w versions.  Help!!!

    Carriage returns are not working when viewing events!
    Before I installed Mt. Lion, I could hold OPTION while hitting RETURN and it  ould insert an "invisible" carriage return.  This no longer works.  Help!!!  My calendar is becoming non-functional, as I cannot read my clients' appointments... as there is so much run-on info now. 
    When creating events, I need to put anywhere from 3-10 lines  of text, separated by carriage returns.  This is driving me nuts!
    Anyone have a fix for this???

    Carriage returns are not working when viewing events!
    Before I installed Mt. Lion, I could hold OPTION while hitting RETURN and it  ould insert an "invisible" carriage return.  This no longer works.  Help!!!  My calendar is becoming non-functional, as I cannot read my clients' appointments... as there is so much run-on info now. 
    When creating events, I need to put anywhere from 3-10 lines  of text, separated by carriage returns.  This is driving me nuts!
    Anyone have a fix for this???

  • Carriage Return in Text Node of SmartForm

    Hello SAPients.
    I'm working with a Text node in a SmartForm. I'm using "Include Text" to call an existing text. The text loads fine except that it doesn't respects the CR's.
    What can I do?

    Hello SAPients!
    I'm still having this problem, maybe I didn't explain the problem very well and that's why I didn't get an answer. I hope this information be more helpful:
    I'm working in SAP 4.6C. I have a SmartForm with a Text Node that shows "unlimited" text. I created another transaction to maintain this text in a small text editor and save the text using FM SAVE_TEXT and retrieve it using FM READ_TEXT and it shows everything correct.
    In the SmartForm I'm taking advantage of the option "Include text" in the Text type of the General Attributes of the text node. The system retrieves the text in a normal way, except that the text is shown without Carriage Return, that is, all the text is show in one single line. Do you know why?
    Thank you in advance for your help.

  • How to handle carriage return/linefeed embedded in text field as first char

    Hi,
    I am trying to use sqlldr to import text that is comma-separated and double quote-enclosed, but contains embedded carriage return/linefeed pairs. I have a control file which works for most cases and looks like this:
    LOAD DATA
    INFILE './foo.new'
    APPEND
    CONTINUEIF LAST PRESERVE (<>'"')
    INTO TABLE <tablename>
    FIELDS TERMINATED BY "," ENCLOSED BY '"'
    TRAILING NULLCOLS
    Unfortunately, this fails when the very first character of the text field is a carriage return/linefeed pair, e.g.,:
    "11","22","33","\r\nThis is the fourth field","","","","",""
    In that case, what is actually the opening double-quote for the fourth field, is interpreted by the CONTINUEIF clause as the end of that line. Can anyone please point me to a solution?
    thanks.
    stan.

    Thanks for the suggestion. Unfortunately, I've already tried it, and it doesn't help. I believe the problem is that sqlldr tries to figure out where each record is delimited before it parses out the field. So, any field-level trimming depends on sqlldr first determining that the cr/lf is actually part of that record, and not an indication of the start of a new record (and it's doing the latter right now). Fwiw, Python's csv parser will handle this type of record just fine.
    regards.
    stan.

  • Carriage Return for text area

    Hello All,
    I have a text area that I am pre-populating from a column in a database and I need to do a carriage return. When inserting the information into the column I put 'chr( 10 )|| chr( 13 )||' after each place where I need to do a carriage return, for some reason it is not being saved in the database that way.
    The sql I used to insert the information into the column looks like:
    update 456.xyz
    set 123 = a || chr( 10 )|| chr( 13 )||
    b || chr( 10 )|| chr( 13 )||
    c || chr( 10 )|| chr( 13 )||
    where abc=def;
    I need the output in the text area to be:
    a
    b
    c
    But it populates as:
    abc
    Any help would greatly be appreciated!

    I just tested this code:
    select 'The date '||sysdate||chr(10)||'is a '||to_char(sysdate, 'DAY')||chr(10)||chr(13)||'Week :'||to_char(sysdate, 'WW') from dual;The output was:
    The date 03.06.2010
    is a TORSDAG
    Week :22I put this in the source of the textarea and set it to update and replace content ( source used always )
    Edited by: Olav Alexander Mjelde on Jun 3, 2010 1:17 PM

Maybe you are looking for

  • HP 5510,windows 7, new setup of printer, "unable to communicate with printer" when i try to print

    HP 5510, Windows 7, new printer, just picked it up!, "unable to communicate with printer" when I try to print a page, all network conections check out OK with Print Diagnostic Utility.

  • I'm Having trouble printing slides

    I'm trying to print out slide for school and I'm trying to get it in the layout where the paper is vertical and there are 6 slides to one page dispersed evenly and it's just not working. Does anyone know how to get it in that layout!!! Im using a mac

  • Error Dropping Sequence

    When I try to run the following command: drop sequence mst_scenario_attribute_wbs_SQ; I get the following error: ORA-02289: sequence does not exist I know it exists because I see it when I query: select * from sys.all_sequences s I also see it in PL/

  • Suddenly laptop off and not start up again

    laptop stopped/ off suddenly and ON again with black/off screen, fan and all LED remains ON including charging LED when i force off it and trying to ON it by pressing the power button, fan start sound comes in then nothing displays on screen. It show

  • SAP DEVELOPER USER LICENSE

    hI iam new to this,i need to buy SAP DEVELOPER USER license in India,can i use the SAP DEVELOPER USER license in Global(USA,UK...).CAN YOU EXPLAIN ANY ONE IN DETAILS. Thanks venkat