Say in selection screeen (ie is in select-options) i have selected record r

say in selection screeen (ie is in select-options) i have selected record range from 1000 to 2000 but in the final display list i sholud not get 1200 to 1300 records it should be hide how is it posible
Thanks
Basu

Hello Math,
There are two ways of restricting the records with 1200 & 1300 values in output list display -
1. Either restrict the records while selecting the data from database using SELECT query. This can be achieved by ranges table populated with the values, which won't select the 1200 & 1300 records.
Find the following code for this -
TABLES: TAB1.
RANGES: R_FLD1 FOR TAB1-FLD1.
R_FLD1-SIGN = 'I' .
R_FLD1-OPTION = 'EQ'.
R_FLD1-LOW = '1000'.
R_FLD1-HIGH = '2000'.
APPEND R_FLD1.
R_FLD1-SIGN = 'I' .
R_FLD1-OPTION = 'NE'.
R_FLD1-LOW = '1200'.
R_FLD1-HIGH = '1300'
APPEND R_FLD1.
SELECT * FROM TAB1
    INTO IT_TAB1
    WHERE FLD1 IN R_FLD1.
2. Select the data first in internal table first and then delete the entries having 1200 & 1300 values.
Find the following code for this -
TABLES: TAB1.
RANGES: R_FLD1 FOR TAB1-FLD1.
SELECT * FROM TAB1
    INTO IT_TAB1
    WHERE FLD1 IN R_FLD1.
IF SY-SUBRC EQ 0.
  SORT IT_TAB1 BY FLD1.
  DELETE IT_TAB1 WHERE ( FLD1 = '1200' ) OR  ( FLD1 = '1300' ).
ENDIF.
Hope this helps you.
PS If the answer solves your query, plz close the thread by rewarding each reply and marking it Solved.
Regards

Similar Messages

Maybe you are looking for

  • Hello all I am having problems viewing my flash buttons on my website

    Hello all I am new to creating my own websites. I am using DW8. At the moment all is going ok as I have managed to get my home page up and running, though my website is far from over i have decieded to add flash buttons. Now when i preview the site i

  • SAPScript issues - J_1B_BORDERO

    Hi all, I am having a hard time figuring out where the data for the SAPScript form J_1B_BORDERO is begin collected. I need to modify the form by adding additional data to it, but unless I figure out which program to modify I can not do it. I have bee

  • Derivation through "Move" in COPA

    Hi Experts Iam trying to derive relationships to avoid "unassigned data" in COPA. I have derivation between customer and salesman, sales office but this is not automatic, at the time of customer creation, the derivation rule has to be maintained in t

  • Provide some suggestion about items max volumn

    Hi experts I would like to know the max items number for B1. My customer have about 20,000 items, and every item have about 35 WH. Is this volumn OK for B1? could you provide some suggestion about items max volumn? Glen

  • How to make a select list editable or searchable like the combobox

    Does anybody know, How to make a select list editable or searchable like the combobox? Do we need a plugin here, where I can get it.