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

Fixed value assignment while creating Domain

Former Member
2,142

Hi All,

While creating a Domain with data type 'CHAR', No. characters 13, in Value Range > Fixed Value i had given 'TEST_MATERIAL' but it only takes first 10 Characters (TEST_MATER). I wan to display all characters.

how can I solve it.

Points Assured.

Regards,

Suresh

1 ACCEPTED SOLUTION
Read only

Former Member
1,842

Hi

Fixed value can b assigned upto 10 characters only.

go for short description(within 10 char) OR

Prepare value table and assgin.

13 REPLIES 13
Read only

Former Member
0 Likes
1,842

single value field length is 10 char , so u cannt maintain 13 chat value.

<b>DOMVALUE VAL_SINGLE CHAR 10 0 Single value</b>

Regards

prabhu

Read only

Former Member
0 Likes
1,842

Hi,

In the definition tab, pass value as 13 to Output length.

Best regards,

Prashant

Read only

Former Member
1,842

Yes. You can not specify more than 10 as the domain length is 10 (DOMVALUE).

You have to go for the value table. Tht's the only option.

Read only

0 Likes
1,842

Hi Prabu / Dragon,

Is there any other way to acheive this?

I had already assigned the output length as '13' . Still I'm not get the required.

Regards,

Suresh

Read only

0 Likes
1,842

give the output length as 15 or 16 and activate check once.

Read only

1,842

Hi here the problem is not your length.

The standarad SAP length for the value field is 10. So even if your domain has length more than 10 the value field cannot accomodate that length.

So no option ... you must go for Value Table.

Also the fixed ranges are mostly for numbers... tht's why they have fixed the max length as 10 which is large in case of numbers...

Better to go for Value Table. I have tried that and is working fine.

Read only

0 Likes
1,842

Hi Dragon,

How can I do it invalue table. can u give me steps to proceed.

Regards,

Suresh

Read only

0 Likes
1,842

create a table -->ztext and maintain values in that .

assign this value name in the value table field of that DOmain. Just below the fixed value screen.

Regards

Prabhu

Read only

0 Likes
1,842

Hi Prabhu / Dragon,

Below steps i have followed.

SE11 > DB table name (ZSITE_VT) > Description > Delivery class (A) > Display / Maintenance allowed with restrictions > Save > in fields tab what i have to fill and guide me in further steps.

Regards,

Suresh

Read only

uwe_schieferstein
Active Contributor
0 Likes
1,842

Hello Suresh

You cannot do that because the domain DOMVAL is a CHAR10 type. Either you shorten the fixed value and give a reasonable description or you use a value table.

Regards

Uwe

Read only

Former Member
1,843

Hi

Fixed value can b assigned upto 10 characters only.

go for short description(within 10 char) OR

Prepare value table and assgin.

Read only

hymavathi_oruganti
Active Contributor
0 Likes
1,842

hi,

though u might have given datatype char and no. of chracters as 13 in domain definition,

u might have forgot to change the 'output length' to 13.

check <b>output length</b> field in domain definition.

Read only

Former Member
0 Likes
1,842

Thanks.

Poins awarded.