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

MJ1IFNF01 SAP ABAP INCLUDE - Include MJ1IFNF01







MJ1IFNF01 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 MJ1IFNF01 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 MJ1IFNF01. "Basic submit
SUBMIT MJ1IFNF01 AND RETURN. "Return to original report after report execution complete
SUBMIT MJ1IFNF01 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 MJ1IFNF01


INCLUDES used within this REPORT MJ1IFNF01

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:

J_1I6_DETERMINE_EXC_YEAR CALL FUNCTION 'J_1I6_DETERMINE_EXC_YEAR' EXPORTING i_bukrs = wa_INDCUS-j_1ibukrs i_budat = j_1iexchdr-budat "insert IMPORTING excise_year = wa_exchdr-exyear EXCEPTIONS MISS_COMPANY = 1 OTHERS = 2.

J_1I6_CALCULATE_ACCOUNT_BAL CALL FUNCTION 'J_1I6_CALCULATE_ACCOUNT_BAL' EXPORTING bukrs = wa_org-bukrs werks = wa_org-werks excgrp = wa_org-excgrp TABLES accbal = itab_excacc EXCEPTIONS excise_acc_notfound = 1.

J_1I6_UNIT_CONVERSION CALL FUNCTION 'J_1I6_UNIT_CONVERSION' EXPORTING matnr_imp = exsl_excinv-matnr unit_new_imp = wa_excdtl-meins unit_old_imp = exsl_excinv-meins value_old_imp = exsl_excinv-credit_qty IMPORTING value_new_exp = exsl_excinv-credit_qty EXCEPTIONS overflow = 1 OTHERS = 2.

J_1I6_DETERMINE_ACCOUNT CALL FUNCTION 'J_1I6_DETERMINE_ACCOUNT' EXPORTING bukrs = wa_exchdr-bukrs werks = wa_exchdr-werks excgrp = wa_exchdr-exgrp trntyp = WA_EXCHDR-TRNTYP STRTYP = wa_exchdr-strtyp indicator = 'D' " PLA & RG23A TABLES excacc = itab_excacc EXCEPTIONS OTHERS = 1.

J_1I6_DETERMINE_EXC_YEAR CALL FUNCTION 'J_1I6_DETERMINE_EXC_YEAR' EXPORTING i_bukrs = wa_exchdr-bukrs i_budat = j_1iexchdr-budat "insert IMPORTING excise_year = wa_exchdr-exyear EXCEPTIONS MISS_COMPANY = 1 OTHERS = 2.

J_1I6_MESSAGE call function 'J_1I6_MESSAGE' EXPORTING arbgb = '8I' msgnr = '257' def_msgty = 'W' msgtx1 = msg_text EXCEPTIONS others = 1.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = wa_subatt-j_1inrobj object = num-object quantity = '1' subobject = num-subobject toyear = num-toyear * IGNORE_BUFFER = ' ' IMPORTING number = wa_exchdr-exnum quantity = num-quantity returncode = num-returncode 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.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = wa_subatt-j_1inrobj object = num-object quantity = '1' toyear = num-toyear IMPORTING number = wa_exchdr-docno quantity = num-quantity returncode = num-returncode 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.

J_1I6_MODVAT_POSTING CALL FUNCTION 'J_1I6_MODVAT_POSTING' EXPORTING i_comp_code = wa_exchdr-bukrs i_currency = wa_exchdr-excur i_ext_ref_doc = modpost-fi_xblnr i_post_date = wa_exchdr-budat IMPORTING e_awtyp = modpost-fi_awtyp e_awref = modpost-fi_awref e_aworg = modpost-fi_aworg e_blart = modpost-fi_blart TABLES i_account_info = t_mdvt_posting_tab EXCEPTIONS fiscal_period_error = 1 doc_create_failed = 2 doc_post_failed = 3 fi_posting_error = 4 OTHERS = 5.

J_1I6_DETERMINE_EXC_YEAR CALL FUNCTION 'J_1I6_DETERMINE_EXC_YEAR' EXPORTING i_bukrs = wa_exchdr-bukrs i_budat = part2-budat IMPORTING excise_year = part2-syear EXCEPTIONS miss_company = 1 OTHERS = 2.

J_1I6_DETERMINE_EXC_YEAR CALL FUNCTION 'J_1I6_DETERMINE_EXC_YEAR' EXPORTING i_bukrs = wa_exchdr-bukrs i_budat = l_date IMPORTING excise_year = num-toyear EXCEPTIONS miss_company = 1 OTHERS = 2.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = '01' object = num-object quantity = '1' subobject = num-subobject toyear = num-toyear * IGNORE_BUFFER = ' ' IMPORTING number = part2-serialno quantity = num-quantity returncode = num-returncode 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_CONTINUE_YES_NO CALL FUNCTION 'POPUP_CONTINUE_YES_NO' EXPORTING DEFAULTOPTION = 'N' TEXTLINE1 = 'Delete Document?' "#EC NOTEXT TITEL = 'Subcontracting ' IMPORTING answer = FLAG_DELE.



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