How to change line?

How can I store the string in a cell in oracle table like following format running insert statement?
'aa
bb'
Thank you

SQL> insert into test
  2  values('aa
  3  bb');
1 row created.
SQL> select str from test;
STR                                                                            
aa                                                                             
bb                                            
SQL> select replace(str,chr(10),' ') str
  2  from test;
STR
aa bb                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • How to change line item numbers

    HI
    when we are creating sales order, if we enter material number, line item number will be autmaticallly assigned(for eg 10,20,30 ....). if i want to change that number what i have to do(eg: to 1, 4, 5, .....). in standard SAP, the field is grayed out once the no is assigned. so i dont know how to change the no. please help me in this.

    Hello,
    You can give any number manually as the line item when you are creating the sales order.
    While creating the order give the item number also manually, then the system will accept. Once you given the line item number , it will not allow you to change it.
    Then you need to delete the line item and re-insert with the line item number you want.
    Prase

  • [Q] how to change lines in dynamic textfield

    Hi, I am struggling to change lines of loaded text from xml.
    Basically I wrote few sentences in one child of xml file but
    when i loaded it to dynamic textfield I cant change the lines.
    (i tried with <br> /n both didnt work, textfield was
    multilined)
    thank you for your time

    how much text are we talking about?
    What parameters have you set for the text field? multilane?
    html?
    What size is your text field?
    Just some basic questions to think about. I actually link to
    an external text file if I have too much text to deal with. However
    I usually write text box's in the code.
    You already have the text field, so you shouldn't need the
    create command, which I probably got wrong anyway.
    my_TXT.createTextFeild(name,depth, x, y, width, hight)
    my_TXT = new textformat ("my_format")
    my_format.size = 27
    my_format.mutilne = ture
    my_TXT.html = true
    my_TXT.htmltxt = "bla bla <b>bla</b>"
    my_TXT.format(my_format)
    Again I can't be sure I got all the names right, but
    that’s about how it works.
    Again you don't have to use that, but to get the text to work
    you at least need mutiline to be on. To get html to work, you need
    html to be on, and you need to use the htmltxt to write it to the
    txt field in code. However I’m not 100% on if that’s
    the correct way to write it.

  • How to change line width runtime?

    Hi,
    I want to change line width dynamically or runtime depending on certain conditions.
    I had written format trigger on line and used SRW.SET_BORDER_WIDTH but it does not work. so what is other possible solution for this?
    Thanks in advance.

    In your variable vertical elasticity frame put several fixed vertical elesticity objects (lines, frames, etc.) of different heights. In the runtime, suppress all the objects in their format triggers, but one with the height you need. The objects need to be made invisible by setting their color to white.

  • How to change line color in line graph

    Hi,
    I have one 'on change of' field and has  three 'show value' fields.
    Crystal has assigned default colors for  these 3 lines..but i want to assign my own colors..is this possible?
    and can we adjust the line thickness?
    I am using crystal 2008 complete edition.
    And i am using formulae for the 'show value' fields..so the legend is showing '@' sign..how to get rid if this?
    Aprreciate any info...
    Thanks,
    Preethi

    If you click on the lines themselves, it should highlight the specific line you clicked on.
    Once the line is highlighted, right-click on the line and you should be able to "format the connector line" properties by changing the thickness, colour and type of line.
    The same can be done for the titles of the chart, simply click on one of the titles, once it's highlighted you should be able to change the title names, font colour, font type etc.
    --Lisinda

  • How to change line type on EAM Purchase Requisitions

    When an EAM Work Order is released, we get Purchase Requisitions with the Line Type as the Purchasing Options default. This can be changed on the req but there is no option to select the req line type on the EAM Work Order page.
    There's a Line Type field on the EAM Work Order page but it's different from the Requisition Line Type.
    Just wondering what are our options to give users the ability to select req line type from EAM Work Order page. We know personalization is an option but we'd need to add a brand new field and even if we do, we are unsure that ReqImport will actually use this new field.
    Workflow extensions could also be a solution and was hoping that someone out there would have some tips and tricks to share.
    Regards,
    Sanjib

    I think the only way is to:
    1) read the address data from Matrix 178 and keep the data in your Add-On
    2) delete the original address (activate the menu item (ID = 1293) or send Ctrl-K via Application.SendKeys)
    3) "click" on "Define new"
    4) and enter the data you have read in 1) into the cells of Matrix 178 again...
    HTH

  • How to change line in JLabel?

    I am adding a string in a label, but the string is too long, I would like to separate it into two lines or three. But when i use "\n" in the string, it doesn't seem to work. So, how can i do it? Please help! Thank you!

    hi
    swings support html content.so try using the table tag.hope this helps.

  • Graphs- Line Type, How to change line colors

    Hi,
           Iam developing graph line type with 2 seriese by default it show two colors  i.e Blue and Green . But i need red color for one of series. I checked in edit customization also i didnt find any option to change color of line . Pls helpme...
    Thanks,
    Krishna

    ]Hi,
    I think in global settings there is a option.
    Refer this link
    [customizing graphs|https://docs.google.com/viewer?a=v&q=cache:R1LWS-t_9xcj:www.sdn.sap.com/irj/scn/index%3frid%3d/library/uuid/c0bad079-1779-2c10-a8b1-ba76854ea6d1%26overridelayout%3dtrue+&hl=en&gl=uk&pid=bl&srcid=ADGEEShZuzUOlbxrVLkMLz511amV8K8seqKtGnfF-IXzNr_BRxDiNuT1OBIa0qCjD4Juf_RXul0iXYZJJpFM7foVU3oShbhRnQcFzCT637fSf7v5Qt2jJkHAZkFnfRSFOQZsoKLuatil&sig=AHIEtbRRDGjx1OANmLwZks8AmQfUMpGISQ
    Karthik.R

  • How to change line item column order in FV50

    Hi,
    I need to change the line item column order in GL document entry screen. I tried drag and drop but it didn't work for all the columns. Is there a setting I can change for all the users?
    Thanks for the help.

    It does not work for all the column, but those columns that you can change can be fixed. First change the column to the desired sequence, then click on small icon at the right end of the column. When you take the cursor over that corner icon, it displays "configuration".
    There, give a zname and enable set as default. and save.

  • How to change line size in ABAP list

    Dear:
        As subject.
        My code as below:
       TOP-OF-PAGE.
        NEW-PAGE LINE-SIZE g_line LINE-COUNT 65.
       variable g_line dynamic.
       In my testing the 'NEW-PAGE LINE-SIZE' is not work.

    Hi,
    LINE-SIZE you have to define with report statement.
    report .......................     LINE-SIZE 255.
    Reagrds,
    Jyothi CH.

  • How to Change Open item into Non open item for GL

    Dear All,
                    I have created a GL in FS00 and clicked the open item management for it. 1 entry is posted to that account.Then i have reversed the entry and want to change the Gl from open item to non open item .The message appears as the balance is zero but open item exists.Please suggest how to make it non open
    Moderator: Please, search SDN

    Hi,
    Check the below threads which are useful.
    Open item management status change
    How to change Line item to open item management in G/L transaction?
    Thanks
    Aravind

  • How to set line style to be underline for links using PDLinkAnnotSetBorder

    Hello,
    I want to set link line style to be underline. am not finding any difference for solid and underline except cosname of S  (BS) is U or S
    Please anyone tells me how to change the link line style to be underline.
    Thanks,
    Sow

    Thanks for reply.
    I am using code as show below to change line style to solid and dashed.
    PDLinkAnnotBorder pdLinkBorder;
    PDLinkAnnotGetBorder( rpdAnnot, &pdLinkBorder);
    //For solid
      pdLinkBorder.dashArrayLen = 0;
    PDLinkAnnotSetBorder( rpdAnnot, &pdLinkBorder);
    //For dashed
    pdLinkBorder.dashArrayLen = 1;
    for( int iIndex = 0; iIndex < PDAnnotMaxDashes; iIndex++)
    {     ASInt32 iThickness = 3;
        pdLinkBorder.dashArray[iIndex] = Int32ToFixed( iThickness );
    PDLinkAnnotSetBorder( rpdAnnot, &pdLinkBorder);
    how should I do for underline. If am using cosobject how to change line style to underline using cosobject
    Please let me know.
    Thanks,
    Sow

  • How to change  delivery  block for all item in the schedule lines via va32

    dear sap expert:
    i onle can  change delivery block for one  sales order item in the schedule line  every times via va32,it will take so many time because there are hundreds of item  in a sceduling agrrement. how to change all the item  one times.
    please give me a way to resovle the problem.
    best regards.

    dear:
      the fast change function cann't resovle the problem,i first double click the item of schedule agreement  ,then select the schedule lines option, finally in the delivery block input the reason of bolck.
    best regards.

  • How to change a setting in the Java Control Panel with command line

    Hi,
    I am trying to figure out how to change a setting in the Java Control Panel with command line or with a script. I want to enable "Use SSL 2.0 compatible ClientHello format"
    I can't seem to find any documentation on how to change settings in the Java Control Panel via the command line
    Edited by: 897133 on Nov 14, 2011 7:15 AM

    OK figured it out. This is for the next person seeking the same solution.
    When you click on the Java Control Panel (found in the Control panel) in any version of Windows, it first looks for a System Wide Java Configuration (found here: C:\Windows\Sun\Java\Deployment). At this point you must be wondering why you don't have this folder (C:\Windows\Sun\Java\Deployment) or why its empty. Well, for an enterprise environment, you have to create it and place something in it - it doesn't exist by default. So you'll need a script (I used Autoit) to create the directory structure and place the the two files into it. The two files are "deployment.properties" and "deployment.config".
    Example: When you click on the Java Control Panel it first checks to see if this directory exists (C:\Windows\Sun\Java\Deployment) and then checks if there is a "deployment.config". If there is one it opens it and reads it. If it doesn't exist, Java creates user settings found here C:\Users\USERNAME\AppData\LocalLow\Sun\Java\Deployment on Windows 7.
    __deployment.config__
    It should look like this inside:
    *#deployment.config*
    *#Mon Nov 14 13:06:38 AST 2011*
    *# The First line below specifies if this config is mandatory which is simple enough*
    *# The second line just tells Java where to the properties of your Java Configuration*
    *# NOTE: These java settings will be applied to each user file and will overwrite existing ones*
    deployment.system.config.mandatory=True
    deployment.system.config=file\:C\:/WINDOWS/Sun/Java/Deployment/deployment.properties
    If you look in C:\Users\USERNAME\AppData\LocalLow\Sun\Java\Deployment on Windows 7 for example you will find "deployment.properties". You can use this as your default example and add your settings to it.
    How?
    Easy. If you want to add *"Use SSL 2.0 compatible ClientHello format"*
    Add this line:
    deployment.security.SSLv2Hello=true
    Maybe you want to disable Java update (which is a big problem for enterprises)
    Add these lines:
    deployment.javaws.autodownload=NEVER
    deployment.javaws.autodownload.locked=
    Below is a basic AutoIt script you could use (It compiles the files into the executable. When you compile the script the two Java files must be in the directory you specify in the FileInstall line, which can be anything you choose. It will also create your directory structure):
    #NoTrayIcon
    #RequireAdmin
    #Region ;**** Directives created by AutoIt3Wrapper_GUI ****
    #AutoIt3Wrapper_UseX64=n
    #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
    Func _JavaConfig()
         $ConfigFile_1 = @TempDir & "\deployment.properties"
         $ConfigFile_2 = @TempDir & "\deployment.config"
         FileInstall ("D:\My Documents\Autoit\Java config\deployment.properties", $ConfigFile_1)
    FileInstall ("D:\My Documents\Autoit\Java config\deployment.config", $ConfigFile_2)
         FileCopy($ConfigFile_1, @WindowsDir & "\Sun\Java\Deployment\", 9)
         FileCopy($ConfigFile_2, @WindowsDir & "\Sun\Java\Deployment\", 9)
         Sleep(10000)
         FileDelete(@TempDir & "\deployment.properties")
         FileDelete(@TempDir & "\deployment.config")
    EndFunc
    _JavaConfig()
    Now if you have SCUP and have setup Self Cert for your organization, you just need to create a SCUP update for JRE.
    Edited by: 897133 on Nov 16, 2011 4:53 AM

  • How to change column heading in line item report

    Hello Experts,
    How to change the column heading in the line item report CJI4 or CJI3  ?
    for eg: The field WBS will show as Object in the heading. Here  I would like to change to WBS.
    Is there a way to do this without changing ABAP code
    FATMAN

    Not possible through standard I guess.
    Enhancement you should be looking is COOMEP01 which includes the component EXIT_SAPLKAEP_009
    i.e., Line Item Reports: Customer-specific Formatting of the Lists.You use this enhancement to modify column headings.
    Regards
    Sreenivas

Maybe you are looking for