SRMGS_REGTEST_BAPI_TEST6 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter SRMGS_REGTEST_BAPI_TEST6 into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
BAPI_RECORD_DELETEELEMENTS CALL FUNCTION 'BAPI_RECORD_DELETEELEMENTS' EXPORTING objectid = new_rec_id documentclass = new_rec_dclass skip_elems_with_error = 'X' del_all_not_unique_elems = 'X' TABLES elem_ident_sp_poid = me_elem_ident_sp_poid return = bapi_return_tab.
BAPI_RECORD_DELETEELEMENTS CALL FUNCTION 'BAPI_RECORD_DELETEELEMENTS' EXPORTING objectid = new_rec_id documentclass = new_rec_dclass skip_elems_with_error = 'X' del_all_not_unique_elems = ' ' TABLES elem_ident_sp_poid = me_elem_ident_sp_poid return = bapi_return_tab.
BAPI_RECORD_DELETEELEMENTS CALL FUNCTION 'BAPI_RECORD_DELETEELEMENTS' EXPORTING OBJECTID = new_rec_id DOCUMENTCLASS = new_rec_dclass * DEL_ALL_NOT_UNIQUE_ELEMS = ' ' * SKIP_ELEMS_WITH_ERROR = 'X' * STORE_AS_NEW_VERSION = ' ' * DOC_CONTEXT = TABLES ELEM_IDENT_RECPOS = l_del_element_tab * ELEM_IDENT_SP_POID = RETURN = bapi_return_tab.
BAPI_RECORD_ADDELEMENT CALL FUNCTION 'BAPI_RECORD_ADDELEMENT' EXPORTING OBJECTID = new_rec_id DOCUMENTCLASS = new_rec_dclass * SPS_ID = * ANCHOR = DESCRIPTION = 'FOLDER_DELETED_AND_ADDED_AGAIN' "#EC NOTEXT * STORE_AS_NEW_VERSION = ' ' * STACKED = 'X' * DOC_CONTEXT = ELEMENT_TYPE = 'F' * INSERTION_BY_ANCHOR = * INSERTION_BY_MODELID = INSERTION_BY_REFERENCE_NODE = l_insert_by_ref IMPORTING RETURN = bapi_return * TABLES * ELEMENT_SP_POID = * ELEMENT_PROPERTIES = * ELEMENT_VISIBILITY = .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.