SAP Function /SAPPSPRO/SRM_RM_SRM_OBJ_ADD - Function calls API /SAPPSPRO/CL_SRM_OBJECT_API API for SRM Objects

Parameter Reference Type Length Default Optional Text
IV_ANCHOR_DOC1 STRING g 0 Anchor for SRM object to be added
IV_AREA_ID STRING g 0 Area ID of framework
IV_DESCRIPTION_1 BAPISRMREC-EL_DESCR C 128 Description of document to be added
IV_GUID GUID X 16 GUIDof the doc which constitutes the record
IV_GUID1 GUID X 16 GUID of doc to be added
IV_LOGIC_SYSTEM CHAR40 C 40 Logical SRM system (CRM_OBJECT_ID)
IV_LOGSYS1 CHAR40 C 40 Logical system of object to be added
IV_OBJECT_ID /SAPPSPRO/_OBJECT_ID C 10 Transaction Id of SRM Object
IV_OBJECT_ID1 CHAR10 C 10 Object ID of SRM object to be added
IV_OBJECT_TYPE1 OJ_NAME C 10 Object type of SRM object to be added
IV_PROCESSING_MODE STRING g 0 'CREATE' Editing mode ('CREATE', 'DELETE')
IV_RMS_ID STRING g 0 Records management system id
IV_SPS_ID STRING g 0 Element type in records management
IV_SPS_ID1 STRING g 0 SPS ID of SRM object to be added
IV_SPS_ORGANIZER STRING g 0 X Organizer SPS ID
IV_SRM_OBJECT_TYPE OJ_NAME C 10 BOR Object type (Shopping Cart, Purchase Order...)
IV_UNAME SYST-UNAME C 12 SAP System, User Logon Name
IV_UPDATE_MODE BOOLEAN C 1 SPACE X Update task = 'X', non-update task = space

Parameter Reference Length Optional Text
ET_RETURN BAPIRET2 548 Return Parameter

Exception Text
ERROR_IN_RM_UPDATE Error in Records Management update