RGCOPYGLT0 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 RGCOPYGLT0 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
GLGCU2 - Copy transaction figures
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.
Selection Text: P_TO_POP = To period
Selection Text: P_RYEAR = Fiscal year
Selection Text: P_FR_POP = From period
Selection Text: PTBUKRS = Company code
Title: Flexible general ledger: Summary transfer from GLT0
Text Symbol: 104 = Ledger
Text Symbol: 103 = Caution: Data will not be written
Text Symbol: 102 = alrdy contains data
Text Symbol: 101 = Fiscal year
Text Symbol: 100 = Company code
Text Symbol: 030 = Transfer from GLT0
Text Symbol: 016 = Copying Stats
Text Symbol: 015 = Number of totals records
Text Symbol: 014 = TargetLedg 3
Text Symbol: 013 = TargetLedg 2
Text Symbol: 012 = TargetLedg 1
Text Symbol: 011 = TargetLedg
Text Symbol: 010 = General selections for source ledger
Text Symbol: 007 = Test run
Text Symbol: 006 = To period
Text Symbol: 005 = From period
Text Symbol: 004 = Fiscal year
Text Symbol: 003 = Company code
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
G_ADMI_AUTHORITY_CHECK CALL FUNCTION 'G_ADMI_AUTHORITY_CHECK' EXPORTING ACTIVITY = '13' EXCEPTIONS NOT_AUTHORIZED = 1 OTHERS = 2.
G_GIVE_FIXED_LEDGERS_FOR_BUKRS CALL FUNCTION 'G_GIVE_FIXED_LEDGERS_FOR_BUKRS' EXPORTING BUKRS = P_BUKRS JOIN_OF_VALUTYP_AND_CURT = 'X' TABLES LEDTAB = INT_LEDTAB.
G_GET_ORGANIZATIONAL_DATA CALL FUNCTION 'G_GET_ORGANIZATIONAL_DATA' EXPORTING I_RLDNR = INT_LEDTAB-RLDNR I_ORGUNIT = P_BUKRS JOIN_OF_VALUTYP_AND_CURT = ' ' IMPORTING ORGANIZATIONAL_INFO = WA_INFO EXCEPTIONS NO_INFO_FOUND = 1 ERROR_IN_SETUP = 2.
G_GET_ORGANIZATIONAL_DATA CALL FUNCTION 'G_GET_ORGANIZATIONAL_DATA' EXPORTING I_RLDNR = INT_TO_LEDGER-RLDNR I_ORGUNIT = P_BUKRS JOIN_OF_VALUTYP_AND_CURT = ' ' IMPORTING ORGANIZATIONAL_INFO = WA_INFO EXCEPTIONS NO_INFO_FOUND = 1 ERROR_IN_SETUP = 2.
NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING NR_RANGE_NR = DOC_RANGE OBJECT = DOC_OBJ IMPORTING NUMBER = DOC_NUMBER.
G_MAX_PERIOD_AND_OFFSET_GET CALL FUNCTION 'G_MAX_PERIOD_AND_OFFSET_GET' EXPORTING PERIOD = WA_GLU1-POPER TABLE = T881-TAB IMPORTING OFFSET = T_GLU1_ADD-OFFSET RPMAX = T_GLU1_ADD-RPMAX.
G_TABLE_SELECT_WITH_CURSOR CALL FUNCTION 'G_TABLE_SELECT_WITH_CURSOR' EXPORTING I_TABNAME = T800A-TAB I_SELECTION = T_SELECTION CHANGING C_T_GLU1 = T_SEL_GLU1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.