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

Display current time

Hi friends,

I am currently working on a bar chart which has a time axis ( a horizontal time line with dates and times displayed on top of the chart like a scale).

Now, my requirement is to place a small pointer ( a vertical line) at the current time on current date. Is there any 'BARC_' function module that takes care of this automatically? If not, any ideas on how I can achieve the same by programming.

Thanks in Advance.

Best Regards,

Srinath.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 29, 2006 at 12:54 PM

    System fields for date and time

    sy-datum - date

    sy-uzeit - time

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2006 at 10:42 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 12, 2007 at 04:38 AM

    Hi All,

    Solved it myself. We have method CREATE_DATELINE in the class CL_GUI_BARCHART which displays current date and time as a vertical line in the GANTT chart.

    Exporting parameters are Color type (B5 etc), and date (Time stamp).

    Thanks for the inputs, anyway.

    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.