on 03-03-2015 1:10 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.