Skip to Content

due date minus current date

Hi experts ,

I have requirement to calculate the difference between Due date (a date characteristic) and Current date(sy-datum) please inform me how I can achieve this.Is it possible by creating one variable with replacement path for Due date and for current date with variable exit.

Please guide me how to achieve this in bex report.

Regards

Prasad

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 01, 2008 at 06:16 AM

    Hi Prasad,

    You can achieve this with the help of a structure. You can create a new formula by right clicking on the structure. in the formula, you can select the fields and give the minus sign in between them as mentioned below.

    Create a structure as mentioned below. The fields in query designer will lokk as below.

    Rows

    New Structure

    Due date

    Current date(sy-datum)

    New Formula --> 'Due date' - 'Current Date'

    Hope this helps u...

    Regards,

    KK.

    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.