09-28-2007 4:02 AM
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
09-28-2007 4: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
09-28-2007 4: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
09-28-2007 4: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
09-28-2007 4: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
09-28-2007 4:24 AM
use the write stmnt as follows:
write: /dept- high
/ dept- low.
both high nd low values will b printed.
Regards,
Anjali
09-28-2007 5: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