SAP Reports / Programs

J_3RKORRGLK SAP ABAP Report - General Ledger Report (Russia)







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

J3RKGLK - General Ledger Report (Russia)


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 J_3RKORRGLK. "Basic submit
SUBMIT J_3RKORRGLK AND RETURN. "Return to original report after report execution complete
SUBMIT J_3RKORRGLK 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: UGOS = D .
Selection Text: UGKS = D .
Selection Text: P_ALTKT = D .
Selection Text: OSNSC = D .
Selection Text: NULL = D .
Selection Text: MONAT = D .
Selection Text: INVO = D .
Selection Text: GJAHR = D .
Selection Text: BUKRS = D .
Title: General Ledger Report (Russia)
Text Symbol: 912 = December
Text Symbol: 911 = November
Text Symbol: 910 = October
Text Symbol: 909 = September
Text Symbol: 908 = August
Text Symbol: 907 = July
Text Symbol: 906 = June
Text Symbol: 905 = May
Text Symbol: 904 = April
Text Symbol: 903 = March
Text Symbol: 902 = February
Text Symbol: 901 = January
Text Symbol: 084 = Application Log
Text Symbol: 034 = (position)
Text Symbol: 033 = (surname)
Text Symbol: 032 = (signature)
Text Symbol: 031 = Chief accountant
Text Symbol: 030 = Person responsible
Text Symbol: 023 = Cumulative total
Text Symbol: 022 = Ending Balance
Text Symbol: 021 = Total Credits
Text Symbol: 020 = Total Debits
Text Symbol: 019 = Beginning Balance
Text Symbol: 018 = 4th Quarter
Text Symbol: 017 = 3rd Quarter
Text Symbol: 016 = 2nd Quarter
Text Symbol: 015 = 1st Quarter
Text Symbol: 014 = Account





Text Symbol: 013 = Account
Text Symbol: 011 = Processing Time
Text Symbol: 001 = NOT FOUND


INCLUDES used within this REPORT J_3RKORRGLK

INCLUDE J_3RKORRGLKTOP.
INCLUDE J_3RKORR_APPLICATION_LOG.
INCLUDE J_3RKORRCOMMONF02.


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:

J3RK_CUSTOMIZING_GET_LEDGER CALL FUNCTION 'J3RK_CUSTOMIZING_GET_LEDGER' EXPORTING IV_BUKRS = bukrs IMPORTING EV_LEDGER = GV_RLDNR.

G_GET_ORGANIZATIONAL_DATA CALL FUNCTION 'G_GET_ORGANIZATIONAL_DATA' EXPORTING i_rldnr = GV_RLDNR i_orgunit = bukrs IMPORTING ORGANIZATIONAL_INFO = GS_ORG_INFO EXCEPTIONS NO_INFO_FOUND = 1 ERROR_IN_SETUP = 2 ERROR_IN_DEPLD = 3 OTHERS = 4.

FIRST_DAY_IN_PERIOD_GET CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET' EXPORTING i_gjahr = gjahr i_periv = gv_periv i_poper = g_poper IMPORTING e_date = begdt EXCEPTIONS input_false = 1 t009_notfound = 2 t009b_notfound = 3 OTHERS = 4.

LAST_DAY_IN_PERIOD_GET CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET' EXPORTING i_gjahr = gjahr i_periv = gv_periv i_poper = g_poper IMPORTING e_date = enddt EXCEPTIONS input_false = 1 t009_notfound = 2 t009b_notfound = 3 OTHERS = 4.

READ_SACHKONTO_ALTKT CALL FUNCTION 'READ_SACHKONTO_ALTKT' EXPORTING bukrs = bukrs saknr = j_3rkkr0-debet IMPORTING altkt = j_3rkkr0-debet altkt_not_found = g_not_found EXCEPTIONS saknr_not_found = 1.

READ_SACHKONTO_ALTKT CALL FUNCTION 'READ_SACHKONTO_ALTKT' EXPORTING bukrs = bukrs saknr = j_3rkkr0-kredit IMPORTING altkt = j_3rkkr0-kredit altkt_not_found = g_not_found EXCEPTIONS saknr_not_found = 1.

READ_SACHKONTO_ALTKT CALL FUNCTION 'READ_SACHKONTO_ALTKT' EXPORTING bukrs = bukrs saknr = j_3rkkr0-debet IMPORTING altkt = j_3rkkr0-debet altkt_not_found = g_not_found EXCEPTIONS saknr_not_found = 1.

READ_SACHKONTO_ALTKT CALL FUNCTION 'READ_SACHKONTO_ALTKT' EXPORTING bukrs = bukrs saknr = j_3rkkr0-kredit IMPORTING altkt = j_3rkkr0-kredit altkt_not_found = g_not_found EXCEPTIONS saknr_not_found = 1.

STRING_CENTER CALL FUNCTION 'STRING_CENTER' "#EC * EXPORTING string = s IMPORTING cstring = s EXCEPTIONS too_small = 99.

STRING_CENTER CALL FUNCTION 'STRING_CENTER' "#EC * EXPORTING string = ssg-txt50 IMPORTING cstring = ssg-txt50 EXCEPTIONS too_small = 99.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'J_3RK_GLK_ALV' CHANGING ct_fieldcat = lt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = l_repid i_callback_user_command = l_callback_user_command it_fieldcat = lt_fieldcat it_events = lt_events is_layout = ls_layout is_print = ls_print TABLES t_outtab = lt_outtab EXCEPTIONS program_error = 1 OTHERS = 2.

J3RK_CUSTOMIZING_GET_LEDGER CALL FUNCTION 'J3RK_CUSTOMIZING_GET_LEDGER' EXPORTING IV_BUKRS = bukrs IMPORTING EV_LEDGER = LV_RLDNR.

FAGL_GET_GLT0 CALL FUNCTION 'FAGL_GET_GLT0' EXPORTING i_glt0_rldnr = '00' i_rldnr = LV_RLDNR i_rrcty = '0' i_rvers = '001' i_ryear = l_ryear i_bukrs = bukrs i_racct = skat-saknr i_rpmax = '016' i_drcrk = 'S' IMPORTING et_glt0 = lt_glt0.

FAGL_GET_GLT0 CALL FUNCTION 'FAGL_GET_GLT0' EXPORTING i_glt0_rldnr = '00' i_rldnr = LV_RLDNR i_rrcty = '0' i_rvers = '001' i_ryear = l_ryear i_bukrs = bukrs i_racct = skat-saknr i_rpmax = '016' i_drcrk = 'H' IMPORTING et_glt0 = lt_glt0.



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