Getting the timezone of customer

Hi Experts,
How can we determine the time zone of the customer?
if we have the customer's country from which table do we determine the time zone?
Thanks and Regards
Shilpi

The function module IB_CONVERT_INTO_TIMESTAMP is used to convert the time to the GMT.
The input parameters are DATE, TIME and the TIMEZONE(user's timezone, default value SY-ZONLO).
The output parameter is the timestamp in GMT.
The function module IB_CONVERT_FROM_TIMESTAMP is used to get the time in required timezone.
The input parameters for this are the timestamp obtained from the above function module and the timezone,
to which the time needs to be converted.

Similar Messages

  • How to get the field of customer PO no

    I cannot get the field of customer PO no in 2LIS_11_VAHDR and 2LIS_11_VAITM , please give me a hand to tell me where to get it or how to do can get the customer PO no which in sales order overview,thanks

    Hi Jeff
    please refer SAP approved doc for data source enhancement..
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/302d4b15-5847-2a10-93bb-9c45d9f06b16
    hope this works and if still issue persists try searching in SDN for documents relating to datasource enhancement , sure u will get a lot of it.
    Thanks
    Manesh

  • Not able to get the data in custom search help.

    Hi ,
    sorry was not aware of how to post a new thread.
    I am working on web UI and i need help asap.
    I want f4 help whose value depends on the other fields drop down.somhow i managed to get the values in local table and passed it to static attribute of the z class ZL_CRM_UIU_ZZORDERADM_H0201_G.
    in this z class i have redefined a method IF_BSP_WD_CUSTOM_F4_CALLBACK~RETRIEVE_CUSTOM_VALUES.
    which returns a table CT_RESULTS_TAB of type as f4.i have taken key n values in this table too.but the below code should populate the value in the field.but m not getting the values.
    move 'STRUCT.ZZORDERADM_H0201' to ls_map-context_attr.    "#EC NOTEXT
      condense ls_map-context_attr no-gaps.
      ls_map-f4_attr = 'KEY'.
      append ls_map to: lt_outmap.
      lr_entity ?= me->collection_wrapper->get_current( ).
      if lr_entity is bound.
        move 'STRUCT.ZZORDERADM_H0201' to lv_controller_key.
        call method cl_bsp_wd_reference_tool=>set_reference
          exporting
            iv_remove_existing = abap_true
            iv_controller_key  = lv_controller_key
            iv_controller_ref  = lr_entity.
        concatenate '\''' lv_controller_key '\''' into ls_map-context_attr.
         ls_map-f4_attr = if_bsp_wd_custom_f4_callback=>gc_key_ref.
        append ls_map to lt_inmap.
      endif.
      create object rv_valuehelp_descriptor
        type
          cl_bsp_wd_valuehelp_f4descr
        exporting
          iv_help_id                  = '(ZL_CRM_UIU_ZZORDERADM_H0201_G)'       
          iv_help_id_kind             = if_bsp_wd_valuehelp_f4descr=>help_id_kind_comp
          iv_input_mapping            = lt_inmap
          iv_output_mapping           = lt_outmap
          iv_trigger_submit           = abap_true.
    can you please help me??

    To Implement Search help for UI field same GET_V method need to implement, no need to implement GET_P method.
    Initially we must have one search help in SE11
      DATA:
    lv_index  TYPE string,
    ls_map    TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping,
    lt_inmap  TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
    lt_outmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab.
    lv_index = iv_index.
    ls_map-context_attr ='STRUCT.YYSURVEY_ID' .               "#EC NOTEXT
    ls_map-f4_attr = 'SURVEYID'.                              "#EC NOTEXT
    APPEND ls_map TO: lt_inmap,lt_outmap.
    ls_map-context_attr = '\''BUS2000116\''' ."#EC NOTEXT
    ls_map-f4_attr = 'object_type'.                               "#EC NOTEXT
    APPEND ls_map TO: lt_inmap.
    CREATE OBJECT rv_valuehelp_descriptor
    TYPE
    cl_bsp_wd_valuehelp_f4descr
    EXPORTING
    iv_help_id                  = 'CRM_SURVEY_ID'      'SE111 search help name
    iv_help_id_kind             = if_bsp_wd_valuehelp_f4descr=>help_id_kind_name
    iv_input_mapping            = lt_inmap
    iv_output_mapping           = lt_outmap.

  • To get the TimeZone

    Hi all,
    I am developing an mobile application where in i need to display the current local time where the application is running. the application should take daylight savings time. pls let me know the solution at the earliest. my mail id is: [email protected]

    forget it...i made a mistake...thanks

  • Where should I fill the bank details of customer while getting the incoming payment ?

    Hi all
    Can any one advise me where I can fill the information of customer bank detail while creating incoming payment by Check ?
    User want to update the customer bank detail when we get the check from customer
    Thanks
    Rini

    Hi,
    By bank detail do you mean the Bank Name, Branch and Account? These information can be set in the business master data. In the Payment Terms tab there is a portion about Business Partner Bank.
    There you can add the bank details.
    See this help file for more information:
    http://help.sap.com/saphelp_sbo882/helpdata/en/1d/bbc2e2c0704b308577aabbae3ac25b/content.htm?frameset=/en/44/f3e883c4b80…
    once it is added by the time the payment means is selected the bank detail/s of the customer can be selected.
    hope this helps

  • How to find the list of custom reports?

    Hello All,
    I am trying to get a list of all the custom reports that we have by responsiblity in 11.5.10.2. This to identify and move them into the our newly upgraded R12 instance.
    Is there a query that can be written against the FND tables to get this listing?
    Pls. help
    Thanks,
    Monkey.

    I am trying to get a list of all the custom reports that we have by responsiblity in 11.5.10.2. This to identify and move them into the our newly upgraded R12 instance.
    Is there a query that can be written against the FND tables to get this listing?There is no direct way to get the list of custom reports unless you followed the naming convensions when you created those reopports (i.e. your object/file name starts with XX_%).
    https://forums.oracle.com/forums/search.jspa?threadID=&q=List+AND+Custom&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    In this case, you can query FND_CONCURRENT_PROGRAMS_TL/FND_CONCURRENT_PROGRAMS/FND_CONCURRENT_PROGRAMS_VL -- Search the forum for those objects and you will find many helpful queries.
    Thanks,
    Hussein

  • Getting the number of GMT + x

    I need to get the timezone which is configured in the telephone.
    the code that I wrote doesn't work:
             long localTime = System.currentTimeMillis();
            dt.setTime(localTime);
            TimeZone tz = calendar.getTimeZone();
            short delta = (short) tz.getRawOffset();I thought the delta variable will get value like:
    1 - for GMT+1
    2 - for GMT +2
    etc, but it doesn't...
    how can I get the let say 'delta' which is the number of hours different from GMT (0). ?
    Edited by: bart666 on Jul 26, 2008 6:30 PM

    Thank you both. After adesklets were mentioned I remebered that gkrellm had some mail check functionality and looked into that. Unfortunately I couldn't get it to do what I want.
    However I did manage to cook up a small python script that checks the mail and handles the LED. Why didn't I think of this? Now I also have the added bonus of not having to keep the mail client running all the time.
    Yay!

  • Reading the TimeZone information from a Request in an ADF based WebApp

    Hi,
    I am new to Oracle ADF and I have to develop a web-app for administering a Single-Sign-On application by using ADF and JSFs technologies.
    How can I get the timezone from the request sent by the client browser?
    Help is highly appreciated.
    Message was edited by:
    user562826

    Thanks John,
    I appreciate your time.
    Looks like you got answers to all my questions. For the Timezone issue, I realized (back then), that there is no way you can get that in the HTTP protocol, there are some other tips out there like forcing the client browser to provide that information by running a javaScript function.
    Thanks for the password text field issue, I will take another direction from there.

  • Microsoft - Worst Customer Support ever! Where can I get a decent Microsoft customer support for Windows in the UK?

    I have just tried to created the ISO of the operating system I am using for last 5 years, Windows 7 Ultimate.  I remembered that on Microsoft website are quick links dedicated exactly for that purpose. However, when page loaded I've seen this: 
    The Page or File You Requested Could Not Be Provided
    The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. 
    HTTP Error 404 - File or directory not found. 
    If you purchased your Microsoft Windows software from another source, but have the software key provided by Microsoft, you can download the Windows operating
    system from the following website:
    Windows Downloads
    When I have clicked on the download link it took me to the webpage which seemed everything going for it.  3-step guide, including  the product code and language. Brilliant! I thought, until after filling all the details I have clicked on 'Next-Verify
    Product Key' than I faced a message:
    Validating your product key. This may take several minutes. Do not refresh the page or select back, doing so will cancel
    the request.
     When finished, a message pop up:  that the language provided is not compatible with the product key - try different language. Interesting, I am using this product last five years but is not compatible with English? I must have been a fairy then
    to be able to make it work for all these years. Then it got better.
    I have tried it again with a different message in the end: 
    System Error
    We encountered a problem with the product key you provided.  Please visit the  Microsoft Support Contact Us page
    for assistance.  Refer to Message Code 715-123130.
    So I have contacted Microsoft.  Contacting Microsoft is an experience itself and half.
    Being Microsoft certified, I used the link provided for IT Pros. I click the link provided and the page started loading..... and still loading now....
    So I have decided to call the customer support as you would normally do with any other organisation. To actually get to the phone number, illogically placed, took me a few loops around MS website. Once called, I got to speak to very efficient lady on reception
    who kindly switched me to the Technical Support. That's going well, I thought.
    Once the connection has been made, I felt that MS technical support is based in submarine 3 miles under water in Japanese sea. All I could hear was the very familiar sound of water of modern Voice over IP connection dated back in 2003 and a male voice (but
    by the sound of it it might have been a whale) asking me my name. Unsurprisingly, the connection was interrupted several times when I tried to describe my issue I am having, and eventually I was disconnected. 
    Still not put off, I made another attempt to contact MS customer service. This time I have been talking to a woman, seemed a little bit closer, maybe Bristol waters? Still in the submarine but not so deep. Also here I was asked my name AND surname; then
    I have described my intentions and the difficulty I am having in succeeding it. The woman on the phone didn't get at all what I was saying. I had to literally spat out word by word what the problem is. (Luckily, I have many years of experience supporting IT
    users over 60 years of age so it didn't take so long to explain it to her.) My thought just was, oh my God, how can she help if she didn't even understand the issue. Then the phone went completely dead for 10 mins. When it came back to life, I could hear clear
    sound of fishing boat passing by until a voice, I assume the same woman, apologised for the delay. And now - the best is coming:
    1) I was informed that the website is being tested, under construction and that doesn't work properly.
    Comment: How can Microsoft, one of
    leading organisation in  technology, do testing of website 'live'? Quite clearly, that is BS.
    2) I was advised to obtain the ISO image from 3rd Party website!!!! On question if she can give me the link to any 3rd party website the answer was NO.
    Comment: Seriously, so here we are in 21st Century, dealing with almost the GOD in IT and the recommended solution is - to obtain help for the God's product from UNKNOWN 3rd Party. Brilliant! If this is the case, where Microsoft is exactly heading to???
    3) She cannot tell me when the issue of non-working website will be sorted and I should go and buy the copy of Windows; than I will be able to do the ISO.
    Comment: Well, that's what I call a professional advise from Microsoft representative. The fact that I do have the physical copy was totally ignored, the fact that I have been running the system for several years have been totally ignored the whole point
    of this exercise (to cut down the time making ISO using Microsoft website) was totally ignored. 
    When I started asking questions to clarify what has been said I have been continuously interrupted. 
    To my question whether MS customer service representative have been trained to interrupt customers I have been told that I am talking over her. I asked her name, which she told me but I didn't catch and therefore I have asked if she could spell it. On that
    point she hung up.
    Well done Microsoft! And now I want to know just one reason why I should buy your products when the support, in case of problems, is not existent.
    Does anyone know where I can get a decent customer service that can resolve my issue better than smudge it ?
    Thank you.
    Lenka Novakova
    Microsoft Certified IT Professional Enterprise Administrator
    Microsoft Certified Solutions Associate

    Just having the same issue there, which is real not fun, I have not tried to contact them, but looking at  your experience I am not sure if I should.
    My key comes from the back of a laptop o so I guess that would be a W7
    OEM, and that could explain why you can't download a ISO from their website, would that also your case ?
    Also could it be because we are attempting to get the ISO after the product became EOL ?
    http://windows.microsoft.com/en-us/windows/lifecycle
    Maybe I will give a go with the customer care people and maybe I will get a right answer ;)
    Will keep you posted

  • How can I get the value of a custom property from a resource object?

    I am trying to get the value(s) of a custom property, called "status" within a method. The method has an object of type IResource available to it.
    I have tried the following:
    PropertyName propName = new PropertyName("","status");
    value = res.getProperty(propName).toString();
    However, I am getting a NullPointerException when I try to create the PropertyName instance.
    Is there a better way to get the value of a specific property from a resource object?
    Thanks,
      Tom

    Thanks Praveen.
    I was missing the default namespace of "http://sapportals.com/xmlns/cm" - I thought I could just pass an empty string for the namespace, but it looks like I must always specifiy, even if it is default.
    Tom

  • Not able to get the Application ID value in ADF Phase listener for Custom ADF application which integrates with Ebiz R12.2.3

    Hi All ,
    I am working on one custom Order Mangement ADF Application which integrates with EBiz R12.2.3.
    We are trying to get the Ebiz userid ,username,Responsibility ID and Application ID in ADF through below Code
           public HashMap checkEBSSession(HttpServletRequest request,
                                       HttpServletResponse response) {
            System.out.println("In AMImpl.. checkEBSSession1");
            Session session = null;
            HashMap hmap = new HashMap();
            try {
                Connection conn =
                    getDBTransaction().createStatement(1).getConnection();
                System.out.println("In AMImpl.. checkEBSSession2");
                EBiz ebiz =
                    new EBiz(conn, "012E7E82CD8852BBE053860F6E0AD63413191049361744553610276495342217");
                System.out.println("In AMImpl.. checkEBSSession3");
                AppsRequestWrapper wrapper =
                    new AppsRequestWrapper(request, response, conn, ebiz);
                System.out.println("In AMImpl.. checkEBSSession4");
                session = wrapper.getAppsSession(true);
                System.out.println("In AMImpl.. checkEBSSession5");
                Map columns = session.getInfo();
                System.out.println("In AMImpl.. checkEBSSession6");
                String respId = (String)columns.get("RESPONSIBILITY_ID");
                String currentUserId = (String)columns.get("USER_ID");
                String currentApplId = (String)columns.get("APPLICATION_ID");
                String currentOrgId = (String)columns.get("ORG_ID");
                System.out.println("In AMImpl.. checkEBSSession7...respId : "+respId);
                System.out.println("In AMImpl.. checkEBSSession8...UserId : "+currentUserId);
                System.out.println("In AMImpl.. checkEBSSession9...APPL_SERVER_ID : "+currentApplId);
                System.out.println("In AMImpl.. checkEBSSession10..OrgId : "+currentOrgId);
                logger.info("respid:  " + respId);
                //System.out.println("In AMImpl.. checkEBSSession8");
                hmap.put("RESPONSIBILITY_ID",respId);
                //System.out.println("In AMImpl.. checkEBSSession9");
            } catch (Exception e) {
                System.out.println("Error: " + e.getMessage());
            return hmap;
    By using this code I am Getting all the Information Except the Application ID.
    If someone  have any idea how to get the application ID please share it .
    Thanks in Advance !!
    Thanks & Regards
    Apurv Agarwal

    Hi,
    since you implements the backing bean from PagePhaseListener. some where the same view is excuting before getting the selected record. Even if you select the record after excuteQuery() it will set the first record as selected. Please try to check some where query is excuting.
    try give some more details like what are all the methods you are using in PagePhaseListener and where you worte u r coding.
    Reg,
    Brahma

  • How to get the salesprice and condition for a customer / material / date

    Hi all,
    how can I get the correct price and condition for a customer / material / date ?
    I know this is possible using the BAPI_SALESORDER_SIMULATE, but this bapi is using to much ressources on the system.
    I'm trying to get the correct price and condition WITHOUT using that BAPI.
    Does anyone know how it is possible ? As said before : I have the customer, material and a date.
    thanks in advance for your help

    Hi
    You need it because it's possible to have a complex pricing procedure, and you can't do it with a simple select on a table. Think that you can have pricing requirements, formulas (ie: VOFM) and so on in your pricing procedure (tcode V/08).
    I hope this helps you
    Regards
    Eduardo

  • I have just updated to Yosemite, but now I can't get the custom shortkeys to work. In Mavericks I had no problem whatsoever, but now even after googeling and restart no solution. Does anyone have the problem? All the other shortcuts work!

    I have just updated to Yosemite, but now I can't get the custom short-keys to work.
    In Mavericks I had no problem whatsoever, but now even after googeling and restart no solution.
    Does anyone have the problem? All the other shortcuts work!

    Hi Thomas,
    I can confirm the problem you are hitting. The XML test trace does not get recognized at all, and it defaults to Eclipse's basic Open File behaviour. I am not sure if it's because the format definition is missing, or if it's because something prevents the trace type from being recognized. I will open a bug about it.
    Thanks for identifying this issue!
    In the meantime, if you'd like to experiment with XML analyses, you can also take a look at the example at https://github.com/tracecompass/xml-analysis-example .
    Cheers,
    Alex

  • How to get the customized value of a Report portlet in a page

    Hi ,
    I have a report portlet and it has a bind variable which users can customize when added to a page. There is a link to a Form page in the report , to which I need to pass the value of bind variable customized by the user. I used :
    portal30.wwv_name_value.get_string( l_arg_names, l_arg_values, '<bind variable>');
    function, it works ok when we run the report alone .But when we add the report as a portlet in page , it does not return any value. How do I get the customized field value in a page.
    null

    SAN.
    I haven't tested but u can try with the below code...
    OATableBean tableBean = ...;
    OATableFooterBean tableFooterBean = tableBean.getFooter();
    if (tableFooterBean != null)
      OATotalRowBean totalRowBean = tableFooterBean.getTotal();
      totalRowBean.getValue("Re-Total");
    }Regards,
    Gyan

  • How to get the custom program generated in Background

    Dear Freinds,
    I have written a below code in my submit program ( zreport) .
    REPORT  ZHRRPCPRRU0_SUBMIT  NO STANDARD PAGE HEADING MESSAGE-ID zhr_msg.
    SUBMIT RPTQTA00 VIA SELECTION-SCREEN
    WITH pnpbegda = sy-datum
    WITH pnpendda = lv_date
    with pnppernr = '99007057'.
    As per your logic i have used the submit program and i am able to default the dates  in the Standard program RPTQTA00 , that is perfectly correct . Now if run the standard report it is giivng me the ouput ..so the foreground concept is working correctly.
    Now if iam scheduling the Z report of the custom report (z program) where iam calling the submit program
    it is just scheduling and further when i look at the sm37 i can see the  job getting finished . However , i dont  find any spool because the standard report has not been executed , with my custom report (using the logic with submit program above in zprogram ) i am calling the standard program (RPTQTA00).
    so could you please let me know how the standard program will execute and get the spool genereated? in the case of background
    because when  i have executed only the standard report in background i can see that it is being exceuted spool as well, however when iam calling from custom program no spool is created because my custom program only submiting the standard report and it is not executing the standard report in the case of backround ...because when iam running the custom program in the Foreground it is calling the standard program and getting the values defaulted based on the parameters which i passed , so it gets defaulted later iam running the standard program manually .
    So please could you let me know how will the standard program also gets genereated in the backgroung along with my custom report.
    Thanks in advance
    regards
    madhuri,

    Hi Can you try the following?
    Hope this helps... (Taken from help)
    Example
    Scheduling a submitable program as a background task with the number number in a background request name. After scheduling, the background task is completed by function module JOB_CLOSE and released immediately.
    DATA: number TYPE tbtcjob-jobcount,
          name TYPE tbtcjob-jobname VALUE 'JOB_TEST',
          print_parameters TYPE pri_params.
    CALL FUNCTION 'JOB_OPEN'
      EXPORTING
        jobname          = name
      IMPORTING
        jobcount         = number
      EXCEPTIONS
        cant_create_job  = 1
        invalid_job_data = 2
        jobname_missing  = 3
        OTHERS           = 4.
    IF sy-subrc = 0.
      SUBMIT submitable TO SAP-SPOOL
                        SPOOL PARAMETERS print_parameters
                        WITHOUT SPOOL DYNPRO
                        VIA JOB name NUMBER number
                        AND RETURN.
      IF sy-subrc = 0.
        CALL FUNCTION 'JOB_CLOSE'
          EXPORTING
            jobcount             = number
            jobname              = name
            strtimmed            = 'X'
          EXCEPTIONS
            cant_start_immediate = 1
            invalid_startdate    = 2
            jobname_missing      = 3
            job_close_failed     = 4
            job_nosteps          = 5
            job_notex            = 6
            lock_failed          = 7
            OTHERS               = 8.
        IF sy-subrc <> 0.
        ENDIF.
      ENDIF.
    ENDIF.

Maybe you are looking for

  • Bank Details data IT0009

    Dear all, Who configures the bank key in IT0009? HR people or FICO? If it's our work, dindly let me know the process. Otherwise I can ask FI people. Regards ET

  • Set up network for Windows Vista PC and MacBook

    Hey guys. I am trying to share files and a printer connected to my Windows Vista PC. Yesterday I could see the Widnows "public" folders and be able to take files from them, but couldn't put files in the folders. Then I went and set up an account on b

  • Can't delete photos from iPhone 5 because their iPhoto library no longer exists

    I have a good deal of photos, on my iPhone 5, that were synced via iPhoto. The problem is, the iPhoto library, they were synched with, no longer exists becuse, the hard drive that held them, crashed. I replaced the hard drive but, of course, when iPh

  • ITunes doesn't "see" my library

    Good morning. I recently purchased a G4 iBook. I used iPod Rip to move my music from the mini to my iBook. The music was put into folders under an iPod Rip folder. I moved these folder to the iTunes Library folder, however, iTunes doesn't see them. H

  • What are netlists in ultiboard

    I have been doing a pcb work in ultiboard without the help of multisim. i have successfully found a few components ( or their equivalents) but i could not know what is this netlist and drc? please help me. Srikanth Chilivery,