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

MJ1IIF01 SAP ABAP INCLUDE - Include MJ1IIF01







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


INCLUDES used within this REPORT MJ1IIF01

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:

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = j1ii300-pdate foreign_amount = excitm-bed foreign_currency = j1ii300-waerk local_currency = j1ii300-waers rate = excitm-kursk type_of_rate = j_1iindcus-j_1iexpexcg IMPORTING local_amount = excitm-bed EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 OTHERS = 5.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = j1ii300-pdate foreign_amount = excitm-aed foreign_currency = j1ii300-waerk local_currency = j1ii300-waers rate = excitm-kursk type_of_rate = j_1iindcus-j_1iexpexcg IMPORTING local_amount = excitm-aed EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 OTHERS = 5.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = j1ii300-pdate foreign_amount = excitm-sed foreign_currency = j1ii300-waerk local_currency = j1ii300-waers rate = excitm-kursk type_of_rate = j_1iindcus-j_1iexpexcg IMPORTING local_amount = excitm-sed EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 OTHERS = 5.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = j1ii300-pdate foreign_amount = excitm-cess foreign_currency = j1ii300-waerk local_currency = j1ii300-waers rate = excitm-kursk type_of_rate = j_1iindcus-j_1iexpexcg IMPORTING local_amount = excitm-cess EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 OTHERS = 5.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = j1ii300-pdate foreign_amount = totals-bed foreign_currency = j1ii300-waerk local_currency = j1ii300-waers rate = excitm-kursk type_of_rate = j_1iindcus-j_1iexpexcg IMPORTING local_amount = totals-bed EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 OTHERS = 5.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = j1ii300-pdate foreign_amount = totals-aed foreign_currency = j1ii300-waerk local_currency = j1ii300-waers rate = excitm-kursk type_of_rate = j_1iindcus-j_1iexpexcg IMPORTING local_amount = totals-aed EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 OTHERS = 5.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = j1ii300-pdate foreign_amount = totals-sed foreign_currency = j1ii300-waerk local_currency = j1ii300-waers rate = excitm-kursk type_of_rate = j_1iindcus-j_1iexpexcg IMPORTING local_amount = totals-sed EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 OTHERS = 5.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = j1ii300-pdate foreign_amount = totals-cess foreign_currency = j1ii300-waerk local_currency = j1ii300-waers rate = excitm-kursk type_of_rate = j_1iindcus-j_1iexpexcg IMPORTING local_amount = totals-cess EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 OTHERS = 5.

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING i_amount = totals-bed IMPORTING e_amount = totals-bed EXCEPTIONS OTHERS = 1.

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING i_amount = totals-aed IMPORTING e_amount = totals-aed EXCEPTIONS OTHERS = 1.

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING i_amount = totals-sed IMPORTING e_amount = totals-sed EXCEPTIONS OTHERS = 1.

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING i_amount = totals-cess IMPORTING e_amount = totals-cess EXCEPTIONS OTHERS = 1.

J_1I6_MODVAT_POSTING CALL FUNCTION 'J_1I6_MODVAT_POSTING' EXPORTING i_comp_code = j1ii300-bukrs i_post_date = j1ii300-pdate i_currency = j1ii300-waers i_ext_ref_doc = xblnr i_bkref_awtyp = 'VBRK' i_bkref_awref = j1ii300-vbeln IMPORTING e_awtyp = fi_awtyp e_awref = fi_awref e_aworg = fi_aworg e_blart = fi_blart TABLES i_account_info = fidoc EXCEPTIONS fiscal_period_error = 1 doc_create_failed = 2 doc_post_failed = 3 fi_posting_error = 4 OTHERS = 5.

ENQUEUE_EJ_1IEFSKB CALL FUNCTION 'ENQUEUE_EJ_1IEFSKB' EXPORTING mode_skb1 = 'X' mandt = sy-mandt bukrs = j1ii300-bukrs saknr = excacc-j_1iaccno EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

J_1I7_USEREXIT_EXCISE_BEF_SAVE CALL FUNCTION 'J_1I7_USEREXIT_EXCISE_BEF_SAVE' EXPORTING exchdr = j_1iexchdr IMPORTING exchdr = j_1iexchdr TABLES excdtl = z_1iexcdtl EXCEPTIONS OTHERS = 1.

