SAP Reports / Programs

RGUREP01 SAP ABAP Report - Table Repair Main Program







RGUREP01 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 RGUREP01 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 RGUREP01. "Basic submit
SUBMIT RGUREP01 AND RETURN. "Return to original report after report execution complete
SUBMIT RGUREP01 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: R_RYEAR = Fiscal year
Selection Text: R_RVERS = Version
Selection Text: R_RRCTY = Record type
Selection Text: R_REFDOC = Original doc number
Selection Text: R_RCOMP = Global company
Selection Text: R_RACCT = Account
Selection Text: R_DOCNR = FI-SL doc number
Selection Text: R_BUKRS = Company code
Selection Text: RID_PRES = Field 'GL_SIRID' exists
Selection Text: P_UPD_YN = Use update mode
Selection Text: P_TAB = Totals Table to Be Created
Selection Text: P_RLDNR = Ledger
Selection Text: P_FIELD1 = Most selective table field
Selection Text: P_COUNT = No. of records/commits
Selection Text: P_ADDS = Include additional fields
Selection Text: DEL_CLI = Delete totals as in SE14
Selection Text: DEL_CLD = Delete totals as in GCDE
Title: Table Repair Main Program
Text Symbol: F52 = Add line items to the totals records in database
Text Symbol: F51 = Include additional fields
Text Symbol: F50 = Processing optn
Text Symbol: F40 = Additional selection criteria
Text Symbol: 602 = Active
Text Symbol: 601 = Inactive
Text Symbol: 600 = This version also writes rollup line items.
Text Symbol: 410 = Note for transparent tables with Release 2.1x
Text Symbol: 400 = Note for setting totals records from line items
Text Symbol: 350 = Confirmation prompt
Text Symbol: 330 = Are you sure you want to delete?
Text Symbol: 220 = Complete Deletion of Totals Table for All Clients
Text Symbol: 215 = Note on 'Include additional fields' option
Text Symbol: 214 = Collect counter for read line items
Text Symbol: 213 = Selective Field from Totals Table + Line Item Table
Text Symbol: 212 = Totals tables to be structured
Text Symbol: 211 = Selective deletion of totals records
Text Symbol: 210 = Deletion of Totals Records on Basis of Fixed Fields
Text Symbol: 200 = Deletion Program Selection
Text Symbol: 132 = Line items per collect





Text Symbol: 131 = or
Text Symbol: 130 = Fixed fields
Text Symbol: 120 = Most selective table field
Text Symbol: 110 = Totals Table
Text Symbol: 100 = Table selection


INCLUDES used within this REPORT RGUREP01

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_DISPLAY_TEXT_WITH_PARAMS * CALL FUNCTION 'POPUP_DISPLAY_TEXT_WITH_PARAMS' * EXPORTING * LANGUAGE = SY-LANGU * POPUP_TITLE = TEXT-211 * START_COLUMN = 10 * START_ROW = 3 * TEXT_OBJECT = 'GLX_TABLE_REPDEL' * IMPORTING * CANCELLED = ANSWER * TABLES * PARAMETERS = TEXT_PARAMS * EXCEPTIONS * ERROR_IN_TEXT = 1 * TEXT_NOT_FOUND = 2 * OTHERS = 3.

POPUP_DISPLAY_TEXT_WITH_PARAMS CALL FUNCTION 'POPUP_DISPLAY_TEXT_WITH_PARAMS' EXPORTING LANGUAGE = SY-LANGU POPUP_TITLE = TEXT-212 * START_COLUMN = 10 * START_ROW = 3 TEXT_OBJECT = 'GLX_TABLE_REPTAB' IMPORTING CANCELLED = ANSWER TABLES PARAMETERS = TEXT_PARAMS EXCEPTIONS ERROR_IN_TEXT = 1 TEXT_NOT_FOUND = 2 OTHERS = 3.

POPUP_DISPLAY_TEXT_WITH_PARAMS CALL FUNCTION 'POPUP_DISPLAY_TEXT_WITH_PARAMS' EXPORTING LANGUAGE = SY-LANGU POPUP_TITLE = TEXT-213 * START_COLUMN = 10 * START_ROW = 3 TEXT_OBJECT = 'GLX_TABLE_REPFIELD' IMPORTING CANCELLED = ANSWER TABLES PARAMETERS = TEXT_PARAMS EXCEPTIONS ERROR_IN_TEXT = 1 TEXT_NOT_FOUND = 2 OTHERS = 3.

