SAP Reports / Programs

RGUCOMP1 SAP ABAP Report - Compare General Ledger Transaction Figures with Another Ledger







RGUCOMP1 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 RGUCOMP1 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

OCCM - Reconcile G/L Accounts/Consolidation


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 RGUCOMP1. "Basic submit
SUBMIT RGUCOMP1 AND RETURN. "Return to original report after report execution complete
SUBMIT RGUCOMP1 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: BUKRS = Company Code
Selection Text: GES_BER = Business Area
Selection Text: JAHR = Fiscal Year
Selection Text: KONTO = Account
Selection Text: LEDGER = Ledger
Selection Text: PERIODE1 = From Period
Selection Text: PERIODE2 = To Period
Selection Text: P_ALTKT = G/L Account/Alternative Accnt
Selection Text: P_BILKT = G/L Account / Corporate Accnt
Selection Text: P_SAKNR = G/L Account / G/L Account
Selection Text: SATZTYP = Record Type
Selection Text: S_HKZ = Debits/Credits Indicator
Selection Text: VER_GLT0 = Version
Selection Text: VER_ZZRL = Version
Title: Compare General Ledger Transaction Figures with Another Ledger
Text Symbol: 037 = There were no differences in the transaction currency.
Text Symbol: 038 = No data found in ledger 0.
Text Symbol: 039 = No data found in
Text Symbol: 040 = ledger.
Text Symbol: 041 = G/L Transaction Figures
Text Symbol: 042 = with
Text Symbol: 050 = Selection Data G/L Transaction Figures ------------------------------------------------
Text Symbol: 051 = Comparison Ledger Selection Data
Text Symbol: 052 = Common Selection Data ------------------------------------------------
Text Symbol: 053 = Comparison Period ------------------------------------------------
Text Symbol: 054 = Ledger 0
Text Symbol: 055 = Comparison
Text Symbol: 056 = Corporate account not defined
Text Symbol: 057 = Alternative account not defined
Text Symbol: 058 = Account comparison
Text Symbol: 059 = Also check the period values
Text Symbol: 060 = Local curr. total
Text Symbol: 061 = Transaction curr. total
Text Symbol: 036 = There were differences in the transaction currency. (Totals and/or periods).
Text Symbol: 001 = Comparison of:
Text Symbol: 002 = Period
Text Symbol: 003 = Currency :
Text Symbol: 004 = Global Company:





Text Symbol: 006 = Company Code:
Text Symbol: 007 = Record Type :
Text Symbol: 008 = Fiscal Year:
Text Symbol: 009 = From Period :
Text Symbol: 010 = To Period :
Text Symbol: 011 = Currency
Text Symbol: 012 = Transaction Currency
Text Symbol: 013 = Local Currency
Text Symbol: 014 = Account
Text Symbol: 015 = BusArea
Text Symbol: 016 = D/C
Text Symbol: 017 = Difference
Text Symbol: 018 = Listing by Periods
Text Symbol: 019 = Business Area :
Text Symbol: 020 = Currency Key :
Text Symbol: 021 = Debits/credits Indicator:
Text Symbol: 022 = Periods
Text Symbol: 023 = Exit Ledger Comparison
Text Symbol: 024 = Are you sure you want to
Text Symbol: 025 = exit the comparison?
Text Symbol: 027 = Company Code :
Text Symbol: 028 = Record Type :
Text Symbol: 029 = Fiscal Year :
Text Symbol: 030 = Account :
Text Symbol: 031 = Currency :
Text Symbol: 032 = Ledger
Text Symbol: 033 = Version
Text Symbol: 034 = There were differences in the local currency.(Totals and/or periods).
Text Symbol: 035 = There were no differences in the local currency.


INCLUDES used within this REPORT RGUCOMP1

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:

G_CURRENCY_FROM_CT_GET CALL FUNCTION 'G_CURRENCY_FROM_CT_GET' EXPORTING BUKRS = BUKRS CT = '10' GLOBAL = SPACE RLDNR = '00' IMPORTING CURRENCY = T882-CURR1.

G_CURRENCY_FROM_CT_GET CALL FUNCTION 'G_CURRENCY_FROM_CT_GET' EXPORTING BUKRS = BUKRS CT = T881-CURT1 GLOBAL = SPACE RLDNR = LEDGER IMPORTING CURRENCY = *T882-CURR1.

G_CURRENCY_FROM_CT_GET CALL FUNCTION 'G_CURRENCY_FROM_CT_GET' EXPORTING RCOMP = T001-RCOMP CT = T881-CURT1 GLOBAL = 'X' RLDNR = LEDGER IMPORTING CURRENCY = *T882-CURR1.

HELPSCREEN_CREATE





CALL FUNCTION 'HELPSCREEN_CREATE' EXPORTING DOKU_ID = 'TX' DOKU_OBJEKT = 'G_COMPARE_ACCOUNTS' TITEL = TEXT-058 EXCEPTIONS OTHERS = 1.

HELPSCREEN_CREATE CALL FUNCTION 'HELPSCREEN_CREATE' EXPORTING DOKU_ID = 'TX' DOKU_OBJEKT = 'G_COMPARE_ACCOUNTS' TITEL = TEXT-058 EXCEPTIONS OTHERS = 1.

HELPSCREEN_CREATE CALL FUNCTION 'HELPSCREEN_CREATE' EXPORTING DOKU_ID = 'TX' DOKU_OBJEKT = 'G_COMPARE_ACCOUNTS' TITEL = TEXT-058 EXCEPTIONS OTHERS = 1.

POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING TITEL = TEXT-023 TEXTLINE1 = TEXT-024 TEXTLINE2 = TEXT-025 IMPORTING ANSWER = FIELD(1).



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