SAP ABAP Function Module SRM_RECORD_ADDELEMENT (Insert Element in Container)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-RM (Application Component) SAP Records Management
⤷
SRM_BAPI_RECORD (Package) Business Object Interface for RM Records
⤷
⤷
Basic Data
| Function Module | SRM_RECORD_ADDELEMENT | Insert Element in Container |
| Function Group | SRM_BAPI_RECORD | SRM: BOR Interface of SP Record |
| Program Name | SAPLSRM_BAPI_RECORD | |
| INCLUDE Name | LSRM_BAPI_RECORDU12 |
Parameters
| Type | Parameter Name | Typing | Associated Type | Default value | Optional | Pass Value | Short text |
|---|---|---|---|---|---|---|---|
| |
RETURN | TYPE | BAPIRET2 | Return Code | |||
| |
OBJECTID | TYPE | BAPISRMREC-GUID | Internal ID of the Container | |||
| |
DOCUMENTCLASS | TYPE | BAPISRMREC-DOCCLASS | Storage Location for the Container (Content Model) | |||
| |
SPS_ID | TYPE | BAPISRMREC-SPSID | Element Type of Element to Insert | |||
| |
ANCHOR | TYPE | BAPISRMREC-ANCHOR | Insert-Position in the Container (Name of an Anchor or *) | |||
| |
DESCRIPTION | TYPE | BAPISRMREC-EL_DESCR | Description for the Browser Display | |||
| |
STORE_AS_NEW_VERSION | TYPE | BAPISRMREC-BOOLEAN | ' ' | Flag: Do you want a new logical version of the container to be created? | ||
| |
STACKED | TYPE | BAPISRMREC-BOOLEAN | 'X' | Insert Front or Back (Within model_id) | ||
| |
DOC_CONTEXT | TYPE | BAPIDOCCONTEXT | SRM Context for Document Access | |||
| |
ELEMENT_TYPE | TYPE | BAPISRMREC_ELEMENT-TYPE | 'I' | Type of Record Element | ||
| |
INSERTION_BY_ANCHOR | TYPE | BAPISRMREC_ANCHORINS | Parent Node When Inserting with Anchor | |||
| |
INSERTION_BY_MODELID | TYPE | BAPISRMREC_MODELIDINS | Insert Using Model Node | |||
| |
INSERTION_BY_REFERENCE_NODE | TYPE | BAPISRMREC_REFINS | Insert Using Reference Node | |||
| |
ELEMENT_SP_POID | TYPE | BAPIPROPTB | SP POID: Service Provider-Specific ID of Element to be Inserted | |||
| |
ELEMENT_PROPERTIES | TYPE | BAPIPROPTB | Attributes for Element to be Inserted | |||
| |
ELEMENT_VISIBILITY | TYPE | BAPIPROPTB | Roles for Which Element to be Inserted Should Be Visible | |||
| |
ANCHOR_NOT_FOUND | TYPE | Anchor Not Found | ||||
| |
NOT_AUTHORIZED | TYPE | User Not Authorized | ||||
| |
PARAMETER_ERROR | TYPE | Parameter Error | ||||
| |
CONTAINER_NOT_FOUND | TYPE | Container Not Found | ||||
| |
CONTAINER_IS_LOCKED | TYPE | Container is Locked | ||||
| |
MAX_NUMBER_OF_ELEMENTS | TYPE | Maximum Number of Elements Reached | ||||
| |
POID_IS_WRONG | TYPE | POID Contains Errors | ||||
| |
INTERNAL_ERROR | TYPE | Internal Error | ||||
| |
RECORD_IS_FROZEN | TYPE | Record closed | ||||
Processing Type
| Normal Function Module | |
| |
BaseXML supported |
| Update Module | Start immediately |
| Immediate Start, No Restart | |
| Start Delayed | |
| Coll.run | |
| JAVA Module Callable from ABAP | |
| Remote-Enabled JAVA Module | |
| Module Callable from JAVA |
History
| Last changed by/on | SAP | 20021206 |
| SAP Release Created in | 50A |