J_1AINFG 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_1AINFG into the relevant SAP transactions such as SE38 or SE80
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: CAL_BA = D Calculate by Business Area
Selection Text: DEF_PROV = D Provisional Run
Selection Text: FPER = D Start Period
Selection Text: IF_GJAHR = D Fiscal Year
Selection Text: IPER = D Period
Selection Text: IPOST = D Update Run
Selection Text: ISIMU = D Test Run
Selection Text: ISTAT = D Inflation Calculator
Selection Text: POSCALL = Post Documents Online
Selection Text: SESSNAME = D Batch Input Session ID
Selection Text: TYPEACC = Process Monetary Items
Selection Text: VALFWOI = Adjust OIs in Foreign Currency
Selection Text: ALV_VARI = D Layout
Selection Text: BUDAT = D Posting Date
Title: Inflation Adjustment of G/L Accounts
Text Symbol: H35 = List of posted adjustment documents
Text Symbol: H34 = Specific Index
Text Symbol: H33 = Adjustment Amount
Text Symbol: H32 = Line item amount
Text Symbol: H31 = Last Adjustment Date
Text Symbol: H30 = Line Item
Text Symbol: H25 = General effect
Text Symbol: H24 = Specific effect
Text Symbol: H19 = Account
Text Symbol: H51 = G/L Accounts Adjusted up to
Text Symbol: H52 = Monetary Accounts
Text Symbol: H53 = Nonmonetary Accounts
Text Symbol: H01 = BA
Text Symbol: H02 = Class
Text Symbol: H03 = Adjusted account
Text Symbol: H04 = Specific effect
Text Symbol: H05 = General effect
Text Symbol: H10 = Specific Index
Text Symbol: H11 = General Index
Text Symbol: H12 = Error List
Text Symbol: H13 = Accounts with no values to be adjusted:
Text Symbol: H14 = No values exist for the chosen fiscal year
Text Symbol: H15 = Adjustment Amount
INCLUDE J_1AFIGL.
No SAP DATABASE tables are accessed within this REPORT code!
REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = g_save CHANGING cs_variant = gx_variant EXCEPTIONS not_found = 2.
FAGL_CHECK_GLFLEX_ACTIVE CALL FUNCTION 'FAGL_CHECK_GLFLEX_ACTIVE' "boi 1288635 IMPORTING E_GLFLEX_ACTIVE = glflex_active EXCEPTIONS ERROR_IN_SETUP = 1 OTHERS = 2.
FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING I_BUKRS = sd_bukrs-low IMPORTING E_T001 = ls_t001 EXCEPTIONS SYSTEM_ERROR = 1 OTHERS = 2.
REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = g_save CHANGING cs_variant = gx_variant.
J_1A_SET_LOCK_DATE CALL FUNCTION 'J_1A_SET_LOCK_DATE' EXPORTING application_call = con_appl.
PERIOD_DAY_DETERMINE CALL FUNCTION 'PERIOD_DAY_DETERMINE' EXPORTING i_gjahr = i_year i_monat = x_monat i_periv = i_variant IMPORTING e_fday = x_first e_lday = x_last EXCEPTIONS error_period = 1 error_period_version = 2 firstday_not_defined = 3 period_not_defined = 4 OTHERS = 5.
J_1A_INFLATION_CALCULATION_FI CALL FUNCTION 'J_1A_INFLATION_CALCULATION_FI' EXPORTING amount = 0 "not used amount_long = amount_long origin_tbep = x_tbe origin_date = i_per_bal-startcalc final_tbep = x_tbe final_date = end specific_index = i_skb1i-j_1aindxsp prov_specific = def_prov general_index = i_t001i-j_1aipmng prov_general = i_def_prov IMPORTING rei = x_rei rt = x_rt EXCEPTIONS time_base_data_not_found = 1 exposure_date_not_found = 2 index_definition_not_found = 3 index_values_not_found = 4 definitive_values_not_found = 5 OTHERS = 8.
FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING i_fimsg = x_fimsg.
J_1A_INFLATION_CALCULATION_FI CALL FUNCTION 'J_1A_INFLATION_CALCULATION_FI' EXPORTING amount = 0 "not used amount_long = amount_long origin_tbep = x_tbe origin_date = i_per_bal-startcalc final_tbep = x_tbe final_date = end specific_index = i_t001i-j_1aipmng prov_specific = def_prov general_index = i_t001i-j_1aipmng prov_general = i_def_prov IMPORTING rei = x_rei EXCEPTIONS time_base_data_not_found = 1 exposure_date_not_found = 2 index_definition_not_found = 3 index_values_not_found = 4 definitive_values_not_found = 5 OTHERS = 8.
FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING i_fimsg = x_fimsg.
J_1A_INFLATION_BY_EXCHANGERATE CALL FUNCTION 'J_1A_INFLATION_BY_EXCHANGERATE' EXPORTING i_start = i_per_bal-startcalc i_end = end i_foreign_amount = i_per_bal-saldo_fw i_foreign_currency = i_fwaer i_local_currency = i_hwaer i_type_of_rate = i_t001i-j_1aertype IMPORTING exchange_rate_diff_amount = ex_diff " Note 547428 EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 OTHERS = 5.
FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING i_fimsg = x_fimsg.
CALL FUNCTION 'J_1A_INFLATION_CALCULATION_FI' EXPORTING amount = 0 "not used amount_long = amount_long origin_tbep = x_tbe origin_date = i_per_bal-startcalc final_tbep = x_tbe final_date = end specific_index = i_skb1i-j_1aindxsp prov_specific = def_prov general_index = i_t001i-j_1aipmng prov_general = def_prov IMPORTING rei = x_rei rt = x_rt EXCEPTIONS time_base_data_not_found = 1 exposure_date_not_found = 2 index_definition_not_found = 3 index_values_not_found = 4 definitive_values_not_found = 5 OTHERS = 8.
FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING i_fimsg = x_fimsg.
ENQUEUE_EJ_1AT10 CALL FUNCTION 'ENQUEUE_EJ_1AT10' EXPORTING mode_j_1ainft10 = 'E' mandt = sy-mandt j_1aapplkp = con_appl bukrs = i_bukrs EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
DEQUEUE_EJ_1AT10 CALL FUNCTION 'DEQUEUE_EJ_1AT10' EXPORTING mode_j_1ainft10 = 'E' mandt = sy-mandt j_1aapplkp = con_appl bukrs = i_bukrs EXCEPTIONS OTHERS = 1.
J_1A_INFLATION_CALCULATION_FI CALL FUNCTION 'J_1A_INFLATION_CALCULATION_FI' EXPORTING amount = 0 "not used amount_long = amount_long origin_tbep = x_tbe origin_date = i_item-j_1alinfvl final_tbep = x_tbe final_date = i_enddate specific_index = i_item-j_1aindxsp prov_specific = i_def_prov general_index = i_t001i-j_1aipmng prov_general = i_def_prov IMPORTING rei = rei_amount rt = rt_amount EXCEPTIONS time_base_data_not_found = 1 exposure_date_not_found = 2 index_definition_not_found = 3 index_values_not_found = 4 definitive_values_not_found = 5 OTHERS = 6.
FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING i_fimsg = x_fimsg.
J_1A_INFLATION_CALCULATION_FI CALL FUNCTION 'J_1A_INFLATION_CALCULATION_FI' EXPORTING amount = 0 "not used amount_long = amount_long origin_tbep = x_tbe origin_date = i_item-j_1alinfvl final_tbep = x_tbe final_date = enddate specific_index = i_t001i-j_1aipmng prov_specific = def_prov general_index = i_t001i-j_1aipmng prov_general = def_prov IMPORTING rei = rei_amount EXCEPTIONS time_base_data_not_found = 1 exposure_date_not_found = 2 index_definition_not_found = 3 index_values_not_found = 4 definitive_values_not_found = 5 OTHERS = 8.
FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING i_fimsg = x_fimsg.
J_1A_INFLATION_BY_EXCHANGERATE CALL FUNCTION 'J_1A_INFLATION_BY_EXCHANGERATE' EXPORTING i_start = i_item-j_1alinfvl i_end = enddate i_foreign_amount = i_item-wrbtr i_foreign_currency = i_item-fwaer i_local_currency = i_t001i-waers i_type_of_rate = i_t001i-j_1aertype i_no_calc_of_old_loc = x_no_calc_old " Note 547428 i_old_local_amount = i_item-dmbtr IMPORTING exchange_rate_diff_amount = ex_diff EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 OTHERS = 5.
FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING i_fimsg = x_fimsg.
J_1A_INFLATION_CALCULATION_FI CALL FUNCTION 'J_1A_INFLATION_CALCULATION_FI' EXPORTING amount = 0 "not used amount_long = amount_long origin_tbep = x_tbe origin_date = i_item-j_1alinfvl final_tbep = x_tbe final_date = enddate specific_index = i_item-j_1aindxsp prov_specific = i_def_prov general_index = i_t001i-j_1aipmng prov_general = i_def_prov IMPORTING rei = rei_amount rt = rt_amount EXCEPTIONS time_base_data_not_found = 1 exposure_date_not_found = 2 index_definition_not_found = 3 index_values_not_found = 4 definitive_values_not_found = 5 OTHERS = 6.
FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING i_fimsg = x_fimsg.
POSTING_INTERFACE_END CALL FUNCTION 'POSTING_INTERFACE_END'.
POSTING_INTERFACE_START CALL FUNCTION 'POSTING_INTERFACE_START' EXPORTING i_function = function i_group = group i_user = sy-uname.
FAGL_GET_LEDGER_FROM_GROUP CALL FUNCTION 'FAGL_GET_LEDGER_FROM_GROUP' EXPORTING I_LDGRP = ls_ldgrp-ldgrp IMPORTING ET_LEDGER = lt_ledger EXCEPTIONS ERROR_IN_LEDGERGROUP = 1 OTHERS = 2.
POSTING_INTERFACE_DOCUMENT CALL FUNCTION 'POSTING_INTERFACE_DOCUMENT' EXPORTING i_tcode = 'FBB1' IMPORTING e_msgid = sy-msgid e_msgno = sy-msgno e_msgty = sy-msgty e_msgv1 = sy-msgv1 e_msgv2 = sy-msgv2 e_msgv3 = sy-msgv3 e_msgv4 = sy-msgv4 e_subrc = x_subrc TABLES t_blntab = xblntab t_ftpost = xftpost t_fttax = xfttax EXCEPTIONS account_missing = 1 company_code_missing = 2 posting_key_invalid = 3 posting_key_missing = 4 record_type_invalid = 5 transaction_code_invalid = 6 amount_format_error = 7 too_many_line_items = 8 OTHERS = 9.
FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING i_fimsg = x_fimsg.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_internal_tabname = g_tabname_header i_structure_name = 'J_1AIFALVHDR' CHANGING ct_fieldcat = i_fieldcat[].
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_internal_tabname = g_tabname_item i_structure_name = 'J_1AIFALVITM' CHANGING ct_fieldcat = i_fieldcat[].
REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = g_variant i_save = g_save i_tabname_header = g_tabname_header i_tabname_item = g_tabname_item IMPORTING e_exit = g_exit es_variant = gx_variant EXCEPTIONS not_found = 2.
REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = g_pf_formname i_callback_user_command = g_formname is_layout = gs_layout it_fieldcat = gt_fieldcat[] i_save = g_save is_variant = g_variant it_events = gt_events[] i_tabname_header = g_tabname_header i_tabname_item = g_tabname_item is_keyinfo = gs_keyinfo TABLES t_outtab_header = int_ifalvhdr t_outtab_item = int_ifalvitm.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = g_pf_detail_formname i_structure_name = 'J_1AIFALVDET' i_screen_start_column = '5' i_screen_start_line = '2' i_screen_end_column = x_scols i_screen_end_line = '20' TABLES t_outtab = int_j_1aifalvdet.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = g_pf_detail_formname i_structure_name = 'J_1AIFSKVZ' i_screen_start_column = '10' i_screen_start_line = '5' i_screen_end_column = '70' i_screen_end_line = '20' TABLES t_outtab = int_j_1aifskvz.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = g_pf_detail_formname i_structure_name = 'BLNTAB' i_screen_start_column = '10' i_screen_start_line = '5' i_screen_end_column = '50' i_screen_end_line = '20' TABLES t_outtab = xblntab.
FI_MESSAGE_GET CALL FUNCTION 'FI_MESSAGE_GET' TABLES t_fimsg = int_fimsg EXCEPTIONS no_message = 1.
WRITE_MESSAGE CALL FUNCTION 'WRITE_MESSAGE' EXPORTING msgid = int_fimsg-msgid msgno = int_fimsg-msgno msgty = int_fimsg-msgty msgv1 = int_fimsg-msgv1 msgv2 = int_fimsg-msgv2 msgv3 = int_fimsg-msgv3 msgv4 = int_fimsg-msgv4 msgv5 = space IMPORTING messg = x_message.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = g_pf_detail_formname i_structure_name = 'J_1AIFALVMES' i_screen_start_column = '10' i_screen_start_line = '5' i_screen_end_column = x_scols i_screen_end_line = '20' TABLES t_outtab = int_j_1aifalvmes.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_page.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = i_lt_events.
J_1A_INFMET_DATA_GET CALL FUNCTION 'J_1A_INFMET_DATA_GET' EXPORTING I_INFMT = xt001i-infmt I_LAND1 = xt001i-land1 IMPORTING E_INFMT = j_1ainfmet EXCEPTIONS NO_RECORD_FOUND = 1 WRONG_INPUT_DATA = 2 OTHERS = 3.
FAGL_GET_LEADING_LEDGER CALL FUNCTION 'FAGL_GET_LEADING_LEDGER' EXPORTING I_CLIENT = SY-MANDT IMPORTING E_RLDNR = ledger EXCEPTIONS NOT_FOUND = 1 MORE_THAN_ONE = 2 OTHERS = 3.
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_1AINFG or its description.
J_1AINFG - Inflation Adjustment of G/L Accounts J_1AINFG - Inflation Adjustment of G/L Accounts J_1AINFD - Inflation Adjustment of Open Receivables in Local Currency J_1AINFD - Inflation Adjustment of Open Receivables in Local Currency J_1AINF1 - Common include for J_1AINFK and J_1AINFD (like J_1AINF0 in PLF/KI3) J_1AIDX_ALV_SUBROUTINES - J1AIDXALVSUBROUTINES