Replacing adding new lines

Hi,
I would like to use the find/replace function in Flex Builder
to replace a text .e.g. Hello by this text followed by a newline
meta character \n. But I can't get it to work and it should be so
simple. Who can help me? Using \n does not work.
Thanks!

It seems to be a bug in Eclipse. I can find a lot of
reference material to the bug. Alas, not a single piece of
information that shows me if the bug has already been
fixed.........

Similar Messages

  • Replacing multiple new line characters

    how to replace multiple new line characters in a line.
    Suppose for example my line contains Example1#####Example2##Example3###Example4,
    then the output should be Example1#Example2#Example3#Example4.

    Hi Sid,
    You Can try this code
    DATA: ld_string TYPE string,
          ld_string1 TYPE string,
          ld_string2 TYPE string,
          ld_string3 TYPE string.
    ld_string = 'Example1#####Example2##Example3###Example4'.
    REPLACE ALL OCCURRENCES OF '######' in ld_string with '#'.
    REPLACE ALL OCCURRENCES OF '####' in ld_string with '#'.
    REPLACE ALL OCCURRENCES OF '###' in ld_string with '#'.
    REPLACE ALL OCCURRENCES OF '##' in ld_string with '#'.
    write:/1 ld_string.
    Regards
    Pavan

  • Adding new line item directly to PO

    Hi,
    We have a requirement for adding a new line item directly within the Purchase Order in SRM (without using the shopping cart). We are using the FM BBP_PD_PO_UPDATE for this purpose. However, we are getting the following error while updating. " BUFFER TABLE NOT UP-TO-DATE". Please provide assistance in order to resolve this issue.
    Regards,
    Arun

    We achieved  based on the Security roles to identify if the user is Requester or Purchaser or Manager and Webdynpro changes by the portal team to activate the Change and Order button based on the required business rules.
    Transaction Code for PO Change to be added to the security role.
    Requisitioner:  Any user with out any existing A012 relationship with any existing Organizational units on the current date:
    Manager:  Any user having A012 relationship with any existing Organizational units on the current date.
    If the Authorization object checked programmatically results the value of "PUR" then the standard SAP code for "Purchaser" has to be executed.
    Some additional Info :
    Control list of PO using BADI BBP_WF_LIST - Change Work lists and Search Results Lists   Method:  BBP_WF_LIST
    Badi -BBP_AUTHORITY_CHECK for any additional authorisation checks
    Hope this helps.
    Thanks
    Balaji

  • Adding new line item in SC after it is added to PR or PO

    Hi Experts,
    Our customer wants that if line item is added to PR and PO on ECC side, it should be added to SC as well. I am sure you can't change apporved SC for which follow on document is created. But if someone did similar kind of requirement.
    Here is requirement.
    >  SC has 2 line items.
    >  PR is created in ECC for 2 line items after SC is apporved.
    > User added 3rd line item in PR on ECC side.
    > Customer wants this line item should be added to SC as well.
    Please advise.
    Regards,
    Kamal

    Hi,
    In Classic Scenario: This is not possible .when you are adding a P.O in ECC it will not reflect in
    SRM.
    In Extended Classic scenario: In SRM  only P.O is  created .You can add a new line items (or) change
    because P.O in SRM Server is the main P.O.
    Moreover in this also Shopping cart will not update. Once Shopping cart is approved you can do any changes
    Please check which scenario your client is using.
    Regards
    G.Ganesh Kumar

  • Unwanted field validation when adding new line to ALV (ABAP OO)

    Hi,
    We are using OO Controls to create an editable ALV grid, whose structure contains debit/credit indicator.
    When we click on the standard add new line button, a new line is added but an error message appears telling the user to enter a valid credit/ debit indicator (of course it is blank in the new line).
    This is annoying for users - is there any way to suppress this when....but just when a new line is being created?
    Thanks,
    Tristan

    Debug and find out what is the sy-ucomm when you add a new line in the ALV. And then In the validation of "enter a valid credit/ debit indicator " put a IF condition to check the if the SY-ucomm is not for inseting new line.
    Hope this helps.
    Fran

  • Replacing windows new line characters with JAVA

    I am importing a file into the database... the file is written by a client using windows, and it is a text file.
    When there is a windows new line character at the end of the line (^M), it is getting saved to the database as part of the string value.
    When we parse this data to run a report, the (^M) are being written back out to the file and causing the fields and data not to line up.
    We want to REPLACE the ^M with some other character (whatever it doesn't matter)... how can java do that???
    We tried replacing '/n' with '###' and it will show the ###, but the line still breaks.
    TIA,
    Tonya

    The characters in question are cr = \r = ascii(13) and lf = \n = ascii(10). Windows uses CrLf, Unix uses Lf and some systems use just Cr. You can use the String.replaceAll or the pattern matching classes to fix this up, see java.util.regex.Pattern, and java.util.regex.Matcher.

  • Contract Release Strategy - Adding New Line

    I have a question regarding Contract Release Strategy - How can i force a release reset if a new line is added to the contract. I dont see a field in CEKKO - Any suggestions?

    Hi
    Version mangement is activated with Version Zero only. When you select Version 0 Ok
    If you have selected this indicator, version '0', which is generated automatically when a purchase requisition or external purchasing document is created, is automatically flagged by the system as Completed.
    If version '0' is completed automatically, the system does not check whether the version data includes any mandatory fields.
    If you have not selected the indicator, version '0' must be manually flagged as Completed.
    Only if this indicator has been selected for the current version:
    Can a requisition be converted into a PO (for example)
    Does the release procedure commence
    Thanks & Regards
    Kishore

  • Cancelling a line and and adding new lines to existing PO using API

    Hi,
    Can any one please help me know how I can cancel a line and insert new lines into a existing PO using any API.
    Many Thanks,
    Srinivas.

    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!

  • User exit - VA01 - Adding new line items while Sales Order Creation

    Hi All ,
    I have a requirement where : in VA01 , i have to add new line items using USER EXIT or BADI.
    The scenario is : we maintain Characteristics for Material. When we select a particular characteristics, Factor and length will be displayed in a Popup. we can specify the Factor and lenght.
    Here , if i specify Factor as 10 and lenght as 1000. the Material has to be cut / split into 10 items of 1000 mts each. and the ITEMs table control should get 10 ITEMS .
    How to add new items using User exit or Badi in VA01 while creating a sales order.
    i have identified the user exit . What code should be used to add new line items.
    kindly help me in solvng this.
    Waiting for your replies.
    Thanks in advance.
    Suki.

    hi
    wich user exit do you take for that ???

  • Adding new line item while save

    Hi all,
    use an implementation of BADI  ME_PROCESS_REQ_CUST in the MM-Purchase-Requisition, method IF_EX_ME_PROCESS_REQ_CUST~POST while save.
    based on the line items available(USER ENTERED) i have to add few more line items based on the account assignment category and quantity while save.
    How to create new line items (copying the existing line item and change the quantity ) and save the requestion with the additional line items. I used this code. while calling the method CRETE_ITEM  create based on the object REF_ITEM  in the MY_STATE.
    the REF_ITEM object is Initial . so while creation the empty object is created.
    kindly help to give tips/details  to handle.
    Coding:
    data: l_item_list TYPE MMPUR_REQUISITION_ITEMS,
    l_item TYPE MMPUR_REQUISITION_ITEM,
    l_item_akt TYPE mereq_item,
    l_item_ref TYPE ref to IF_PURCHASE_REQUISITION_ITEM.
    l_item_list = im_header->get_items().
    loop at l_item_list into l_item.
    l_item_akt = l_item-item->get_data( ).
    IF l_item_akt-MENGE > 1 AND
           l_item_akt -KNTTP = 'A'.
          DO l_item_akt -MENGE TIMES.
             l_item-item= IM_HEADER->CREATE_ITEM( IM_ITEM =  l_item-item).
            INSERT  l_item INTO TABLE IT_ITEMS_list.
    %%%%%  here i checked useing    get data  method  i am not getting any data other than relesing procedure data.
    I used SET_DATA method to set the data. even I am not getting data.
    endloop.
    (Debugging the code, I manage by doubleclicking while create Item  method the fieldcontent of l_item (e.g ) to show the content of the class-attribute my_state. This works only if the field “Interface” in the Debugger is empty because then I see the attributes of the class. If the field Interface is filled with “IF_PURCHASE_REQUISITION_ITEM”, there aren’t any attributes shown.)
    Thanks in advance for your kind help!!
    Nicole

    I searched sdn and found this not possible.

  • Adding new line item to the Purchase Requisition

    Hi Guys,
    I have created the PR using the BAPI_PR_CREATE. Now I want to add the new line item to already created PR. I tried with BAPI_PR_CHANGE and BAPI_REQUISITION_CHANGE but nothing worked for me.
    Can anyone help me in this.
    Thanks in advance
    Edited by: jayakrishna.k on Feb 16, 2011 12:07 PM

    Hi,
    Please try MEMASSRQ or change by ME52N
    Regards,
    Manish Jain

  • Adding new line and sapaces in between the text in AI Script

    areaText.contents = "This is an Area Text in a rectangle. See how it flows to the next line.";
    i want to break the sentance from 'Text' ie i want to add new line in between and also some more spaces can any one plz help
    for example
    I want to write the above text like this way
    this is an Area
    Text in a rectangle.   See
        how it       flows to the
    next line  

    that's a much better explanation, you didn't have to create another thread, you could have replied to my reply in the original thread.
    we use the "\r" character to insert a new line and we can use "\t" to insert a "tab" for the spaces, or the actual spaces in a variable
    var sixSpaces = "      ";
    areaText.contents = "This is an Area\rText in a rectangle." + sixSpaces + "See\r" + sixSpaces + "how it" + sixSpaces + "flows to the\rnext line.";

  • Adding New Line character to String

    Hi,
    I want to add a new line while concatenating strings.
    I am getting some string objects and put them together. while concatenating them i want new string to be displayed in new line.
    The purpose of this is i am displaying this bunch of strings on a mouse over finction using javascript. Hence i want the different values to be displayed on a new line.
    Any help is appreciated.

    You normally use \r\n or System.getProperty("line.separator") to get a newline in Java.
    But since you're talking about Javascript, the whole question makes really no sense here at a Java forum. Don't you just mean a linebreak in HTML? If so, it is just
    . If not, please elaborate or look for a Javascript forum. There are ones at webdeveloper.com and dynamicdrive.com.

  • Adding new lines on outbound delivery using decentral warehouse

    Hi
    I have a decentralized warehouse that reports back to SAP for our outbound deliveries.
    When the systems responds it can add an extra line, if a item can not be delivered.  but it is possible to add an similar item, but with a different item number.
    Can I add new line items to a delivery using SHP_OBDLV_CHANGE or any other idoc, or do I need to use a RFC/BAPI.
    Regards
    Daniel

    FM or BAPI to add line item to SD Delivery

  • Added new line and want to exchange phone...how to get replacement

    We added a third line to our family plan. I chose a phone that my MIL did not care for so we followed instructions provided in the package and sent it back. Now I need to get a replacement and have no idea how. Every time I call customer service I can't get a straight answer. We tried to exchange the phone in a store but they wouldn't do that. I am paying for a third line with no phone to use. Anyone know how I can order a replacement phone? My account info online still shows the original phone with the eligibility to upgrade in two years.
    Thanks.

    It appears then, that the original phone is still "activated" on that line - has your account been credited with the price of the phone? Do you have another Verizon phone (a used one of yours perhaps?) you could activate on that line temporarily?
    If you have a tracking number, be sure the returned phone was received and credited - then you should be able to purchase another to replace it. You can always purchase from ebay, or use a friends' phone or one of your old ones on the line....

Maybe you are looking for