Skip to Content
author's profile photo
Former Member

select-option.....strange problem.....have ur points.

Hi all

pleas see the code...

SELECT-OPTIONS : dept FOR equz-ingrp DEFAULT 'DG'.

write : / dept.

output-> IEQDG

Now thing is equz is a fields with length 3 character, what ever i select from the drop down in select option.

IEQ is attached with every value....

Why? Please assist me...

<b>Have ur points.</b>

Regards,

pradeep phogat

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

5 Answers

  • Best Answer
    Posted on Sep 28, 2007 at 03:06 AM

    Pradeep,

    That's the SIGN option of the SELTAB, the structure of your SELECT-OPTIONS internal table (Sign, Option, Low value, High Value)

    IEQ = is equal to, being displayed as u used a default value for SELECT-OPTIONS...

    Message was edited by:

    Karthik

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 28, 2007 at 03:07 AM

    Because select opiton is an internal table with 4 field

    Sign, Option, Low value, High Value.

    I - Including, E- Excluding

    Option - EQ(equals to), NE(not equals to), GT(greater than),.....etc

    Low Value is the value in your from ____

    High Value is the value in your to _____

    Hope this clarifies

    Regards

    Gopi

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 03:08 AM

    select options create a range of the structure

    sign

    option

    low

    high

    The character I means 'IN' and it is related with the field sign of the select option you created

    The character EQ means equal and it is related with the field option of the select option you created.

    it means that your select statement will filter the records that has the value eq 'DG'

    Sign values could be I (In) or O(out)

    Option values could be EQ (equal) NE (not equal) BT (between), for example

    Regards

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 03:24 AM

    use the write stmnt as follows:

    write: /dept- high

    / dept- low.

    both high nd low values will b printed.

    Regards,

    Anjali

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 28, 2007 at 04:06 AM

    Hi Pradeep,

    Select option is similar to an internal table & has 4 fields in it.

    SIGN

    OPTION

    LOW

    HIGH

    Inorder to display contents of select option you need to code as follows:

    loop at dept.

    write :/ dept-low, dept-high.

    endloop.

    Best regards,

    Prashant

    Add comment
    10|10000 characters needed characters exceeded