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

Similar Messages

  • 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

  • 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

  • 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

  • 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

  • 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 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);

  • 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.

  • Delimiteddata and number format mask

    Hi,
    I need to export data from my report to a csv format in reports 6i.
    I installed patch 12 so I can use the delimiteddata format.
    This works but I do have problems with the number format.
    I formatted all of the number fields so they appear as desired in the report when running in C/S mode.
    I learned that you can use the number format, date format and cell wrapper variables for delimited and delimiteddata formats.
    These parameters do work with delimited output but they don't when generating delimiteddata.
    Only when I start the reports builder with numberformatmask=something on the command line then the number format given on the command line will be used. but then you cannot change it (even not in the dialog when generating a delimited format) anymore once reports builder is open.
    Is there a solution for this problem or is it fixed in a later patch (I haven't seen anything new in then patch 13 notes).
    Piet

    Hi Pieter,
    This does looks like a Bug. Please contact Oracle Support to assist you in getting the right patch or otherwise.
    Regards
    Oracle Reports Team.

  • TextField (for Input) which supports alignment and number format - AJAX?

    Dear forum members,
    I have a tabular form containing a lot of number fileds shown as TextFileds, where Users may input large numbers.
    Is there any way to let the numbers inside the TextFileds be shown right aligned.
    And maybe using a number format, which the user isn't bound to follow (just for display)?
    Thank you
    Johann

    Hello Johann,
    In the Column Attributes set the Element Attribute (in the Tabular Form Element) to style="text-align:right" for right alignment.
    You can use the Number / Date Format (in the Column Formatting) to 999G999D99 (or whatever you like) to get a number format.
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    http://www.bloggingaboutoracle.org/
    http://www.logica.com/
    You can award this reply to your question by marking it as either Helpful or Correct ;-)

  • Input Date display and submit formats

    I need to insert Timestamp into the Oracle database table field.
    My particular EO attribute is of type "Timestamp", so that I can insert the Date with time. Also in the control hints format is "dd/MM/yyyy hh:mm:ss a"
    The problem is that I just need to show only the Date without time in my table cell using input date.
    If change the format in the control hints then I am unable to insert timestamp.
    I also see there is a af:convertDateTime component inside af:inputDate.
    Can some show easy path to achieve this?
    In short how to display only selected date but to insert actual timestamp.
    I use JDev. 11.1.1.3
    Thanks.

    Thanks for the concern.
    But if I use "af:convertDateTime" and set pattern to "dd/MM/yyyy" to achieve showing date only I will loose the timestamp to be inserted.
    Basic requirement is to show date only and insert real timestamp using input date, also note that I insert timestamp on another user action after the user change the input date value.
    I feel like this can not be achieved with single input date in ADF. Am I right? Or is there a way?
    Please help.

  • Date Formatting and SSN Formatting from BIP Report

    Hello,
    I found out how to format phone numbers.
    I just need help in formatting 2 fields from our report.
    1. The Call Date (MM/DD/YYYY HH:MM:SS AM/PM)
    2. SSN (123-45-6789)
    First, I am using the command below to convert the date into canonical format after the namespace:psfn.
    <?psfn:totext(ssWarrantyUpdatedDt, 'YYYY-MM-DDTHH:MI:SS')?>
    I then tried formatting the date using the Microsoft Format Mask definitions but it didn't work.
    On the SSN, I didn't see anything from the bookshelf that shows me how to do this formatting.
    Can anyone please help me?
    Thank you

    Hi,
    If you XML data is coming from Oracle Report (RDF), why dont you do date and SSN formatting in SQL itself. So that you will get directly the required format in XML. That is how I am doing in my report. Most of the time it is easy to make changes in Oracle Report SQL rather than in template bcoz BI publisher dont support so many MS Word properties.
    Thanks,
    Omkar

  • SharePoint Designer workflow - date display and number ;# signs.

    Hi,
    I have created a SharePoint Designer workflow with customized email messages sent to specified people.
    I've got tow questions:
    1) In the email message there are lookups for date.The date is displayed in mm/dd/yyyy format and I would like to change it into dd/mm/yyyy. Is that possible?
    2) In the email messages there are lookups for a value from a list. the values are displayed with a number ; and # signs. For example 1;#PortfolioA  2;#Portfolio2. How can I eliminate the number,; and # signs and have the portfolio displayed only as
    'PortfolioA"?
    I will be grateful for any suggestion.
    Thank you.
    Jowita

    Hi Jowita,
    For the Date&Time column, you can create an additional column using Calculated type, and set the formula is: =TEXT([Date],"dd/mm/yyyy"), then when you design the email body in workflow, you can use the calculated column instead of the
    original date column.
    For the Lookup column, when you add it into the email body, you can set it returns field as “Lookup Value(as Text)”, like the screenshot:
    Thanks,
    Wendy
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

Maybe you are looking for