SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | SAP Records Management(BC-SRV-RM) SAP BC

SRM_EXPORT SAP ABAP Report - Selection Report for Exporting Electronic Records







SRM_EXPORT 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_EXPORT into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

SRMEXPORT - Starts Selection Report SRM_EXPORT


ABAP code to call this SAP report using the submit statement

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.






SUBMIT SRM_EXPORT. "Basic submit
SUBMIT SRM_EXPORT AND RETURN. "Return to original report after report execution complete
SUBMIT SRM_EXPORT VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: SPSID = Element Type ID
Selection Text: RMSID = RMS ID
Selection Text: OVERFLAG = Overwrite Exported Records?
Title: Selection Report for Exporting Electronic Records
Text Symbol: 003 = Export Path
Text Symbol: 004 = Export Executed: See Protocol of Exported Record
Text Symbol: 005 = Description:
Text Symbol: 006 = Record ID:
Text Symbol: 007 = Export Protocol:
Text Symbol: 008 = Document Class:
Text Symbol: 009 = Document ID:
Text Symbol: 010 = POID:
Text Symbol: 011 = Physical Version
Text Symbol: 012 = Log. Version:
Text Symbol: 013 = Variant:
Text Symbol: 014 = Report Terminated by User
Text Symbol: 015 = Elemt Type ID
Text Symbol: 016 = RMS ID
Text Symbol: 017 = Successful Exports:
Text Symbol: 018 = Exports with Errors:
Text Symbol: 100 = Internal Error ("SRM_GENERIC_SP_QUERY_VIS" returns exception "INTERNAL_ERROR")
Text Symbol: 101 = Internal Error ("SRM_GENERIC_SP_QUERY_VIS" returns exception "PARAMETER_ERROR")
Text Symbol: 102 = Internal Error ("SRM_GENERIC_SP_QUERY_VIS" returns exception)
Text Symbol: 002 = Technical Attributes of the Record to Export:
Text Symbol: 001 = Select Parameter for Rec. Export
Text Symbol: 103 = No Record Selected
Text Symbol: 120 = Internal Error (CL_SRM_SWISS_KNIFE_FRAMEWK=>SPS_SELECTION_DIALOG => CX_SRM_SK)
Text Symbol: 119 = Internal Error ("Get Display_Name of RMS_ID", Exception CX_SRM_REGISTRATION_DATA)
Text Symbol: 118 = Internal Error ("Get Display_Name of RMS_ID", Exception CX_SRM_INITIALIZATION)
Text Symbol: 117 = Internal Error ("Get Display_Name of SPS_ID", Exception CX_SRM_REGISTRATION_DATA)
Text Symbol: 116 = Internal Error ("Get Display_Name of SPS_ID", Exception CX_SRM_INITIALIZATION)
Text Symbol: 115 = Cannot Export Element Type
Text Symbol: 114 = Internal Error (CL_SRM_XML_TRANSFORM=>PROCESS_EXPORT Returns Exception "USER_CANCEL")
Text Symbol: 113 = Not a Valid Record
Text Symbol: 112 = Internal Error (CL_SRM_SWISS_KNIFE_DOC=>CONNECT_BY_POID => CX_SRM_SK)
Text Symbol: 111 = Internal Error (if_srm_srm_client_service->poid_get_instance => CX_SRM_FRAMEWORK)
Text Symbol: 110 = Internal Error (CL_SRM_XML_TRANSFORM=>PROCESS_EXPORT returns exception)
Text Symbol: 109 = Internal Error (CL_SRM_XML_TRANSFORM=>PROCESS_EXPORT returns exception "INTERNAL_ERROR")





Text Symbol: 108 = Internal Error (CL_SRM_XML_TRANSFORM=>PROCESS_EXPORT returns exception "TRANSFORMATION_ERROR")
Text Symbol: 107 = Internal Error (CL_SRM_XML_TRANSFORM=>PROCESS_EXPORT returns exception "BAD_CALLING_OBJECT")
Text Symbol: 106 = Framework Error (=> Application Log)!
Text Symbol: 105 = Internal Error (Generate from obj. "cl_srm_srm_client_manager" => CX_SRM_REGISTRATION_DATA)
Text Symbol: 104 = Internal Error (Generate from object "cl_srm_srm_client_manager" => CX_SRM_INITIALIZATION)


INCLUDES used within this REPORT SRM_EXPORT

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:

No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING ddic_structure = 'SRMORGF4' retfield = 'LIST_VALUE' * PVALKEY = ' ' * DYNPPROG = * DYNPNR = dynprofield = 'SRMORGROL-RMSID' * STEPL = 0 * WINDOW_TITLE = * VALUE = ' ' value_org = 'S' * MULTIPLE_CHOICE = ' ' * DISPLAY = ' ' * CALLBACK_PROGRAM = ' ' * CALLBACK_FORM = ' ' * MARK_TAB = TABLES value_tab = value_tab * FIELD_TAB = return_tab = return_tab * DYNPFLD_MAPPING = EXCEPTIONS PARAMETER_ERROR = 1 NO_VALUES_FOUND = 2 OTHERS = 3.

SRM_GENERIC_SP_QUERY_VIS CALL FUNCTION 'SRM_GENERIC_SP_QUERY_VIS' EXPORTING IM_RMS_ID = RMSID_STRING IM_SPS_ID = SPSID_STRING IM_SELECT_SINGLE = IF_SRM=>FALSE IMPORTING * EX_POID = MY_LISTPOID EX_SELECTED = SELECTED EX_RESULT_TAB = RESULT_TAB EXCEPTIONS INTERNAL_ERROR = 1 PARAMETER_ERROR = 2 OTHERS = 3.

BAPI_RECORD_GETPROPERTIES CALL FUNCTION 'BAPI_RECORD_GETPROPERTIES' EXPORTING OBJECTID = my_objectid DOCUMENTCLASS = my_docclass * WHOLE_DOCUMENT = ' ' * IMPORTING * RETURN = BAPIRETURN TABLES PROPERTIES = RECORDPROPERTIES.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name SRM_EXPORT or its description.