How to display system time zone if user time zone is not set?

Hi,
My application implicitely chooses ALA as time zone if the user time zone is not set.
How do I check this?

Hi,
Try using these FM's
TZON_GET_USER_TIMEZONE
GET_SYSTEM_TIMEZONE
Z_LOCATION_TIMEZONE
You can set the timezone in sy-zonlo by using the 1st FM and setting sy-zonlo in your application.
I think system takes ALA default because its the 1st timezone in the table.(check FM BWDT_LIST_TIMEZONES)
Regards,
Amit
Edited by: Amit Iyer on Aug 25, 2009 3:38 PM

Similar Messages

  • System time zone and User time zone is differenct.

    Hello friends.
    We use SRM 5.5 with classic scenario. (SP07)
    Our system time zone is CET.
    Now if we have a user different with a different time zone in the user master, for example, a UTC+9.
    We can end with up with a received date in service BBPBWSP_SIMPLE that is before the created on date in the shopping cart.
    A shopping cart is created at 2006.05.10 but the received date in Approval says 2006.05.09.
    So approver can be confused the requested date.
    Is this standard bugs or standard design?
    How can we change the received date with user Time Zone?
    Thank you,
    Best Regards,
    SH.

    Hello,
    As far as I know, if you do not populate the field "of the user" in SU01, system takes the pattern timezone, which is UTC, to display to the end user in web gui.
    I did the following test:
    - I created a RFX with a user who's timezone (in tx SU01) is set as:         
    Sys. Time Zone     CET                                                       
    of the User        INDIA                                                                               
    - CET time  was 20:01:55                                                    
    - GMT time was 18:01:55                                                    
    - India time was 23:31:55                                                                               
    Looking at this RFX in BBP_PD I see the following:                           
    Same user (India timezone and CET as "Sys. Time Zone"):                                                                               
    Created_At: 20:01:55                                                         
    Changed_at: 20:01:55                                                                               
    DETAILS ->                                                                   
    Created at: 18:01:55                                                         
    Changed at: 18:01:55                                                                               
    RFX header (description): 23:31:55                                                                               
    So, if you want to populate the header document in WEB GUI with another time zone than UTC, you have to use the field "of the user", under Personal Time Zone. However, if you want to display the UTC time zone in header documents in web gui, you can leave this field empty.
    Kind regards
    Ricardo

  • How to display system time

    in sql we use sysdate in dual to display the system date like wise how to display the system time since i am a beginner i need ur help please.

    In Oracle Date Data Type save time information, all you need to do is using to_char function or NLS_DATE_FORMAT to display it,
    SELECT TO_CHAR(sysdate, 'DD-MON-YYYY HH24:MI:SS') FROM DUAL;
    or
    alter session set NLS_DATE_FORMAT='DD-MON-YYYY HH24:MI:SS';
    select sysdate from dual;

  • How to display multiple reports at the same time

    Hi,
    I'm trying to display multiple reports at the same time, each one in separates tabs or windows using Forms 11g 11.1.1.6
    I have a button which has a call to a procedure which makes use of rp2rro library to show the specific reports, for example:
    call_report('report1');
    call_report('report2');
    call_report('report3');
    call_report('report4');
    The main problem is that, just the last report is been displayed.
    Is there some way to display report1, report2 etc in separate tabs or windows ??
    Regards
    Carlos

    You shouldn't have a problem calling different reports at once. As long as you're using Forms 11g they show up in different windows.
    The question is how you are calling the report.
    Here is how I manipulate it.
    After I pass parameters with the ADD_PARAMETER built-in I set some key values (destype, desformat, desname) with the RP2RRO's procedures.
    Finally calling RP2RRO.RP2RRO_RUN_PRODUCT and then WEB.SHOW_DOCUMENT passing the correct procedure parameters the report comes up in a window. If you repeat the above changing the appropriate variables (the report_name in the RP2RRO_RUN_PRODUCT and so on) you can get multiple reports in different windows.

  • How to display system property in XML forms

    Hi
    We are using XML forms template for publishing news in KM. In the show form we got author field (a label in the form) which is mapped to system property createdby (PropertyReference = /Properties/default:createdby).But while displaying the form author is not getting populated. When I try to edit the form in XML forms builder in data model tab under properties node no property is visible. Nothing is shown up in properties even after reload option is selected from context menu of properties node.
    I cheked by manually editing PropertyReference to some other property (e.g. modifiedby) but nothing is showing up.
    Can you please suggest how the createdby system property can be shown in the xml form?
    Thanks & Regards
    Sudip

    Hi Sudeep,
    Please try to open the formbuilder in another machine and try to see the properties xml form design view.
    You can even directly can create a lable in show form and add the property name along with the nama space name.
    For default properties namspace is default.Create a lable UI element in show form and select the datasource property and add the property value in that.
    With we can show file related system generated properties in show form.
    Regards,
    Rudradev Devulapelli

  • How to display system date by default

    Hi,
    Please tell me how to display the default date as system date in a text box, and it should also allow me to select the date from the calendar and update.
    i tried to give'select sysdate from dual' but it dint work.
    Please help me..
    Regards,
    Pallavi

    I'm not sure what you mean.
    sysdate retrieves the current date when the script is executed (eg. when you run the report).
    Do you mean that after you change the date value in the report and submit the page, it changes back to sysdate, instead of the date you selected?
    This would be caused by an incorrect setting in the "Source Used" field.
    eg. use "Only when current value in session state is null"
    instead of "Always, replacing any existing value in the session state"

  • How to display screens (tabs) based on user authentication

    hi
    i am new to jheadstart, i want to display screens (tabs) based on users, ie if i have screens of dept, grade, desig, group, type, master etc..
    if user is admin display all the items in tab,
    if user 1 then display only dept, grade, desig
    if user2 then other settings....etc
    how to do this pls help,,,,,
    thx in adv
    Kris

    Kris,
    If you upgrade to JHeadstart 10.1.2.2 (requires a license), you will get built-in support for user authenrication and authorization including showing tabs based on the role. 10.1.2.2. ships with a demo app that uses all these features.
    Steven Davelaar,
    JHeadstart Team.

  • How to display system date

    I want to display system date in portal pages. Is there any template subsitution tags or any easy way of displaying date.
    Without using 'javascript'
    Thanks
    Manjith

    You could put something like the following into a PLSQL item or a Dynamic Page portlet (between <ORACLE></ORACLE> tags) - change the date formatting and add any html/css that you need to display the date the way you want:
    DECLARE
    todaysdate VARCHAR2(12);
    BEGIN
    select TO_CHAR(SYSDATE,'MON DD, YYYY') INTO todaysdate FROM DUAL;
    htp.print(todaysdate);
    END;Note: this code could probably be simplified a bit, I just pulled this snippet out of something I use that does more than just display the sysdate.

  • Fld defaulting to specific sales org for user even though Parameter not set

    Hello,
               I have a problem, for a specific user, where the sales org field is defaulting to a specific value even though his parmeter ID is not set for VKO. For information, the sales org value no longer exists (invalid). More over, the problem exists only for a particular transaction, MM41, MM42 and MM43. When he tried VA01 the prolem of the sales org value defaulting does not happen.
    I have tried MM41, 42 and 43 with my user ID and it works properly. We use CUA but parameters are locally maintained in each child systems as this is logical. i reset the buffers (/$sync) just to be sure (as this is not a live system) but this does not help.
    Any ideas?
    Regards,
    Prashant

    Hi Prashanth,
    at our end we do not have a  retail-specific maintenance function, but i guess the problem arises when the user has entered the sales organization and saved it as " default areas of validity", try using a blank entry and then click on the tab for default areas of validity - it "could" solve the problem

  • How to display system time zone like UTC+8

    Hi All,
    I got a requirement where  I need to display time zone in the output. If I take sy-zonlo it is taking user's time zone and giving output like CET or CST but I want the system time zone to be displayed like UTC+8.
    Regards,
    Suresh.

    Hi,
    FM GET_SYSTEM_TIMEZONE  gives time zone as PST or CET like that but I want output as UTC+8 or UTC-6.
    Regards,
    Suresh.

  • How to display HTML response file in user's browser following submission of Livecycle form

    I have a PDF form created via Livecycle that does a HTTP submit to the webserver. The server returns a HTML 'submission receipt' page which is either opened in Acrobat or the user's web browser.
    Previously this process worked fine when submitting from adobe reader - the html receipt file would always automatically open OK in the user's browser. However, with newer versions of Reader (11.0.0+) I now get this error and no attempt to open the user's web browser:
    An error occurred during the submit process. Cannot process content of type text/html
    I realise why I get the error - Adobe reader can't display HTML files.
    What I don't understand is why it doesn't open the html file in the user's browser like it has been doing for years.
    Does anyone have any idea how I can fix this (without changing the response content type to PDF/FDF)?

    I had the same issue as you and we used FDF status, then eventually went with returning an XDP  that filled out a receipt section of the form.

  • How to display system date on table cells

    hi all,
    I would like to display the PC date onto a specified cell on a table. I have attached here my vis. I don't know how to get the date displayed at the table cell On the front panel when I run it. Please help.
    Attachments:
    data.vi ‏32 KB
    getPCdate.vi ‏9 KB

    Hi,
    The table control is simply a 2D array of string. So all you need to do is to pick up the Date from the appropriate .vi and replace the array element (using replace array subset) and write the whole table back again. (Example attached for LV 6.0.x)
    // it takes almost no time to rate an answer
    Attachments:
    Untitled_1.vi ‏13 KB

  • How to display system security events logs in Cisco router 4980

    Hi,
    in order to perform acceptance tests following the installation of a Cisco 4980 router cluster, I need to verify that any system security events are logged and I can diplay them on the CLI output (for example with the #show logging command).
    By system security events logs, I mean for example bad authentification on the switch, creation/deletion/modification of a user accoount, telnet connexion attempt while this protocol is not allowed, etc...
    With the #show logging command, I have security events related to  access-list, or configuration changes (even if these ones are not  really verbose on waht have been changed), but no "system" security  events.
    Here is my logging initial logging configuration on these routers:
    logging rate-limit 1 except errors
    logging console critical
    logging monitor critical
    But I also tried like this:
    logging rate-limit 1 except errors
    logging console informational
    logging monitor critical
    logging history informational
    logging facility auth
    But exactly the same result...
    Is this feature exist or not ?
    If yes, how to configure it ?
    Thanks.
    Julien

    Here is a script that will copy the previous days events and save them to "C:\". The file name be yesterdays date ex "04-18-2010-Events.csv"
    Const strComputer = "."
    Dim objFSO, objWMIService, colEvents, objEvent, outFile
    Dim dtmStartDate, dtmEndDate, DateToCheck, fileDate
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set dtmStartDate = CreateObject("WbemScripting.SWbemDateTime")
    Set dtmEndDate = CreateObject("WbemScripting.SWbemDateTime")
    'change the date form "/" to "-" so it can be used in the file name
    fileDate = Replace(Date - 1,"/","-")
    Set outFile = objFSO.CreateTextFile("C:\" & fileDate & "-Events.csv",True)
    DateToCheck = Date - 1
    dtmEndDate.SetVarDate Date, True
    dtmStartDate.SetVarDate DateToCheck, True
    Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
    Set colEvents = objWMIService.ExecQuery _
    ("Select * from Win32_NTLogEvent Where TimeWritten >= '" _
    & dtmStartDate & "' and TimeWritten < '" & dtmEndDate & "'")
    For each objEvent in colEvents
    outFile.WriteLine String(100,"-")
    outFile.WriteLine "Category = " & objEvent.Category
    outFile.WriteLine "ComputerName = " & objEvent.ComputerName
    outFile.WriteLine "EventCode = " & objEvent.EventCode
    outFile.WriteLine "Message = " & objEvent.Message
    outFile.WriteLine "RecordNumber = " & objEvent.RecordNumber
    outFile.WriteLine "SourceName = " & objEvent.SourceName
    outFile.WriteLine "TimeWritten = " & objEvent.TimeWritten
    outFile.WriteLine "Type = " & objEvent.Type
    outFile.WriteLine "User = " & objEvent.User
    outFile.WriteLine String(100,"-")
    Next
    outFile.Close
    MsgBox "Finished!"
    v/r LikeToCode....Mark the best replies as answers.

  • How to avoid system slow when login first time  everyday

    if login system first time every day, it will be very slow for loading web application.
    I think maybe it 's  reload cache every night or by a certain perods of time.
    how to avoid this situation. or set cache reload a time per week?
    Thanks.

    Terry,
    I would confirm your application pools are set up as suggested in the install documentation.  This should resolve your issue.
    Thanks,
    Drew

  • How to display all site collections to users for site access

    Currently when our users clients/internal log in, they are directed to a site directory.  The site directory only displays sites that the users have access too.  Which is great because I don't want our clients to see our entire client list.  
    Currently we have one site collection with 700+ sites.  
    We are changing the architecture of our SharePoint environment to create a new site collection for each client.  So, we may have 700+ site collections in one web application.  
    My question is, how can I display all site collections to our user for access, similar to a site directory?  
    Any help would be greatly appreciated.  
    Thanks,

    This is not possible OOTB. your requirement is get the list of all site collections on root site then security trim( which means user can see only the sites where they have permission.)
    I think this required alot of effort(developing a solutions and checking the permission on all sites). Issue is you have more than 700 sites collections and tons of user for each site collections and also 700+ clients.
    May be think about creating a list and fill that with all site collections(using script). then trim configure the item level permission( but lot of work).
    if you have user profile services then may be check about the memberships feature. 
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

Maybe you are looking for

  • Itunes wont install i have tried the following please someone help before i smash it up!!!

    i have updated windows, i have deleted everything i can find that is itunes or apple, i have restarted the laptop i have sat on the phone for over an hour with apple and im to the point i want to smash it up. it will not install not even old versions

  • Add to my Dropbox button unresponsive

    Whenever you try to add something into the Dropbox account and you click the "add to my Dropbox " button it doesn't do anything

  • MTS file-unreadable

    I cannot open the following file on mac mini. It only offers me IPhoto which says "file unreadable" and iTunes which doesn't do anything. I have received it via We Transfer.  I dropped into iMovie but get the same "unreadable"message. Any thoughts? 

  • Help!  Installed Panther and upgraded to 10.4.3 and cannot reply to emails

    Hi, Just installed to Panther a few days ago and yesterday I downloaded the 10.4.3 upgrade and now nothing happens when I hit "reply" to a mail message. Also, if I hit "forward" or "compose" the proper window opens up but I can't type more than a few

  • Probably a simple Apache2 html/php root links question

    Alright I need some basic help here... I remember awhile back ago I could use / to specify the root of the web server in a php file. So say I wanted to link to an image at /wwwroot/images/image.gif from an index.php file in /wwwroot/pages/stuff/index