SAP Reports / Programs | Financial Accounting | Special Purpose Ledger | Basic Functions(FI-SL-SL) SAP FI

RGUREP13 SAP ABAP Report - FI-SL: Reversal of Actual Documents







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


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


Text pool values


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:


INCLUDES used within this REPORT RGUREP13

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:

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.



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