Change comma to period

Hi.
I'm looking for a method to change all occurences of comma into period of a column.
Its formatted number(18,4)
I have tried:
update table
set column = replace (column, chr(44), chr(46)
where column like chr(44)
No luck
Nicolai

Hi Nicolai,
If the column is of NUMBER datatype the comma or the period isn't really stored there.
The NLS_ settings just controls how it default displayed when displayed as a string.
If the column does containt numbers, only you should never change it into varchar2.
On my system I have:
SQL> select 'DATABASE' level_, parameter, value
  from nls_database_parameters
where parameter in ('NLS_LANGUAGE', 'NLS_NUMERIC_CHARACTERS')
union all
select 'INSTANCE', parameter, value
  from nls_instance_parameters
where parameter in ('NLS_LANGUAGE', 'NLS_NUMERIC_CHARACTERS')
union all
select 'SESSION', parameter, value
  from nls_session_parameters
where parameter in ('NLS_LANGUAGE', 'NLS_NUMERIC_CHARACTERS')
LEVEL_   PARAMETER                      VALUE                                  
DATABASE NLS_LANGUAGE                   AMERICAN                               
DATABASE NLS_NUMERIC_CHARACTERS         .,                                     
INSTANCE NLS_LANGUAGE                   AMERICAN                               
INSTANCE NLS_NUMERIC_CHARACTERS                                                
SESSION  NLS_LANGUAGE                   DANISH                                 
SESSION  NLS_NUMERIC_CHARACTERS         ,.                                     
6 rows selected.So I get (Since the database and instance settings are written over at session level):
SQL> select 1.2 from dual
       1.2
       1,2
1 row selected.If I want to change it I can
SQL> select to_char(1.2, '9.0') from dual
TO_C
1.2
1 row selected.Or
SQL> alter session set NLS_NUMERIC_CHARACTERS = '.,'
Session altered.
SQL> select 1.2 from dual
       1.2
       1.2
1 row selected.Regards
Peter

Similar Messages

  • Change comma and period in key figure presentation in BEx WAD reports

    Hi gurus
    We run our BEx WAD reports in the SAP portal. By default the thousands separator is period and the decimal separator is comma. How can I change this so the period becomes the decimal separator and the comma becomes the thousands separator?
    Kind regards
    Erik

    Hi Erik,
    you can change this by setting at user parameters.
    At system, at any screen (RSA1) -> menu SYSTEM- > USER PROFILE -> OWN DATA ->  Defaults Tab, here you can change.
    and Save.
    these will reflect in WAD report output.
    Best Regards.

  • How to change the retention period of os watcher log,

    How to change the retention period of os watcher log, by default it is 7 days. but in our exadata env. automatically oswatcher logs are deleted , so i want to check the retention period.
    Regards,
    Ani

    Hi Ani,
    Go to :- /opt/oracle.cellos/validations/init.d/oswatcher
    Open the file "oswatcher" file.check for the line "/startOSW.sh X Y Z". Where X is the snapshot interval
    make the change and you are done
    Regards,
    Sunil Bhola

  • ESS Workplace - Change Default Selection Period

    Hi All,
    We are on 4.6C, using Workplace 2.1.1 on ESS.
    Through ESS, we want to display all items under "SAP Office -> Outbox -> Started Workflows" (and also "Work Items Executed by Me").
    The default seems to be 30days.
    Our SAP Office (Workplace) on ESS does not have any buttons or toolbar options for users to change the "Selection Period".
    My question: Where is this default period set? How can I change it for ESS (eg to be 90 days instead of 30days)?
    Is there a setting in the IMG (SPRO)?
    Please, I really hope you can help.
    Cheers,
    Tom
    Message was edited by:
            Tom Peou

    Hi Tom,
    unfortunatelly this function is hard coded in BWSP, there is no option to change the date in customizing or somewhere else, only in coding:
           l_seldate = sy-datum - 30.
                CALL FUNCTION 'SWI_OUTBOX_CREATE'
                     EXPORTING
                          seldate      = l_seldate
                          folrg        = w1_fol
                     TABLES
                          worklist     = worklist
                  STATUSFILTER =
                     EXCEPTIONS
                          READ_FAILED  = 1
                          OTHERS       = 2
    The problem that BWSP is not developed in the future, what you can do is to change the standard... SAP does not recommend to do thatof course.
    I hope I could help you!
    Cheers,
    Tibor

  • How to change the posting periods

    HI,
    could anyone tell me that how to change the posting periods in SD module
    regards,
    chary

    Welcome to the forum
    What do you mean by this and where to change ??  Please be clear in your question.  Also before posting, please make a search in the forum
    [Forum Search |http://forums.sdn.sap.com/search!default.jspa?objID=f246]
    thanks
    G Lakshmipathi

  • How to change the MM Period

    Hi Dear
    I wanna change the posting period from 02 - 2010 to 12 - 2009 means back date, Please help how it has to be done.
    i had tried in MMPV, MMRV, but no result. Give calender related error.
    Thanks in Advance
    Rakesh Paal

    Rakesh Paal,
    If you want to open previous period for reversal entry or additional entry
    The following are steps for Opening previous period in MM :
    1. Go to TCode SU01 (see OSS NOTES 487381)
    2. Choose "change" tab with your loging Name
    3. Choose "Parameter" tab
    give Parameters MMPI_READ_NOTE with date format as YYYYMMDD
    (say today 20071201)
    4. SAVE.
    5. Go to T-code MMPI
    6. open the old periods which you want to post into,
    Note :
    the period opening will be valid for only for the particular day only.
    7. Complete the posting you want to reverse or add
    8. Go to MMPV to close the periods.
    These steps first do it dev or quality then proceed furthere .

  • I want to change the posting period

    I want to change the posting period for closed period. how can to do?. My period 2010 is in period but I want periods in months. who can I help me?

    Hi Mary.......
    One you created you can not change the type of periods of Posting Period.
    This is SAP Standard that once you created you can not change it.
    But if you have not done transactions for that period then you can remove and recreate with the period type as 12 Months...
    Regards,
    Rahul

  • Configure Price Change in Previous Period/Previous

    In costomization, Configure Price Change in Previous Period/Previous Year if we tick on price carried over to next year, then what will be the consequences?

    Hi,
    If the check box is ticked than when you change the price of a material in MR21 with the posting date of previous period this price change will be carried over to next period .simialrly posting a price change in current period will have effect on the current period as well as the next period. Unchecking this box means it is relavant for the period on which the price change document is posted.
    Dhruba

  • Error in change of Analysis Period

    Dear All,
    We facing a problem in KE52, which when we change the analysis period and name of the PC, then we click on Activite button, but system popup an error "Profit center 123456 is posted in fiscal year 2007 and will not be delete."
    We just want activite it not deleted it, can anyone guide us pls........

    Hello,
    If it is not allow you to deletet the profit center.
    Change the validity period of that profit center,It will solve your problem.
    Regards
    Ravi

  • Change the posting period

    Hi Gurus,
    Can any one help me with changing the posting period of the company which is by mistake take as 12/2009 and i want to change it to 08/2008. I ahve already done some material movement in this and the system is not letting me change it in OMSY. Can i use MMPV to close this period and the use MMPI to open the new period as 08/2008. As this will be in past if compared to the current period in system, will there be any problems??
    Please advise.
    Thanks in advance.
    Anoop

    It is possible to re-open a previously closed period. However, it is NOT advisable to do so because the valuation data of the previous period could be affected.
    In general, it is only safe to reopen a previously closed period when no material postings have been done after the period shifting to the new period.
    If there has already been postings after the period shifting to the new period, reverting the period back will cause database inconsistencies in the history tables.
    If you decide to proceed with this process, you can use the program RMMMINIT, but, please review the documentation of this program first!! and the check the SAP notes 487381 (for the error message that you are receiving) and the 369637 (for an explanation about the inconsistencies that will be generated.
    Steps are as below;
    Go to Transaction Code SE38
    Enter program name RMMMINIT
    Execute or press F8 function button
    Enter your company code (From and To)
    Enter relevant date: Say 01/03/2008 for Mar. 2008 month to be opened as of now
    That means, user can post for the month of Feb 2008 as well as Mar. 2008
    Refer SAP Note No. 487381 for more details.
    As per SAP Notes 487381 ( If the periods are opened in advance in mmpv to again change it to current period the following process should be follow ), Go to Tcode MMPI, then go to menu bar and select system -> user profile->owndata.In that screen , under the parameters tab enter MMPI_READ_NOTE in Parameter ID field and enter, then under short description you will get Initialise period. Next Save.
    Again go to MMPI enter company code, period and year and execute.
    XXXXXXXXXXXXXXXXXX
    Other way of doing it is follow these steps( But try this method in Sand box Only):
    1. Go to OX18, and delete the plants assigned to your CO.Cd and save.
    2. Go to OMSY and change the posting period to the one u want and save.
    3.Go to OX18 and assign the plants you have deleted in step 1.and save.
    regards,
    indranil

  • How to Change the Validity period

    Hi All,
    Could any one please explain how to change the validity period of SAP as when i am trying to post the PO with a delivery date in year 2011 it is not allowing me more than 2010 year. When i checked in Calender Maintenance the last entry in it is 2010. When i am trying to change the validity of the Indian settings it is not allowing me to change the year from 2010 to 2012 or any other.
    regards
    PSNG

    Hi,
    Just check "FOPC_CONSIST_CHECK" T-Code .
    Acthually this is for "Consistency Check on Validity Period"
    I am not very sure weather change option is there or not.
    Thanks
    Mayank

  • How to change the Validility period of the cost element

    Hi All,
    how to change the validity period of the cost element. In tranc code Ka02 only the text is allowed to change but i want to change the validity period of the cost element.
    best Regards
    stephen

    Hi All,
    Thanks for your response...........
    My  concern is, i have a document posted to 43100 GL Expense acct, which is also defined as cost element, GL field status G004(cost accts). But when the original document is posted no is no assignment of any cost object.
    But i have to reverse the document and when i use FB08, the reversal is popping up with error " Assignment of CO object is neccesaary " Assign the cost center.
    Is there any way we can update the cost center for posted docuemnt? if so how? and can i make the cost element invalid for previous month so that it will not ask for cost object and change the field status of the GL from g004 to G001 only for reversal and set it back after posting is done.
    Appreciate ur feedback and suitab;le points are rewarded with points.
    best

  • Urgent:How do i change the validity period of cost element !!!!!!!!

    How do i change the validity period of cost element like:
    From 03/01/2008 to 01/01/9999
    To 01/01/2000 to 01/01/9999
    Please help me.I will assign you points.Thanks in advance.

    hi,
    pls go to t.code ka02 and select that particular cost element and go to menu bar and select edit -analysis period and select other analysis period there we can change
    if it is useful to you pls assign the points
    Thanks & Regards
    phaneendra

  • Change fund mgmt period

    we have f. y  from april to march and f.m period from april to march. how can we change this period to sept to oct. we have already done this by hit and trial. but i need some steps to know that what we have done is correct or not. and if not then what are the correct steps to change the fm period succesfully.
    please donot send a link containing  5-6 pages. please send some specific points.

    over

  • InStr search for comma finds period?

    Hello,
    I am working on a macro in Excel 2007 to find commas in a string.
    This:
    commaAt = (Len(inp) - InStr(1, strTmp, ",", vbTextCompare))
    Returns the location of commas AND periods.
    Is there a way to get InStr to find just commas?
    I think this may be connected to the mixed use of commas and periods as decimal points.
    Curiously, on the worksheet FIND works on only commas with A8 being the string to parse.
    RIGHT(A8,(LEN(A8)FIND(",",A8,1)))
    Thanks

     
    Hello,
    Your question answered my problem.  Yikes I was blind. And was seeing what I wanted in Len(inp).
    That has to be: Len(strTmp)
    inp = "AZ,00000.00,4,aaaaaaaaaaa,bbbbbbbbbbb,cccccccccccc,ddddddddddd,00003,X,X,X,X,X,00<cr><lf>"
    I am trimming off comma fields from left to right in a for loop. And the first trim value is 3 which coincidentally matches ".00" the second pass trimmed the correct number of ascii but from the wrong starting point.
    I am very sorry to have missed that and posted. I should have gone to bed earlier.
    Thank you. 

Maybe you are looking for

  • Problem in UWL

    Hi, We have deployed ESS/MSS 1.0 business Package on EP 7.0. sp13 I am encountering problem in UWL. Whenever i click on any task in UWL, it displays following error :- Services is not started. We had then change setting for sysstem >>WAS properties i

  • Lumia 1520 error code 8018830f

    Downloading the update can't install the message " the update was downloaded but can't be open" Tried to change language no change. Any other options ? Boaz Solved! Go to Solution.

  • Identifying syntax and logical errors

    Hey guys, I'm new to java and I can't figure out this problem as I can't make JDK work with comand prompt for some reason and when trying to write the java in a web page it won't work. Can anyone tell me what the three syntax errors and one logical e

  • CF9.0.1 + 2 hotfixes - CFLOG not working

    Hello, everyone. I have placed a CFLOG inside a CFC function that updates an article, at the very end of the function so that it can log who updated, the title of the article that was updated, and a timestamp. According to the CF9 documentation, if t

  • Pictures uploaded to photos app not available when uploading through Facebook

    I've uploaded pictures to my photos library, which show up in the various albums that I've transferred them to.  In Facebook, when I try to upload pictures the recent pictures do not show up when Facebook access's those albums.  Earlier pictures are