Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Selection screen in module pool.

Former Member
0 Likes
786

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

4 REPLIES 4
Read only

silver1
Explorer
0 Likes
752

Hi Ramesh,

Could you post your codes with select statements?

Regards,

Silver

Read only

Former Member
0 Likes
752

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

Read only

prajeshdesai
Contributor
0 Likes
752

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.

Read only

nikhil_kalawade
Explorer
0 Likes
752

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