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

decimals

Former Member
0 Likes
622

hi,

how to create a domain with length 5 and decimal points upto 2 while creating ztable in se11?

4 REPLIES 4
Read only

Former Member
0 Likes
581

Hi,

Go to SE11. Give ZTABLE name. Give short description delivery class and table maintenance.

When you click to tab fields. Give the data element and double click on it.

Give the data element name. double click on it. Than you enter domain where you can give data type, no of characters and decimal places.

Than you just have to save and activate all the field name with lenght 5 and decimal 2 will trigger in your ztable.

Hope this will help.

Regards,

Nikhil.

Read only

Former Member
0 Likes
581

Go to SE11 > Domain > ZDOMAIN > Create > Short Description > data type DEC

No charc 5

Decimal palces 2

Save and activate.

But one thing ,at the time of declarations in your program (se38),you have to assign as mentioned below

DATA : rupees type zdomain.

rupees = '45.666'.

Read only

Former Member
0 Likes
581

Create Domain refering to existing domain KURRF (without using conversion routine)

Read only

Former Member
0 Likes
581

Hi,

You can directly use the standard dataelement DEC5_2.

Otherwise create a domain with type DEC length 7 and decimals 2. (Length = 7 means it will allocate 7 characters and off that 2 for decimals)

Regards

KArthik D