‎2009 May 22 11:52 AM
hi,
how to create a domain with length 5 and decimal points upto 2 while creating ztable in se11?
‎2009 May 22 12:00 PM
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.
‎2009 May 22 12:02 PM
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'.
‎2009 May 22 12:05 PM
Create Domain refering to existing domain KURRF (without using conversion routine)
‎2009 May 22 12:12 PM
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