Workflow Action: Trouble adding a new line in "Description" field.

Hi folks. I'm really having a difficult time with this one and it seems so simple...
I am struggling with how to get a field update action to enter a line break in a note field. I've tried "\n", "\n\r", "chr(13)", "chr(10)", "<br>" and so on.... it just puts the text of what I use into the Description.
Here's the simplified workflow action...
[<NextStep>] + "\ \n" + PRE('<Description>')
What it's supposed to do.. is every time someone updates the field [<NextStep>], I want to replace the contents of the description field with the new value for nextstep (plus a new line) and then followed by everything that was in the description field previously. This way I have a running log in the description field.
Idealy it should put:
Today() + ": " + [<NextStep>] + <line break> + PRE('<Description>')
but when I add the Today() it ignores everything that follows. I'm not as worried about that as I am about the inablity to put in the line beak. Please help!!!
Thanks!
Edited by: ThinkGadget on May 11, 2009 9:13 AM because the forum interpreted the "\\n"
Edited by: ThinkGadget on May 11, 2009 9:15 AM (I put a space between the two back slashes so that the forum doesn't interpret it as a new line)

I had used the "\\n" in my expressions to add a new line in the Description field. Only issue is also add a \ to the end of line but that was acceptable in my case. We are on OOD R16.

Similar Messages

  • Doc flow linkage when  adding a new line in a  Billing order

    Hi,
    I am trying to add a new line in an existing billing order using CRM_ORDER_MAINTAIN function module.
    This billing order was initially created from a preceding document and hence the pricing conditions flowed from that document to the line item created at that time.
    In the doc flow for the line item did have reference to the previous document.
    Now I need to create a new line item in the billing order. I am able to establish a linkage with the previous document for the new line item. The pricing conditions do get copied. But the problem is the linkage with the previous document does not appear in the document flow for the new item.
    following is my code for the document flow for the new line item
    Input fields
    doc flow
    ls_input_field-ref_kind = 'B'.
    ls_input_field-ref_handle = '0000000001'.
    ls_input_field-objectname = 'DOC_FLOW'.
    ls_input_name-fieldname = 'QUANTITY'.
    insert ls_input_name into table ls_input_field-field_names.
    ls_input_name-fieldname = 'QUANTITY_UNIT'.
    insert ls_input_name into table ls_input_field-field_names.
    insert ls_input_field into table p_input_fields.
    data
    wa_doc_flow_extd-objkey_a = previous document line item guid
    wa_doc_flow_extd-vona_kind = 'A'.
    wa_doc_flow_extd-brel_kind = 'B'.
    wa_doc_flow_extd-brel_mode = 'A'.
    wa_doc_flow_extd-quantity = p_prevdoc-quantity.
    wa_doc_flow_extd-quantity_unit = p_prevdoc-quantity_unit.
    wa_doc_flow_extd-reltype = 'VONA'.
    wa_doc_flow_extd-relation_handle = '0000000002'.
    wa_doc_flow_extd-objtype_b = 'BUS2000131'.
    wa_doc_flow_extd-objtype_a = 'BUS2000131'.
    append wa_doc_flow_extd to wa_doc_flow-doc_link .
    wa_doc_flow-ref_handle = '0000000001'.
    wa_doc_flow-ref_kind = 'B'.
    insert wa_doc_flow into table p_doc_flow.
    Thanks,
    Chamu

    Hi,
    I was able to solve it.
    The relationid field in the document flow table had to be filled.
    I used the same relationid which was created for the previous item and it then worked.
    Regards,
    Chamu

  • Copy the data from first line while dynamically adding a new line in table

    Hi,
    1. There is a table
    2. An add button adds a new line to the table using 'AddInstance'
    3. A record is entered in the first line
    4. When the add button is clicked it adds a new line and along with it copies the data entered in the first line
    My question is how to copy the data from the first line and show it in the new line added. This is required so that user can use most of the common values in the first line.
    Thanks,
    Nikhil

    You can use the following Java Script in the Click event of the button.
    // Get the number of rows in the table
    var nrows = xfa.resolveNodes("page.table.DATA[*]").length;
    // Add a new instance(row) to the table
    page.table.addInstance.instanceManager(1);
    xfa.form.recalculate(1);
    // Copy the values from the first line to the newly created row
    page.table.DATA\[ nrows \].field1.rawValue = page.table.DATA\[ 0 \].field1.rawValue;
    ..........field2
    ..........field3
    Thanks,
    Chandra Indukuri

  • Adding 2 new lines to existing plan with phones I already own.

    I have 2 droids on a family plan. 700 mins. 250 text each and unlimited data each. I want o add my elderly inlaws (70+) to my plan, sharing talk minutes only. I own 2 verizon flip phones and don't want to buy any new ones. Can I do this for $9.99 each?

    VanessaC_VZW wrote:
      However, if you do not want a contract on the new lines, (since you will have your own equipment), the activation fee will be $35.00 per line.  If you agree to a 2-year contract for the share lines, the activation fees will be $25.00 per line.   
    You can add the new lines by calling our Telesales Department at 800-256-4646.  
    Thank you,
    Really?!  I didn't know that made a difference...I thought secondary lines were $25 - well, ya learn something new every day!
    And a side note - we added a line for my 75+ yr old mother with one of our old flip phones and CS was extremely kind in waiving the activation fee (I could have sworn it was $25 charged and credited on the bill), PLUS they boxed up the flip phone after activating it (with an out of state number to boot) and shipped it to my Mom, all at no additional cost to me.  I'm not saying that will be everyone's experience, and I was amazed the service rep offered to ship it for me - but I smiled and said "THANK YOU!" and accepted it!

  • I Just Added A New Line For My Sister, new # isnt there?

    Well, my family had added another line to our plan. We have ordered her phone already, and completed the whole transaction. Then I went to my verizon account, and I checked all our phone numbers, and the new line we added isn't there? Is the number supposed to show up later on? I have just ordered this morning.

    The same thing just recently happened to me on my account, I received the phone and everything but I couldn't activate it via online or by phone so had to call customer service, they activated right then. Just keep checking your order status online to make sure everything processed fine because it may just be activation issue they are having.

  • Adding a new line - do I HAVE to buy a new phone?

    I am in the process of adding my wife to my calling plan. Unfortunately, it seems as if I can only do so if I purchase a new phone to go along with it. I have found phones online that are much cheaper, however, and would rather buy the phone seperately. Is there a possibility that you can add a new line without having to purchase the phone? If I can get my wish, I would add my wife to the plan and buy her new phone via amazon.

    When you add a new line, you can choose from one of 3 contract lengths - Month-to-Month, 1-year and 2-year.  If you sign a 1 or 2 year contract, you get a bonus, a discounted phone.  You can certainly add a line without buying a phone, but if you sign a contract there is no reason NOT to take the discounted phone.
    If you want to get a phone at the discounted price, you need to buy it at the same time as you sign the contract for your new line, or you will be asked to pay full price for the phone.  Some third-party resellers can add a line to your plan and sell you a discounted phone, others can't or don't, you will have to check with the specific vendor.
    Also, be sure to read the third-party contract, the reason they sell phones so cheaply is that they tie you into a contract of their own, with a separate ETF if you change your plan or de-activate the phone within a certain timeframe.

  • Adding a New Line in the Planning Workbook

    Hi,
    Consider this :
    I have Charateristics and Kpis
    CH1        CH2           CH3                   KPI
    A000      A010          A011                  100
    A000      A010          A012                  100
    A000      A010          A013                  100
    A100      A110          A111                  100
    A100      A110          A112                   100
    Now, I wish to add a new line, because I have a new master data A014
    A000    A010           A014
    My query has filter like this
    1. CH1 is assigned a Variable
    2. CH2 is given a value range from 1 to ZZZZZZZ ( because, I know, I can never have anything outside )
    3. CH3 is given a value range from 1 to ZZZZZZZ
    CH3, CH2, CH1 have characteristic relationships maintained with derivation.
    Now, I want to be able to maintain this new line as shown above for the new master data and plan on it. But I do not see any new line option.
    I am using Bex and Integrated Planning with Support pack 7.
    Maybe I am doing something wrong. Could you tell what are the pre-requisites to be able to this new line option ?
    Best wishes,
    Dheeraj

    hello Dheeraj,
    just try to input the values in the row under the last row of the layout.
    If you then save the data, IP will save this values too.
    With other words, IP saves all data in the layout till it meets the empty row ...
    The only thing you should do is to format the rows at the bottom of the layout (via VBA) in order to display them as input ready cells.
    Regards,
    Kirill

  • Adding a new line item using BAPI_OUTB_DELIVERY_CHANGE

    Hi,
    I have a requirement to add a new line item to outbound delivery to the existing line items using the FM BAPI_OUTB_DELIVERY_CHANGE.Pls suggest how to do it.
    Thanks in advance.
    Anand

    Hi,
    Did you Check IN SCN like [THIS|Re: BAPI_OUTB_DELIVERY_CHANGE Help - Add new line item].
    Regards,
    Rahul

  • JTextArea How do I add text on a new line from Text field

    I want to put each new input from the text field at the start of a new line and keep the previous entries at the start of their
    own line.
    I'm doing this but need help with the new line.
    jTextArea1.setLineWrap(true);
    jTextArea1.setWrapStyleWord(true);
    jTextArea1.setEditable(false);
    public void textProcess()
    System.out.println(sourceref1.getSourceText());
    jTextArea1.setText(jTextArea1.getText()+" "+source.getSourceText());
    The above just keeps adding on the new text until I reach the word wrap limit.
    Thanks

    Maybe you should use the escape character. Anyway, you can consider use append(text:String) instead of getText() everytime.
    Eg:
    jTextArea1.append("\n"+source.getSourceText());

  • Append a new line while using Field Symbols

    Hi,
    Below is a snippet of my code
    DATA: ls_data_package LIKE LINE OF DATA_PACKAGE[].
    FIELD-SYMBOLS:<ls_data_package> LIKE LINE OF DATA_PACKAGE[].
    zbib_sysn_temp = <ls_data_package>-/bic/zbib_sysn+off3(off4).
    <ls_data_package>-/bic/zd_user = <ls_data_package>-/bic/zbib_sysn(off).
    <ls_data_package>-/bic/zwrk = <ls_data_package>-/bic/zbib_sysn+off1.
    I want to insert a new line to the data package, with all the fields same while adding the above two,
    except for,
    <ls_data_package>-/bic/zd_user = zbib_sysn_temp
    <ls_data_package>-/bic/zitm = 2.
    Note: by default the field /bic/zitm = 1. So while adding for the 1st time it is set to 1 by default. I want to add a second (new line) to the datapackage which has all fields same except for the /bic/zd_user and the /bic/zitm = 2.
    Please help me with this code,
    CD

    Souvrav, thanks for the reply.
    I am not an ABAP'er, I have managed to write code so far. Can you please help me with how this can be done in this code:
      DATA: off, off1, off2, off3, off4, off5, off6 TYPE i.
      DATA: zbib_sysn_temp TYPE string.
      DATA: ls_data_package LIKE LINE OF DATA_PACKAGE[].
      FIELD-SYMBOLS:<ls_data_package> LIKE LINE OF DATA_PACKAGE[].
      SORT DATA_PACKAGE BY /bic/zbib_id.
      LOOP AT DATA_PACKAGE ASSIGNING <ls_data_package>.
        IF <ls_data_package>-/bic/zbib_sysn IS NOT INITIAL.
          TRANSLATE <ls_data_package>-/bic/zbib_sysn TO UPPER CASE.
          FIND '/' IN <ls_data_package>-/bic/zbib_sysn MATCH OFFSET off2.
            zbib_sysn_temp = <ls_data_package>-/bic/zbib_sysn+off3(off4).
    IF sy-subrc EQ 0.
                <ls_data_package>-/bic/zd_user =
                <ls_data_package>-/bic/zbib_sysn(off).
    Now at this point of code i want to copy this existing record from ls_data_package to create a new record where /bic/zd_user = zbib_sysn_temp and /bic/zitm = 2.
    Pleas help...

  • How do you restrict new line in input field or delete last char. in as3?

    Sorry, Noobie here!
    I have a text input box. If the enter key is pressed, a new line begins; thus making the previous line invisible unless the backspace key is pressed.
    So, if i type "1" into the input box, then hit eneter the number "1" becomes invisible, unless I hit back.
    Now, I still need the enter key because i have an event listener that calls a function once it is pressed, but i still need that "1" to be visible.
    So, I need one of either:
    To be able to restrict the input text field from creating a new line (making max line allowed= 1)
    or
    To delete the last character entered in the input text if the enter key is pressed.
    Both of these should have the same result, however I don't know how to do both.
    If anyone can help, i'd be very grateful!

    This worked! Thanks so much!

  • For Adding up New Line in existing PO

    Hi,
    I have created PO through Import Standard Purchase Order and now client requires to add more line into existing approved PO which has been migrated through interface table.So,I wanted to know what necessary steps I need to follow for adding lines into existing purachse order.I tried to update action column as 'ADD' in po_headers_interface table but everytime records is being rejectd.
    Please help me if anybody knows the solution.
    Regards
    DS

    hi,
    you want to do change PO, if it is the case, oracle has provided public APIs to do the changes. for details you can refer manufacturing api's and po interface tables pdf docs.
    sen

  • Trouble adding a new job type with my plugin

    I have a plugin that contains a new job type that deploys without errors. The simple metrics work OK but when I pop up the list of job types I get the following exception logged ...
    2009-01-23 15:04:42,076 [EMUI_15_04_42_/console/jobs/jobsTable] ERROR jobs.JobsListBean getJobRunDat
    a.1186 - SQLException
    java.sql.SQLException: ORA-20452: Only one target may be selected for this operation.
    ORA-06512: at "SYSMAN.MGMT_JOB_UI_RUNS", line 1380
    ORA-06512: at line 1
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java(Compiled Code))
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java(Compiled Code))
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java(Inlined Compiled Code))
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java(Compiled Code))
    at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java(Compiled Code))
    at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableStatement.java(Compiled Code))
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java(Compiled Code))
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java(Compiled Code))
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java(Compiled Code))
    at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java(Compiled Code))
    at oracle.sysman.util.jdbc.PreparedStatementWrapper.execute(PreparedStatementWrapper.java(Compiled Code))
    at oracle.sysman.util.jdbc.CallableStatementWrapper.execute(CallableStatementWrapper.java(Compiled Code))
    at oracle.sysman.eml.jobs.JobsListBean.getJobRunData(JobsListBean.java:945)
    at oracle.sysman.eml.jobs.JobsListBean.showJobsTable(JobsListBean.java:617)
    at oracle.sysman.eml.jobs.JobsListBean.prepareData(JobsListBean.java:347)
    at oracle.sysman.eml.jobs.JobsController.getPageHeader(JobsController.java:347)
    at oracle.sysman.emSDK.svlt.PageHandler.prepareData(PageHandler.java(Compiled Code))
    at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java(Compiled Code))
    at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java(Compiled Code))
    at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java(Compiled Code))
    at oracle.sysman.eml.app.Console.doGet(Console.java(Compiled Code))
    at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
    at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java(Compiled Code))
    at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java(Compiled Code))
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java(Compiled Code))
    at oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java(Compiled Code))
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java(Compiled Code))
    at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java(Compiled Code))
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java(Compiled Code))
    at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java(Compiled Code))
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code))
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code))
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code))
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:568
    Of course I don't see my new job type in the list. I only have the plugin deployed to just 1 of the agents. Any idea what this exception is telling me?

    OK, maybe this error is not related to my job ... but I'm gonna need a better hint here.
    I'm using these flags with the emcli command and add_mp_tp_mpa verb ... this seems to go OK.
    -file="JOB_DEFINITION:$MY/myjob.xml" \
    -file="JOB_SCRIPT:$MY/myjob.pl"
    Here's my silly little job type ...
    <jobtype name="myjob" version="1.0">
    <stepset ID="main" type="serial">
    <step ID="s1" command="remoteOp">
    <paramList>
    <param name="remoteCommand">myjob.pl</param>
    </paramList>
    </step>
    </stepset>
    </jobtype>
    But it doesn't work ! I don't see any reference to "myjob" in any log file. I don't see my job listed in the "Create job" pull down on the "Jobs" tab. I don't get it, what am I doing wrong?

  • Adding a new line in JTextField

    Hi all,
    Currently i am writing a program to display information about football players in a JTextField.
    What i want to have is Number, Height, Weight and DOB displayed when each seperate player is clicked on in a JList.
    This is the code i have to print out the data. Let me know if you need any more.
    public void setMessageField(String text){
                 messageField.setText(text);
    private void playerNameListValueChanged(javax.swing.event.ListSelectionEvent evt) {                                           
            Player player = playerDatabase.get(playerNameList.getSelectedIndex());
            parent = ((collingwoodDatabase)getTopLevelAncestor());
            parent.setMessageField("Number : " + player.getPlayerID() +
                                   "Height : " + player.getHeight() +
                                   "Weight : " + player.getWeight() +
                                   "DOB : " + player.getDob());
        } At the moment the data is printed out on the same line directly after each other.
    I would love to have it formatted to show :
    Number :
    Height :
    Weight :
    DOB :
    Cheers guys
    Wicksy

    parent.setMessageField("Number : " + player.getPlayerID() +
            "\nHeight : " + player.getHeight() +
            "\nWeight : " + player.getWeight() +
            "\nDOB : " + player.getDob());

  • Trouble adding a new project in BOINC Manager

    Hello,
    I have downloaded and installed Boinc from the official Arch repository. I followed this guide https://wiki.archlinux.org/index.php/BOINC step by step. I can successfully run the Boinc GUI via the command
    boincmgr
    , but when I try to add a new project I receive this error
    execvp(/home/paul/boinc, --redirectio, --launched_by_manager) failed with error 2!
    in the terminal. Boinc Manager also repeatedly tells me that it has unexpectedly exited but that it has successfully recovered every minute or so.
    Any suggestions are greatly appreciated and feel free to ask for any information.
    Thanks.

    thanks

Maybe you are looking for

  • OBIEE 11.1.1.6.0 installation on windows 2008 R2 64 bit failing

    I installed OBIEE 11.1.1.6.0 version on windows 2008 R2 64bit;installation has no issues all went well and sample app displayed fine.But, i see scheduler is not starting and also we deployed our code but reports failing with following oracle oci erro

  • ActiveX Component Can't Create Object - Access 2010

    I hadn't used Access in a few months, and when I did, it decided to reinstall itself.  All other MicroSoft Office software is running fine.  I went to open my file and it gave me the runtime 429 error with the statement shown above.  When I use Debug

  • Paging mechanism

    Hi friends what is the best way to implement a paging mechanism in an application using servlets/jsp Anyone who have done this , please advise TIA

  • Text on gradient bug.

    This is only showing up on the client's computer. I can't replicate the problem on any machine.

  • Automatic restart of system every 2.5hrs

    Sir/Madam I ve purchased 3000G530 in month of february and installed Window 7 ultimate, were as i facing lot of problem i.e. 1. Automatic restart of system in every 2.5hrs 2. Sometimes shaking of Icons at desktop, 3. No matching Driver for Cam, Pls p