SAP Reports / Programs

RMPS_DELETE_ALL SAP ABAP Report - Delete All Data (for Test Systems Only)







RMPS_DELETE_ALL 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 RMPS_DELETE_ALL 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 RMPS_DELETE_ALL. "Basic submit
SUBMIT RMPS_DELETE_ALL AND RETURN. "Return to original report after report execution complete
SUBMIT RMPS_DELETE_ALL 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: FTEST = Test Run
Selection Text: FTABS = All Logs, Reservations
Selection Text: FSPS = SPS to Be Deleted
Selection Text: FRMSID = RMS ID
Selection Text: FPS = Package Size
Selection Text: FPASSWD = Password
Selection Text: FMAXGSP = Max. GSP per SPS
Selection Text: FLOG = Selected Record Log Entries
Selection Text: FHIS = History
Selection Text: FGURL = URLs
Selection Text: FGSPR = Records
Selection Text: FGSPD = Documents
Selection Text: FFPLID = Record Plan Item
Selection Text: FDESC = Description
Selection Text: FDDAT = Delete Before
Selection Text: FCASE = All Cases
Selection Text: FALOGS = All Logs
Selection Text: FACROSS = Cross-RMS ID (TNA Only)
Title: Delete All Data (for Test Systems Only)
Text Symbol: URL = Edited URLs:
Text Symbol: TIL = Find Objects
Text Symbol: TI5 = Test Options
Text Symbol: TI2 = Also Delete
Text Symbol: M03 = No element types found
Text Symbol: M02 = You can use *
Text Symbol: M01 = No element types entered
Text Symbol: DEL = Deleted:
Text Symbol: 110 = for RMS ID
Text Symbol: 109 = ID Reservations Deleted
Text Symbol: 108 = Cases Deleted
Text Symbol: 107 = Total Number of Cases
Text Symbol: 103 = Edited:
Text Symbol: 101 = Newly Created:
Text Symbol: 011 = Test Run


INCLUDES used within this REPORT RMPS_DELETE_ALL

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:

TR_SYS_PARAMS CALL FUNCTION 'TR_SYS_PARAMS' IMPORTING * SYSTEMEDIT = * SYSTEMNAME = systemtype = l_systype"sap * SYSTEM_CLIENT_EDIT = * SYS_CLIINDDEP_EDIT = system_client_role = l_client_role "test? * EV_SFW_BCSET_REC = * EV_C_SYSTEM = EXCEPTIONS no_systemname = 1 no_systemtype = 2 OTHERS = 3.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = p_handle i_s_msg = ls_msg.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = p_handle i_s_msg = ls_msg.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = p_handle i_s_msg = ls_msg.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = p_handle i_s_msg = ls_msg.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = p_handle i_s_msg = ls_msg.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = ls_log IMPORTING e_log_handle = p_handle.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING * I_LOG_HANDLE = i_s_msg = ls_msg.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING * I_LOG_HANDLE = i_s_msg = ls_msg.

SRM_DOCUMENT_GETLIST CALL FUNCTION 'SRM_DOCUMENT_GETLIST' EXPORTING rms_id = l_rms_id sps_id = l_sps_id max_hits = l_max_hits * IMPORTING * RETURN = TABLES property_selection = lt_query resulting_list = lt_result EXCEPTIONS not_authorized = 1 internal_error = 2 parameter_error = 3 OTHERS = 4.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_s_msg = ls_msg.

SRM_RECORD_GETLIST CALL FUNCTION 'SRM_RECORD_GETLIST' EXPORTING rms_id = l_rms_id sps_id = l_sps_id max_hits = l_max_hits * MAX_HITS = * IMPORTING * RETURN = TABLES property_selection = lt_query resulting_list = lt_result EXCEPTIONS not_authorized = 1 internal_error = 2 parameter_error = 3 OTHERS = 4.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_s_msg = ls_msg.

SRM_RECORD_GETPROPERTIES * CALL FUNCTION 'SRM_RECORD_GETPROPERTIES' * EXPORTING * objectid = wa_result-objectid * documentclass = wa_result-docclass ** WHOLE_DOCUMENT = ' ' ** DOC_CONTEXT = ** IMPORTING ** RETURN = * TABLES * properties = lt_properties ** EXCEPTIONS ** CONTAINER_IS_LOCKED = 1 ** NOT_AUTHORIZED = 2 ** PARAMETER_ERROR = 3 ** CONTAINER_NOT_FOUND = 4 ** CONTAINER_CORRUPT = 5 ** INTERNAL_ERROR = 6 ** CUSTOMIZING_ERROR = 7 ** OTHERS = 8 * .

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_s_msg = ls_msg.

BAL_LOG_EXCEPTION_ADD CALL FUNCTION 'BAL_LOG_EXCEPTION_ADD' EXPORTING i_s_exc = ls_exc.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_s_msg = ls_msg.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_s_msg = ls_msg.

BAL_LOG_MSG_ADD





CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_s_msg = ls_msg.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_s_msg = ls_msg.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_s_msg = ls_msg.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_s_msg = ls_msg.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' * EXPORTING * I_S_DISPLAY_PROFILE = * I_T_LOG_HANDLE = * I_T_MSG_HANDLE = * I_S_LOG_FILTER = * I_S_MSG_FILTER = * I_T_LOG_CONTEXT_FILTER = * I_T_MSG_CONTEXT_FILTER = * I_AMODAL = ' ' * IMPORTING * E_S_EXIT_COMMAND = * EXCEPTIONS * PROFILE_INCONSISTENT = 1 * INTERNAL_ERROR = 2 * NO_DATA_AVAILABLE = 3 * NO_AUTHORITY = 4 * OTHERS = 5 .

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_s_msg = ls_msg.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_s_msg = ls_msg.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_s_msg = ls_msg.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_s_msg = ls_msg.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_s_msg = ls_msg.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_s_msg = ls_msg.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_s_msg = ls_msg.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_s_msg = ls_msg.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_s_msg = ls_msg.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_s_msg = ls_msg.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_s_msg = ls_msg.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_s_msg = ls_msg.



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