Application Development and Automation 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: 
Read only

Space at domain drop down at SM30

naveen_inuganti2
Active Contributor
0 Likes
2,812

Hi,

I have one Field in my ztable with zdataelement and Zdomain.

For this domain I have maintained two Fixed values. i.e. 1 and 4.

Data type for this field is INT1, lengh 3.

My Problem Is I am getting 1 and 4 and SPACE in the table maintance generator for this field.

I want to avoid the SPACE form the drop down list at SM30 Screen.

--Naveen.I

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,744

Hi,

Go to the screen - layout of the table maintenance generated for the view, and in the attribute window of the field set 'Input Field' to required from optional (in Program Tab).

Regards,

George

6 REPLIES 6
Read only

Former Member
0 Likes
1,744

Hi

Check the Value range for the Domain, there should be only 2 entries there as mentioned by you 1 & 4 , delete the other excess rows.

Read only

0 Likes
1,744

I am sure there are no other rows...

There are only these two entreis, But by default we will get this space for drop down.

There should be some extra setting we need to do for this, I think..!

--Naveen Inuganti

Read only

0 Likes
1,744

Making that field mandatory will solve your problem, otherwise you can validate before saving the records.

Regards

Karthik D

Read only

0 Likes
1,744

Hi,

Whether your table generator has two screen or its single screen and also whether that space appears in the dropdown field of table control or drop down field of screen????

Read only

0 Likes
1,744

Hi Naveen

ur a rite there is a space coming in the list box of the domain,

i have tried making the field mandatory for the list box , but its dumping.

But i have one observation- when fixed values are given thru domain then space is appearing,

If we populate the list box values using FM-VRM_SET_VALUES then there is no space in the list box values or change the property of field from Listbox to no drop down . Follow either of 2 approaches to avoid space in list box

Read only

Former Member
0 Likes
1,745

Hi,

Go to the screen - layout of the table maintenance generated for the view, and in the attribute window of the field set 'Input Field' to required from optional (in Program Tab).

Regards,

George