POPUP_DISPLAY_TEXT_WITH_PARAMS CALL FUNCTION 'POPUP_DISPLAY_TEXT_WITH_PARAMS' EXPORTING LANGUAGE = SY-LANGU POPUP_TITLE = TEXT-214 * START_COLUMN = 10 * START_ROW = 3 TEXT_OBJECT = 'GLX_TABLE_REPCOUNT_4' IMPORTING CANCELLED = ANSWER TABLES PARAMETERS = TEXT_PARAMS EXCEPTIONS ERROR_IN_TEXT = 1 TEXT_NOT_FOUND = 2 OTHERS = 3.

POPUP_DISPLAY_TEXT_WITH_PARAMS CALL FUNCTION 'POPUP_DISPLAY_TEXT_WITH_PARAMS' EXPORTING LANGUAGE = SY-LANGU POPUP_TITLE = TEXT-215 * START_COLUMN = 10 * START_ROW = 3 TEXT_OBJECT = 'GLX_TABLE_REP_ADDIT_FIELDS_4' IMPORTING CANCELLED = ANSWER TABLES PARAMETERS = TEXT_PARAMS EXCEPTIONS ERROR_IN_TEXT = 1 TEXT_NOT_FOUND = 2 OTHERS = 3.

G_FIELD_READ CALL FUNCTION 'G_FIELD_READ' EXPORTING FIELDNAME = 'RACCT' TABLE = P_TAB EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

POPUP_TO_CONFIRM_LOSS_OF_DATA * CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' * EXPORTING * TEXTLINE1 = TEXT-330 * TEXTLINE2 = TEXT-340 * TITEL = TEXT-350 * IMPORTING * ANSWER = ANSWER.

POPUP_DISPLAY_TEXT_WITH_PARAMS * CALL FUNCTION 'POPUP_DISPLAY_TEXT_WITH_PARAMS' * EXPORTING * LANGUAGE = SY-LANGU * POPUP_TITLE = TEXT-198 * START_COLUMN = 10 * START_ROW = 3 * TEXT_OBJECT = TEXT_OBJECT * IMPORTING * CANCELLED = CANCELLED * TABLES * PARAMETERS = TEXT_PARAMS * EXCEPTIONS * ERROR_IN_TEXT = 01 * TEXT_NOT_FOUND = 02.

G_FIELD_READ CALL FUNCTION 'G_FIELD_READ' EXPORTING * ADD_FLAG = ' ' FIELDNAME = 'GL_SIRID' LANGU = SY-LANGU NO_GLX_OBJ_PROCESSING = 'X' * SHOW_ALIAS = ' ' TABLE = T800A-NTABLE * TEXT_FLAG = ' ' * UTABLE = ' ' IMPORTING FIELD_ATTR = DFIES * ORIGINAL_NAME = EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

POPUP_DISPLAY_TEXT_WITH_PARAMS CALL FUNCTION 'POPUP_DISPLAY_TEXT_WITH_PARAMS' EXPORTING LANGUAGE = SY-LANGU POPUP_TITLE = TEXT-410 * START_COLUMN = 10 * START_ROW = 3 TEXT_OBJECT = 'GLX_TABLE_REPAIR_FOR21' IMPORTING CANCELLED = ANSWER TABLES PARAMETERS = TEXT_PARAMS EXCEPTIONS ERROR_IN_TEXT = 1 TEXT_NOT_FOUND = 2 OTHERS = 3.

G_FIELD_READ CALL FUNCTION 'G_FIELD_READ' EXPORTING * ADD_FLAG = ' ' FIELDNAME = P_FIELD1 LANGU = SY-LANGU NO_GLX_OBJ_PROCESSING = ' ' * SHOW_ALIAS = ' ' TABLE = P_TAB * TEXT_FLAG = ' ' * UTABLE = ' ' IMPORTING FIELD_ATTR = DFIES * ORIGINAL_NAME = EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

G_FIELD_READ CALL FUNCTION 'G_FIELD_READ' EXPORTING * ADD_FLAG = ' ' FIELDNAME = P_FIELD1 LANGU = SY-LANGU NO_GLX_OBJ_PROCESSING = ' ' * SHOW_ALIAS = ' ' TABLE = T800A-NTABLE * TEXT_FLAG = ' ' * UTABLE = ' ' IMPORTING FIELD_ATTR = DFIES EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

POPUP_DISPLAY_TEXT_WITH_PARAMS CALL FUNCTION 'POPUP_DISPLAY_TEXT_WITH_PARAMS' EXPORTING LANGUAGE = SY-LANGU POPUP_TITLE = TEXT-400 * START_COLUMN = 10 * START_ROW = 3 TEXT_OBJECT = 'GLX_TABLE_REPAIR' IMPORTING CANCELLED = ANSWER TABLES PARAMETERS = TEXT_PARAMS EXCEPTIONS ERROR_IN_TEXT = 1 TEXT_NOT_FOUND = 2 OTHERS = 3.

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