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

RGUREP02 SAP ABAP Report - Repair Program: Totals from Line Items for Pool and Transport Tables







RGUREP02 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 RGUREP02 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 RGUREP02. "Basic submit
SUBMIT RGUREP02 AND RETURN. "Return to original report after report execution complete
SUBMIT RGUREP02 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: P_FIELD1 = Most selective field
Selection Text: P_RBUKRS = Company code
Selection Text: P_RCOMP = Global company
Selection Text: P_RLDNR = Ledger
Selection Text: P_RRCTY = Record type
Selection Text: P_RVERS = Version
Selection Text: P_RYEAR = Fiscal year
Selection Text: P_TAB = Summary table
Selection Text: RID_PRES = Field 'GL_SIRID' exists
Selection Text: R_BUKRS = Company code
Selection Text: R_DOCNR = FI-SL doc number
Selection Text: R_RACCT = Account
Selection Text: R_RCOMP = Company
Selection Text: R_REFDOC = Original doc number
Selection Text: R_RLDNR = Ledger
Selection Text: R_RRCTY = Record type
Selection Text: R_RVERS = Version
Selection Text: R_RYEAR = Fiscal year
Title: Repair Program: Totals from Line Items for Pool and Transport Tables
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: 100 = Table selection
Text Symbol: 110 = Summary table
Text Symbol: 120 = Most selective table field
Text Symbol: 130 = Fixed fields
Text Symbol: 131 = or
Text Symbol: 132 = Line items per collect
Text Symbol: 140 = Resulting totals records
Text Symbol: 150 = Total number of collected line items
Text Symbol: 160 = Total number of totals records created
Text Symbol: 200 = Delete-program selection
Text Symbol: 210 = Delete the totals records depending on the fixed fields
Text Symbol: 220 = Complete deletion of summary table for all clients
Text Symbol: 500 = Summary record set-up statistics from actual line items:
Text Symbol: 510 = Number of commits
Text Symbol: 530 = Collected line items





Text Symbol: 540 = Resulting totals records
Text Symbol: 541 = Resulting totals records for update
Text Symbol: 550 = Total number of collected line items
Text Symbol: 560 = Total number of totals records created
Text Symbol: 561 = Total no. of summary recs transf. for update
Text Symbol: 600 = Totals record set-up statistics from actual line items:
Text Symbol: 700 = Total statistics of set-up and collected records:


INCLUDES used within this REPORT RGUREP02

INCLUDE REP02DAT.
INCLUDE REPSELEC.


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:

G_ADJUST_RECORD CALL FUNCTION 'G_ADJUST_RECORD' EXPORTING RENUMBER_OBJ = 'X' TABELLENNAME = 'GLFUNCT ' TABLES TABELLE = IGLFUNCT EXCEPTIONS OTHERS = 1.

DB_COMMIT CALL FUNCTION 'DB_COMMIT' EXCEPTIONS OTHERS = 1.

DB_COMMIT CALL FUNCTION 'DB_COMMIT' EXCEPTIONS OTHERS = 1.

G_MAX_PERIOD_AND_OFFSET_GET CALL FUNCTION 'G_MAX_PERIOD_AND_OFFSET_GET' EXPORTING NUMBER_OF_PERIODS = '000' PERIOD = POPER TABLE = 'GLFUNCT ' IMPORTING OFFSET = OFFSET RPMAX = RPMAX2 EXCEPTIONS TABLE_NOT_FOUND = 1 OTHERS = 2.



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