Application Development 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: 

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

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

former_member189629
Active Contributor
0 Kudos

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

5 REPLIES 5

former_member189629
Active Contributor
0 Kudos

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

gopi_narendra
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

use the write stmnt as follows:

write: /dept- high

/ dept- low.

both high nd low values will b printed.

Regards,

Anjali

former_member223537
Active Contributor
0 Kudos

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