cancel
Showing results for 
Search instead for 
Did you mean: 

How to use complex datatypes, Document and RelatedObject in CAF

Former Member
0 Kudos

Hi,

We can find the Document and Related Object Complex data types under the services node of caf.core. How are they implemented in an Application Service.

Is it possible to upload Document in CAF? If possible, are the above mentioned data types used for the same?

Please provide an example if possible.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Document BO and DocContent are predefined BO and service resp. Thses are used in integration with CAF and Knowledge Mangement(KM).

See these links:

[link1 |http://help.sap.com/saphelp_nwce10/helpdata/en/43/78a5fd869b6fcbe10000000a1553f6/content.htm]

li[link2|http://help.sap.com/saphelp_nwce10/helpdata/en/44/32a73d7097060ae10000000a155369/content.htm]

Thanks

Edited by: Sampath Gunda on May 11, 2009 12:09 PM

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks for ur replies.

There are also datatypes like base64binary and hexbinary with which we can upload a file in CAF

Former Member
0 Kudos

Hi,

Can you please tell me how to upload a Document in the Server File System?

Is there any difference between KM and Server File System?

Former Member
0 Kudos

Hi Sampath,

Thanks! But I want to know that can we upload a Document from the local machine and store it in CAF as an object. Just as we create other Business objects, and set or retrive the data, in the same way do we have a data type which can refer to the Document.

Former Member
0 Kudos

Hi,

I think we can create a document and save it in CAF DB using ByteArray data type for document content. But we didn,t try it so far. We implemented this functionality by saving documents in Server File system instead of CAF DB.

Thanks