SAP ABAP Function Module BAPI_RECORD_ADDELEMENT (Insert Element in Record)
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 BAPI_RECORD_ADDELEMENT Insert Element in Record  
Function Group SRM_BAPI_RECORD   SRM: BOR Interface of SP Record  
Program Name SAPLSRM_BAPI_RECORD    
INCLUDE Name LSRM_BAPI_RECORDU02    
Parameters
Type Parameter Name Typing Associated Type Default value Optional Pass Value Short text
Exporting RETURN TYPE BAPIRET2 Return Code
Importing OBJECTID TYPE BAPISRMREC-GUID Internal ID of Record
Importing DOCUMENTCLASS TYPE BAPISRMREC-DOCCLASS Storage Location of Record (Content Model)
Importing SPS_ID TYPE BAPISRMREC-SPSID Element Type of Element to Insert
Importing ANCHOR TYPE BAPISRMREC-ANCHOR Position for Insertion into the Record (Name of Anchor or *)
Importing DESCRIPTION TYPE BAPISRMREC-EL_DESCR Description for Display in Records Browser
Importing STORE_AS_NEW_VERSION TYPE BAPISRMREC-BOOLEAN ' ' Indicator: Create New Logical Version of Record?
Importing STACKED TYPE BAPISRMREC-BOOLEAN 'X' Insert Front or Back (Within model_id)
Importing DOC_CONTEXT TYPE BAPIDOCCONTEXT SRM Context for Document Access
Importing ELEMENT_TYPE TYPE BAPISRMREC_ELEMENT-TYPE 'I' Type of Record Element
Importing INSERTION_BY_ANCHOR TYPE BAPISRMREC_ANCHORINS Insert Using the Anchor (New)
Importing INSERTION_BY_MODELID TYPE BAPISRMREC_MODELIDINS Insert Using Model Node
Importing INSERTION_BY_REFERENCE_NODE TYPE BAPISRMREC_REFINS Insert Using Reference Node
Importing ALL_SAME_NAME_ANCHOR TYPE BAPISRMREC-BOOLEAN ' ' Insert in all anchors with the same name (using parameter ANCHOR)
Importing SET_ELEM_DESCR_HARD TYPE BAPISRMREC-BOOLEAN ' ' Specifies whether the DESCRIPTION can be overwritten by the SP's description
Importing OMIT_AUTHORITY_CHECK TYPE BAPISRMREC-BOOLEAN ' ' Perform Authority Check Yes/No
Tables ELEMENT_SP_POID TYPE BAPIPROPTB SP POID: Service Provider-Specific ID of Element to be Inserted
Tables ELEMENT_PROPERTIES TYPE BAPIPROPTB Attributes for Element to be Inserted
Tables ELEMENT_VISIBILITY TYPE BAPIPROPTB Roles for Which Element to be Inserted Should Be Visible
               
Processing Type
Normal Function Module  
Remote-Enabled 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  20010122 
SAP Release Created in 50A