cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP routine at time dependent infopackage for Start date and End Date

Former Member
0 Kudos

Hi All,

We have a requirement to extract the data which is less than 3 years from the current date.

I'm not able to use the LE option in ABAP routine for mentioning the range.

Help me on the approach to use the LE option in other ways.

Thanks for your help.

Accepted Solutions (0)

Answers (2)

Answers (2)

sander_vanwilligen
Active Contributor
0 Kudos

Hi Adesh,

In an InfoPackage selection you do not have as much freedom as with select options. You must specify your selection using only Including and operators Equal To or Between.

A work-around could be to take an old date in the past as low value and to calculate the appropriate date as high value. Together with Including and operator Between.

Best regards,

Sander

Former Member
0 Kudos

Hi Adesh

I don t understand why you can not use LE option, but maybe you can try something like below :

l_t_range-low = 3 years before.

l_t_range-high = today's date.

l_t_range-option = 'BT'.

l_t_range-sign = 'E'.


This way, you are excluding last 3 years, so it will bring everything before it.


Hope it helps