DEQUEUE_EJ_1IEFSKB CALL FUNCTION 'DEQUEUE_EJ_1IEFSKB' EXPORTING mode_skb1 = 'X' mandt = sy-mandt bukrs = j1ii300-bukrs saknr = excacc-j_1iaccno.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = '01' object = object quantity = '1' subobject = j1ii300-sergrp toyear = idata-exyear * IGNORE_BUFFER = ' ' IMPORTING number = idata-excnum * quantity = quantity returncode = rc 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.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = j1ii300-pdate foreign_amount = excitm-excbase foreign_currency = j1ii300-waerk "document currency local_currency = j1ii300-waers * RATE = 0 rate = excitm-kursk type_of_rate = j_1iindcus-j_1iexpexcg IMPORTING local_amount = excitm-excbase EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 OTHERS = 5.

J_1I6_DETERMINE_EXCISE_RATE





CALL FUNCTION 'J_1I6_DETERMINE_EXCISE_RATE' EXPORTING bukrs = j1ii300-bukrs werks = j1ii300-werks matnr = excitm-matnr vendor = vbrk-kunag kalsm = j_1iexcdef-j_1itaxcal mwskz = j_1iexcdef-j_1itxcode tax_date = j1ii300-pdate menge = excitm-fkimg kawrt = excitm-excbase unit = excitm-meins vkorg = vbrk-vkorg vtweg = vbrk-vtweg IMPORTING exc_amount = excitm-bed exc_perc = excitm-bedrat add_amount = excitm-aed add_perc = excitm-aedrat sed_amount = excitm-sed sed_perc = excitm-sedrat cess_perc = excitm-cesrat cess_amount = excitm-cess EXCEPTIONS chapter_id_missing = 1 company_data_not_setup = 2 tax_proc_invalid = 3 excind_missing = 4 vendor_missing = 5 taxcode_invalid = 6 excise_rate_missing = 7 OTHERS = 8.

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING i_amount = totals-bed IMPORTING e_amount = totals-bed EXCEPTIONS OTHERS = 1.

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING i_amount = totals-aed IMPORTING e_amount = totals-aed EXCEPTIONS OTHERS = 1.

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING i_amount = totals-sed IMPORTING e_amount = totals-sed EXCEPTIONS OTHERS = 1.

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING i_amount = totals-cess IMPORTING e_amount = totals-cess EXCEPTIONS OTHERS = 1.

J_1I6_DETERMINE_ACCOUNT CALL FUNCTION 'J_1I6_DETERMINE_ACCOUNT' EXPORTING bukrs = j1ii300-bukrs werks = j1ii300-werks excgrp = excgrp trntyp = idata-trntyp strtyp = sheader-strtyp indicator = 'B' TABLES excacc = excacc EXCEPTIONS OTHERS = 1.

J_1I6_CALCULATE_ACCOUNT_BAL CALL FUNCTION 'J_1I6_CALCULATE_ACCOUNT_BAL' EXPORTING bukrs = j1ii300-bukrs werks = j1ii300-werks excgrp = excgrp TABLES accbal = excacc EXCEPTIONS excise_acc_notfound = 1 OTHERS = 2.

J_1I6_DETERMINE_EXC_YEAR CALL FUNCTION 'J_1I6_DETERMINE_EXC_YEAR' EXPORTING i_bukrs = j1ii300-bukrs IMPORTING excise_year = idata-exyear EXCEPTIONS miss_company = 1 OTHERS = 2.

