SAP Reports / Programs | Financial Accounting | Localization(FI-LOC) SAP FI

J_2IFORM SAP ABAP INCLUDE - Include J_2IFORM







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


Text pool values


Title: Include J_2IFORM


INCLUDES used within this REPORT J_2IFORM

INCLUDE J_2ICAPI.
INCLUDE J_2ICAPO.


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:

J_1I6_UNIT_CONVERSION CALL FUNCTION 'J_1I6_UNIT_CONVERSION' EXPORTING matnr_imp = reg23a1_tab-matnr unit_new_imp = lv_meins unit_old_imp = reg23a1_tab-meins value_old_imp = reg23a1_tab-menge IMPORTING value_new_exp = reg23a1_tab-menge EXCEPTIONS overflow = 1 OTHERS = 2.

GET_VENDOR_DETAILS call function 'GET_VENDOR_DETAILS' exporting i_lifnr = i_rg23part1-i_part1_typ-lifnr i_get_address = on importing e_lfa1 = lfa1 e_name = i_rg23part1-i_part1_typ-lfa1-name1 e_addr1 = i_rg23part1-i_part1_typ-lfa1-addr1 e_addr2 = i_rg23part1-i_part1_typ-lfa1-addr2 e_addr3 = i_rg23part1-i_part1_typ-lfa1-addr3 e_addr4 = i_rg23part1-i_part1_typ-lfa1-addr4 exceptions not_found = 1 parameter_error = 2 others = 3.

FILL_BALANCE_RG23AC call function 'FILL_BALANCE_RG23AC' exporting i_datum = reg23a1_tab-cpudt i_exgrp = i_rg23part1-i_ext_key_typ-exgrp i_werks = '' i_capind = '' i_matnr = i_rg23part1-i_part1_typ-matnr i_menge = i_rg23part1-i_part1_typ-menge i_risind = i_rg23part1-i_part1_typ-risind importing e_balqty = i_rg23part1-i_part1_typ-balqty exceptions not_found = 1 parameter_error = 2 error_occured = 3 others = 4.

FILL_BALANCE_RG23AC call function 'FILL_BALANCE_RG23AC' exporting i_datum = reg23a1_tab-cpudt i_exgrp = i_rg23part1-i_ext_key_typ-exgrp i_werks = '' i_capind = '' i_matnr = i_rg23part1-i_part1_typ-matnr i_menge = reg23a1_tab-menge i_risind = i_rg23part1-i_part1_typ-risind importing e_balqty = i_rg23part1-i_part1_typ-balqty exceptions not_found = 1 parameter_error = 2 error_occured = 3 others = 4.

RECONCILE_STOCK_RG23AC call function 'RECONCILE_STOCK_RG23AC' exporting i_exgrp = p_exgrp i_register = c_rg23a1 i_datum = p_stdate exceptions parameter_error = 1 reconcilation_failed = 2 others = 3.

GET_PLANT_DETAILS call function 'GET_PLANT_DETAILS' exporting *>>>AJ * I_WERKS = WA_EXCDTL-WERKS i_werks = it_exc_tmp-werks *<<

GET_EXCISE_DETAILS * CALL FUNCTION 'GET_EXCISE_DETAILS' * EXPORTING * I_WERKS = I_J_1IRG23D-WERKS * IMPORTING * E_REGSET = J_1IREGSET * EXCEPTIONS * NOT_FOUND = 1 * PARAMETER_ERROR = 2 * OTHERS = 3.

GET_EXCISE_DETAILS call function 'GET_EXCISE_DETAILS' exporting I_LIFNR = I_J_1IRG23D-LIFNR importing E_MOVEND = j_1imovend "N1710328 exceptions not_found = 1 parameter_error = 2 others = 3.

GET_VENDOR_DETAILS call function 'GET_VENDOR_DETAILS' exporting *>>>AJ * I_LIFNR = J_1IEXCDTL-LIFNR * I_LIFNR = IT_EXCDTL_D-LIFNR *<<

GET_EXCISE_DETAILS CALL FUNCTION 'GET_EXCISE_DETAILS' EXPORTING I_LIFNR = I_J_1IRG23D-LIFNR IMPORTING E_MOVEND = j_1imovend "N1710328 EXCEPTIONS not_found = 1 parameter_error = 2 OTHERS = 3.

GET_EXCISE_DETAILS call function 'GET_EXCISE_DETAILS' exporting i_kunnr = i_likp-kunnr importing e_mocust = j_1imocust exceptions not_found = 1 parameter_error = 2 others = 3.

GET_EXCISE_DETAILS call function 'GET_EXCISE_DETAILS' exporting i_kunnr = i_likp-kunag importing e_mocust = j_1imocust exceptions not_found = 1 parameter_error = 2 others = 3.

GET_VENDOR_DETAILS call function 'GET_VENDOR_DETAILS' exporting *>>>AJ * I_LIFNR = MSEG-LIFNR i_lifnr = it_mseg-lifnr *<<

