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

data in a report

hi experts,

i want to put the date field in a report.i want to put date in select-options and with other selections screen.i should be displayed with data.please help me in solving this problem.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 03:31 AM

    Hi,

    Could you be more clear on the question

    Thanks

    Virkatnh

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      hi,

      if you want to print the current date and time in your report use the below system variables

      SY-DATUM - Current date in APP server.

      SY-UZEIT - Current time in APP server

      if you want the date in selection screen,

      data: sdate type sy-datum.

      SELECT-OPTIONS: S_DATE FOR sdate.

      Reward if found helpful.

      Regards,

      Boobalan Suburaj

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 03:45 AM

    Hi,

    Try..

    SELECT-OPTIONS: S_DATE FOR sy-datum.

    write : s_date-low, s_date-high.

    This will give you dates which are entered in select option.

    Reward pts if found helpful.

    Regards,

    Dhan.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 03:47 AM

    Hi,

    select-options : s_date for sy-datum.

    sy-datum is nothing but current date. you can display this in the report.

    Thanks

    Vikranth

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 04:22 AM

    Hi Rohit.

    You can define like:-

    In the "Secetion-screen" part of the report.:-

    Select-options: s_date for sy-datum.

    and while priniting the data...u can write like:-

    write: s_date-low ,'to', s_date-high.

    this will print your system's urrent date.if you want to print some other dates pass that in s_date . then write.

    reward points if found helpfull

    good day

    Edited by: prashant tiwari on Jun 18, 2008 6:23 AM

    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.