SAP Function SRM_KPRO_PHIO_CREATE_AS_COPY - Create a Copy of a Physical Document as a New Physical Document

Parameter Reference Type Length Default Optional Text
CLIENT SYST-MANDT C 3 SY-MANDT X Client for Source Objects and (if not Cross-Client) Copy
OBJECT_ID SRMGS_DOC_ID 0 BOR Key of Target Object
SOURCE_OBJECT_ID SRMGS_DOC_ID 0 BOR Key for Source Object

Parameter Reference Length Optional Text
FROM_RELATIONS SDOKRELIST 84 X Incoming Relationships with Partner Object
PROPERTIES_TO_CHANGE SDOKPROPTY 89 X Entries for Changing Attribute Values
PROPERTIES_TO_DELETE SDOKPROPTD 90 X Entries for Deleting Attribute Values
TO_RELATIONS SDOKRELIST 84 X Outgoing Relationships with Partner Object

Exception Text
BAD_CLASS Object Class Unknown
BAD_PROPERTIES Attributes Not Specified Correctly
BAD_RELATIONS Relationships Not Specified Correctly
DUPLICATE_OBJECT_ID Object Already Exists
ENQUEUE_FAILURE Locking Error
EXCEPTION_IN_EXIT Exception in Application Exit
INTERNAL_ERROR
MISSING_PROPERTIES Required Attributes Not Specified
NOT_AUTHORIZED No Authorization
SOURCE_NOT_EXISTING Source Object Does Not Exist
TRANSFER_ERROR Error When Copying Document Content