Hour differences with CRM_ORDER_MAINTAIN

Hi guys, I´m having troubles with some hour differences in some FM, all you know that the et_appointments dates can be set with the CRM_ORDER_MAINTAIN . . .
I set the dates/hours ok in the timestamp_from, timestamp_to fields. The problem is that field TIME_FROM is the field that are show in the GUI and UI with some hour differences (Viewed with CRM_ORDER_READ), the system calculates in some way this field in combnation with the timezone.
If I set the date manually in the GUI, the dates are set correctly. This is my code, note that is a local report only to test this issue with harcode .
ls_appointment_t-ref_guid = 'E07692724B07E2F1886B005056960012'.
ls_appointment_t-ref_kind = 'A'.
ls_appointment_t-ref_handle = '0'.
ls_appointment_t-timestamp_from = '20140317110000'.
ls_appointment_t-timezone_from = 'CST'.
ls_appointment_t-timestamp_to = '20140317110000'.
ls_appointment_t-timezone_to = 'CST'.
ls_appointment_t-appt_type = 'Z00000000036'.
ls_appointment_t-duration = '0'.
ls_appointment_t-rule_name = ''.
INSERT ls_appointment_t INTO TABLE lt_appointment_t.
CLEAR : lt_field_names[].
ls_input_fields-ref_guid = 'E07692724B07E2F1886B005056960012'.
ls_input_fields-ref_kind = 'A'.
ls_input_fields-logical_key = 'Z00000000036'.
ls_input_fields-ref_handle = '0'.
ls_input_fields-objectname = 'APPOINTMENT'.
ls_field_names-fieldname = 'DOMINANT'.
INSERT ls_field_names INTO TABLE lt_field_names.
ls_field_names-fieldname = 'DURATION'.
INSERT ls_field_names INTO TABLE lt_field_names.
ls_field_names-fieldname = 'RULE_NAME'.
INSERT ls_field_names INTO TABLE lt_field_names.
ls_field_names-fieldname = 'SHOW_LOCAL'.
INSERT ls_field_names INTO TABLE lt_field_names.
ls_field_names-fieldname = 'TIMESTAMP_FROM'.
INSERT ls_field_names INTO TABLE lt_field_names.
ls_field_names-fieldname = 'TIMESTAMP_TO'.
INSERT ls_field_names INTO TABLE lt_field_names.
ls_field_names-fieldname =  'TIMEZONE_FROM'.
INSERT ls_field_names INTO TABLE lt_field_names.
ls_field_names-fieldname =  'TIMEZONE_TO'.
INSERT ls_field_names INTO TABLE lt_field_names.
ls_field_names-fieldname =  'TIME_UNIT'.
INSERT ls_field_names INTO TABLE lt_field_names.
ls_input_fields-field_names = lt_field_names.
INSERT ls_input_fields INTO TABLE lt_input_fields.
ls_orderadm_h_t-guid = 'E07692724B07E2F1886B005056960012'.
INSERT ls_orderadm_h_t INTO TABLE lt_orderadm_h_t.
CALL FUNCTION 'CRM_ORDER_MAINTAIN'
  EXPORTING
    it_appointment    = lt_appointment_t
  IMPORTING
    et_exception      = lt_exception
  CHANGING
    ct_input_fields   = lt_input_fields
  EXCEPTIONS
    error_occurred    = 1
    document_locked   = 2
    no_change_allowed = 3
    no_authority      = 4
    OTHERS            = 5.
with this code the hours are shown with some differences, if I set "ls_appointment_t-timestamp_from = '20140317110000'" in the GUI and UI the hour is set to 5:00
Any clue about this !? or how can I resolve this with some code !?
thanks

I use the CONVERT DATE .... TIME . . . TIMEZONE instruction and leave the timezone of et_appointment blank. Thanks !!!

