Bug !? Date selector picks up the wrong Date

Hi
I developed a Web Dynpro application which also have a imput field. The context that is mapped to it is a Date type. Sofar everything is ok. If I either select a date or enter it manually the date is shown right in the Inputfield. But as I want to get the Context like:
pStartDateOrig = wdContext.currentContextElement().getCtx_startDate();
, the Value is wrong. When I entered i.e. 07/25/2005, the debug mode shows me a value of 07-24-2005. That value is than stored wrong during the further processing. That bug does not appear permanently. Have anyone an idea? Is that a known bug. Any comments are welcome.

Hi Nagarajan
Thanks for your help. Yes I know it should pick up the right  context, instead of counting one day of. The thing is there must be a bug in the get(Context). Because if you select a date, doesn't matter what, it is definately not the old context, but the new with one day earlier. I found a workaround what is not the right way to do, but for me it works. I now do not get the context, no, I get the value from the gui element, like:
startDateField = (IWDInputField) view.getElement("input_PStart");
  String startDateValue = startDateField.getValue();
That Value as String is the value that you see when selecting a date.
i.E I select 11/30/2005
the input field shows 11/30/2005
the value of the IWDInputField is : 11/30/2005
but the context that is mapped is : 11/29/2005
- And I don't do any process with the context, just mapped ! -
Anyway I hat a lot of struggles with that sql.date format that SAP use. IGS (Gantchart) wants the date in the form yyyyMMdd, instead MM/dd/yyyy. toString makes dd/MM/yyyy out of it so it is all mixed up within the wed dynpro framework.
My workaround works now and costs me nearly a day. Thanks a thousand times for your help, I really appreciate that. I will raise a OSS note and hope SAP will fix it. I will keep you informed and send you the Note number soon.
Regards, Normen