RECONCILE_STOCK_RG23AC call function 'RECONCILE_STOCK_RG23AC' exporting i_exgrp = p_exgrp i_register = c_rg23c1 i_datum = p_stdate exceptions parameter_error = 1 reconcilation_failed = 2 others = 3.

J_1I6_UNIT_CONVERSION CALL FUNCTION 'J_1I6_UNIT_CONVERSION' EXPORTING matnr_imp = $reg23c1_tab-matnr unit_new_imp = lv_meins unit_old_imp = $reg23c1_tab-meins value_old_imp = $reg23c1_tab-menge IMPORTING value_new_exp = $reg23c1_tab-menge EXCEPTIONS overflow = 1 OTHERS = 2.

GET_VENDOR_DETAILS call function 'GET_VENDOR_DETAILS' exporting i_lifnr = $part1-lifnr i_get_address = on importing e_lfa1 = lfa1 e_name = $part1-lfa1-name1 e_addr1 = $part1-lfa1-addr1 e_addr2 = $part1-lfa1-addr2 e_addr3 = $part1-lfa1-addr3 e_addr4 = $part1-lfa1-addr4 exceptions not_found = 1 parameter_error = 2 others = 3.

FILL_BALANCE_RG23AC call function 'FILL_BALANCE_RG23AC' exporting i_datum = $t_merge-cpudt i_exgrp = $t_merge-exgrp i_werks = $t_merge-werks i_capind = 'C' i_matnr = $t_merge-matnr i_menge = $t_merge-balqty i_risind = $t_merge-risind importing e_balqty = $t_merge-balqty exceptions not_found = 1 parameter_error = 2 error_occured = 3 others = 4.

FILL_BALANCE_RG23AC call function 'FILL_BALANCE_RG23AC' exporting i_datum = $t_merge-cpudt i_exgrp = $t_merge-exgrp i_werks = $t_merge-werks i_capind = 'C' i_matnr = $t_merge-matnr i_menge = $t_merge-balqty i_risind = $t_merge-risind importing e_balqty = $t_merge-balqty exceptions not_found = 1 parameter_error = 2 error_occured = 3 others = 4.

RECONCILE_STOCK_RG1





call function 'RECONCILE_STOCK_RG1' exporting i_exgrp = p_exgrp i_register = c_rg1 i_datum = p_stdate tables t_recon_rg1 = recon_rg1 exceptions parameter_error = 1 reconcilation_failed = 2 others = 3.

GET_BALANCE_RG1 call function 'GET_BALANCE_RG1' exporting i_datum = $datum i_exgrp = $exgrp i_matnr = $matnr i_form = $form i_func = c_rcpt importing e_rg1bal = j_2irg1bal exceptions not_found = 1 parameter_error = 2 error_occured = 3 others = 4.

GET_BALANCE_RG1 call function 'GET_BALANCE_RG1' exporting i_datum = $datum i_exgrp = $exgrp i_matnr = $matnr i_form = $form i_func = 'C' importing e_rg1bal = j_2irg1bal exceptions not_found = 1 parameter_error = 2 error_occured = 3 others = 4.

INSERT_DUMMY_RG1 call function 'INSERT_DUMMY_RG1' exporting i_exgrp = $exgrp i_datum = $datum i_matnr = $matnr i_form = $form importing e_rg1bal = j_2irg1bal exceptions parameter_error = 1 create_failed = 2 others = 3.

GET_BALANCE_RG1 call function 'GET_BALANCE_RG1' exporting i_datum = $datum i_exgrp = $exgrp i_matnr = $matnr i_form = $form i_func = 'U' i_rg1bal = j_2irg1bal exceptions not_found = 1 parameter_error = 2 error_occured = 3 others = 4.

POPUP_WITH_TABLE_DISPLAY_OK call function 'POPUP_WITH_TABLE_DISPLAY_OK' exporting endpos_col = 50 endpos_row = 20 startpos_col = 20 startpos_row = 10 titletext = text-025 tables valuetab = i_extrct_fail_msg exceptions break_off = 1 others = 2.

J_1I6_DETERMINE_EXC_YEAR call function 'J_1I6_DETERMINE_EXC_YEAR' exporting i_bukrs = t001k-bukrs importing excise_year = syear exceptions miss_company = 1 others = 2.

NUMBER_GET_NEXT call function 'NUMBER_GET_NEXT' exporting nr_range_nr = '01' object = 'J_1ICONPLA' * subobject = reg23p2_tab-exgrp toyear = syear importing number = i_rg23part2-i_ext_key_typ-serialno returncode = rccode exceptions interval_not_found = 1 number_range_not_intern = 2 object_not_found = 3 quantity_is_0 = 4 quantity_is_not_1 = 5 interval_overflow = 6 others = 7.

POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' exporting defaultoption = 'Y' textline1 = m_text1 textline2 = m_text2 titel = text-029 importing answer = answer exceptions others = 1.

POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' exporting defaultoption = 'Y' textline1 = m_text1 textline2 = m_text2 titel = text-029 importing answer = answer exceptions others = 1.



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