SAP Reports / Programs | Financial Accounting(FI) SAP FI

J_1GJR_CHECKS SAP ABAP INCLUDE - Journal checks







J_1GJR_CHECKS is a standard ABAP INCLUDE 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_1GJR_CHECKS into the relevant SAP transactions such as SE38 or SE80


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_1GJR_CHECKS. "Basic submit
SUBMIT J_1GJR_CHECKS AND RETURN. "Return to original report after report execution complete
SUBMIT J_1GJR_CHECKS VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Journal checks


INCLUDES used within this REPORT J_1GJR_CHECKS

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:

FI_COMPANY_CODE_DATA call function 'FI_COMPANY_CODE_DATA' exporting i_bukrs = p_bukrs importing e_t001 = t001.

J_1GBUKRS_AUTH_CHECK call function 'J_1GBUKRS_AUTH_CHECK' exporting i_xdb = 'B' i_bukrs = p_bukrs.

FAGL_CHECK_IF_LEDGER_IS_GLFLEX call function 'FAGL_CHECK_IF_LEDGER_IS_GLFLEX' exporting i_rldnr = s_rldnr.

G_GET_ORGANIZATIONAL_DATA call function 'G_GET_ORGANIZATIONAL_DATA' exporting i_rldnr = g_relevant_ledger i_orgunit = p_bukrs importing organizational_info = gs_glxi exceptions no_info_found = 1 error_in_setup = 2 error_in_depld = 3 others = 4.

FAGL_AUTHORITY_LEDGER call function 'FAGL_AUTHORITY_LEDGER' exporting i_bukrs = p_bukrs i_rldnr = g_relevant_ledger i_actvt = '03'.

FAGL_AUTHORITY_LEDGER call function 'FAGL_AUTHORITY_LEDGER' exporting i_bukrs = p_bukrs i_rldnr = g_leading_ledger i_actvt = '03'.

FAGL_GET_GROUPS_WITH_LEDGER call function 'FAGL_GET_GROUPS_WITH_LEDGER' exporting i_rldnr = g_relevant_ledger tables et_ldgrp = lt_ldgrp.

DATE_TO_PERIOD_CONVERT call function 'DATE_TO_PERIOD_CONVERT' exporting i_date = s_budat-low i_periv = t001-periv importing * E_BUPER = e_gjahr = l_gjahr_from.

DATE_TO_PERIOD_CONVERT call function 'DATE_TO_PERIOD_CONVERT' exporting i_date = s_budat-high i_periv = t001-periv importing * E_BUPER = e_gjahr = l_gjahr_to.

J_1GGET_T004 call function 'J_1GGET_T004' exporting i_ktopl = l_run_actions-ktopl.

J_1GGET_STRUCTURE call function 'J_1GGET_STRUCTURE' exporting i_ktopl = l_run_actions-ktopl.

FI_CURRENCY_INFORMATION call function 'FI_CURRENCY_INFORMATION' exporting i_bukrs = p_bukrs importing e_x001 = ls_x001 exceptions currency_2_not_defined = 1 currency_3_not_defined = 2 others = 3.

FI_PERIOD_INFO_GET call function 'FI_PERIOD_INFO_GET' exporting i_bukrs = p_bukrs i_rldnr = g_relevant_ledger importing e_anzbp = l_run_actions-normal_periods e_anzsp = l_run_actions-special_periods.

G_POSTING_DATE_OF_YEAR_GET call function 'G_POSTING_DATE_OF_YEAR_GET' exporting variant = t001-periv year = p_gjahr importing from_date = l_run_actions-fyear_1stday.

GET_ACCOUNT_OF_PERIODS call function 'GET_ACCOUNT_OF_PERIODS' exporting i_gjahr = l_run_actions-gjahr i_periv = t001-periv importing e_anzbuper = l_last_period.

