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: 

How to keep drop down option to one field in a ztable

Former Member
0 Kudos

hi all,

i created one ztable in this table i have two fields

fieldnames are matnr and indicator.

now my requirement is i have to keep drop down option for indicator field. when i click on this field it has to show three vales 'X' OR 'Y' OR 'Z'.

anybody can tell me how to do this.

thanks,

maheedhar

8 REPLIES 8

Former Member
0 Kudos

hi all,

i created one ztable in this table i have two fields

fieldnames are matnr and indicator.

now my requirement is i have to keep drop down option for indicator field. when i click on this field it has to show three vales 'X' OR 'Y' OR 'Z'.

i have to make the 2 nd column also drop down for that 3 values

anybody can tell me how to do this.

thanks,

maheedhar

Former Member
0 Kudos

Hi,

In ztable we can get Drop down option.

Thanks.

0 Kudos

hi vijay,

how to provide that option?

thanks,

maheedhar

0 Kudos

Hi Maheedhar,

Declare the field value on the selection screen as shown below.

PARAMETERS: p_matnr LIKE ztable-field AS LISTBOX VISIBLE LENGTH 10.

and maintain those 3 values(X,Y and Z) at the domain level in that field of the Ztable.

If Problem solved REWARD points and close the thread otherwise reply.

Regards,

Mukesh Kumar

Message was edited by:

mukesh kumar

0 Kudos

hi,

i dont have report i created only one ztable in that ztable i need drop downoption for a particular field. when i click that field it has to show three values. out of these three values i will select any one value.

this is my requirement.

thanks,

maheedhar

0 Kudos

Hi Maheedhar,

I do not think you can create Drop Down Option at that point.

Regards,

Mukesh Kumar

Former Member
0 Kudos

HI,

create a domain for that field and maintain fixed values as X Y AND Z.then wehn you are enteringthe data into that field it will accept only those three value and it wil show only those.

Thanks,CSR

Former Member
0 Kudos

Hi All,

Problem has been sloved.

Thanks,

Maheedhar