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

SRMRECORD SAP ABAP Report - Program for Object Type RECORD : File







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


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 SRMRECORD. "Basic submit
SUBMIT SRMRECORD AND RETURN. "Return to original report after report execution complete
SUBMIT SRMRECORD VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Program for Object Type RECORD : File


INCLUDES used within this REPORT SRMRECORD

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:

SRM_RECORD_CREATE CALL FUNCTION 'SRM_RECORD_CREATE' EXPORTING model = model model_sps_id = modelspsid description = description rms_id = rmsid sps_id = spsid documentid = documentid IMPORTING return = return objectid = object-key-objectid documentclass = object-key-documentclass EXCEPTIONS parameter_error = 1821 model_not_found = 1811 model_corrupt = 1824 registration_number_not_unique = 1823 model_status_invalid = 1825 internal_error = 1820 OTHERS = 1820.

SRM_RECORD_GETLIST CALL FUNCTION 'SRM_RECORD_GETLIST' EXPORTING rms_id = rmsid sps_id = spsid max_hits = maxhits IMPORTING return = return TABLES property_selection = propertyselection resulting_list = resultinglist EXCEPTIONS not_authorized = 1819 internal_error = 1820 parameter_error = 1821 OTHERS = 1820.

SRM_RECORD_ADDELEMENT CALL FUNCTION 'SRM_RECORD_ADDELEMENT' "IN BACKGROUND TASK EXPORTING documentclass = object-key-documentclass objectid = object-key-objectid sps_id = spsid anchor = anchor description = description store_as_new_version = newversion stacked = stacked doc_context = doccontext Element_Type = elementtype INSERTION_BY_ANCHOR = insertionbyanchor INSERTION_BY_MODELID = InsertionByModelId INSERTION_BY_REFERENCE_NODE = InsertionByReferenceNode * IMPORTING * return = return TABLES element_sp_poid = elementsppoid element_properties = elementproperties element_visibility = elementvisibility EXCEPTIONS not_authorized = 1819 parameter_error = 1821 container_not_found = 1822 container_is_locked = 1817 max_number_of_elements = 1832 poid_is_wrong = 1818 internal_error = 1820 record_is_frozen = 1844 OTHERS = 1820.

SRM_RECORD_DISPLAY CALL FUNCTION 'SRM_RECORD_DISPLAY' EXPORTING documentclass = object-key-documentclass objectid = object-key-objectid doc_context = doccontext EXCEPTIONS not_authorized = 1 internal_error = 2 parameter_error = 3 not_found = 4 OTHERS = 99.

SRM_RECORD_DISPLAY CALL FUNCTION 'SRM_RECORD_DISPLAY' EXPORTING documentclass = object-key-documentclass objectid = object-key-objectid modify = 'X' doc_context = doccontext EXCEPTIONS not_authorized = 1 internal_error = 2 parameter_error = 3 not_found = 4 OTHERS = 99.

SRM_RECORD_FIND CALL FUNCTION 'SRM_RECORD_FIND' EXPORTING rms_id = rmsid sps_id = spsid IMPORTING documentclass = object-key-documentclass objectid = object-key-objectid EXCEPTIONS not_authorized = 1 internal_error = 2 parameter_error = 3 nothing_selected = 4 OTHERS = 99.

SRM_RECORD_EXISTENCECHECK CALL FUNCTION 'SRM_RECORD_EXISTENCECHECK' EXPORTING objectid = object-key-objectid documentclass = object-key-documentclass doc_context = doccontext EXCEPTIONS not_authorized = 1 internal_error = 2 parameter_error = 3 not_found = 4 OTHERS = 99.

SRM_RECORD_GETPROPERTIES CALL FUNCTION 'SRM_RECORD_GETPROPERTIES' EXPORTING objectid = object-key-objectid documentclass = object-key-documentclass whole_document = wholedocument doc_context = doccontext IMPORTING return = return TABLES properties = properties EXCEPTIONS container_is_locked = 1817 not_authorized = 1819 parameter_error = 1821 container_not_found = 1822 container_corrupt = 1826 internal_error = 1820 customizing_error = 1847 OTHERS = 1820.

