Date format and number format- need help

Hi everyone,
I'm working with JDeveloper10.1.2, struts and uix pages.
I have 2 problems:
1 - I have a field of type date in my uix page and the format is like this='24-Jun-2006', but I need to change this format to be '2006/06/24'.
2 - I have an attribute of type number(salary) and when I drag and drop this attribute from the DataControl Pallete and run the project, in the uix page I see a number, for example: salary = '123456', but I should see salary = '123.456,00'.
And when I write, for example '123.456,00', when I commit this value, I should see in my DataBase something like this '123456,00'.
I alredy tried to change the attribute properties in the Entity Object but without success. :(
Can anyone help me with this problems?
Thanks,
Atena
Message was edited by:
Atena

nd when I write, for example '123.456,00', when I
commit this value, I should see in my DataBase
something like this '123456,00'.Sorry I replied before thinking about the problem. You will not see the value in the db as such, the db will show the values differently depending on the session settings.
The values will only show up as such in the form. To see them such in the db do:
alter session set nls_date_format='yyyy.mm.dd'
for the date and
alter session set nld_number_format='0.00'
for the number

Similar Messages

  • Date Format and Number Format

    Hello,
    Is there any possibility to change the date or number in HANA? Is it possible for a user to see amounts in the data preview as e.g. 12.000,50 vs. 12,000.50 ?
    What about a similar question concerning the date format?
    Thanks,
    Ingo

    Hi Ingo
    the date/number format completely depends on the client you are using to display the data.
    In SAP HANA studio, you can switch on/off output formatting :
    However, this will use the local locale formatting preferences.
    For more control on the formatting a proper reporting tool is required.
    - Lars

  • Break formatting and number format of SUM value

    Where can I put number formatting functio, which will format breaking sum values...like:
    to_char(#SUM_VALUE#,'fmt 999G999G999G990')....maybe this thread is somewhere posted, but I cannot find it.
    Next, how to exclude showing reports total at the end of report?
    Is there any working demo to see some hints...
    THX!
    Message was edited by:
    Funky

    Hello Damir,
    "Maybe a hint for feature releases to have an option to disable total report sum on column …"There is a relative simple workaround, which will allow you exclude or highlight (style) this total report sum line, as you can see in here - http://htmldb.oracle.com/pls/otn/f?p=22710:10
    In the Report Attribute page, I'm using the Break Formatting section first field "Display this text when printing report sums" - http://i10.tinypic.com/4ie8ck5.png .
    If you want to exclude this line, you should use the same color as your cell background. For the example page, the code is looking like this:
    <div id="FinalSum"><script type="text/javascript">var lastRow=html_CascadeUpTill('FinalSum','TR'); lastRow.style.color='#f7f7e7';</script></div>If, on the other hand, you want to highlight the line, or use any other CSS attribute style available, the code would look something like this:
    <div id="FinalSum1"><script type="text/javascript">var lastRow=html_CascadeUpTill('FinalSum1','TR'); lastRow.style.backgroundColor='#CCCC99';</script>Total Report Sum</div>    Regards,
    Arie.

  • A question about date and number formats

    Hi,
    I have to change date and number formats from USA to UK format. Is the only place I must do that in user settings (SU01) ? I mean, is this enough or are there any other customizing settings, in FI for example ?
    Thanks in advance,
    Paulo

    I tested very much and the only place we should set it is on user settings

  • Currency and Number Formats

    Hi Guys
    Is anybody aware of an equivalent of ISO 8601 that deals with Currency and Number formats?
    Thanks

    Thanks John
    My original question was a little ambiguous. What I'm really asking is whether, as with 8601, there is an agreed standard way of expressing numbers, (including currency). For instance, is there an 'approved' sign for indicating the start of the decimal portion, ('.' or ',')?
    The application already makes use of the various formatting utilities and ResourceBundles but I've been asked to investigate if there is an ISO specification that we should default to, (rather than just UK English). As I'm sure anybody who has used their site will appreciate, it is not overly simple to establish the existence and contents of a standard ;->
    Thanks in advance
    J

  • HT201365 i lost my ipod5 and cant remember the serial number i need help getting the serial number on my ipod 5

    i lost my ipod 5 and i cant remember my serial number i need help with my serial number

    Finding serial number for a device - https://discussions.apple.com/message/18246553 - from box or backup file, not from Apple.
    http://support.apple.com/kb/HT2526 - If you registered a device you can use My Support Profile to find a list of serial numbers that have been purchased or registered with your Apple ID.
    My Support Profile - https://supportprofile.apple.com/MySupportProfile.do
    Maybe a way to find serial number after a device is no longer in your possession - https://discussions.apple.com/message/19524469 - "The easiest way to find your serial number is this Open Itunes...click help... run diagnostics.....(tick or untick as necessary) so that you just have ticked the last two, device connectivity and device sync. run these tests. it will say no ipod/ipad found but will give results of test....scroll down to bottom of results... here you will find the serial number of your last attached devices."
    iPhone: Locating the serial number, IMEI, ICCID, or MEID - http://support.apple.com/kb/HT1267 - from phone itself, a computer to which it has been backed up, or packaging.

  • I bought CS6 and got the Serial Number, but when I install, it said cannot verify this number, I need help!

    I bought CS6 and got the Serial Number, but when I install, it said cannot verify this number, I need help!

    Contact Adobe (You may need the chat option):
    Contact Customer Care

  • I have printers at home and work. i need help programing my macbook print utility so computer knows which printer to use depending on where i am. thanks

    i have printers at home and work. i need help programing my macbook print utility so computer knows which printer to use depending on where i am. thanks

    Look for cloud solutions such as DropBox, OneDrive, SugarSync or others. They are all cloud based services that sync documents between computers via the cloud. Of course another solution is simply a flash drive formatted in exFat so that Macs and Windows computers can read it.

  • Paragraph format and character format in script

    hi expects,
    what is the difference between paragraph format and character format in script?

    Hi Rohit,
    Paragraph formats control the formatting of paragraphs in SAPscript  whereas Character formats are used for text formatting within paragraphs.
    Character formats will have Standard attributes like Bold, Italic, Underline, Font family, Font size etc.
    Paragraph formats will standard attributes of Character formats and in addition to this, they will margins, Indents, tabs, Alignments, Line spacing and delimeters.
    Check this link for Paragraph formats
    http://help.sap.com/saphelp_47x200/helpdata/en/d1/802e02454211d189710000e8322d00/content.htm
    Check this link for Character formats
    http://help.sap.com/saphelp_47x200/helpdata/en/d1/802e43454211d189710000e8322d00/content.htm
    Thanks,
    Vinay

  • Want to check gift card balance but lost pin number. Need help.

    Want to check gift card balance but lost pin number. Need help.

    mamajenni70 wrote:
    I ordered a recovery disk yesterday.    Before I could write down the order number from the confirmation page I accidentaly clicked on something because I lost the page.    Course I got an email confirmation on the ac cord but I did not get an email verification on the recovery disk which I was hoping for.    Is there somewhere to check on orders without the order number or somewhere to contact HP for FREE to find out so I can check on this order.   I paid extra to receive the package the next day.   Thank you for any help!
    You need to contact HP support not the HP user Forum about your recovery disk if you ordered them.
    I am a Volunteer to help others on here-not a HP employee.
    Replies aren't online 24/7 because of Time Zone differences.
    Remember in this Day and Age of Computing the Internet is Knowledge at your fingertips if you choose understand it. -2015-

  • Difference between deploying oracle report in RDF format and REP format

    Hi All,
    Good Day!!!
    We are frequently encountering report failures in our production environment with the error message "REP-1247: There exist uncompiled program unit(s)"
    But the report executes successfully in the next try and the issue is intermittant. In production the reports are deployed in RDF format.
    So in our test environment we tried of deploying the reports in REP foramat and we cant find any errors.
    Is there Difference in deploying oracle report in RDF format and REP format?
    Is there any diffence in execution?
    Your inputs will be much appreciated!!!
    Thanks in Advance,
    JK

    Hi,
    REP is to RDF what FMX is to FMB, MMX is to MMB, etc.
    Only difference here is that if you deploy RDF, not REP, then the RDF is compiled at runtime by Reports Engine and then executed. In other words, if REP is deployed then it is straightway execute.
    That should explain all your observations.
    Cheers.
    PS: Please post Oracle Report queries on {forum:id=84} forum.
    Edited by: Prabodh on Jul 20, 2012 4:54 PM

  • Date and Number formatting

    Hi All
    I am getting data from RFC and able to bind it into table. Now I want to format date and numbers into user logged in format. i.e. If user enters country as Germany while registration,date format should be European in table displayed otherwise it should be US format.
    Can any one suggest me how to do it?

    Thanks for your your Help Abhilash. I slightly changed code and now its working. I think this is almost same thing that you discussed.You can see code below.
    Can you help in working with Number  format also? I am getting number format exception. String returned when RFC executed is in 10,000,00. I need to change according to user locale format. I tried doing it in java also. When I remove commas in above string its working fine.
    public java.lang.String DisplayingDateFormat( java.lang.String date )
        //@@begin DisplayingDateFormat()
                        // Current date Format in BW
                             SimpleDateFormat sdf = new SimpleDateFormat("MM.dd.yyyy");
                             String ChangedDateFormat=null;
    try{
    //     sdf.setLenient(false);
    //Parsing String to Date
         Date sqlDate =sdf.parse(date);
    //     wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess(" Source date"+ ele.getSched_Date());
    //     wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess(" Date converted "+sqlDate);
    //       Getting User Locale
    //Getting Locale Information form Current Session
         Locale userLocale= WDResourceHandler.getCurrentSessionLocale();
         //wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess(" User Current Locale "+userLocale );
    //Setting date format ie Short,default etc
         DateFormat dateFormat = DateFormat.getDateInstance(DateFormat.SHORT, userLocale);
         //wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess(" Formatting to user locale ");
         //Converting Date to String
         String newDateString = dateFormat.format(sqlDate);
         //wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess(" Changed Date Format "+newDateString);
         //binding to Table UI element
         ChangedDateFormat=newDateString;
    catch(Exception e)
         wdThis.wdGetAPI().getComponent().getMessageManager()
                             .reportException(
                             e.toString(),
                             false);

  • Applying date and number format mask

    I have specified a date format for an attribute and a number format for another attribute of an entity object using Entity Object Editor - Control hints for the attributes.
    The date format is:
    Format type: Simple Date
    Format: dd.MM.yyyy
    The number format is:
    Format type: Currency
    Format: 0,000.00 km
    When using &lt;c:out value="${bindings.MyDate}"&gt;&lt;/c:out&gt; the format mask for the date is applied and it looks good, but when using
    &lt;c:forEach var="Row" items="..."&gt;
    &lt;c:out value="${Row.MyDate}"&gt;&lt;/c:out&gt;
    &lt;/c:forEach&gt;
    the format mask is not applied.
    When it comes to the number format it is not applied no matter what I use.
    I have tried setting the format for the view object attributes as well but the result is the same. How do I make this work?

    Can it have something to do with &lt;html:form&gt; ? Since it works using &lt;c:out value="${bindings.MyDate}"&gt;&lt;/c:out&gt; inside a html:form.

  • Date and Number format

    Two questions:
    I want to enter "3/24" (without the quotes) but Numbers shows "March 24, 2009". I really want it to show 3/21. How do I do this?
    Second, to show a number as "Currency" Help says to select the cell then choose "Currency" from the Format Bar. "Currency" doesn't show up in the Format Bar.
    Thanks for your help.

    pee,
    First question. Format your cell as Text before entering the data.
    Second question. The Currency symbol in the Format Bar is a "$", without the quotes. The word is spelled out in the Cells Inspector Cell Format drop-down list, the other place where you can set the format.
    Regards,
    Jerry

  • Date and number format with JDEV 10 g

    Are there some known bugs in JDEV 10g regarding dates and currency format? I am using bc4j, struts and jsp. I have tried setting the format on the entity and view objects but it works sometimes and sometimes not.

    More info please.

Maybe you are looking for

  • How to Enhance the Context menu in a Web Report

    Gurus, Scenario is to Enhance the Context menu in a Web template with some Custom Values. I found some notes in SAP.HELP but could not get thru it. If anyone has added some Custom developed menu's in the Context menu, can you let me know as well. Urg

  • Reader XI freeze when click on attached files in PDF

    I am opening an encrypted (AES-256) PDF file that has an attached PDF and Excel document embedded as a file inside the PDF. If I click on either the attached PDF or the Excel doc, Reader XI will always freeze. This will not happen in X or 9.  Yes, I

  • Bootcamp Trackpad Click is NOT Working

    Hi Everyone I have Macbook Pro (A1278) and installed bootcamp and Windows 7 prfessional (x64). in windows 7 the Click(Bottom Left Corner  and Right click(Bottom Right Corner) button is not woking.

  • TS3694 how to restore my iPad if I forgot the password on iOS7.02

    My son created a password and he forgot what password. after many attempt, the iPad is disabled and cannot access the iPad. I try to connect back to the iMac to sync and restore, I am unable to do so as iTunes says" Go to iClould on your iPad and tur

  • How to restart my computer if i forget password

    forgot my password and i am not sure how to get back in. i have a back up of all my data so i dont care if i have to reset everything to its original manuafacturer setup . pls advise thanks