Similar Messages

  • E65 - 2,5 hour problem with time when synchronizin...

    Hey everybody
    I sincerely hope you guys can answer me on a pretty nasty problem. I have synchronized my E65 with my outlook, but EVERY single entry has moved exactly 2,5 hours forward, so all my meetings now starts 2,5 hours later than usually when i look at my phone.
    Vice versa when i make a meeting in my phone an synchronize back to outlook - the meeting starts 2,5 hours EARLIER than i typed it.
    At least it is ALL my meetings, but what is wrong and how do i fix it??
    I have the latest firmware and i have the latest PC suite and im running GMT+1 on my laptop.
    HELP ????
    Sincerly Regitze, Copenhagen, Denmark

    Were you ever able to figure out this issue? I'm having the same problem except that I'm getting a 5 hour difference. Any ideas?
    Thanks

  • Synch Calendars IPHONE and OUTLOOK 2003: Appointments 1 hour difference

    I have an IPHONE 3G, Software 2.1. I´m in Brazil, Sao Paulo, DST on. To solve the problem of 1 hour difference when I synch calendars with my outlook 2003, I had to change the Time Zone Management in IPHONE to another city, in Brasil (Recife) wich doesn´t use DST. This is OK, but do I have to make this procedure everytime I have a DST change? Does anybody know how to fix it? Version 2.2 will correct this ?

    I just noticed the same thing!! i had given up on syncing my iPhone with my work computer running Outlook (only syncing to iCal at home), and then with version 2.2 i hoped that it might work better.
    just synced to Outlook, and all my appointments that were on the iPhone were set to one hour earlier. Outlook time zone is set correctly, with automatic adjustment for DST. my iPhone is set to Date & Time automatic. haven't played around with resetting to manual.
    i ended up adjusting all the events that were incorrect in Outlook - moving them up an hour, resynced, and now every thing is an hour late!!!
    may have to give up on syncing Outlook again, and just sync with iCal.

  • When I locate my iPad it sends me my email but the time it says in the email is like a 3 hour difference from the actual time I locate what do I do to have the proper time there

    When I locate my iPad it sends me my email but the time it says in the email is like a 3 hour difference from the actual time I locate what do I do to have the proper time there
    My time is correct but email time of location is wrong

    Welcome to the Apple community TMOZINGO.
    If you are unable to remember your password, security questions, don’t have access to your rescue address or are unable to reset your password for whatever reason, your only option is to contact AppleCare(or Apple ID Support), upon speaking to an operator you should explain that your problem is related to your Apple ID, this way you will not be charged for assistance, even if you don’t have an AppleCare plan.
    The operator will take you through some steps you may have already tried, however they need to be sure they have exhausted all usual approaches before trying to reset your account, so you should try to be helpful and show patience with the procedure.
    The operator will need to verify they are speaking to the account holder and may ask you some questions that only the account holder could know, and you will need to answer them if the process is to proceed.
    Once the operator has verified your identity they will send a message through to your device which contains an alpha numeric code, which you will need to read back to them.
    Once this has been completed they will send an email to your iCloud email address after a period of 24 hours, so you should check that mail is enabled in your devices iCloud settings.
    Upon receipt of the email, use the reset link provided to reset your password, after which you should be able to make the adjustments to iCloud that you wish to do.

  • One hour difference from Nokia and Outlook

    When I synchronise, calendar items appear with different times in Microsoft Outlook and in my Nokia device. I have checked the FAQ and I have done what it says.
    I have changed my Nokia 6110 clock by one hour for summer;
    my PC was automatically also changed by one hour.
    Now when I synchronise to Outlook there is one hour difference on all my appointments.

    That's the point I was trying to make, but since you didn't say what part of Australia you were in, I couldn't give the details. GMT +11 is currently correct for Melbourne, ten hours ahead of the UK, which is GMT +1 until this weekend.
    Chris
    6230i (the last bug-free Nokia?)
    Vodafone UK contract since 1992

  • E65 - 2,5 hour difference when synchronizing calen...

    Hey everybody
    I sincerely hope you guys can answer me on a pretty nasty problem. I have synchronized my E65 with my outlook, but EVERY single entry has moved exactly 2,5 hours forward, so all my meetings now starts 2,5 hours later than usually when i look at my phone.
    Vice versa when i make a meeting in my phone an synchronize back to outlook - the meeting starts 2,5 hours EARLIER than i typed it.
    At least it is ALL my meetings, but what is wrong and how do i fix it??
    I have the latest firmware and i have the latest PC suite and im running MS Vista with outlook2007, and GMT+1 on my laptop.
    HELP ????
    Sincerly Regitze, Copenhagen, Denmark

    Were you ever able to figure out this issue? I'm having the same problem except that I'm getting a 5 hour difference. Any ideas?
    Thanks

  • Currency translation differences with an effect on earnings

    Product Version: SAP R/3 46.C
    Componente: EC-CS-CSF-E Currency Translation
    In currency translation program of ECCS (tx CX40) the prior year portion of translation differences that affects earnings is posted in current period in the earnings retain item (ER) which according to SAP documentation "Currency translation differences with subsequent consolidations" is correct, however when we run the currency translation on subsequents periods this amount is posted again generating a multiplying of differences on each period.
    In accordance with section u201CBu201D of SAP note 553586, the carryforward item (retain earnings) was assigned to translation key 5, to avoid multiplications of this difference in every execution of currency translation for current period. This correction was applied successfully, however the problem is now generated when we run the currency translation in every subsequent period.
    SAP notes 582815 and 553586 was applied succesfully.
    We also verified SAP note 1045402 changing the translation key 5 to 1, for balance carryforward item (retained earnings) this avoids the difference effect on subsequents periods, but  generates a translation differential effect undesired on this item, since this is a historical item that not must be altered by currency translation.
    Additionally we read SAP note 509509 and we think that this issue corresponds whit symptom 2 of that note.
    Step by Step:
    Transaction: CX40
    Setting of Translation SET in translation method:
    1.- MARS-GAP-Monetary:
    1.1.- Items of balance sheet
    1.2.- Translation Key 1
    1.3.-  Item for differences: income statement item with an effect on earnings
    2.- MARS-GAP-NonMonetary
    2.1.- Items of balance sheet
    2.2.- Translation Key 6
    2.3.-  Item for differences: income statement item with an effect on earnings
    3.-MARS-MOR-Monetary
    3.1.- Items of P&L
    3.2.- Translation Key 5
    3.3.-  Item for differences: income statement item without an effect on earnings
    4.-MARS-MOR-NonMonetary
    4.1.- Items of P&L
    4.2.- Translation Key 6
    4.3.-  Item for differences: income statement item without an effect on earnings
    5.- MARS-HIST
    5.1.- Items of balance sheet
    5.2.- Translation Key 6
    5.3.-  Item for differences: Balance sheet item without an effect on earnings
    6.- ANI-BS-FX
    6.1.- Items of differences SET MARS-HIST and Carryforward Item for special items in transaction CXD3, the same item for the balance carryforward (retained earnings)
    6.2.- Translation Key 5
    6.3.-  Item for differences: Balance sheet item without an effect on earnings (the same item for the SET MARS-HIST)
    7.- ANI-BS
    7.1.- The special balance sheet item in Transaction CXD3
    7.2.- Translation Key 5
    7.3.-  Item for differences, the same item
    8.- ANI-IS
    8.1.- The special income statement item in Transaction CXD3
    8.2.- Translation Key 5
    8.3.-  Item for differences, The same item
    Note:
    1 .- According to the point A of the note  553586 was included the FS Item 484051011(difference item for SET MARS-HIST)  in the conversion SET ANI-BS-FX
    2 .- According to Section B of the note 553586 was included the account for carried forward  481000001 the special accounts set up in the transaction CXD3 in the conversion SET ANI-BS-FX
    3 .- According to Section C of  note 553586 are included special accounts set up in the transaction CXD3 390000 and 251200, in the conversion SET ANI-IS and ANI-BS respectively.
    When run the currency translation in the new year 1-2011, the prior year portion of translation differences that affects earnings is posted in current period a credit to earnings retain and debit to account difference in SET for this account. This amount is same on special balance sheet item 251200, in tx CXD3, also found on the statistical FS item.
    Then in subsequent periods, 2 - 2011 it posting another credit to earnings retain and debit to account difference in SET for this account, generating a multiplying of differences on each period, even though the difference for this account (ER) in the log of the translation currency is equal to the difference posted to the previous period, show this in transaction CX34 for items of translation (1) for this account until 1-2011.
    Edited by: Ana Brito on Jul 25, 2010 8:10 PM

    Hi,
    just a information how I did a workaround about this:
    The opening (movement type 100) of the balance sheet item "differences of currency translation" is customized with "don't change...".
    Every increase  to "differences  of currency translation" works with e.g. movement type 120 and will be carried forward to 100.
    Maybe this is a scenario you can use...
    BR

  • My apps wont update! App store says I have 20 updates, when I click update all, they all go in to "Waiting" mode and its been like that for 24 hours now with no sign of updating. Do I have to delete them all and reinstall ?

    I updated my iOS system 2 Days ago. App store says I have 20 updates, when I click update all, they all go in to "Waiting" mode and its been like that for 24 hours now with no sign of updating. Do I have to delete them all and reinstall ? any help much apreciated.

    Snafujafo wrote:
    Dear ED3K:
        First:  I hope you don't work for Apple as you have some poor communication skills in assistance. That said, I would never in a million years pay you 45 dollars to help me. I think I would sleep with Satan first!!
    No one here works for Apple. This is a user-to-user technical support forum. Everyone here is a volunteer. You tend to get from this forum what you bring to it. If you come in ranting and raving and saying you're going to throw your iPhone out the window and that Apple is mean, people are not likely to respond to you with sweetness and light and puppies and kittens.
    If you really want help, I'd suggest you take a deep breath and then start a new thread in which you explain the problems you're having, the steps you've taken to resolve the problems, any error messages you've gotten. Stick to the facts. Check the attitude and emotion at the door. People will do their best to help you.
    Best of luck.

  • Why is there a 2 hour difference between calendar event times after syncing? i.e., Dental appointment set at 9am on iphone but shows as 7am in icloud on pc after syncing.

    I noticed that when I enter a time for an event on my calendar on my iphone then sync it to icloud the event is show but the time for the event shows a 2 hour difference. Example: Dental appointment set for 9:00 am on my iphone but after sync to icloud on my PC, it shows the time to 7:00 am on my PC calendar. Why is this?

    To diesel vdub
    I found where to check icloud settings. Changed setting from Pacific to Central. That solved the problem.Thank you so much.

  • How do I sync my icloud calendar between iPhone 5 and macbook pro without a 1 hour difference? I've made sure that the time zones are the same on all devices and it's still doing it.

    I cannot get my iphone 5 and macbook pro to display the same time on my calendar. There is a one hour  difference between them and it is driving me crazy!! Please help!!!

    Did you also confirm that the time zone was set correctly on icloud.com (click on your name, check Time Zone)?

  • Can't open a document I created an hour before with Pages 5.0.1; get message saying my Pages is too old, for me to download 5.0.1

    Can't open a document I created an hour before with Pages 5.0.1; get message saying my Pages is too old, for me to download 5.0.1

    You have 2 versions of Pages on your Mac.
    Pages 5 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Anything that is saved to iCloud is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Note: Apple has removed over 90 features from Pages 5 and added many bugs:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Archive/trash Pages 5, after exporting all Pages 5 files to Pages '09 or Word .docx, and rate/review it in the App Store, then get back to work.
    Peter

  • Mod_osso behavior differences with 10gR3 Oracle HTTP Server 2

    We have an install of standalone 10gR3 Oracle HTTP Server 2 (i.e. the Apache 2 version), and have noticed that the behavior of mod_osso is different than the regular 10gR3 Oracle HTTP Server (i.e. the Apache 1 version).
    We use the following in our mod_osso.conf:
    <Location /somepath>
    AuthType Basic
    require valid-user
    </Location>
    First Difference: With OHS 2, when we go to /somepath, we get the error "missing AuthName" in the Apache logs.
    So, we set an AuthName. Now, our mod_osso.conf looks like this:
    <Location /OnDemand>
    AuthType Basic
    AuthName "Oracle Single Sign On"
    require valid-user
    </Location>
    Second Difference: Now, we we go to /somepath, Apache returns a 401, which causes the browser to prompt for credentials! We can enter anything we want in the dialog, and everything will continue as normal (i.e. redirects to the Oracle SSO Server to prompt for credentials, etc).
    So, our question is: Why these behavior differences in 10gR3 OHS 2? It almost seems as if it's using an old 9i mod_osso!
    Thanks,
    - Bill

    Okay, we figured it out.
    Apparently, the three "LoadModule mod_auth*" lines in OHS 2 httpd.conf need to be commented out.
    Now mod_osso is working exactly as with OHS 1.
    - Bill

  • I have a 1 Hour shoot with 3 cameras and I

    I have a 1 Hour shoot with 3 cameras and I need to make a dvd with chapters.
    What is my best work flow?
    1. Do I edit the whole thing at once and then save to file using compressor?
    After that how do I burn a DVD with chapter marks?
    2. Edit each section induvidually?  Then save through compressor?
    Then Compile and burn DVD?
    Also what setting is best for DVD through compressor?
    Sorry for all the questions but most of the stuff I do is online media.
    Thank you,
    Lego

    If you can live with a very basic DVD menu, you can send your project to Compressor from FCP X, add chapter marks in Compressor, and burn a DVD right from Compressor.
    Choose Share...DVD, then click on the Advanced tab and select Send to Compressor. In Compressor you can add markers in the Preview window and customize the DVD menu slightly (add a background image and a Title) using the Inspector settings.
    If you need a fancier DVD menu, you'll need to use one of the other DVD authoring tools that Tom mentioned.

  • Acct determination for Materials management small differences with keys

    Dear all,
    While posting a document in MIRO, it throws error as 'Acct determination for Materials management small differences with keys not defined in ch/acts'.
    Please advise a solution to rectify this error.
    Regards,
    Vijay

    Hi,
    It seems due to small differences between debit and credit side you are not able to post the document price differences). Check all the data to create an entry first and  Check the data format. Can you check  in OBYC is there a way  to  have a transaction DIF (Materials management small differences) post to different GL accounts based on valaution class (plant)?

  • 2 hour DVD with 2 different chapters?

    I've never tried this, but I'm wondering if I can create with iDVD 5 a 2 hour DVD with two different movies in it? Essentially, I shot two dance shows and in order to save money, I'm hoping to fuse the two into one DVD whereby viewers can select Show A or Show B and get what will probably be 15 chapters for each show.
    The longest iDVD DVD that I've created so far was about 90 minutes, and the quality appeared okay, but I'm wondering what a slightly over 2 hour video might look like.
    I have Pogue's Missing Manual for iMovie and iDVD and I'll research the question there, but I'm wanting to get feedback from those who have tried it.
    Any suggestions for how to get this project done if it's indeed possible to do so?
    Thanks

    Yeah, I need to get Studio Pro eventually. It would be nice to have more custom made wedding DVDs rather than the standard ones I've been using with iDVD.
    I was just reviewing Pogue's book on another matter and realized that I can archive a project as a disk image rather than archiving the entire project which creates a huge file. Without thinking, I always thought the disk image was still referencing the source files. (silly me). Now I can create more space in my external drives and still make copies of DVDs when my clients call me months later wanting another copy. Wow, learn something new everyday.

Maybe you are looking for

  • External Hard Drive not showing in my computer

    I have an external hard drive that im trying to connect to my computer with usb2.0 and it doesn't show up in my computer.  I can see it in Disk Management and it says its Online but doesn't assign a letter to it.  I'm running Windows 7 Pro 64bit.  I

  • How to remove search engines in firefox mobile 26

    With the update to firefox 26, another bunch of search engines I will never used were added to my browser. In earlier versions a search engine could be disabled in the addons menu, but that doesn't work any more... Is there any way to remove twitter,

  • Why can't I send an email?

    All of a sudden I'm unable to send emails, why?? I am able to receive & delete mail, but not send.

  • Optical Digital audio - No output control

    I'm trying to use the optical audio output on my late 2006 Mac Pro 1,1 (A1186), but no audio signal is received by my Sony audio amplifier even though the "Optical digital audio out" port and my TOSLINK cable show a red glow, System Preferences says:

  • Adding Birthdays to iCal

    How do you use the birthday icon calendar within iCal?