SAP Function SCMS_DOC_CREATE_FILES - CMS: Create Document

Parameter Reference Type Length Default Optional Text
CREP_ID C C 0 SPACE X Repository (Only Allowed if Category = SPACE)
DOC_ID C C 0 Document ID
DOC_PROT C C 0 SPACE X Protection
FRONTEND C C 0 'X' X Storgae via Front End ("X" Front End, SPACE Back End)
GET_SIZE C C 0 'X' X Determine Size of Components
MANDT SYST-MANDT C 3 SY-MANDT X Client
OVERWRITE C C 0 ' ' Overwrite ("X" Without Log, " " with Log, "-" Never)
PATH C C 0 Directory Path Where Document to be Stored is Located
PHIO_ID SDOK_PHID C 32 X PHIO ID if Known, May Be Shorter than DocID
SECURITY C C 0 SPACE X
SIGNATURE C C 0 'X' X
STOR_CAT SDOKSTCA-STOR_CAT C 10 Category

Parameter Reference Type Length Text
DOC_ID_OUT C C 0 Target Document ID (if not specified, a new GUID is used)

Parameter Reference Length Optional Text
COMPS SCMS_DOINF 644

Exception Text
BAD_REQUEST Unknown Functions or Parameters
BAD_STORAGE_TYPE Storage Category Not Supported
CONFLICT Document/ Component/ Administration Data is Inaccessible
ERROR Unspecified error
ERROR_CONFIG Configuration error
ERROR_EXPORT
ERROR_FORMAT Incorrect Data Format (Structure Repository)
ERROR_HIERARCHY Error When Accessing Structures
ERROR_HTTP Error in HTTP Access
ERROR_OPEN
ERROR_PARAMETER Parameter error
ERROR_SIGNATURE Error when Calculating Signature
FORBIDDEN Document or Component Already Exists
INTERNAL_SERVER_ERROR Internal Error in Content Server
UNAUTHORIZED Security Breach