J_1AINF1 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_1AINF1 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.
Title: Common include for J_1AINFK and J_1AINFD (like J_1AINF0 in PLF/KI3)
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
J_1A_INFLATION_CALCULATION_FI CALL FUNCTION 'J_1A_INFLATION_CALCULATION_FI' EXPORTING amount = x_amount origin_tbep = time_base origin_date = i_items-start_date final_tbep = time_base final_date = i_enddate specific_index = i_items-specif_index general_index = general_index 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.
FI_CHECK_EXTENDED_WT CALL FUNCTION 'FI_CHECK_EXTENDED_WT' EXPORTING i_bukrs = i_items-bukrs EXCEPTIONS OTHERS = 1.
FI_WT_DUZI_FILL_FTPOST CALL FUNCTION 'FI_WT_DUZI_FILL_FTPOST' EXPORTING i_bukrs = i_items-bukrs i_acct = account i_koart = i_items-koart i_budat = i_budat i_count = x_counter TABLES i_bu_ftpost = xftpost.
POSTING_INTERFACE_DOCUMENT CALL FUNCTION 'POSTING_INTERFACE_DOCUMENT' EXPORTING i_tcode = 'FB01' "!!!! 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.
POSTING_INTERFACE_START CALL FUNCTION 'POSTING_INTERFACE_START' EXPORTING i_function = x_func.
J_1BSA_COMPONENT_ACTIVE CALL FUNCTION 'J_1BSA_COMPONENT_ACTIVE' EXPORTING bukrs = i_t001i-bukrs component = 'AR' EXCEPTIONS OTHERS = 1.
ENQUEUE_EJ_1AT10 CALL FUNCTION 'ENQUEUE_EJ_1AT10' EXPORTING mode_j_1ainft10 = 'E' mandt = sy-mandt j_1aapplkp = con_appl 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 EXCEPTIONS OTHERS = 1.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_internal_tabname = g_tabname_header i_structure_name = 'J_1AINALVHDR' CHANGING ct_fieldcat = i_fieldcat[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_internal_tabname = g_tabname_item i_structure_name = 'J_1AINALVITM' CHANGING ct_fieldcat = i_fieldcat[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = i_lt_events.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_page.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.