SRM_RECORD_CHANGEPROPERTIES CALL FUNCTION 'SRM_RECORD_CHANGEPROPERTIES' EXPORTING objectid = object-key-objectid documentclass = object-key-documentclass whole_document = wholedocument doc_context = doccontext IMPORTING return = return TABLES properties = properties props_delete = properties_del EXCEPTIONS container_is_locked = 1817 not_authorized = 1819 parameter_error = 1821 container_not_found = 1822 container_corrupt = 1826 internal_error = 1820 record_is_frozen = 1844 invalid_srm_state = 1845 OTHERS = 1820.

SRM_RECORD_DELETE CALL FUNCTION 'SRM_RECORD_DELETE' IN BACKGROUND TASK EXPORTING objectid = object-key-objectid documentclass = object-key-documentclass doc_context = doccontext * IMPORTING * return = return EXCEPTIONS not_authorized = 1819 internal_error = 1820 parameter_error = 1821 container_not_found = 1822 container_not_deleteable = 1828 OTHERS = 1820.

SRM_RECORD_ADDELEMENTS CALL FUNCTION 'SRM_RECORD_ADDELEMENTS' "IN BACKGROUND TASK EXPORTING objectid = object-key-objectid documentclass = object-key-documentclass skip_elems_with_error = skipelemswitherror store_as_new_version = newversion stacked = stacked doc_context = doccontext TABLES element_identification = elementidentification element_insertion = elementinsertion element_properties = elementproperties element_visibility = elementvisibility return = return ELEMENT_INSERTION_BY_ANCHOR = ElementInsertionByAnchor ELEMENT_INSERTION_BY_MODELID = ElementInsertionByModelId ELEMENT_INSERTION_BY_REF_NODE = ElementInsertionByRefNode EXCEPTIONS anchor_not_found = 1812 not_authorized = 1819 parameter_error = 1821 container_not_found = 1822 container_is_locked = 1817 max_number_of_elements = 1832 poid_is_wrong = 1818 internal_error = 1820 record_is_frozen = 1844 OTHERS = 1820.

SRM_RECORD_DELETEELEMENTS CALL FUNCTION 'SRM_RECORD_DELETEELEMENTS' IN BACKGROUND TASK EXPORTING objectid = object-key-objectid documentclass = object-key-documentclass del_all_not_unique_elems = delallnotuniqueelems skip_elems_with_error = skipelemswitherror store_as_new_version = newversion IGNORE_CONNECTION_FAILED = IgnoreConnectFailed TABLES elem_ident_recpos = elemidentrecpos elem_ident_sp_poid = elemidentsppoid return = return EXCEPTIONS internal_error = 1820 container_is_locked = 1817 poid_is_wrong = 1820 not_authorized = 1819 parameter_error = 1821 element_not_found = 1831 container_not_found = 1822 record_is_frozen = 1844 OTHERS = 1820.

SRM_RECORD_GETPROPERTIES CALL FUNCTION 'SRM_RECORD_GETPROPERTIES' EXPORTING objectid = object-key-objectid documentclass = object-key-documentclass whole_document = im_whole_document *IMPORTING * RETURN = TABLES properties = l_property_tab 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_GETELEMENTS CALL FUNCTION 'SRM_RECORD_GETELEMENTS' EXPORTING OBJECTID = object-key-objectid DOCUMENTCLASS = object-key-documentclass DOC_CONTEXT = DOCCONTEXT PARENT_ID = PARENTID IMPORTING RETURN = RETURN TABLES ELEMENT = ELEMENT ELEMENT_IDENTIFICATION = ELEMENTIDENTIFICATION ELEMENT_PROPERTIES = ELEMENTPROPERTIES ELEMENT_VISIBILITY = ELEMENTVISIBILITY ELEMENT_RELATIONS = ELEMENTRELATIONS EXCEPTIONS NOT_AUTHORIZED = 1819 PARAMETER_ERROR = 1821 CONTAINER_NOT_FOUND = 1822 OTHERS = 1820.

SRM_RECORD_EXISTENCECHECK CALL FUNCTION 'SRM_RECORD_EXISTENCECHECK' EXPORTING objectid = object-key-objectid documentclass = object-key-documentclass doc_context = doccontext EXCEPTIONS not_authorized = 1819 internal_error = 1820 parameter_error = 1821 not_found = 1822 OTHERS = 1820.



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 SRMRECORD or its description.