Start of Content Area

Background documentation Function: create  Locate the document in its SAP Library structure

This function creates new documents with one or more components in the content repository. The parameters contRep, docId and compId describe the component (see Definition of Terms). The function is used to create new documents. If you try to create a document that already exists in the content repository, the function returns an error. (If you want to modify existing documents, use the functions update and append.) The create function always creates an entire document.

The function can be called by means of an HTTP PUT or an HTTP POST.

A single component can be transferred using an HTTP-PUT. Alternatively, a HTTP-POST in the format multipart/form-data is used. In the case of the former, only a single component can be loaded onto the server. In the case of the latter, between 0 and n components can be transferred in a single response.

 

 

End of Content Area