For custom tables should we use UTC for date/time fields

A general question.
Can anyone confirm that SAP does seem to be moving towards storing date/time in UTC format?
We're building custom tables and we're making it a standard to store date/time fields in UTC format.
Regards,
Lavaughn

Hello Lavaughn,
I can not speak for SAP, but from my personal experience TimeStamps are the state of the art to store time date info in db tables. Even with date/Time fields a conversion to the local timezone is necessary. Of course you can reuse your db definition on dynpros. But since UI and business logic will be divided anyway this is also not really a valid point.
Best Regards
Klaus

Similar Messages

  • Is table maintenance generator only for custom table?

    hi ,
    i have doubt is table maintenance generator only for custom table?

    hi swamya,
    Table Maintanance Generator is used to create/change/delete table entries in a particular table.
    In the production system, end-users will not be having access to transaction codes like SE11 and SE16. Developers will not be having access to many transaction codes including the above two.To view the contents of the database table, we will use SE16n in Production system. All these authorizations will be maintained by BASIS team, by creating access profiles.So in order to edit or create the contents of a database table, we should go for table maintenance generator. In real time, authorizations will be maintained in production system.
    The second reason is, we can edit or create multiple entries at a time, using tablemaintenance generator.
    Apart from that we have options like 'Enter conditions' in table maintenance screen SM30.
    hope this helps in clearing ur doubt.
    Regards
    Saurabh

  • How to populate date & time when user enter data for custom table in sm30

    Can anyone tell me How to populate system date & time when user enter data for custom table in sm30..
      Req is
      i have custom table and using sm30 user can enter data.
    after saving date i want to update date & time in table
    Pls let me know where to write the code?
    Thanks in Advance

    You have to write the code in EVENT 01 in SE54 transaction. Go to SE54, enter your Ztable name and in the menu 'Environment-->Events'. Press 'ENTER' to go past the popup message. In the next screen, click on 'New Entries'. In the first column, enter 01 and in the next column give some name for your routine(say UPDATE_USER_DATE_TIME). Then click on the souce code icon that appears in blue at the end of the row. In the code, you need logic like below.
    FORM update_user_date_time.
      DATA: f_index LIKE sy-tabix.
      DATA: BEGIN OF l_total.
              INCLUDE STRUCTURE zztable.
      INCLUDE  STRUCTURE vimtbflags.
      DATA  END OF l_total.
      DATA: s_record TYPE zztable.
      LOOP AT total INTO l_total.
        IF l_total-vim_action = aendern OR
           l_total-vim_action = neuer_eintrag.
          MOVE-CORRESPONDING l_total TO s_record.
          s_record-zz_user = sy-uname.
          s_record-zz_date = sy-datum.
          s_record-zz_time = sy-uzeit.
          READ TABLE extract WITH KEY l_total.
          IF sy-subrc EQ 0.
            f_index = sy-tabix.
          ELSE.
            CLEAR f_index.
          ENDIF.
          MOVE-CORRESPONDING s_record TO l_total.
          MODIFY total FROM l_total.
          CHECK f_index GT 0.
          MODIFY extract INDEX f_index FROM l_total.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " UPDATE_USER_DATE_TIME
    Here ZZTABLE is the Z table and ZZ_USER, ZZ_DATE, and ZZ_TIME are the fields that are updated.

  • Source of data for custom tables in Oracle Apps

    Hi,
    Is there any way to find the source of data for the Custom tables. The source can be either any function, procedure, package or a trigger or any other process. The reason why I need to know about it is because we have some custom tables that are used by some custom Reports. Sometimes those reports comes out blank because the data in these custom tables is blank. So I need to know which processes are populating data in these custom tables. Any help would be really appreciated !!
    Thanks,
    KM

    Is there any way to find the source of data for the Custom tables. The source can be either any function, procedure, package or a trigger or any other process. The reason why I need to know about it is because we have some custom tables that are used by some custom Reports. Sometimes those reports comes out blank because the data in these custom tables is blank. So I need to know which processes are populating data in these custom tables. Any help would be really appreciated !!I do not think there is a direct way to find out the source of the data unless your custom processes are documented.
    You may enable AutditTrail (search the forum for links/docs) and see if this would help.
    Thanks,
    Hussein

  • Add Table maintenance program for custom table to an existing func group

    Hi Guys,
    Can I add Table maintenance program for custom table to an existing function group or I need to create a new
    function group for each custom table.
    Thanks,
    mini

    You can add to an existing function group, there's nothing technically to stop you doing this.  However, consider that this is creating generated function modules in this function group and you would be wise to avoid using a function group containing manually created modules.
    I personally always create a new function group, using the name of the table as the name of the function group.
    Regards,
    Nick

  • Transport Request for Custom Table??

    Hi all,
    I got the requriment for Custom Table.
    "The table should have attributes such as the table contents can be transported from DEV to QA to PROD. Also the table can be maintained individually in QA or PROD too"
    I have understood that I need to have "Delivery Class" as "C". But i want to know what should Transport request type: (Workbanch or Customizing)
    thanks in advnace.

    You say  <i>"the table can be maintained individually in QA or PROD too" I have understood that I need to have "Delivery Class" as "C".</i>
    If table must be maintained in QA and PRD, you need "Delivery Class" as "A". With "Delivery Class" as "C" you can only maintain table in DEV and transport entrie changes to the other systems.
    Regards.

  • Data Archival for Custom Tables

    Hi Experts,
    We have a requirement of archiving the related custom tables while we archive the standard SAP tables data. We are going a head with creating the custom archiving objects to handle this. However, i would like to know about the feature of "Exit routine assignement in generation" in the standard Archiving objects (AOBJ).  Can this be used to handle custom tables data? If yes, can you please provide me an example how this can be acheived? If not, what is the purpose of this?
    Please help!!
    Thanks and Best Regards,
    Surya

    Hello Lavaughn,
    I can not speak for SAP, but from my personal experience TimeStamps are the state of the art to store time date info in db tables. Even with date/Time fields a conversion to the local timezone is necessary. Of course you can reuse your db definition on dynpros. But since UI and business logic will be divided anyway this is also not really a valid point.
    Best Regards
    Klaus

  • Creating TPR for customized table

    Hi,
    I want to create transport a customized table to QA from Dev box.
    I know how to create transport request for reports and smartforms and all.
    But How do I create transport request for customized table ?
    Is it thorugh SM30 ?
    Please help me...

    this depends on the Table maintenance dialog for the table. (utiliteis->table maint generator).
    If it has the recording routine set as 'standard' then SM30 will automatically create a transport when you hit the save button after perfroming maint on the table.
    For 'no, or user..' you will have to manually add entries to a transport.
    Go to SE10. Display your transport. Double click on the development/correction line. Now you can see a list of objects belonging to the task. Hit the 'display/change' toggle button. Add an entry with program id R3TR and object TABU. Enter the table name in the object name. Double click opn the function icon to the right of the object name. Double click in the empty table key area. This pops to allow you to enter the keys you require to transport.

  • Should I use flex for my website

    Hey, I am having trouble figuring out if I should be using
    flex for a site similar to the BBC site:
    http://www.bbc.co.uk. I have
    started the site in flex but I am running into a lot of problems.
    It could be that I am a newbie to Flex, but wanted to make sure if
    I should still be going a head with this in Flex. Any advice would
    be appreciated.
    Thank you,
    Vinny

    "vinny31187" <[email protected]> wrote in
    message
    news:goaup9$9ta$[email protected]..
    > Hey, I am having trouble figuring out if I should be
    using flex for a site
    > similar to the BBC site:
    http://www.bbc.co.uk. I have
    started the site in
    > flex
    > but I am running into a lot of problems. It could be
    that I am a newbie to
    > Flex, but wanted to make sure if I should still be going
    a head with this
    > in
    > Flex. Any advice would be appreciated.
    I would say that if you don't know the answer to that
    question, then the
    answer is probably no. You need to have a pretty firm
    understanding of how
    sites like that work under the hood before trying to build
    one in Flex.

  • I'm looking for customer references who are using Oracle IFS or OCM

    Dear All,
    I'm looking for customer references who are using Oracle IFS or OCM or Oracle Files for their document management systems. So, if anyone can support me i appreciate.

    We have implemented a document management system using Oracle 9iFS 9.0.2
    I would be happy to let you know of our experiences to date.
    Niels Montanana
    Technology Director
    Practical Law Company
    London, England

  • Why should we use WSDL for developing webservices

    I need to develop Webservice Application for our Client .
    I dont know anything about WSDL4J
    Hi from the net i found this
    "The Web Services Description Language for Java Toolkit (WSDL4J) allows the creation, representation, and manipulation of WSDL documents.
    Is the reference implementation for JSR110 'JWSDL' (jcp.org)."
    But anybody please tell me why should we use WSDL for developing webservices ??
    Is there any specific advantage we will get ??
    And Can body please point me a link where to start for working with WSDL4j ?
    Thank you very much

    i seriously doubt you want to use wsdl4j unless you are doing really advanced webservice work. assuming you are developing this webservice from scratch, you basically want to use JAXWS: define an appropriate interface and your value classes, and let JAXWS do the rest. metro is the JAXWS implementation included in the oracle jdk and it has great tutorials and reference documentation online. i'd suggest you start here: http://metro.java.net/getting-started/

  • Transport Req for Customizing Table

    Hi All,
    Created one Customzing table & a table maintenance generator for that table.
    Now my requirement is, whenever the user add/delete/modify any values to the table, Transport request have to be set in Development Client & to be transported to QAS & PRD System.
    Please, help how this can be acheived.
    Many Thanks in Advance.
    Regards,
    Anbalagan.

    Hi Anbalagan,
    When you generate the table maintainance generator for this table there is a radiobutton for Recording Routine (at the bottom of the table maintainance generator screen). Select the 'Standard Recording Routine' radiobutton. Now whenever a user tries to use SM30 to add/change/delete values in the table, the system will ask for a Transport request to record the changes. You can then use this Transport request to move the table values to other systems.
    Hope this helps!
    Regards,
    Saurabh

  • My dad got me a MacBook Air for my birthday but he used it a few times before he gave it to me. He doesnt remember the user password that he kept and now i cant download adobe flash player in it. Please help me!

    My dad got me a MacBook Air for my birthday but he used it a few times before he gave it to me. He doesnt remember the user password that he kept and now i cant download adobe flash player in it. Please help me!

    Reset Password using Recovery HD
    OS X 10.7 Lion /10.8 Mountain Lion
    Follow the instructions in the first and third boxes.
    http://pondini.org/OSX/Password.html
    Note
    Keychain
    I don't remember my original (former) account password
    https://support.apple.com/kb/HT1631

  • Do I need to reinstall everything to use a computer for a paid membership after using it for a trial under a different account?

    Do I need to reinstall everything to use a computer for a paid membership after using it for a trial under a different account? The programs say "start trial" or "trial ended" or "buy" next to them even after I sign in with my membership and then download them.

    Hi Marcella,
    You need not re-install your applications. Just activate your creative cloud license by signing out of the Creative cloud application and then sign back in.
    Please refer to the help document below for the steps:
    Sign out, Sign in | Creative Cloud Desktop app
    Regards,
    Sheena

  • I have downloaded MAMP for Mac and want to use it for working with Wordpress. I had mysql installed before this and would like to uninstall it and use MAMP. It was easy to turn off Apache and PHP but don't know how to uninstall mysql. Please help!!

    I have downloaded MAMP for Mac and want to use it for working with Wordpress. I'm on an Imac with Maverick OS 10.9. I had mysql installed before this and would like to uninstall it and use MAMP. It was easy to turn off Apache and PHP but don't know how to uninstall mysql. Please help!!

    It depends on how you installed it. You have to shutdown the MySQL service first. If you used the standard, but obsolete Startup Item, you can do that with the Startup Item. If you created a launchd script, you can do it with launchctl. Once MySQL is no longer running, you can delete the Startup Item or launchd script and the rest of MySQL.

