Time Stamp Conversion program usage

Hi ,
           Could you plz give solution for where we can use TIMESTAMP program in SAP R/3 an in SAP BW?
Thanks
Surya.

Hi Surya,
Please refer the below link which should help you.
http://help.sap.com/saphelp_nw04/helpdata/en/60/b03f3ba54511d2a97100a0c9449261/frameset.htm
Regards,
Sharath

Similar Messages

  • Problem with time stamp conversion

    Hi All,
    I am using the below code to convert timestamp to date and time  , its working fine when i print it with write statement  .
    But i want to convert and pass the time and date with format to excel sheet , but  its it taking again as string not in date time format .
    please see the below code .
    time_stamp = 20030309043000.
    CONVERT TIME STAMP time_stamp TIME ZONE tz
           INTO DATE dat TIME tim. 
    *WRITE: /(10) dat, (8) tim .
    please suggest .

    Now that you've converted your time stamp to date (type d) and time (type t), convert them into alphnumeric fields like you want or tell excel what is in that column, since Excel isn't telepathic...and doesn't always know what we sent it....
    data: date10(10) type c.
             time8(8) type c.
    write dat to date10 mm/dd/yyyy. "converts type d to user's specific date setting (not necessarily mm/dd/yyyy).
    concatenate tim(2)
                        tim+2(2)
                        tim+4(2)
       into time8 separated by ':'.
    I do wish that I understood the fascination with Excel....when we have such marvelous tools to work with inside SAP or BW.

  • Time stamp conversion and graphs from array data

    How can you read time stamps and data currently in an text file as an array and split in for display on a graph. I think I need to convert the time stamp back into seconds to do this but not sure how to do so?

    If you're using 8.2, the Read From Spreadsheet File VI can read string files. If not, you will need to open the VI and read the instruction on the diagram for how to change it.
    Once you have your string array, you can use the VI found here to convert the time column (note - read the thread) and convert the second column using the String to Number functions.
    Try to take over the world!

  • Time Stamp Conversion

    Hi,
          I need to convert the following time stamp into date and time. could any one help me how to do this?
    Input format:
    2008-05-19T01:00:00Z
    Convert statement wont work as it has characters in it.
    At present i have converted by using split statment. is there any other way of doing it ?
    Regards,
    Niyaz

    Hi,
    As in above post u use the FM to get your output. Check the below code:
    data : a type string,
           time_stamp type TZONREF-TSTAMPS,
           date type SY-DATLO,
           time type SY-TIMLO.
    a = '2008-05-19T01:00:00Z'.
    REPLACE ALL occurrences of '-' in a with space.
    REPLACE ALL occurrences of ':' in a with space.
    REPLACE ALL occurrences of 'T' in a with space.
    REPLACE ALL occurrences of 'Z' in a with space.
    time_stamp = a.
    CALL FUNCTION 'ABI_TIMESTAMP_CONVERT_FROM'
      EXPORTING
        iv_timestamp           = time_stamp
    IMPORTING
       O_DATE                 = date
       O_TIME                 = time
    EXCEPTIONS
       CONVERSION_ERROR       = 1
       OTHERS                 = 2
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    write : date, time.
    Regards,
    Raghu

  • FLOAT TO TIME STAMP CONVERSION

    Hi Folks,
    I am getting some pain while i am converting from float values into timestamp...
    I have a T1 table and one columns data type as float ...i want convert that float values into time stamp..
    Exp: field1(float datatype)
    48045.4352222
    45065.4452222
    These above values need to convert to time stamp (DD-MM-YYYY HH24:MI:SS)...

    sb92075 wrote:
    microfortnights? (do the math!)
    Anybody know where microfortnight originated?I once consulted in a British railway firm - they still used "chains" as a form of measurement.
    http://en.wikipedia.org/wiki/Chain_unit
    I thought I'd dropped back into the Middle Ages - and it wasn't the only way.
    A HUGE* system.
    The only thing any table had (apart from data) was a primary key. No DRI. No nothing. I ran
    a query to look for foreign keys (way to start to understand the system) and got no results returned.
    I thought the mistake was mine, but no - the developers proudly* said that the system only
    had PK's and nothing else. I actually got into an argument with a semi-colleague/programmer who
    thought that it was up to programmers to control referential integrity - I could only shake my head.
    There was an issue with a CASCADE DELETE (it wasn't happening) - I advocated putting it in
    the database, but was overruled because the system had to work with several RDBMS's.
    Ah, well - Oracle Insights deja vu all over again!
    Paul...

  • Date Time stamp conversion

    I have a timestamp coming from flat file in the following format YYYY-MM-DD HH:MM:SS.mss(2007-02-21 11:48:31.000)
    to store in Bw I have  created a Object as data type :NUMC and length 14 ,I have conversion routine as times .I was wondering if this will work and also
    can anyone suggest me to covert this as YYYYMMDD and tIme by spliting the field i am getting from flat file.
    Thanks
    Samuel

    Hi Samuel,
    You would need to write a routine for converting.
    Char v_date(8), i_date(18), day(2), month(2), year(2).
    i_date = trans_stru-<your date>.
    day = i_date +  9(2).
    month = i_date + 6(2).
    year = i_date + 5(4).
    concatenate year month day into v_date.
    Result = v_date.
    Bye
    Dinesh
    (Do not forget to assign points!!)

  • Function module required for time stamp conversion into MST

    Hello,
    Please let me know if there is a SAP function module that can convert timestamp from GMT or provided timestamp into MST. I will need to use this function in BW transformation.
    Thanks.

    Try this one: TZ_GLOBAL_TO_LOCAL.
    Haven't used it myself yet, but it looks good.
    Good luck!
    Best regards,
    Zhou

  • Time stamp to number conversion

    Hi All,
    I notice in Labview 7.0 the 'Get Date/Time to Seconds' and 'Seconds to Date/Time' now output a Time Stamp rather than actual seconds.
    There is a 'To Time Stamp" standard vi in the conversion pallet that converts a number (seconds) to a time stamp but I really need to convert from a Time Stamp to real seconds.
    Does anyone have a vi that might do this or is there something already in LabVIEW 7.0 I have overlooked?
    Many Thanks in Advance for your help.
    Sammy Mason

    You are going to have to post an example where the conversion does not work.
    Message Edited by Dennis Knutson on 05-05-2007 05:34 AM
    Attachments:
    TimeStamp to Dbl.PNG ‏2 KB

  • Time stamp in text conversation? Long convo not updating with time stamp!!

    I need my time stamp on each text! Three hours pasted and no time stamp update in text convo!!'???
    <Edited by Host>

    Hi, Acmarie.
    Thank you for visiting Apple Support Communities. 
    To see what time a message was sent or received. Drag any bubble to the left.  Below, I have included the user guide which references this new feature on page 66. 
    iPhone User Guide
    Cheers,
    Jason H. 

  • Watermarking program with time stamps?

    Hi all,
    Just curious to see if Acrobat Pro has a feature where I can add a watermark both at the top, bottom and middle-diagonal with name and timestamp of date opened/accessed or created. I've been looking all over and have only found a watermarking option but no time stamp feature.
    Any help woudl be greatly appreciated, and I'm sorry if this is in the wrong subforum.
    Thanks.

    Are you sure you want a watermark?
    Reader cannot add the OCG watermark layer!
    You can create  watermarkFromText with JavaScript but you cannot update or remove a watermark with JavaScript.
    You can create a string value of formatted date and time object from the system date time object.
    So one could combine the create watermarkFromText and compute the text string for the date and time from the system date and time or form info creation date or modified date.
    Have you considered using read only form fields?

  • Why is the time stamp in usage in the future

    I pulled usage this morning 11/5/13 at about 10am my time, PST.  The usage showed texts at 11:45am on 11/5/13 today, which would be in the future!  Some of the texts seemed to have the right time on them though.  What's going on?
    How accurate it this usage information??

        I want to ensure you're receiving accurate usage alerts, ncnoodle. Did you check on the usage later? Did this text from 11:45 am remain listed after returning to review? We do look to post usage as quickly as possible although usage can be delay depending on the receipt of usage from our towers.
    YosefT_VZW
    Follow us on Twitter @VZWSupport

  • Bug report: Time stamp misalignment in recent list

    Bug report: With the new compact design, go to recent pivot, tap on a conversation, press back button to go back to recent, notice the time stamps to the right of the list have moved even more right, with text being cut off the screen.
    Using Lumia 1020 with Cyan and 8.1.1 DP.

    I figured this would be the best place to post it so that an Apple representative might see it.
    Actually it's not as likely to be seen here since there are so many posts for any Apple rep to have to scan. The best way to report an issue to Apple is through the feedback pages or, if you're a member of Apple's developer program, through the bug reporter.
    Regards.

  • Help to read a table with data source and convert time stamp

    Hi Gurus,
      I have a req and need to write a ABAP prog. As soon as i excute ABAP program it should ask me enter a data source name, then my ABAP prog has excute teh code, in ABAP code i have to read a table with this data source as key, sort time stamp from table and should display the data source and time stamp as output.
    As follows:
    Enter Data Source Name: 
    Then user enters : 2lis_11_vahdr
    Then out put should be "Data source  :"  10-15-2008.
    The time stamp format in table is 20,050,126,031,520 (YYYYMMDDhhmmss). I have to display as 05-26-2005. Any help would be apprciated.
    Thanks,
    Ram

    Hi Jayanthi Babu Peruri,
    I tried to extract YEAR, MONTH, DAY separately and using
    EDIT MASK written it.
    Definitely there will be some STANDARD CONVERSION ROUTINE will be there. But no idea about it.
    DATA : V_TS      TYPE TIMESTAMP,
           V_TS_T    TYPE CHAR16,
           V_YYYY    TYPE CHAR04,
           V_MM      TYPE CHAR02,
           V_DD      TYPE CHAR02.
    START-OF-SELECTION.
      GET TIME STAMP FIELD V_TS.
      V_TS_T = V_TS.
      CONDENSE V_TS_T.
      V_YYYY = V_TS_T.
      V_MM   = V_TS_T+4(2).
      V_DD   = V_TS_T+6(2).
      V_TS_T(2) = V_MM.
      V_TS_T+2(2) = V_DD.
      V_TS_T+4(4) = V_YYYY.
      SKIP 10.
      WRITE : /10 V_TS," USING EDIT MASK '____-__-________'.
              /10 V_YYYY,
              /10 V_MM,
              /10 V_DD,
              /10 V_TS_T USING EDIT MASK '__-__-__________'.
    If you want DATE alone, just declare the length of V_TS_T as 10.
    Regards,
    R.Nagarajan.
    We can -

  • Time stamp to name a TDMS file

    Hi:
    I am using data from excel files to create a time stamp, after that,my VI creates TDMS files with this data in files with 5000 samples, also I am using time stamp to named the TDMS files, but my problem is that my first file takes the name 180000.000, How can I modify this? because I need my file´s name will be the first data from excel.
    I attached my VI and two excel files, the idea is that the first file will be 84327.500 and the second will be 84740.950
    Attachments:
    test1.xlsx ‏150 KB
    test2.xlsx ‏151 KB
    testfile.vi ‏56 KB

    First, let me congratulate you on taking your first steps to learning LabVIEW. If you have not already done it, I highly recommend you go through the online tutorials. You have an actual project to work on, so application of what you learn will be fairly immediate.
    For your actual program issue, you need to read the data from the Excel file and convert it to a timestamp before you set your filename. The order of operation of your program is to set the TDMS file name while simulataneously reading from the Excel file. After you have already created the TDMS file, you convert the data to a timestamp and write this to your timestamp front panel control. Note that the first point you write to the TDMS file may or may not be what you think it is. It could easily be the same 180000.000 value you are using to name the TDMS file. You have what is known as a race condition. The order of operation between the read and write of the timestamp control is not known and can be variable. It is one of the reasons that you should NEVER use local variables to pass data around. Use wires. In LabVIEW, wires are the data and take the place of variables in a text base language. Front panel controls should be used only for user interace reasons. In your loop, you should wire the timestamp from its current conversion (wired into the timestamp on the front panel) directly to the TDMS write (currently wired from a local variable of timestamp).
    A couple of other things. You do not need to convert your data arrays to matrices to index them. This can be done directly with Index Array from the array palette. This single primitive will replace the Array Subset, convert to matrix, and index matrix primitives.
    You do not need to go through a string conversion to produce a timestamp. The Date/Time to Seconds primitive in the timing palette will do it directly. You will need to populate the cluster input.
    When you posted your code, you did not include your subVIs. In the future, include all your VIs, either separately or in a ZIP file.
    Finally, to solve your intial problem, use Index Array to pull the first row of data from the Excel file, then convert this to a timestamp using Date/Time to Seconds. Use this to create your TDMS file.
    You may have noticed, if you do all this, you do not need your timestamp front panel control, other than as a simple monitor.
    Good luck! Welcome to LabVIEW.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • What exactly IS Time Stamping?

    Hi,
    I'm building a web application in an effort to create
    something not only practical to use, but to also improve my
    programming abilities.
    At the moment, I store records in a database with separate
    columns for Time and Date.
    What I want to know is, is this a good way about doing
    things? I have tried to research the best way to store dates and
    times but can't find much on the subject for a beginner like me.
    I have often seen the format:
    {ts '2008-04-10 20:13:00'}
    ...floating around on the web - is this the proper way to
    maintain a time stamp?
    I simply want to do things properly from the ground up so
    would appreciate your advice and guidence on how to handle the
    storage of dates and times. If you could spare a minute to explain
    the best practice and pitfalls of this it would be much
    appreciated.
    Apologies if I sound really stupid!
    Thanks,
    Mikey.

    Kapitaine wrote:
    > Hi, thanks for the reply.
    >
    > So would it actually sit in my DB column as:
    >
    > {ts '2008-04-10 20:13:00'}
    >
    > Then do CF functions like this? e.g:
    >
    > <cfset variables.test = "{ts '2008-04-10 20:13:00'}"
    />
    > <h2>#dateFormat(variables.test,
    "dd/mm/yyyy")#</h2>
    > <h2>#timeFormat(variables.test, "hh:mm:ss
    tt")#</h2>
    >
    > Seems to work, but is this correct? Should the date and
    time be stored toether
    > like that? Why does it need curly braces and a "t". Is
    this some kind of
    > convention?
    >
    > Thanks,
    > Mikey.
    >
    Well, no, that is a string that ColdFusion typeless automatic
    conversion
    is allowing to work for you. You exact example would probably
    be better
    down as:
    <cfset variables.test =
    createDateTime(2008,4,10,20,13,00)>
    Now you have an actual date-time object variable that is
    easily
    accessible for all date-time functions, calculations and
    formating.

Maybe you are looking for

  • Wifi no longer connects to internet

    In OSX 6.8 I was able to use my AirPort setup to share my internet access with my ipod, but with the upgrade to Mavericks Airport has become WiFi and will not access my internet connection. I've gone through all the Assistance and online troubleshoot

  • I keep getting an error message and redirected to yahoo, despite having been in the site briefly using my default browser. any ideas?

    Google is my default browser. I type in a search, click on the link, and go to the site, Sometimes I get re-directed immediately and other times I am able to navigate for a few seconds before being re-directed. I've tried changing the settings in the

  • Deprecated value

    Hi All, I am using oracle 11g rel 2(test machine) on windows 7.I messed up with spfile and getting the following warning ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance ORACLE instance started. When i checked the alert log

  • Payment method not found

    Hello, I am trying to post a payment to a Vendor and payee is set up different then the supplier.  I checked the data  - seems to be allright but am not able to post the payment  with error 'Payment method not found'.  Payment method has been defined

  • The accumulation at the aggregate level

    Hi, in the web form, I entered data in the first 3 months (January, February, March) ...I recorded ... but the accumulation does not occur at the Q1. Q1 take just the values of the March.