2013 Jan 31 4:34 PM
Hi,
What do you think is a best practice, create data elements and domains for each custom program or try to reuse using existing standard or even custom data elements and domains?
Thank you!
2013 Jan 31 6:09 PM
Hi Leandro,
It is always good to use standard objects.
But if standard objects doesn't solve the purpose of your requirement then you can go for customized objects.
Advantages of custom data element :
1.You can have your own customized search help
2.You can have customized texts.
3.Customized Documentation.
Advantages of custom Domain:
1.You can have your own customized conversion routine.
2.own customized value range and value table.
Advantages of standard Objects:
1.Less work
2.Error Free.
Reward points if useful.
Thanks and regards,
Bharathi
2013 Jan 31 4:57 PM
Hi Leandro,
We should first go for the existing ones which we have.
But in some cases it is better to create some new Data element / Domains to avoid the inconsistency.
Some times it creates inconsistency while activating or transporting those objects to DEV to Q.
Regards,
AKS
2013 Jan 31 6:09 PM
Hi Leandro,
It is always good to use standard objects.
But if standard objects doesn't solve the purpose of your requirement then you can go for customized objects.
Advantages of custom data element :
1.You can have your own customized search help
2.You can have customized texts.
3.Customized Documentation.
Advantages of custom Domain:
1.You can have your own customized conversion routine.
2.own customized value range and value table.
Advantages of standard Objects:
1.Less work
2.Error Free.
Reward points if useful.
Thanks and regards,
Bharathi
2013 Feb 01 5:22 AM
Hi Leandro,
It's good to use standard data elements and domains but when they serve your purpose. If you use a standard data element, the labels would be inherited from it and you will not be able to change them. This can be a problem especially in cases where you have to display the fields on the screen. Having said that, even if you don't have screens on the field, the short description that you would see in SE11 for that field would be inherited from the standard data element and therefore may not present the true picture to the viewer. This may be under-rated or ignored but I do feel showing the correct short description makes a lot of sense. That's because if you have the correct short description for the field, you can understand quite a lot about the field's semantics just by looking at a table's structure. Yes, you can name your fields according to their semantics but it would look confusing if the field and its short description do not fit together.
Another limitation with using standard data elements and domains is that you can't change their data type. Many a times, we see data types of fields changing during a project. If you've used a custom data element/domain, it's easier to adopt the change.
Although I would agree that the more custom objects you have, more careful you have to be with the transport process, I would not suggest NOT creating custom data elements and domains purely for this reason.
I would recommend using standard data elements and domains for fields which are very generic in nature for e.g flags like True/False.
Yet another approach (or let's call it the middle path) is to create your custom data elements that use appropriate standard domains. This way you can have your own labels and texts but at the same you can reuse the standard domains. Of course, this would be applicable in cases where the standard domain's attributes (conversion routine, value range) meet your requirements.
2013 Feb 01 1:04 PM
Hi everyone,
Thanks a lot for the help.
So I think it's better to create data element so you have more flexibility and try to reuse domains, because you can choose another domain for your custom data element any time you want and it's just one place to change, which is not the case for data elements as it would probably be spread in many places in your code.
@Kumar Akshat It would be good if I could mark two replies as correct. =D
2013 Feb 01 1:13 PM