Maybe you are looking for

  • Tap clicking touchpad causes mouse pointer to move (ALPS)

    Usually when tap clicking on a touchpad, any pointer movements are suppressed as a tap is detected. This does not happen on my Arch machine. Whenever I tap click, the mouse pointer jumps several pixels in some direction. How can I stop this? (Arch is

  • How to define an export system for a production system?

    Hello: I remember there is a way to define an export system for a PRD. However I cannot recall exactly what to do: in transport  profile or instance profile? Could any expert help find out this? Thanks with points! Regards!

  • PO for Particular VENDOR.

    hi MM, how can i find the PurchaseOrderNO for particular vendor? in MIRO tcode we want to hava PO, REF & VENDOR. I am able to the REF and VENDOR but unable to get the PO for this PArticular VENDOR. Can i have some help pls? thank you,

  • Does Appleworks 6.2.9 need Rosetta to run?

    I recently upgraded to a late 2009 Mac Mini and am running Snow Leopard 10.6.2. Appleworks 6.2.9 does work, although very slow to follow commands. Spreadsheets are a real pain - the black and white spinning beach ball commonly occurs. I was asked to,

  • Test results (info language)

    hi guys. i've a problem. i've done a captivate test but the results are only in english. i'm italian and the e-learning-cd i've done is for italian people so.. i'm disperate. there's a way to translate the text results page in italian? please help me