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

About Domain - Fixed value length.

Former Member
0 Likes
6,402

Hi,

I have created a domain and want to enter fixed values for the same. But the max length is 10 chars.

Is there a way to use this feature with values whose length is > 10 chars?

Thanks.

Hi,

I have created a domain and want to enter fixed values for the same. But the max length is 10 chars.

Is there a way to use this feature with values whose length is > 10 chars?

Thanks.

6 REPLIES 6
Read only

Former Member
0 Likes
2,578

Kumar,

Double click on domain>tab value range>here you can give fixed values for that field and fix the number of character in format like below.

Data Type        CHAR       Character Strin
 No. Characters       10                    
 Decimal Places        0

Read only

Former Member
0 Likes
2,578

if you want to user Domain value (length > 10) then you need to keep the domain length equal to maximum possible value length

Read only

Former Member
0 Likes
2,578

Hi

No I don't thik it's possible to do it, or u use a fix value of max 10 chax or u can only create a check table where it stores the possible values.

Max

Read only

Former Member
0 Likes
2,578

No it is possible is there is any condition for length

Read only

vinod_vemuru2
Active Contributor
0 Likes
2,578

Hi Kumar,

No. There is no way to have a domain with fixed value of length more than 10 characters. This is because all these details are stored in table DD07T and field DOMVALUE_L of length10.

I can sugest one solution for you which worked in my case for

the same requirement.

Create a Ztable with 2 field(MANDT and ONEMORE FIeld)Populate these fixed values into Ztable via SM30 and save. Assign this Ztable as Check/Value table to ur objects. When you transport the object transport this table and table entries aswell.

Hope this sloves ur issue.

Thanks,

Vinod.

Read only

Former Member
0 Likes
2,578

-