‎2016 May 05 1:15 PM
Hi,
I developed a module pool program and created select-options for it. when i am giving range of input in selection screen, it is not considering the selection screen inputs instead fetching all the records in database, Please help me in this issue.
Thanks,
Ramesh
‎2016 May 05 1:20 PM
Hi Ramesh,
Could you post your codes with select statements?
Regards,
Silver
‎2016 May 05 1:41 PM
hi
please post your select query and do check your where clause.It is taking your select option as blank and fetching all records.
hope it helps
‎2016 May 05 1:52 PM
It is always recommended that check IS NOT INITIAL before SELECT statement,
IF S_OPTION IS NOT INITIAL.
SELECT FIELD1
FIELD2
FROM TABLE
INTO IST_TABLE
WHERE FIELD1 IN S_OPTION.
ENDIF.
Hope this helps.
‎2016 May 05 1:59 PM
Hi,
There are two methods to declare Selection screen in Module pool one is either go with write code for selection screen or In Screen of Module pool create 2 Input field and merge it into one. Below link exactly telling same thing in detail. Please ignore if already checked.
How to creat select-option on module pool scree... | SCN
possible ways for failing your select option;
1. you have't declare Range and populating Low and High values.
- just populate Low values in while populating range table both high and low values defined put it into Low of Range
2. Check your Select option table having any entries or not.
- Debug the code so you will get an answer why Select option table is not populating.
hope this will help you.
Regards,
Nikhil