G_POSTING_DATE_OF_PERIOD_GET call function 'G_POSTING_DATE_OF_PERIOD_GET' exporting period = l_last_period variant = t001-periv year = l_run_actions-gjahr importing from_date = l_frdate to_date = l_todate.

DATE_TO_PERIOD_CONVERT call function 'DATE_TO_PERIOD_CONVERT' exporting i_date = s_budat-low i_periv = t001-periv importing e_buper = l_period_from.

DATE_TO_PERIOD_CONVERT call function 'DATE_TO_PERIOD_CONVERT' exporting i_date = s_budat-high i_periv = t001-periv importing e_buper = l_period_to.

J_1GSAC_AUTH_CHECK





call function 'J_1GSAC_AUTH_CHECK' exporting i_bukrs = p_bukrs i_area = 'FI' i_action = 'OFFR'.

VIEW_ENQUEUE call function 'VIEW_ENQUEUE' exporting * ACTION = 'E' enqueue_mode = 'E' view_name = 'J_1GJR_LN' * ENQUEUE_RANGE = ' ' * TABLES * SELLIST = exceptions client_reference = 1 foreign_lock = 2 invalid_action = 3 invalid_enqueue_mode = 4 system_failure = 5 table_not_found = 6 others = 7.

VIEW_ENQUEUE call function 'VIEW_ENQUEUE' exporting * ACTION = 'E' enqueue_mode = 'E' view_name = 'J_1GCONTROL' * ENQUEUE_RANGE = ' ' * TABLES * SELLIST = exceptions client_reference = 1 foreign_lock = 2 invalid_action = 3 invalid_enqueue_mode = 4 system_failure = 5 table_not_found = 6 others = 7.

ENQUEUE_EJ_1GCONTROL call function 'ENQUEUE_EJ_1GCONTROL' exporting * MODE_J_1GCONTROL = 'E' * MANDT = SY-MANDT repid = l_run_actions-repid bukrs = p_bukrs gjahr = p_gjahr * X_REPID = ' ' * X_BUKRS = ' ' * X_GJAHR = ' ' * _SCOPE = '2' * _WAIT = ' ' * _COLLECT = ' ' exceptions foreign_lock = 1 system_failure = 2 others = 3.

ENQUEUE_EJ_1GCONTROL call function 'ENQUEUE_EJ_1GCONTROL' exporting * MODE_J_1GCONTROL = 'E' * MANDT = SY-MANDT repid = l_run_actions-start_doc_prefix bukrs = p_bukrs gjahr = p_gjahr * X_REPID = ' ' * X_BUKRS = ' ' * X_GJAHR = ' ' * _SCOPE = '2' * _WAIT = ' ' * _COLLECT = ' ' exceptions foreign_lock = 1 system_failure = 2 others = 3.

G_POSTING_DATE_OF_YEAR_GET call function 'G_POSTING_DATE_OF_YEAR_GET' exporting variant = t001-periv year = p_gjahr importing from_date = l_curryear_frst to_date = l_curryear_last.

G_POSTING_DATE_OF_YEAR_GET call function 'G_POSTING_DATE_OF_YEAR_GET' exporting variant = t001-periv year = l_next_gjahr importing from_date = l_next_budat.

POPUP_TO_CONFIRM call function 'POPUP_TO_CONFIRM' exporting * TITLEBAR = ' ' * DIAGNOSE_OBJECT = ' ' text_question = l_string text_button_1 = 'Continue'(m15) icon_button_1 = 'ICON_OKAY' text_button_2 = 'Cancel'(m16) icon_button_2 = 'ICON_CANCEL' default_button = '2' display_cancel_button = ' ' * USERDEFINED_F1_HELP = ' ' * START_COLUMN = 25 * START_ROW = 6 popup_type = 'ICON_MESSAGE_WARNING' importing answer = l_answer.

DATE_TO_PERIOD_CONVERT call function 'DATE_TO_PERIOD_CONVERT' exporting i_date = l_budat i_periv = t001-periv importing e_buper = l_monat.



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