SELECT-OPTIONS - How to get the output other than of the mentioned range
I need the output in my ABAP Query to display entries out of the date range that I enter in the selection screen.
Supose I enter Date: 1st Jan 09 to 15th Apr 09, I should get an output out of this range.
How do I do that with select options ? what do I give in the date-option and date-sign, etc., ?
Richa Tripathi replied
on your selection screen in the side there is a icon of '->' if u click on it a screen comes where u can give multiple different selections.
There in 'Exclude Ranges' tab u can give the date range that u want to exclude and then execute your program....those dates will be excluded in your output.
or else u can directly do it in the program in initialization event.....
s_carrid-sign = 'E'.
s_carrid-low = '20090101'.
s_carrid-option = 'BT'.
s_carrid-high = '20090415'.
Edited by: Richa Tripathi on Apr 15, 2009 11:23 AM