SRM_TEST_TRFC_FB is a standard Executable ABAP Report 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 SRM_TEST_TRFC_FB 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.
Selection Text: COUNTER = Number of Containers
Selection Text: DELE = Delete Container
Selection Text: TRFC = Call Using Transactional RFC
Title: Program SRM_TEST_TRFC_FB
Text Symbol: 001 = Containers Created
Text Symbol: 002 = Requests Sent by Transactional RFC
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SYSTEM_UUID_C_CREATE CALL FUNCTION 'SYSTEM_UUID_C_CREATE' IMPORTING uuid = i_guid.
SRM_RECORD_CREATE CALL FUNCTION 'SRM_RECORD_CREATE' IN BACKGROUND TASK EXPORTING rms_id = c_rms_id sps_id = c_record_sps_id documentid = i_document_id description = i_description model_sps_id = c_model_sps_id model = c_model_id IMPORTING return = ex_return objectid = ex_objectid documentclass = ex_documentclass EXCEPTIONS not_authorized = 1 parameter_error = 2 model_not_found = 3 model_corrupt = 4 registration_number_not_unique = 5 model_status_invalid = 6 internal_error = 7 OTHERS = 8.
SRM_RECORD_CREATE CALL FUNCTION 'SRM_RECORD_CREATE' EXPORTING rms_id = c_rms_id sps_id = c_record_sps_id documentid = i_document_id description = i_description model_sps_id = c_model_sps_id model = c_model_id IMPORTING return = ex_return objectid = ex_objectid documentclass = ex_documentclass EXCEPTIONS not_authorized = 1 parameter_error = 2 model_not_found = 3 model_corrupt = 4 registration_number_not_unique = 5 model_status_invalid = 6 internal_error = 7 OTHERS = 8.
SRM_RECORD_CHANGEPROPERTIES CALL FUNCTION 'SRM_RECORD_CHANGEPROPERTIES' IN BACKGROUND TASK EXPORTING objectid = doc_id documentclass = c_record_doc_class * WHOLE_DOCUMENT = ' ' IMPORTING return = ex_return TABLES properties = itab_properties EXCEPTIONS container_is_locked = 1 not_authorized = 2 parameter_error = 3 container_not_found = 4 container_corrupt = 5 internal_error = 6 OTHERS = 7 .
SRM_RECORD_CHANGEPROPERTIES CALL FUNCTION 'SRM_RECORD_CHANGEPROPERTIES' EXPORTING objectid = ex_objectid documentclass = ex_documentclass * WHOLE_DOCUMENT = ' ' IMPORTING return = ex_return TABLES properties = itab_properties EXCEPTIONS container_is_locked = 1 not_authorized = 2 parameter_error = 3 container_not_found = 4 container_corrupt = 5 internal_error = 6 OTHERS = 7 .
SRM_RECORD_ADDELEMENT CALL FUNCTION 'SRM_RECORD_ADDELEMENT' EXPORTING objectid = ex_objectid documentclass = ex_documentclass sps_id = c_model_sps_id anchor = c_anchor description = i_el_description store_as_new_version = ' ' IMPORTING return = ex_return TABLES element_sp_poid = itab_properties * ELEMENT_PROPERTIES = * ELEMENT_VISIBILITY = EXCEPTIONS anchor_not_found = 1 not_authorized = 2 parameter_error = 3 container_not_found = 4 container_is_locked = 5 max_number_of_elements = 6 poid_is_wrong = 7 internal_error = 8 OTHERS = 9 .
SRM_RECORD_ADDELEMENT CALL FUNCTION 'SRM_RECORD_ADDELEMENT' IN BACKGROUND TASK EXPORTING objectid = doc_id documentclass = c_record_doc_class sps_id = c_model_sps_id anchor = c_anchor description = i_el_description store_as_new_version = ' ' IMPORTING return = ex_return TABLES element_sp_poid = itab_properties * ELEMENT_PROPERTIES = * ELEMENT_VISIBILITY = EXCEPTIONS anchor_not_found = 1 not_authorized = 2 parameter_error = 3 container_not_found = 4 container_is_locked = 5 max_number_of_elements = 6 poid_is_wrong = 7 internal_error = 8 OTHERS = 9 .
SRM_RECORD_DELETEELEMENT CALL FUNCTION 'SRM_RECORD_DELETEELEMENT' EXPORTING objectid = ex_objectid documentclass = ex_documentclass del_all_not_unique_elems = 'X' IMPORTING return = ex_return TABLES element_sp_poid = itab_properties * elem_ident_sp_poid = EXCEPTIONS internal_error = 1 container_is_locked = 2 poid_is_wrong = 3 not_authorized = 4 parameter_error = 5 element_not_found = 6 container_not_found = 7 OTHERS = 8 .
SRM_RECORD_DELETEELEMENT CALL FUNCTION 'SRM_RECORD_DELETEELEMENT' IN BACKGROUND TASK EXPORTING objectid = doc_id documentclass = c_record_doc_class del_all_not_unique_elems = 'X' IMPORTING return = ex_return TABLES element_sp_poid = itab_properties * elem_ident_sp_poid = EXCEPTIONS internal_error = 1 container_is_locked = 2 poid_is_wrong = 3 not_authorized = 4 parameter_error = 5 element_not_found = 6 container_not_found = 7 OTHERS = 8 .
SRM_RECORD_DELETE CALL FUNCTION 'SRM_RECORD_DELETE' EXPORTING objectid = ex_objectid documentclass = ex_documentclass IMPORTING return = ex_return EXCEPTIONS container_is_locked = 1 not_authorized = 2 internal_error = 3 parameter_error = 4 container_not_found = 5 container_not_deleteable = 6 OTHERS = 7.
SRM_RECORD_DELETE CALL FUNCTION 'SRM_RECORD_DELETE' IN BACKGROUND TASK EXPORTING objectid = deldocid documentclass = c_record_doc_class IMPORTING return = ex_return EXCEPTIONS container_is_locked = 1 not_authorized = 2 internal_error = 3 parameter_error = 4 container_not_found = 5 container_not_deleteable = 6 OTHERS = 7.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.