SAP Reports / Programs

RGCTDI00 SAP ABAP Report - Import Totals Records and Journal Entries







RGCTDI00 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 RGCTDI00 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

GC62 - Import of Transaction Data


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 RGCTDI00. "Basic submit
SUBMIT RGCTDI00 AND RETURN. "Return to original report after report execution complete
SUBMIT RGCTDI00 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: SO_RYEAR = Year
Selection Text: SO_RVERS = Version
Selection Text: SO_RLEVL = Posting level
Selection Text: SO_RCOMP = Company
Selection Text: PA_TR_TT = Import totals records
Selection Text: PA_TR_SI = Import journal entries
Selection Text: PA_TEST = Test run
Selection Text: PA_RYEAR = Year
Selection Text: PA_RVERS = Version
Selection Text: PA_RSUBD = Subgroup
Selection Text: PA_RLDNR = Ledger
Selection Text: PA_P_PHY = Directory
Selection Text: PA_PRESS = Presentation server
Selection Text: PA_POPER = Period
Selection Text: PA_APPLS = Application server
Title: Import Totals Records and Journal Entries
Text Symbol: S02 = Select totals records and/or journal entries
Text Symbol: S01 = Select a ledger or a subgroup
Text Symbol: C02 = Application server
Text Symbol: C01 = Presentation server
Text Symbol: B04 = Options
Text Symbol: B03 = Import
Text Symbol: B02 = Selection: Alternative 2
Text Symbol: B01 = Selection: Alternative 1
Text Symbol: 110 = Total:
Text Symbol: 101 = | No records were selected |
Text Symbol: 100 = | Lg Ver Year Co. L DT | No. records |
Text Symbol: 030 = Processing terminated
Text Symbol: 020 = Check records for posting
Text Symbol: 011 = | Journal entries: |
Text Symbol: 010 = | Totals records: |
Text Symbol: 005 = Imported file:
Text Symbol: 003 = | Test run |
Text Symbol: 002 = | Update run |
Text Symbol: 001 = Import totals records and journal entries


INCLUDES used within this REPORT RGCTDI00

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:

WS_UPLOAD * CALL FUNCTION 'WS_UPLOAD' * EXPORTING * FILENAME = LD_F_NAME * FILETYPE = LD_F_FORMAT * TABLES * DATA_TAB = IT_DATA * EXCEPTIONS ** conversion_error = 1 ** invalid_table_width = 2 ** invalid_type = 3 ** no_batch = 4 ** unknown_error = 5 * FILE_OPEN_ERROR = 6.

CHECK_COMBINATION_OF_ADDFIELDS ** CALL FUNCTION 'CHECK_COMBINATION_OF_ADDFIELDS' ** EXPORTING ** E_ADFLD1 = A_CHECK-ADFLD1 ** E_ADFLD2 = A_CHECK-ADFLD2 ** E_ADFLD3 = A_CHECK-ADFLD3 ** FLG_ADFLD1 = CON_X ** FLG_ADFLD2 = HLP_FLG_ADFLD2 ** FLG_ADFLD3 = HLP_FLG_ADFLD3.

MESSAGES_INITIALIZE * CALL FUNCTION 'MESSAGES_INITIALIZE'.

MESSAGE_STORE * CALL FUNCTION 'MESSAGE_STORE' * EXPORTING * ARBGB = IT_MESG-ARBGB * MSGTY = IT_MESG-MSGTY * TXTNR = IT_MESG-TXTNR * MSGV1 = IT_MESG-MSGV1 * MSGV2 = IT_MESG-MSGV2 * MSGV3 = IT_MESG-MSGV3 * MSGV4 = IT_MESG-MSGV4.

MESSAGES_SHOW * CALL FUNCTION 'MESSAGES_SHOW' * EXPORTING * CORRECTIONS_OPTION = 'X' * OBJECT = TEXT-020 "Prüfung von Summensätzen * SHOW_LINNO = SPACE * IMPORTING * CORRECTIONS_WANTED = LD_CANCEL.

G_LC_FIX_POSTING * CALL FUNCTION 'G_LC_FIX_POSTING' * TABLES * INT_FILCT = TAB_FILCT[].

G_SET_IMPORTSTATUS * CALL FUNCTION 'G_SET_IMPORTSTATUS' * EXPORTING * E_RLDNR = IT_POST-RLDNR * E_RVERS = IT_POST-RVERS * E_RCOMP = IT_POST-RCOMP * E_RYEAR = IT_POST-RYEAR * E_PERID = LD_POPER.

G_SET_IMPORTSTATUS * CALL FUNCTION 'G_SET_IMPORTSTATUS' * EXPORTING * E_RLDNR = IT_POST-RLDNR * E_RVERS = IT_POST-RVERS * E_RCOMP = IT_POST-RCOMP * E_RYEAR = IT_POST-RYEAR * E_PERID = PA_POPER.



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