Similar Messages

  • Is this a bug or am I using the wrong flags in userChrome.css

    I'd like to have my Bookmark Toolbar automatically hide until I move my mouse over the location. I found some code a while ago to do this, but I never really tried it until now with FF4. When I put in the code and move the bookmark toolbar into the self-hiding panel, it works fine until I open a new window or exit/restart the browser.
    <br />
    <pre>#PersonalToolbar {display: none;}
    #navigator-toolbox:hover > #PersonalToolbar {display: -moz-box;}
    </pre>
    The auto-hide until hover works fine with the box, but the Bookmark Toolbar comes up completely empty. No arrow, just empty space. Every time I comment out the line in userChrome.css, the buttons reappear. When I move the bookmark toolbar out and then re-enable the line and restart, the buttons are fine when I move them back in until the next exit.
    I've tried this on three machines (all Windows 7 though, both 32-bit and 64-bit) and the behavior is the same. I've also tried disabling all add-ons and extensions with no change in the results.
    Is this a bug or am I using the wrong flags (-moz-box)? Thanks for any ideas/help provided.

    cor-el:
    Thanks for the suggestion. I already tried rebuilding that file as well and it didn't help. Also, all the changes I make are retained from session to session in terms of placement and what's shown/hidden, it's just the contents of the bookmark toolbar that disappear. The toolbar is still there and I can drag things to it, but again, they disappear after restarting the browser.
    edit (clarification):
    When I say the items disappear, I mean they are no longer visible or clickable. They are still there in the sense that they appear in the Bookmark menu and if I move the Bookmark Toolbar from its own toolbar into the space next to the Menu Toolbar, they are then shown.

  • G/L account picked for the "wrong" source system entry

    Dear Experts,
    in SRM 7.0, Classic Scenario, i am facing the following issue with respect to G/L account determination in the SC:
    We have three R/3 systems connected to SRM. All these R/3 systems use the same Material Groups, but the G/L accounts are different in each R/3 system.
    In the Table "Determination of G/L Account using product categories", i have maintained the repsective combinations. For each combination of product category and account assignment category, the respective G/L account is defaultet for the respective source system.
    But in the shopping cart, the determination of the correct G/L does not always work. When a user enters the shopping cart initially with a line item that is accounted to his default account assignment category, than the correct G/L account for his source system is derived. But if he changes the account assignment category of the line item, than a G/L account from a "wrong" source system is getting picked up from the table.
    I have checked the GUIDs of the product categories between "Comm_category" and "bbp_det_account" and they are correct.
    What can be the reason for the picking of the G/L account from the wrong source system?
    Can the note 1357871 bring the correction?
    Thank you very much!

    Hello Dima,
    I think your problem comes from your source system for product category management.
    Could you clarify one point: if you change account assignment category, does new G/L account have to be determined for same backend system too or not ?
    If yes, correct new G/L account will be determined using your customizing (IMG: SAP Implementation Guide > SAP Supplier Relationship Management > SRM Server > Cross-Application Basic Settings > Account Assignment > Define G/L Account for Product Category and Account Assignment Category ).
    If it does not work, log an OSS message.
    If no, you need to switch value for each SC item field BBP_PDIGP-LOGSYS_FI from old backend source system to the new one. For this, use BBP_DOC_CHANGE_BADI.
    Then, your customized G/L account definition for product category  and account assignment category should be OK.
    Regards.
    Laurent.

  • Purchase Order prices picked up the wrong price

    Hello All,
    After we created an A/P invoice with 3% discount on the total, the same items on new purchase order shows a lower price. For example, itemcost is 10.44, but it shows on PO for 10.13. Looks like 3% has been applied to each single item. But if I go to price list, the cost is still 10.44.
    Please let me know if you have any idea how this happened? And how to avoid it? We only want the PO to pick up the price from cost price list.
    Appreciated for your help.
    Yurong

    We actually did it on purpose. we are planning on changing all of our products to moving average. But back to my question, is it the valuation method that causes the PO prices to change? Is there a way to specify the PO to retrieve only from the price list?
    Thanks,
    Yurong

  • Customer SD Invoice picking up the wrong bank information

    Hello
    Earlier this year we changed banks and so all new correspondance should be display new bank details. However there is one customer, where when we generate an invoice for them it picks up the old bank details for them. Can anybody please help with this and let us know why this is happening.
    Thank you.
    Regards
    Bindi

    Hello
    This was changed with SPRO - FI12. We do not maintain it for each idvidual customers. The invoice that is issued to the customer is USD so this should be showing the USD bank account on the invoice as it does for all invoices however this one is showing the our old ban account on the invoice and not sure where and why it is picking it up.
    Thank you.
    Regards
    Bindi

  • Hide button bug, feature or doing it the wrong way ??

    Hi All,
    I'm trying to hide a button via a dynamic action. I've changed the template to include the button attrributes and given the button an ID to reference this in my dynamic action ( DOM Object name = button id ) and also applied this template to the button.
    This always seems to work fine until :
    If I have a button with position "top and bottom of the region" and in the dynamic action this is the only Dom object which I reference in the hide action.
    When I do this only 1 instance of the button gets hidden, the one on the bottom of the region is still shown....
    I am able to bypass this by adding another dummy DOM object name to the line of reference Dom objects in the dynamic action ( so the DOM object which is hidden is reference as "button_id,dumm" ), the dummy does not exist but adding this string to the line seems to fix it.
    Am I missing something or is this a bug ?
    Ciao
    Bas
    btw this is apex 4.02

    When you choose the display position as "top and bottom" , there are two button elements rendered with same properties(that you specify for the button properties.)
    If you have two page elements with the same ID(which is a bad practice anyway) ,accessing the DOM using the ID directly will pick only one of them(the first found in DOM, I think) , this is the same behaviour with $x , document.getElementById or jQuery $('#..) methods too and is nothing special about apex.
    You can either change the selector to jQuery and jQuery selctor as
    [id="button id"]The proper way would be to give it a name attribute or a class property using the "button attributes" field and use an appropriate selector.

  • Office 2013 Bug - Numerals Are Displayed In The Wrong Language.

    My system: Win 7-64 , Office 2013-64   - US English
    In Microsoft Word 2013 and PowerPoint 2013, when the user types in Persian using the Microsoft Persian keyboard that ships with Windows, and the option
    of  “Context” has been selected for the display of numerals in the Office Advanced Options, the numerals display in Arabic instead of Persian. Pay close attention to numerals 4, 5, and 6. This bug did NOT exist in Microsoft Office 2010
    and 2007.
    English Numerals
    Persian Numerals
    Arabic Numerals
    0
    ۰
    ٠
    1
    ۱
    ١
    2
    ۲
    ٢
    3
    ۳
    ٣
    4
    ۴
    ٤
    5
    ۵
    ٥
    6
    ۶
    ٦
    7
    ۷
    ٧
    8
    ۸
    ٨
    9
    ۹
    ٩
    Table
    1

    Hi,
    Please follow the link to re-set the language and download again:
    If you have Microsoft Office Professional Plus, under Install Microsoft Office Professional Plus, select your desired language option and choose either the 32-bit or 64-bit version, and then click
    Install.
    http://onlinehelp.microsoft.com/en-us/office365-enterprises/ff637594.aspx?ss=0bd4602a-5ec3-4b1c-8b0e-dfadca5da0df&ss-src=featuredhelp
    If you had further question about the issue, please post it to Microsoft Office 365 Community Forum:
    http://community.office365.com/en-us/forums/default.aspx
    Thanks,
    George Zhao
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click "[email protected]"

  • Adobe Air Initiates the wrong launch Image on iPhone 6 - Possible App Rejection by Apple Review Team for all developers

    I've opened a bug for this issue as well. I want to ask if anyone experiencing the same issue and has found a workaround.  Basically Air Runtime is picking up the wrong launch image when launching on iPhone 6. It defaults to [email protected] instead of the [email protected] iOS 8 picks the correct image but Air Runtime does not. Here is the link for the bug. If this is confirmed, this could result in rejection for all the app developers who optimized their apps for iPhone 6 . It is hard to catch this bug in release mode since the Air Runtime loads pretty fast and it occurs when you device is slow or doing something in the background. You can see it easily on iOS simulator or debug mode. We tried everything for a workaround but we failed.
    Bug#3831747 - Adobe Air Initiates the wrong launch Image on iPhone 6 - Possible App Rejection by Apple Review Team for a…

    Apple recommends the storyboard/xib option but you can still use launch images as assets in your root. When you open a new project in xcode you can look at Contents.json and see the naming conventions they use for iOS8. We grabbed the new naming convention from here. Also setting up in the application xml the UILaunchImages key works too. Please see the below example. It would be a better solution if Adobe Air refers to xml/info.plist values that the developer sets instead of hard-coded naming conventions.
    <key>UILaunchImages</key>
      <array>
          <dict>
              <key>UILaunchImageMinimumOSVersion</key>
              <string>8.0</string>
              <key>UILaunchImageName</key>
              <string>Default-667h</string>
              <key>UILaunchImageOrientation</key>
              <string>Portrait</string>
              <key>UILaunchImageSize</key>
              <string>{375, 667}</string>
          </dict>

  • How to pick up the latest report instance of a schedueld report

    Hi,
    I am supporting a custom application (.NET), which has to pick up the latest report instance by accepting the Report ID.
    At times, the application does seems to be pick up the wrong (older) instance. This is not happening all the times but certain reports behaves this way once a while.
    This is how the application seems to be determining the latest instance.
    SELECT * FROM CI_INFOOBJECTS
    WHERE SI_PROGID = 'CrystalEnterprise.Report'
    AND SI_INSTANCE_OBJECT = 1
    AND SI_SCHEDULE_STATUS = 1
    AND SI_PARENTID= '" + id + "'
    ORDER BY SI_ID DESC
    Once the above statement returns all the available instances it just pick up the very first instance and returns it back to the application and it gets displayed through the Report Viewer.
    My question here is that, does this order (ORDER BY SI_ID DESC) will always return me the latest instance first? When I manually verify the instance ID, it seems to be getting incremented eventhough it is a random number.
    When I review the InfoView code, which also seems to be doing the same thing I have found that it is using SI_UPDATE_TS instead of SI_ID.
    Could someone please tell me which is the correct one to use? I tried by could not able to find references anywhere.
    Environment: BO XI R2 - SP2

    Jason,
    Thanks for the info. The query builder o/p and the application o/p are the same. When this situation happened last time I just simply deleted those older instances from the history and left only the current one.
    This has forced the query to return the only available instance, which is the current one.
    My suspect here is that, the SI_ID of a new instance is smaller than the older instance...
    for example,
    Instance 1 - 10023
    Instance 2 - 12344
    Instance 3 - 9892
    Is this possible?? Since I have deleted the older instances I have no way to confirm this case unless it happens again.
    The BO documentation about SI_ID reads like this...
    "This property is used to uniquely identify an object. The number is assigned at creation time, and is never changed until the object is destroyed. You should never hard-code this number, however, since if the object is destroyed the number may be assigned to another object. No two objects have the same ID, even if they are different types of objects; that is, you will never find a report that has the same ID as a folder."
    As it claims that an ID can be re-used if the object is destoryed I assume that though the new ID will be unique there is no guarantee that it will be bigger than the previous instance of the same object.
    But the problem is that I dont have a documentation proof to claim this hence asking help from the guru's here...
    Regards,
    Elan.

  • Collections.emptyMap() isn't picking up the correct type

    I've got the following code:
    public String toString(Map<String, String> args);
    public String toString()
      return toString(Collections.emptyMap());
    }this gives me a compiler error:
    Cannot find symbol: toString(java.util.Map<java.lang.Object,java.lang.Object>)
    In other words, it is picking up the wrong generic types. If, however, I use the following code:
    public String toString()
      Map<String, String> t = Collections.emptyMap();
      return toString(t);
    }it works fine. Any ideas why?
    Thanks,
    Gili

    Cannot find symbol:
    toString(java.util.Map<java.lang.Object,java.lang.Obje
    ct>)
    In other words, it is picking up the wrong generic
    types. Apparent the compiler is not infering the types from the method parameters. I'm not sure that this is the correct behavior, but it would seem to me that it would be difficult to implement this kind of type inference correctly.
    If it did infer the type from the method declaration, then if you later add a toString(Map<Object, Object>) what should the compiler do? Should it change which method is called? This would be create a binary compatiblity issue which I think was intentionally avoided.

  • LR4 The wrong file information in the preview loupe

    I have not seen this mentioned in the forums but I keep getting a bug where the file information displayed in the preview window gets 'stuck'. The information sometimes hangs with that of a previous image. Ie it doesn't relate to the current image but a previous one I have viewed.
    Any one else found this? It's a bit of an anoying bug!

    Faces has identified the wrong person.
    Actually iPhoto does not identify people - iPhoto suggests and you confirm or reject so you confirmed incorrectly (which happens to all of us)
    How do I re-assign to the correct person?
    double click on the photo to open it and click on "name" and type the correct name for the person
    Mary and Jane are in a group picture and have been identified by iPhoto, not me.
    In Mary's Faces album, Jane's picture is the thumbnail. In a way, the group picture is correct. I would rather have all of Mary's thumbnails show Mary.
    The choice offered by iPhoto is accept or reject. Going into Edit for the pictures does not give the option to identify faces.
    If you reject the person will remain un-named- and in the confirm names mode (starting with version 8.0.2) if you right click (control click) on the photo you can accept, reject or name
    I am reluctant to reject because the group picture may not show up again.
    You can always make a smart album with name is unnamed and find all photos with unnamed people (started in version 8.0.2)
    LN

  • Problem in picking up the data from queries in QA and PRD

    Dear Experts
    We have upgraded our Development server from 3.5 to 7.I have used Role Menu web template.As this template is default for all users,When i execute these reports in DEV,it gives this URL and gives the data from Dev.
    http://cibdm.ncsbe.eu.jnj.com:51200/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?QUERY=ZS_ZCCAM4_33AA
    My problem is after i transport these roles(with attached list of reports in Menu) to QA or PRD and when user executes these reports,That Picks up the query from Dev.I cant edit roles in QA and PRD to change the host name and port of QA and PRD respectively.IS there any way that when i trasport these roles then it should automatically pick up the host name and port of QA and PRD and execute the reports from respective serevrs.
    I understand that this problem is coz of Java enviornment.If its ABAP enviornment then it will pick up the value defined in profile paramets in QA and PRD.This works coz there is http://<bsp...> extension in ABAP case.
    Please correct me if my understanding is wrong.
    Thanks for quick response.
    Rgds
    ACE

    Hi Simon,
    First of all thanks alot for your reply.
    Well as per your suggestion i will check OSS note.Yes, as you said i have hardcoded in Dev System i.e (http://ciBDM.ncsbe.eu.jnj.com:51200).But i see that if i use this place holders(<bsp_protcl>://<bsp_server>/sap/bw/BEx?cmd=ldoc&template_id=<...>) will work for ABAP enviornment.This place holder will read the profile paramater and change accordingly according to destination system.Do you say this place holder will work for Java enviornment also?.
    If not for Java do we have any other place holder?.
    Please let me know as am still workingon this issue.
    Rgds
    ACE

  • Date Picker Calendar Show Wrong Date Information Dec/Jan 2014-2015

    When using a Date Picker, the offered Date for January 1st 2015 is a Friday!  It supposed to be a Thursday!
    You can move to February, and return to January again, and it will correct itself.  
    This happens in Office 2007 and 2010
    What's gone wrong?
    IT will also offer the wrong December dates.
    Is there a fix please?

    Re:  Bad date
    Some remote possibilities...
      Your computer's clock has an incorrect date
      The wrong year is entered somewhere as the first day in 2016 is a friday.
      You have the wrong date system selected 1900 vs. 1904 or vice versa.
      You have a 3rd party (non MS) Date Picker that is programmed incorrectly.
      You have Office 2013 (nothing seems to work there)
    There are alternatives and I offer one for Excel...
    a free excel add-in date picker ("Get Your Own Date")
    (no ads, no trackers, no cookies, no registration)
    https://jumpshare.com/b/O5FC6LaBQ6U3UPXjOmX2
    Jim Cone
    Portland, Oregon USA

  • I synced my IPhone but OK'd the wrong button (back-up from old IPhone) and deleted all my data, such as contacts, pictures, videos, notes etc. How can I get my data back, restore all my lost file?

    I connected my IPhone 4 with my PC/iTunes to transfer my pictures/viedos to my PC. Unfortunately, I clicked on the wrong button when asked to sync with the old back-up files and ll my data werde deleted from my IPhone.
    Is there a program for the IPhone -as it exists for my Windows PC- to restore the data by chosing the date and time when datas are lost?

    Hi Khuram1981 - thank you thank you thank you!  All sorted!  dont suppose you know how to fix another problem I have??? for weeks now, since updating to ios5 I think, for some reason every time I have tried to log onto app store it says CANNOT CONNECT TO ITUNES STORE.  It's nothing to do with my computer, and I've been to the Geniius bar but they couldnt help and nothing I seem to do lets me update my Apps and even worse, I cant even buy any more.  Any suggestions?
    Again thank you SO much for helping with other problem = a real relief.
    Chatterwind xx

  • My Apple ID was changed.  Yet when I try to update apps I am asked to enter the password for the old IG which will not work and no matter what I do. When I attempt to update apps it still askes for the wrong ID data.

    My Apple ID was changed.  It works fine on my IPad mini, my MAc and in Itunes Store,  Yet when I try to update apps on my IPAD 1 I am asked to enter a password for the old ID user name which appears in the pop up window. When It still askes for the wrong ID data. I have uodated it in settings, and I have logged ontht the account to verify that it still works properly and it does.  I reboot the IPAD and then attempt to update apps again but it still asked for the Old ID password and still shows the old ID username.  The dame thing refuses to recognize my new Apple ID data.  This is making my older IPAD unuseable.

    You cannot change your Apple ID. You can get a new one if you want, but all of your Apps and media are linked to yoru old Apple ID. And no, Apple won't transfer your old ID purchases to yoru new ID.

Maybe you are looking for

  • Why Case-Sensitive while assigning tasks to other users??

    I am trying to assign a task to another user through AdminUI. While searching for users, I am supposed to provide case-sensitive search text to find actual users. In previous installations it is not a problem. i.e only in production it happens. Is th

  • The Sims 3 [Island Paradise] - Game Doesn't Even Start (Please HELP)

    I recently re-installed the Sims 3 and 3 expansion packs with it (Pets, Seasons & Island Paradise) on my new computer (MacBook Pro 13' - 2012). I downloaded so many stuff from thesimsresource.com page but the game didn't show up any problem (picture

  • TS1398 Why does my ipad keep saying poor connection on FaceTime ever since ios6

    Why does my ipad keep saying poor connection on FaceTime since we went on ios6

  • Is This The Sign of a Failing Hard Drive

    After I use my Mac for about 45 minutes, it completely locks up on me. I have to force it off. When I go to reboot the computer, it goes through the normal startup process. I get the blue screen, but no login screen appears. I can't find the discs th

  • Timecode to frame count

    i know this is super easy and i've done it before but it's been a while since i last used final cut and i'm sort of running into a wall. how do u change your user preferences to show frame count instead of timecode? e.g. still frame duration...it sho