on 10-10-2007 9:47 AM
Hi Experts,
we are developing CAF Project.Now,I am working on creating entity services.In the SAP documentation it is given that we should use com.sap.caf.core data types for creating entity service attributes and the com.sap.caf.base data types should be used only for creating external services.In the Documentation,only minimum information is given about com.sap.caf.core data types.i want to know more details about core data types.Can you plz send some link abt those data types.
Thanks
Sampah.G
Hi Sampath,
Please have a look at this link:
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/43/78a5fd869b6fcbe10000000a1553f6/frameset.htm">Data Types</a>
In general the most puzzling thing is to find the suitable mapping of datatypes and to handle the restrictions of the core data types.
hope this helps,
Rene
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sampath,
i would advice to take long for the integer. If you use id i don't know if this will work. the inbuilt type of caf core datatype "id" is a String (see link above) of fixed length of 36. if this matches your id datatype in your web service you can use it. but i would advice to use a short or long text, because i am not sure of any restriction when using id (mandatory field, etc...)
If you cannot find a suitable field in caf core, use the base datatypes. they work as well
hope this helps,
rene
Hi Sampath,
would you mind to post this paragraph?
in my actual project i use for example com.sap.caf.base.boolean and this works perfectly. There might be restriction of using the base type e.g. if you created a find by method in entity Service for this attribute... but in general you are able to use them.
hope this helps,
Rene
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.