Skip to Content
0
Jun 27, 2008 at 10:34 AM

One Select-option field with two entries?????

23 Views

Hi... Experts...

Here one more question on select-options from my side...

> DATA: S_FLD FOR G_FLD NO INTERVALS.

>S_FLD-LOW = '061'.

>S_FLD-SIGN = 'I'.

>S_FLD-OPTION = 'EQ'.

>APPEND S_FLD.

>CLEAR S_FLD.

>S_FLD-LOW = '082'.

>S_FLD-SIGN = 'I'.

>S_FLD-OPTION = 'EQ'.

>APPEND S_FLD.

>CLEAR S_FLD.

>S_FLD-LOW = '016'.

>S_FLD-SIGN = 'I'.

>S_FLD-OPTION = 'EQ'.

>APPEND S_FLD.

>CLEAR S_FLD.

>S_FLD-LOW = '038'.

>S_FLD-SIGN = 'I'.

>S_FLD-OPTION = 'EQ'.

>APPEND S_FLD.

>CLEAR S_FLD.

>S_FLD-LOW = '043'.

>S_FLD-SIGN = 'I'.

>S_FLD-OPTION = 'EQ'.

>APPEND S_FLD.

>CLEAR S_FLD.

>S_FLD-LOW = '045'.

>S_FLD-SIGN = 'I'.

>S_FLD-OPTION = 'EQ'.

>APPEND S_FLD.

>CLEAR S_FLD.

1. so here s_fld table fills with entries... 61,82,16,38,43,45

2. I can c those entries from selection screen in the table of the single value under the tab.

The above values are not from any database tables...

all are hard coded with one paper document... and ..

one more thing is if you assumed those are age of persons....

iam having male or female details also...

so now my requirement is...

How can i get s_fld table with these two fields...

here my target is to get... data.. and it with that user has to know.. which age field belongs to whom...

is there any prefix statements.. in ABAP.. to do this....

Let me know if any doubts...

Thanks,

Naveen.I