RGUREP13 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report can be used to reverse FI-SL documents that are updated into FI-SL from other applications...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 RGUREP13 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.
FI-SL Reversal of Actual Documents
Selection Text: P_BUKRS = Company Code
Selection Text: P_RCOMP = Company
Selection Text: P_RLDNR = Ledger
Selection Text: P_RYEAR = Fiscal Year
Selection Text: SEL_DOC = Document Number (FI-SL)
Title: FI-SL: Reversal of Actual Documents
Text Symbol: 001 = Do you really want to reverse the document(s)?
Text Symbol: 002 = Confirmatn Prompt
Text Symbol: 003 = Display of Original Line Items and Reversal Line Items
Text Symbol: 004 = Reversed by Document Number:
Text Symbol: 005 = Reversal by Document Number:
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = text-001 titlebar = text-002 default_button = '2' display_cancel_button = ' ' IMPORTING answer = answer.
G_ADMI_AUTHORITY_CHECK CALL FUNCTION 'G_ADMI_AUTHORITY_CHECK' EXPORTING activity = '04'.
G_TABLE_SELECT_WITH_CURSOR CALL FUNCTION 'G_TABLE_SELECT_WITH_CURSOR' EXPORTING i_tabname = t800a-ntable i_selection = t_selection i_zero_records = 'X' CHANGING c_t_glu1 = t_sel_glu1_all c_t_data =
.
NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING object = 'GL_BUCHEN' nr_range_nr = '01' IMPORTING number = ld_docnr returncode = inri-returncode EXCEPTIONS interval_not_found = 01 number_range_not_intern = 02 object_not_found = 03 quantity_is_0 = 00.
G_MAX_PERIOD_AND_OFFSET_GET CALL FUNCTION 'G_MAX_PERIOD_AND_OFFSET_GET' EXPORTING period = t_post_glu1-poper table = t881-tab IMPORTING offset = t_glu1_add-offset rpmax = t_glu1_add-rpmax.
G_GET_ORGANIZATIONAL_DATA CALL FUNCTION 'G_GET_ORGANIZATIONAL_DATA' EXPORTING i_rldnr = t_post_glu1-rldnr i_orgunit =
IMPORTING organizational_info = ld_org_info EXCEPTIONS no_info_found = 1 error_in_setup = 2 error_in_depld = 3 OTHERS = 4.
G_MAX_PERIOD_AND_OFFSET_GET CALL FUNCTION 'G_MAX_PERIOD_AND_OFFSET_GET' EXPORTING period = t_post_glu1-poper table = t881-tab IMPORTING offset = t_glu1_add-offset rpmax = t_glu1_add-rpmax.
G_GLU1_ITEMS_DISPLAY_HS CALL FUNCTION 'G_GLU1_ITEMS_DISPLAY_HS' EXPORTING i_ledger = e02_rldnr i_items = t_list_glu1 i_cwcode = 'X' i_text = text-003 IMPORTING e_t_cathead = t_cathead e_t_catitem = t_catitem.
RS_REFRESH_FROM_SELECTOPTIONS CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING CURR_REPORT = sy-repid TABLES SELECTION_TABLE = lt_rsparams.
G_UPDATE_T800HIST CALL FUNCTION 'G_UPDATE_T800HIST' EXPORTING I_OBJNAME = sy-repid TABLES T_RSPARAMS = lt_rsparams.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RGUREP13 - FI-SL: Reversal of Actual Documents RGUREP13 - FI-SL: Reversal of Actual Documents RGUREP12 - FI-SL: Object Number Consistency Check (Generated by RGUREP11) RGUREP12 - FI-SL: Object Number Consistency Check (Generated by RGUREP11) RGUREP11 - FI-SL: Check Object Number Consistency RGUREP11 - FI-SL: Check Object Number Consistency