‎2009 Mar 12 4:45 PM
Hi,
If 2 data elements have the same domain (for eg BNAME), does that mean that the data elements have the same data type and length?
Thanks in advance.
Peter
‎2009 Mar 12 4:47 PM
‎2009 Mar 12 4:55 PM
Fields--->DATA ELEMENTS--->DomainThis is the Architecture of Fields
So domains Beings at Lowest Level can be used by many Data Elements .
SO THEY HAVE SAME DATA TYPE AND LENGTH
Regards,
Gurpreet
‎2009 Mar 12 5:14 PM
Hi
Yes, if you want to validate the data.. look for number of characters it can accommodate etc.... any of the data elements can be used. I value table and the value ranges are attached at the domain level.
‎2009 Mar 12 5:17 PM
Hi Peter,
Domain describes technical attributes (type, length, possible value range) of data element which uses it. Conversely data element describes semantic attributes of the table field which uses it (these are label, input help used via search help).
In DDIC, if certain table uses data element, it inherits technical attributes from its domain and semantic ones from data element.
In program, on the other hand, when you declare field of data elemnt type, it inherits only its techical attributes (domain attributes). It is because in program no semantic exists.
Regards
Marcin
‎2009 Mar 12 5:20 PM
Hi,
One Domain can be linked with multiple number of Data Elements, in the same way one Data elements can be linked with multiple fields.
Regards
‎2009 Mar 12 5:57 PM
Thanks for all your replies.
Is it a good practise to have multple Z data elements on the same domain? Why cant we reuse the same Z data elements?
Regards,
Peter
‎2009 Mar 12 6:00 PM
Hi,
It depends on the scenarios,
DATA ELEMENT gives you the business meaning of the field you use in the table, hence it would not make any sense to use the data element of URL field in SCARR to another URL field in links for some other table.
At the data element level we actually give the meaning of what exactly the field is all about.
if more than one field has the same business meaning then you should use the one you have already created....
Regards,
Siddarth
‎2009 Mar 12 6:04 PM
Hi Peter,
Simply beacuse couple fields may require different semantics for same data type and lenght. I.e. two fields City to and City from would require different lables (as their names) but same data type and length. Moreover the user could pick same cities for both, but they would state for something different. Here value table in domain level (used for foreign key) would descirbe which cities are allowed, but data element would state for their labels.
So the answer is YES. This is common practices and good one.
Regards
Marcin
‎2009 Mar 12 6:05 PM
the lesser the Zdevelopment... more easy at the time of upgradation... if its mandatory to create go ahead... else you can use the old one...
‎2009 Mar 13 9:26 AM