cancel
Showing results for 
Search instead for 
Did you mean: 

due date minus current date

vyellamelli
Participant
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

vyellamelli
Participant
0 Kudos

Hi koundinya ,

Thanks a lot for the quick reply.I will try this and will get back if I there is any issue.

Regards

Prasad

Answers (0)