SAP Function SCMS_DOC_COPY - CMS: Copy Document

Parameter Reference Type Length Default Optional Text
DST_CREP_ID C C 0 SPACE X Target Repository (Only Allowed if Category = SPACE)
DST_DOC_ID C C 0 SPACE X Target Document ID
DST_DOC_PROT C C 0 'rud' X Security Level of Target Object
DST_MANDT SYST-MANDT C 3 SY-MANDT X Target Client
DST_PHIO_ID SDOK_PHID C 32 X PHIO ID if Known, May Be Shorter than DocID
DST_STOR_CAT SDOKSTCA-STOR_CAT C 10 SPACE X Target Category
OVERWRITE C C 0 ' ' X Overwrite ("X" Without Log, " " with Log, "-" Never)
SECURITY C C 0 SPACE X
SRC_CREP_ID C C 0 SPACE X Source Repository (Only Allowed if Category = SPACE)
SRC_DOC_ID C C 0 Source Document ID
SRC_MANDT SYST-MANDT C 3 SY-MANDT X Source client
SRC_PHIO_ID SDOK_PHID C 32 X PHIO ID if Known, May Be Shorter than DocID
SRC_SIGNATURE C C 0 'X' X Sign URL for Access to Source Document ("X" Yes, SPACE No)
SRC_STOR_CAT SDOKSTCA-STOR_CAT C 10 Source 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
MOD_COMPINFO SCMS_MOD_ACINF 684 X SCMS: Details of New Document Contents in Internal Table

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_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
NOT_FOUND Document/ Component/ Content Repository Not Found
UNAUTHORIZED Security Breach

Functionality
Copy document