ENQUEUE_EVVBRKE CALL FUNCTION 'ENQUEUE_EVVBRKE' EXPORTING mode_vbrk = 'E' mandt = sy-mandt vbeln = vbeln_b EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_EVVBRKE CALL FUNCTION 'DEQUEUE_EVVBRKE' EXPORTING mode_vbrk = 'E' mandt = sy-mandt vbeln = j1ii300-vbeln.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = '01' object = 'J_1IINTNUM' quantity = '1' * SUBOBJECT = ' ' toyear = idata-exyear * IGNORE_BUFFER = ' ' IMPORTING number = idata-docno * quantity = returncode = rc 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 = '01' object = object quantity = '1' subobject = j1ii300-excgrp toyear = idata-exyear * IGNORE_BUFFER = ' ' IMPORTING number = number * quantity = returncode = rc 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_1I4A_GET_EXCISE_BELNR CALL FUNCTION 'J_1I4A_GET_EXCISE_BELNR' IMPORTING AWREF = z_1ipart2-fawref AWTYP = z_1ipart2-fawtyp BLART = z_1ipart2-fablart aworg = fi_aworg .

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = msg1 textline2 = text-013 titel = text-012 IMPORTING answer = data_loss_flag EXCEPTIONS OTHERS = 1.

J_1I6_MESSAGE CALL FUNCTION 'J_1I6_MESSAGE' EXPORTING arbgb = '8I' msgnr = '652' def_msgty = 'W' EXCEPTIONS OTHERS = 1.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = text-010 textline2 = text-011 titel = text-012 IMPORTING answer = answer EXCEPTIONS OTHERS = 1.

ENQUEUE_EJ_1IEXHDR CALL FUNCTION 'ENQUEUE_EJ_1IEXHDR' EXPORTING * mode_j_1iexchdr = 'E' mandt = sy-mandt trntyp = trntyp docyr = docyr docno = docno EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_EJ_1IEXHDR CALL FUNCTION 'DEQUEUE_EJ_1IEXHDR' EXPORTING * mode_j_1iexchdr = 'E' mandt = sy-mandt trntyp = trntyp docyr = docyr docno = docno.

J_1I6_DETERMINE_ACCOUNT CALL FUNCTION 'J_1I6_DETERMINE_ACCOUNT' EXPORTING bukrs = rf05a-newbk werks = j1ii300-werks excgrp = excgrp trntyp = idata-trntyp indicator = 'B' TABLES excacc = othacc EXCEPTIONS OTHERS = 1.

J_1I6_CALCULATE_ACCOUNT_BAL CALL FUNCTION 'J_1I6_CALCULATE_ACCOUNT_BAL' EXPORTING bukrs = rf05a-newbk werks = j1ii300-werks excgrp = excgrp TABLES accbal = othacc EXCEPTIONS excise_acc_notfound = 1 OTHERS = 2.




J_1I6_CALCULATE_ACCOUNT_BAL CALL FUNCTION 'J_1I6_CALCULATE_ACCOUNT_BAL' EXPORTING bukrs = p_bukrs werks = p_werks excgrp = p_exgrp TABLES accbal = p_excacc EXCEPTIONS excise_acc_notfound = 1 OTHERS = 2.

J_1I6_DETERMINE_ACCOUNT CALL FUNCTION 'J_1I6_DETERMINE_ACCOUNT' EXPORTING bukrs = p_bukrs werks = p_werks excgrp = p_exgrp trntyp = p_trntyp indicator = 'B' TABLES excacc = p_excacc EXCEPTIONS OTHERS = 1.

HELP_VALUES_GET_WITH_DD_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_DD_TABLE' EXPORTING selectfield = 2 shfields = 230000000000000000 tabname = 'J_1IEXGRPS' title_in_list_popup = text-022 IMPORTING selectvalue = j1ii300-excgrp EXCEPTIONS field_not_in_ddic = 1 more_then_one_selectfield = 2 no_selectfield = 3 table_not_in_ddic = 4 database_error = 5 OTHERS = 6.

HELP_VALUES_GET_WITH_DD_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_DD_TABLE' EXPORTING selectfield = 2 shfields = 230000000000000000 tabname = 'J_1ISRGRPS' title_in_list_popup = text-021 IMPORTING selectvalue = j1ii300-sergrp EXCEPTIONS field_not_in_ddic = 1 more_then_one_selectfield = 2 no_selectfield = 3 table_not_in_ddic = 4 database_error = 5 OTHERS = 6.

J_1I6_CALCULATE_ACCOUNT_BAL call function 'J_1I6_CALCULATE_ACCOUNT_BAL' exporting bukrs = p_bukrs werks = p_werks excgrp = p_exgrp tables accbal = excacc exceptions excise_acc_notfound = 1 others = 2.



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