Skip to Content
author's profile photo Former Member
Former Member

FM to get the TIMESTAMP

Hi,

Is there any Std FM to which if i pass the timestamp(08.07.2008 10:00:00) and time(say 36 hrs),it adds the two and give me resultant exact time stamp .

BR,

SRM tech

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Posted on Jul 08, 2008 at 02:00 PM

    Hi,

    Check this:

    CALL FUNCTION 'RKE_TIMESTAMP_CONVERT_INPUT'
    EXPORTING
    i_date = sy-datum
    i_dayst = sy-dayst
    i_time = sy-uzeit
    i_tzone = sy-tzone
    IMPORTING
    e_timestmp = l_timestamp
    EXCEPTIONS
    date_invalid = 1
    OTHERS = 2.

    Regards

    Adil

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 08, 2008 at 02:02 PM

    Hi,

    Hope this function module helps you.

    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.

    Regards,

    Sravanthi

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 08, 2008 at 02:02 PM

    Hi

    USe

    BDL_GET_CENTRAL_TIMESTAMP

    Regards

    Pavan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 08, 2008 at 02:03 PM

    Hi,

    Try

    CACS_TIMESTAMP_GET_DATE

    RKE_TIMESTAMP_CONVERT_INPUT

    Anirban Bhattacharjee

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      I dont want to get the time and date in the TIMESTAMP format...When i input the timestamp(say 08.07.2008 18:20:00) and the time duration (to be added) say 36hrs(36:00:00),then it should give me the final timestamp say (10.07.2008 06:20:00)

  • author's profile photo Former Member
    Former Member
    Posted on Jul 08, 2008 at 02:47 PM

    Hi,

    Can anybody pls reply?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.