cancel
Showing results for 
Search instead for 
Did you mean: 

user exit for a variable to calculate the last 3-month period

Private_Member_82764
Active Participant
0 Kudos

Dear all,

I am working on BEx query and try to create a variable with user exit so it doesnu2019t require user to enter anything to run. I would like to create a variable that automatically calculate for the last 3 month period.

E.g. today is March 19, 2009. The variable should show the range from 12/2008 to 2/2009. I am not good at ABAP and I wonder whether anyone can give me some examples so I can start to work on. Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Lado,

I guess, we dont require a user exit here. How abt using the SAP exit variable with current month, lets say A?

Then the variable value you would be looking for would be a range with low offset.

As in A-3 to A.

Naveen.A

Answers (1)

Answers (1)

Private_Member_82764
Active Participant
0 Kudos

thanks. I didn't know I can do this