Date format according to user region

Hi All,
I have an explorer where data is coming from hana cubes, what i want is :- if a user in usa opens the information space than date should be displayed as mm-dd-yy and for an Indian user it should be dd-mm-yy
I am using bo 4.1 sp3.
thanks in advance,
Yash

Hi Yash,
On the SAP HANA side you must have enabled translations into the different languages for the text. At the same time the date format should also change.
As a test change the locale of the HANA client and retrieve date results:
http://scn.sap.com/thread/3301295
Then according to the Users BI launchpad locale settings, it should format in Indian locale.
Here a link which states that at least the numeric format can also be changed directly in Explorer (I haven't checked the date).
https://ideas.sap.com/ct/ct_a_view_idea.bix?idea_id=81DAB90F-6096-4F78-BB3B-384D1826F337
Denis

Similar Messages

  • How to Change Date Format according to the Locale/Country of Portal User

    Hi,
    In a webdynpro applicaiton, how to chage the  Date Format according to the Locale/Country of Portal User.
    Consider for INDIA: mm/dd/yyyy
    Consider for UK: yyyy/mm/dd
    So when i select the date from the Date Picker[input ui element bound to date context variable], the date format should be displayed accroding the portal users country/locale.
    Creating a simple type for every date format in the dictionary would not be the right solution.
    Please help.
    Thanks,
    Regards,
    Aditya Metukul

    Hi Aditya,
    Check out the following post in SDN and refer the
    Bertram's reply on the same topic.
    date format
    Regards,
    Shubham

  • List of Number format and Date format according to the Locales

    Hallo everyone.
    I am searching for a list or document which includes the number and date formats according to the country locales. Where can I find sort of document?
    Another question: Where can I find the all parameters of swing.properties file?

    "Date - allows the user to enter a date as a parameter. Note that the data type must also be "Date" and the format must be Java date format."
    Page 4-9, Adding Parameters and Lists of Values
    Oracle® Business Intelligence Publisher
    Report Designer's Guide
    Release 10.1.3.4
    Part No. E12187-01

  • Universe Internationalize - Date Format based on System Regional Setting.

    Hi,
    We have set of universe for our product. I have created Deski and webi reports with date objects using those universes. I ran those report in the Systems which are Austrialia,Canadian and US Locale Settings. Both Deski & Webi report displays the DATE in US format in all the Boxes eventhough regional settings are configured to Aus & Canada.
    Can you pls help me how to make the universe internationalised. Specifically Date Formats? Currently we are focusing only for English speaking countries.
    Thanks,
    Venkateswaran.P

    Hi,
    Have you configured the locale settings In Infoview under 'Preferences' correctly?
    Have a look at the following settings:
    - Preferred Viewing Locale
    - Make sure you check the box for 'Use my preferred locale to format the data'
    Let us know if this works for you
    Regards
    Rim

  • Change number / date format for the user at run time

    Hi,
    Can I configure a report in Oracle Answers to display a column in a particular format for one group of users and a different format for another group of users?

    Hi,
    Yes this is possible.
    In the BMM layer duplicate column which is to be formatted for different group of users. And pull it into the presentation layer.
    Suppose Column 1 for the Group 1 users
    and Column 2 for the Group 2 users
    In the presentation layer, double click on the column and give permission for the column 1 for the group 1 users and group 2 users for column.
    First create a report with all the desired columns with Administrator or Presentation Server Administrator Role. And format the columns according to the different group of users.
    In, NQSConfig.ini change the parameter PROJECT_INACCESSIBLE_COLUMN_AS_NULL which is under security section. By default it is set to No. Set it to yes. And restart the services.
    Now logon with the group 1 users and you can see only the column1 and when logged on with group 2 users, you can see the column2.
    And will solve your problem.
    Please let me know if you need step-by-step process for solving.
    Please award if you found this useful/helpful
    Regards
    MuRam

  • Date formatting according to UTC timezones

    Using MySQL, php
    www.freecrm.x10hosting.com
    Before setting up my tables, I need to better understand the
    relevance of the datetime and conversion of this field.
    I am based in th UK (UTC, Greenwich mean time), but my host
    is in the states, which means that the "now" date and time is based
    on US time (UTC - ?)
    I have done formatting of the date i.e. <?php echo
    date('D, d/m/Y',strtotime($datetime['DATETIME'])); ?> but am not
    sure how to approach the problem relative to the timezone of any
    visitor in the world.
    I have a sniffer script which detects the browsers language
    but I can't see that being of much use.
    The site does require a register/login so I suppose I could
    have a UTC preference (i.e. UTC + 3 or whatever) set into their
    record. This could then be used something like this.
    <?php echo date('D,
    d/m/Y',strtotime($datetime['DATETIME']+$row_recordsetuser['UTCTIMEZONEPREFERENCE']));?>
    Does this make sense?
    I know the formatting is going to be a challenge as well
    because the US uses m/d/Y,
    Or is there a way of formatting the MySQL data before its
    even called?

    .oO(RichardODreamweaver)
    >Using MySQL, php
    >
    >
    http://www.freecrm.x10hosting.com
    >
    > Before setting up my tables, I need to better understand
    the relevance of the
    >datetime and conversion of this field.
    >
    > I am based in th UK (UTC, Greenwich mean time), but my
    host is in the states,
    >which means that the "now" date and time is based on US
    time (UTC - ?)
    Check date_default_timezone_set().
    > I have done formatting of the date i.e. <?php echo
    date('D,
    >d/m/Y',strtotime($datetime['DATETIME'])); ?> but am
    not sure how to approach
    >the problem relative to the timezone of any visitor in
    the world.
    You can only deal with your server's timezone setting.
    > I have a sniffer script which detects the browsers
    language but I can't see
    >that being of much use.
    It's of absolutely no use. English and Spanish for example
    are spoken
    all around the world, probably somewhere in almost every
    timezone.
    > The site does require a register/login so I suppose I
    could have a UTC
    >preference (i.e. UTC + 3 or whatever) set into their
    record.
    Possible. If UTC/GMT is not enough, you could let the users
    choose the
    offset themselves. This is how it's done in many popular
    forum scripts.
    >This could then
    >be used something like this.
    >
    > <?php echo date('D,
    >d/m/Y',strtotime($datetime['DATETIME']+$row_recordsetuser['UTCTIMEZONEPREFERENCE
    >']));?>
    >
    > Does this make sense?
    >
    > I know the formatting is going to be a challenge as well
    because the US uses
    >m/d/Y,
    YYYY-MM-DD
    Works always. ;-)
    > Or is there a way of formatting the MySQL data before
    its even called?
    Of course you can also let MySQL return an already formatted
    date, which
    is usually the preferred and most efficient way. Have a look
    at MySQL's
    date and time functions, especially DATE_FORMAT().
    Micha

  • Function module converts sy-datum to date according to user settings in SAP

    Hi experts,
    I need such a function module which converts sy-datum to a date format
    according to user settings in SAP.
    Thanks,
    Yogesh

    Use these function modules.
    CONVERSION_EXIT_PDATE_OUTPUT
    CONVERT_DATE_TO_EXTERNAL
    Please mark points if the solution was useful.
    Regards,
    Manoj

  • Controlling the Date Format

    Hi
    A sample web dynpro application displays information regardding Flight information with the flight date.
    This application is integrated in portal too.
    However, there is a requirement that end user can adjust the date format as yyyy-mm-dd or dd-mm-yyyy or mm-dd-yyyy format.
    I changed these options in Windows Regional settings to different values for the short date and long date formats. Unfortunately these changes do not reflect in the iView.
    Is ther any setting at the iView when developing the portal content or any other way to allow the user to see the date in the format he likes ? if yes, what needs to be done ?
    Thanks
    Prasad

    Hi Prasad,
    Try to use the browser locale setting instead of Windows regional setting.  You can get the browser locale
    setting from the below code
    Locale locale = request.getServletRequest().getLocale();
    Then use this locale data pattern and display date formats according to user browser locale settings.
    Hope this helps.
    Siva

  • Date format in Tablecontrol....

    Dear Experts,
    I have a type '1' program in which a screen is being called. The program displays and updates some personal information (employee info )in a Z table. The screen conatain a table control. And one of the column in the table control is of type DATE (DATUM/DATS/8), which displays the joining date of employee from the Z table.
    This program works fine when the user's date format is system default ie YYYMMDD(internal date format). But if a user with a different date format runs the program (say DDMMYYYY) the date field in the table control will be displayed incorrectly ( like YY.YY.DDMM) and then the user cant trigger a PAI. System will give error message "Invalid date format".
    When i debug the report, i can find that the corresponding date fields in ABAP are in internal format (YYYYMMDD). What can be the solution?
    Do i need to change all the date values according to user parameter in the program, before display? Or is there any option in screen painter, which will automatically convert the date format according to user defaults?
    this is an urgent issue here...
    Thanking you in Anticipation
    Deepak

    Hello Friend,
    Normally incase of dates, different users may have different date settings..So the standard procedure is..
    1. take the date into a CHAR field
    2. declare a variable with type DATE (LIKE required table
       field ).
    3. assign the CHAR field to DATE field
    4. Again assign the DATE field to CHAR field using
       WRITE...TO.
    For eg.
    Please have a look at the below code.. It may help you.
        perform format_date  changing   lwa_output-DATAB_new.
    (* here 'lwa_output-DATAB_new' is an internal table field)
    FORM FORMAT_DATE CHANGING P_DAT_NEW.
      data: l_f_datum    like rv13a-datab.
      data: l_f_date(2)  type c,
            l_f_mont(2)  type c,
            l_f_year(4)  type c.
      data:  SEPER TYPE C,
             BUF(256).
    get the date fields seperator
      BUF = P_DAT_NEW.
      TRANSLATE BUF USING '0 1 2 3 4 5 6 7 8 9 '.
      CONDENSE BUF NO-GAPS.
      SEPER = BUF(1).
      clear: l_f_date, l_f_mont, l_f_year.
      SPLIT P_DAT_NEW AT SEPER INTO l_f_date
                                    l_f_mont
                                    l_f_year.
      clear p_dat_new.
    concatenate l_f_date l_f_mont l_f_year into p_dat_new.
      concatenate  l_f_year l_f_mont l_f_date into p_dat_new.
      clear l_f_datum.
      l_f_datum  =  p_dat_new.
      clear p_dat_new.
      write l_f_datum to p_dat_new.
    ENDFORM.                    " FORMAT_DATE
    Plz..Reward me if it works..

  • Formatting a date according with user settings (user defaults)

    Hi All,
    I need to format a date I receive via JS in YYYYMMDD format according with user defaults <b>without</b> server side action (I know, this is not a good issue, but they want it).
    My solution is to write a JS function (there are a lot of it on WWW) which accepts two strings and formats the first according to the second, something like:
    userFormattedDate = formatDate('20060613','DD.MM.YYYY');
    paying attention to generate 'DD.MM.YYYY' string on server side, according to user settings.
    But if this isn't a weblog, where is the question? :-D
    The question is: is there a JS function (in DatePicker or dateNavigator BSP) provided by standard libraries which serves similar functionality?
    Does exist a JS public standard library?
    Thanks.
    Dany

    Hi Durairaj,
    Tags <% %> are for server side actions.
    The question is about obtaining the same effect, but client side.
    Thanks.
    Dany

  • Value conversion according to User default

    Hi,
    I have a Problem in a BDC. I am trying to populate pick quantity filed in my BDC ( Tcode VL02N ) the BDC works fine for a particular user default setting( NNN,NNN.NN ). But is the same program is used by some other user whose Default settings are different ( NNN.NNN,NN ) BDC fails .
    I need to convert the value based on user default before passing it to the field in BDC.
    pl. suggest me the solution .
    Thanks.
    Hitesh

    Hi
    Try to use the WRITE command before transfering the value to BDC table
    DATA: QUANTITY(20) TYPE C.
    WRITE <QUANTITY> UNIT <UNIT> TO QUANTITY.
    <BDC>-VALUE = QUANTITY.
    APPEND <BDC>.
    In this way the WRITE statament'll write the quantity in the format according to user default parameters.
    Max

  • Date Format issue while creating date parameter

    While creating date parameter in the crystal reports 2008 with SQL Server 2008 database connection, I want to change the date format according to the specified format in the database.
    For ex: YYYY/MM/DD and MM/DD/YYYY
    This paramter will be editable in the viewer i.e. I'm going to provide option to the user to change start date and end date for data selection.
    Please help!
    Thanks in Advance!

    i found this
    i am trying to get the Enter Values screen for parameters to allow entry in a specific format 'DD-MON-RRRR' connecting to an Oracle database. I found that a hack is possible yet I would prefer a clean solution that wont need files changing on client machines. The hack involved changing some javascript files within the Crystal Reports directory. The problem is I now have the date from the calendar in the correct format but it displays the following prompt: Please enter DateTime in format "dd/mm/yyyy hh:mm:ss".
    Is there a way to supress this or better yet a way to specify date format without changing the javascript files of Crystal Reports.
    I am using Crystal Reports 2008 SP1.
    answer---
    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:

  • Date format in BI query

    Hi,
    We need to display a single date format independent of date format of SAP User settings. For ex: as below.
    In a current query the  date, depending on the user's configuration could appear as:
    dd.mm.yyyy (English format)         or        yyyy-mm-dd (Swedish format)        or        mm.dd.yyyy (American format)
    I need to change some of the queries date format as below.
    a) Change all dates in query outputs and parameters to the format YYYYMMDD
    b) Change all months in query outputs and parameters to the format YYYYMM
    c) Change all financial periods in query outputs and parameters to the format YYYYPPP
    Thanks,
    Jitu

    Hi
    I think u have to use the ABAP code at the query level.
    First take the date in one variable zdate_var  and then if u want the below , then
    data : zdate_var_year type d,
               zdate_var_mm type d,
              zdate_var_dd type d.
    zdate_var_year = zdate_var(4).
    zdate_var_mm = zdate + 4(2).
    zdate_var_dd = zdate + 6(2).
    YYYYMM = zdate_var_year , zdate_var_mm.
    LIke this u can have ur o/p as per ur wish,
    Hope u got it ,
    Thanx & Regards,
    RaviChandra

  • Problem with reading English UK date format in Excel

    When I build and debug the rulebase I get the following error: Error in rulebase: "Cannot perform comparison expression on right expression with type number".
    The actual problem is that it does not read the date correctly in Excel. I have got the following date comparison >=31-09-2011 in excel. Instead of reading 31st September 2011 it tries to reed as 9th of the 31month 2011...
    I have set all language and location, region settings to English United Kingdom (dd/MM/yyyy), United Kingdom but it seems it does not help. In Excel I have set English UK as well.
    OPM version: 10.1.0.27
    Windows 7
    MS Office 7
    I had this problem previously but I resolved by changing language or location setting I think, or language for non-Unicode programs. I cannot remember exactly. But this time it seems it does not work. Reinstalling does not work either.
    Can anybody help with this?
    What settings OPM uses to read the date?
    Thank you!

    Jasmine, you are right 31-09-2011 is a wrong date, I just typed any date as an example and didn't realize that it is an impossible date . We use many dates in Excel in a format dd-MM-yyyy (we do not type in date in runtime).
    In the link you have sent it says that "Formatted attribute values based on rulebase region are used".
    Date:
    " if your region was set to the United States you would see the following: MM-dd-yy"
    "Region set to Australia, which includes the date format dd/MM/yy
    Region in our project is set to United Kingdom so the date format should be dd-MM-yyyy.
    I have checked that OPM Project Properties Language is set to English (UK) so it should be fine.
    The strange thing is that it works fine on other laptops - the date 03-09-2011 is red as 3 September 2011, but on my laptop it is red as 9 March 2011.
    When it comes to read the date 30-09-2011, on other laptops is red as 30 September 2011, but on mine cannot make a date as there is no month number 30 so it throws the error "Cannot perform comparison expression on right expression with type number"... What actually happens is that on my laptop OPM reads the dates from Excel in American format.
    As I wrote earlier, It was working fine at my laptop as well before reinstalling Windows. I had this problem long time ago again but I was able to resolve it by changing language,region settings in Windows I think.
    Now it seems like I have got the same language,region settings in Windows as I had before, my colleagues got the same language, region settings on their machines as well.
    Iit seems like dd/MM/yyyy is red fine (UK format), but the format dd-MM-yyyy is red in American format...
    What settings should be set in Windows or Excel or maybe somewhere else OPM to read the date from Excel in English UK format dd-MM-yyyy?

  • Date format in BEx

    dear all,
    i have a rather simple but puzzling question on my mind regarding date format in BEx reporting.
    here's the problem... in SU01 the date format for my users are MM/DD/YYYY.
    So for example, a variable in my BEx report, will only accept this value "03/2007" (month/year)
    question is,
    what settings can i make to allow different date formats for both 03/2007 and as well as 03.2007. Note the slash (/) and decimal (.)

    Hi SCHT,
    In SU3 make the properties for date as MM.DD.YYYY and then log-off and retry.
    Bye
    Dinesh

Maybe you are looking for

  • How can I set the United States as my country when opening PSE 10?

    How can I set the United States as my country when opening PSE 10 so I don't have to scroll down every time?

  • How to I fix a phone that fell into water?

    My phone fell into water is there any hope of saving it?? Suggestions are also welcome.

  • Document number 5000000013 not within defined interval

    Experts , When I am trying to create PO(ME21N), System is showing the error Document number 5000000011 not within defined interval Message no. 06223 Diagnosis The document number you entered does not lie within the interval defined for purchasing doc

  • Best way to use Photoshop

    I currently an running Creative Suite 2, Premium Education edition on a Windows machine. Thinknig of switching to the iMac 20" with Intel Duo. It seems there are a couple of ways to install PS on there. 1 - Adobe told me that they can send me the Mac

  • Photoshop CS 2 - Another problem !

    Hello all, OK I've had the 10.4.6 issue with PSH crashing on save, I found the Disable Get Info Plugin so now at least we can do a save as without crashing when saving to the server... NOW... I can do a save as but if we do an edit (like even as simp