SAP Function SCMS_DOC_CREATE - 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 SPACE X Document ID
DOC_PROT C C 0 'rud' X Protection
MANDT SYST-MANDT C 3 SY-MANDT X Client
OVERWRITE C C 0 ' ' X Overwrite ("X" Without Log, " " with Log, "-" Never)
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
ACCESS_INFO SCMS_ACINF 428
CONTENT_BIN SDOKCNTBIN 1022 X
CONTENT_TXT SDOKCNTASC 1022 X

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_FORMAT Incorrect Data Format (Structure Repository)
ERROR_HIERARCHY Error When Accessing Structures
ERROR_HTTP Error in HTTP Access
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

Functionality
Create document