Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SELECT-OPTIONS - How to get the output other than of the mentioned range

Hi Friends,

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., ?

Please help.



Former Member
Former Member 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'.

append s_carrid.

Edited by: Richa Tripathi on Apr 15, 2009 11:23 AM

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question