SAP Reports / Programs

RNFORM02 SAP ABAP Report - IS-H: Delete Or Change Obsolete Printer Data







RNFORM02 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program deletes the assignment of work organizers to printers that are not available...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RNFORM02 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 RNFORM02. "Basic submit
SUBMIT RNFORM02 AND RETURN. "Return to original report after report execution complete
SUBMIT RNFORM02 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: CHNG = Change printer assignment
Selection Text: TEST = Test Run (no DB Changes)
Selection Text: PRINT = Printer no longer available
Selection Text: ECHT = Update Run (DB Changes)
Selection Text: DEL = Delete
Selection Text: CHNGTO = New Printer
Selection Text: CHNGFROM = Old Printer
Title: IS-H: Delete Or Change Obsolete Printer Data
Text Symbol: U05 = Old Printer
Text Symbol: U06 = New Printer
Text Symbol: U08 = Delete from printer entries
Text Symbol: U09 = Change printer assignment
Text Symbol: U10 = Usage of the program
Text Symbol: U20 = Report execution mode
Text Symbol: M01 = Could not find any changes for this selection!
Text Symbol: H01 = Work Organizers
Text Symbol: H02 = Texts
Text Symbol: H03 = Printer
Text Symbol: H04 = Old printer
Text Symbol: H05 = New Printer
Text Symbol: H06 = Terminal
Text Symbol: U21 = Test Run (no DB Changes)
Text Symbol: U22 = Update Run (DB Changes)
Text Symbol: U30 = Following data records would be deleted in an update run:
Text Symbol: U31 = Following data records have been deleted:
Text Symbol: U32 = The printer assignments would be changed as follows:
Text Symbol: U33 = The printer assignments have been changed as follows:


INCLUDES used within this REPORT RNFORM02

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:

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid i_callback_pf_status_set = gc_set_pf_status is_layout = ls_layo it_fieldcat = lt_fcat it_events = lt_evts1 is_print = ls_prnt is_variant = ls_vari i_save = gc_x * i_default = gs_test-vari_default TABLES t_outtab = gt_outtab_1 EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = gv_repid I_INTERNAL_TABNAME = 'GT_OUTTAB_1' * I_STRUCTURE_NAME = '' * I_CLIENT_NEVER_DISPLAY = 'X' I_INCLNAME = gv_repid * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = CHANGING CT_FIELDCAT = ct_fcat EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3 .

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_eventtab EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = ls_layo it_fieldcat = lt_fcat * it_events = lt_evts2 is_print = ls_prnt is_variant = ls_vari i_save = gc_x TABLES t_outtab = gt_outtab_2 EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = gv_repid I_INTERNAL_TABNAME = 'GT_OUTTAB_2' * I_STRUCTURE_NAME = ' ' * I_CLIENT_NEVER_DISPLAY = 'X' I_INCLNAME = gv_repid * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = CHANGING CT_FIELDCAT = ct_fcat EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3 .

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = ls_log IMPORTING E_LOG_HANDLE = gv_log_handle EXCEPTIONS OTHERS = 1.

BAL_LOG_MSG_ADD_FREE_TEXT CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT' EXPORTING I_LOG_HANDLE = gv_log_handle I_MSGTY = iv_msgtyp * I_PROBCLASS = '4' I_TEXT = iv_text EXCEPTIONS LOG_NOT_FOUND = 1 MSG_INCONSISTENT = 2 LOG_IS_FULL = 3 OTHERS = 4 .

BAL_DSP_PROFILE_NO_TREE_GET CALL FUNCTION 'BAL_DSP_PROFILE_NO_TREE_GET' IMPORTING E_S_DISPLAY_PROFILE = ls_display_profile EXCEPTIONS OTHERS = 1.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING I_S_DISPLAY_PROFILE = ls_display_profile EXCEPTIONS PROFILE_INCONSISTENT = 1 INTERNAL_ERROR = 2 NO_DATA_AVAILABLE = 3 NO_AUTHORITY = 4 OTHERS = 5.



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