J_1GCOA_TREE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The Chart of Accounts (CoA) list gives a list of all GL posting accounts and their level accounts...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter J_1GCOA_TREE into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
J1GCOA - Chart of Accounts
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: S_ACCNT = Account selections
Selection Text: S_BUKRS = Select by company
Selection Text: S_DIFF = 2nd acc.system
Selection Text: S_KTOKS = D .
Selection Text: S_KTOPL = Select by chart of accounts
Selection Text: S_LANG1 = Account texts in
Selection Text: S_LANG2 =
Selection Text: S_LEDSEL = Type of Accounting
Selection Text: S_LEV1 = Level 1
Selection Text: S_LEV2 = Level 2
Selection Text: S_LEV3 = Level 3
Selection Text: S_LEV4 = Level 4
Selection Text: S_LEV5 = Level 5
Selection Text: S_MAIN = 1st acc.system (main)
Selection Text: S_MD =
Selection Text: S_OP =
Selection Text: S_R01 =
Selection Text: S_R02 =
Selection Text: S_R11 =
Selection Text: S_R12 =
Title: Chart of Accounts
Text Symbol: TGG = G/L
Text Symbol: TGB = G/L + A/L
Text Symbol: 010 = All level accounts
Text Symbol: 020 = Only level accounts having postable accounts
Text Symbol: 021 = Include (postable) accounts marked for deletion
Text Symbol: 701 = CHART OF ACCOUNTS - G/L
Text Symbol: 702 = Page
Text Symbol: 703 = Date
Text Symbol: 704 = Chart of Accounts:
Text Symbol: 705 = Account PL
Text Symbol: 706 = CHART OF ACCOUNTS - A/L
Text Symbol: 707 = CHART OF ACCOUNTS
Text Symbol: 710 = Description in &
Text Symbol: 715 = Company:
Text Symbol: 998 = DESCRIPTION MISSING
Text Symbol: 999 = LEVEL NOT DEFINED
Text Symbol: E02 = Selected company' s chart is not defined
INCLUDE J_2GCONSTANTS.
No SAP DATABASE tables are accessed within this REPORT code!
J_1GBUKRS_AUTH_CHECK call function 'J_1GBUKRS_AUTH_CHECK' exporting i_xdb = 'S' i_bukrs = s_bukrs.
J_1GCHECK_STRUCTURE call function 'J_1GCHECK_STRUCTURE' exporting * i_sakln = t004-sakln "ias1- i_str = igs importing e_rlen = rlen_g e_max_lev = lw_max_lev exceptions wrong_input = 1 gap_existance = 2 no_levels_defined = 3 wrong_post_acc_length = 4 others = 5.
J_1GCHECK_STRUCTURE call function 'J_1GCHECK_STRUCTURE' exporting i_sakln = t004-sakln i_str = igs importing e_rlen = rlen_a e_max_lev = lw_max_lev exceptions wrong_input = 1 gap_existance = 2 no_levels_defined = 3 wrong_post_acc_length = 4 others = 5.
J_1GCHECK_DACCT call function 'J_1GCHECK_DACCT' exporting * i_ktopl = t001-ktopl "ias1a- i_ktopl = w_coa i_saknr = t_postacc * I_NO_BUFFER = ' ' importing * E_SKA1 = e_dacct_flag = lf_dacct_flag exceptions account_not_found = 1 others = 2.
J_1GGET_LEVELS call function 'J_1GGET_LEVELS' exporting i_ktopl = w_coa i_account = t_postacc i_only_type = s_ledsel "ias1+ importing e_type = lw_type e_lev1 = lw_lev1 e_lev2 = lw_lev2 e_lev3 = lw_lev3 e_lev4 = lw_lev4 e_lev5 = lw_lev5 e_lev1s = lw_lev1s e_lev2s = lw_lev2s e_lev3s = lw_lev3s e_lev4s = lw_lev4s e_lev5s = lw_lev5s exceptions wrong_input = 1 gs_no_data = 2 gs_wrong_data = 3 others = 4.
J_1GACCOUNT_AUTH_CHECK call function 'J_1GACCOUNT_AUTH_CHECK' exporting i_xdb = 'S' i_begru = l_begru i_aktvt = '03' exceptions no_authorization = 1 others = 2.
CONVERSION_EXIT_ALPHA_INPUT call function 'CONVERSION_EXIT_ALPHA_INPUT' exporting input = vw_external importing output = pw_internal exceptions others = 1.
VIEW_MAINTENANCE_CALL call function 'VIEW_MAINTENANCE_CALL' exporting action = 'U' view_name = 'J_1GGL_V' tables dba_sellist = lt_sel exceptions client_reference = 1 foreign_lock = 2 invalid_action = 3 no_clientindependent_auth = 4 no_database_function = 5 no_editor_function = 6 no_show_auth = 7 no_tvdir_entry = 8 no_upd_auth = 9 only_show_allowed = 10 system_failure = 11 unknown_field_in_dba_sellist = 12 view_not_found = 13 others = 14.
GL_USER_DATA_SET call function 'GL_USER_DATA_SET' exporting owner = 'GL_MASTER' name = 'ACCNO' value = '' exceptions invalid_owner = 1 others = 2.
DYNP_VALUES_READ call function 'DYNP_VALUES_READ' exporting dyname = vw_repid dynumb = vw_dynnr tables dynpfields = lt_scrfields exceptions invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 others = 9.
VALUES_GET call function 'VALUES_GET' exporting valueexist = lh_info-valexist valuefieldname = lh_info-fieldname valuelanguage = lh_info-spras valuetabname = lh_info-tabname importing retcode = lw_rc tables dynpvaluetab = lt_dynval values = lt_values valuestructure = lt_vstruc exceptions others = 1.
VALUES_DISPLAY call function 'VALUES_DISPLAY' importing select_index = lw_tabix select_value = lh_info-fldvalue tables values = lt_values valuestructure = lt_vstruc exceptions check_table_locked = 1 no_values_for_field = 2 tablefield_does_not_exist = 3 others = 4.
DYNP_VALUES_UPDATE call function 'DYNP_VALUES_UPDATE' exporting dyname = vw_repid dynumb = vw_dynnr tables dynpfields = lt_scrfields exceptions invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 undefind_error = 7 others = 8.
VIEW_MAINTENANCE_CALL call function 'VIEW_MAINTENANCE_CALL' exporting action = 'U' view_name = 'J_1GGS' exceptions client_reference = 1 foreign_lock = 2 invalid_action = 3 no_clientindependent_auth = 4 no_database_function = 5 no_editor_function = 6 no_show_auth = 7 no_tvdir_entry = 8 no_upd_auth = 9 only_show_allowed = 10 system_failure = 11 unknown_field_in_dba_sellist = 12 view_not_found = 13 others = 14.
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_1GCOA_TREE or its description.