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

MJ1IHF01 SAP ABAP INCLUDE - documentation and ABAP source code







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


INCLUDES used within this REPORT MJ1IHF01

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_ROUND_TO_NEAREST_AMT call function 'J_1I6_ROUND_TO_NEAREST_AMT' exporting i_amount = postamt importing e_amount = postamt exceptions others = 1.

J_1I6_ROUND_TO_NEAREST_AMT call function 'J_1I6_ROUND_TO_NEAREST_AMT' exporting i_amount = jv_header-totbed importing e_amount = jv_header-totbed exceptions others = 1.

J_1I6_ROUND_TO_NEAREST_AMT call function 'J_1I6_ROUND_TO_NEAREST_AMT' exporting i_amount = jv_header-totaed importing e_amount = jv_header-totaed exceptions others = 1.

J_1I6_ROUND_TO_NEAREST_AMT call function 'J_1I6_ROUND_TO_NEAREST_AMT' exporting i_amount = jv_header-totsed importing e_amount = jv_header-totsed exceptions others = 1.

J_1I6_ROUND_TO_NEAREST_AMT call function 'J_1I6_ROUND_TO_NEAREST_AMT' exporting i_amount = jv_header-cess importing e_amount = jv_header-cess exceptions others = 1.

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING I_AMOUNT = JV_HEADER-TOTNCCD IMPORTING E_AMOUNT = JV_HEADER-TOTNCCD EXCEPTIONS OTHERS = 1.

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING I_AMOUNT = JV_HEADER-TOTTAX1 IMPORTING E_AMOUNT = JV_HEADER-TOTTAX1 EXCEPTIONS OTHERS = 1.

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING I_AMOUNT = JV_HEADER-TOTTAX2 IMPORTING E_AMOUNT = JV_HEADER-TOTTAX2 EXCEPTIONS OTHERS = 1.

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING I_AMOUNT = JV_HEADER-TOTTAX3 IMPORTING E_AMOUNT = JV_HEADER-TOTTAX3 EXCEPTIONS OTHERS = 1.

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING I_AMOUNT = JV_HEADER-TOTECS IMPORTING E_AMOUNT = JV_HEADER-TOTECS EXCEPTIONS OTHERS = 1.

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING i_amount = postamt IMPORTING e_amount = postamt EXCEPTIONS OTHERS = 1.

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING i_amount = jv_header-totbed IMPORTING e_amount = jv_header-totbed EXCEPTIONS OTHERS = 1.

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING i_amount = jv_header-totaed IMPORTING e_amount = jv_header-totaed EXCEPTIONS OTHERS = 1.

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING i_amount = jv_header-totsed IMPORTING e_amount = jv_header-totsed EXCEPTIONS OTHERS = 1.

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

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING I_AMOUNT = JV_HEADER-TOTTAX1 IMPORTING E_AMOUNT = JV_HEADER-TOTTAX1 EXCEPTIONS OTHERS = 1.

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING I_AMOUNT = JV_HEADER-TOTTAX2 IMPORTING E_AMOUNT = JV_HEADER-TOTTAX2 EXCEPTIONS OTHERS = 1.

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING I_AMOUNT = JV_HEADER-TOTTAX3 IMPORTING E_AMOUNT = JV_HEADER-TOTTAX3 EXCEPTIONS OTHERS = 1.

J_1I6_ROUND_TO_NEAREST_AMT





CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING I_AMOUNT = JV_HEADER-TOTNCCD IMPORTING E_AMOUNT = JV_HEADER-TOTNCCD EXCEPTIONS OTHERS = 1.

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING I_AMOUNT = JV_HEADER-TOTECS IMPORTING E_AMOUNT = JV_HEADER-TOTECS EXCEPTIONS OTHERS = 1.

J_1I6_MODVAT_POSTING CALL FUNCTION 'J_1I6_MODVAT_POSTING' EXPORTING i_comp_code = mseg-bukrs i_post_date = mkpf-budat i_currency = t001-waers i_ext_ref_doc = reference_doc i_bkref_awtyp = 'VBRK' i_bkref_awref = lv_vbeln i_doc_date = jv_header-document_date "Note 1376295 IMPORTING e_awtyp = fi_awtyp e_awref = fi_awref e_aworg = fi_aworg e_blart = fi_blart TABLES i_account_info = 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 = jv_header-bukrs i_budat = mkpf-budat IMPORTING excise_year = v_excise_year EXCEPTIONS miss_company = 1.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = '01' object = object quantity = '1' toyear = v_excise_year IMPORTING number = v_excise_invoice_no quantity = quantity returncode = return 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_UNIT_CONVERSION CALL FUNCTION 'J_1I6_UNIT_CONVERSION' EXPORTING matnr_imp = jv_excinv-matnr unit_new_imp = jv_excinv-meins unit_old_imp = jv_item-meins value_old_imp = jv_item-menge IMPORTING value_new_exp = l_menge EXCEPTIONS overflow = 1 OTHERS = 2.

J_1I6_COSTING_DOC_DATA CALL FUNCTION 'J_1I6_COSTING_DOC_DATA' EXPORTING bukrs = jv_header-bukrs TABLES acctab = jv_glaccts EXCEPTIONS OTHERS = 1.

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING i_amount = jv_header-totbed IMPORTING e_amount = jv_header-totbed EXCEPTIONS OTHERS = 1.

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING i_amount = jv_header-totaed IMPORTING e_amount = jv_header-totaed EXCEPTIONS OTHERS = 1.

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING i_amount = jv_header-totsed IMPORTING e_amount = jv_header-totsed EXCEPTIONS OTHERS = 1.

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

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING I_AMOUNT = JV_HEADER-TOTTAX1 IMPORTING E_AMOUNT = JV_HEADER-TOTTAX1 EXCEPTIONS OTHERS = 1.

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING I_AMOUNT = JV_HEADER-TOTTAX2 IMPORTING E_AMOUNT = JV_HEADER-TOTTAX2 EXCEPTIONS OTHERS = 1.

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING I_AMOUNT = JV_HEADER-TOTTAX3 IMPORTING E_AMOUNT = JV_HEADER-TOTTAX3 EXCEPTIONS OTHERS = 1.

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING I_AMOUNT = JV_HEADER-TOTECS IMPORTING E_AMOUNT = JV_HEADER-TOTECS EXCEPTIONS OTHERS = 1.

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING I_AMOUNT = JV_HEADER-TOTNCCD IMPORTING E_AMOUNT = JV_HEADER-TOTNCCD EXCEPTIONS OTHERS = 1.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = '01' object = object quantity = '1' subobject = subobj toyear = v_excise_year IMPORTING number = v_partii_no quantity = quantity returncode = return 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_DETERMINE_ACCOUNT CALL FUNCTION 'J_1I6_DETERMINE_ACCOUNT' EXPORTING bukrs = mseg-bukrs werks = mseg-werks excgrp = v_excgrp trntyp = tmp_trntyp strtyp = v_strtyp indicator = v_acct1 TABLES excacc = jv_glaccts 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 textline1 = text-009 textline2 = text-010 titel = text-008 IMPORTING answer = wrk_answer EXCEPTIONS OTHERS = 1.




J_1I4A_GET_EXCISE_BELNR CALL FUNCTION 'J_1I4A_GET_EXCISE_BELNR' IMPORTING awref = fi_awref awtyp = fi_awtyp blart = fi_blart gjahr = fi_fayear.

J_1I6_CALCULATE_ACCOUNT_BAL CALL FUNCTION 'J_1I6_CALCULATE_ACCOUNT_BAL' EXPORTING bukrs = mseg-bukrs werks = mseg-werks excgrp = v_excgrp TABLES accbal = jv_glaccts EXCEPTIONS excise_acc_notfound = 1 OTHERS = 2.

J_1I6_DETERMINE_EXC_YEAR CALL FUNCTION 'J_1I6_DETERMINE_EXC_YEAR' EXPORTING I_BUKRS = jv_header-bukrs I_BUDAT = mkpf-budat IMPORTING EXCISE_YEAR = jv_header-document_year EXCEPTIONS MISS_COMPANY = 1.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'Y' textline1 = ' ' textline2 = v_message titel = text-006 IMPORTING answer = v_answer EXCEPTIONS OTHERS = 1.

J_1I6_MESSAGE CALL FUNCTION 'J_1I6_MESSAGE' EXPORTING ARBGB = '8I' MSGNR = '413' DEF_MSGTY = 'I' MSGTX1 = MSGTX1 EXCEPTIONS OTHERS = 1.

J_1I6_MESSAGE CALL FUNCTION 'J_1I6_MESSAGE' EXPORTING arbgb = '8I' msgnr = '448' msgtx1 = msgtx1 msgtx2 = msgtx2 EXCEPTIONS OTHERS = 1.

J_1I6_MESSAGE CALL FUNCTION 'J_1I6_MESSAGE' EXPORTING arbgb = '8I' msgnr = '449' msgtx1 = msgtx1 EXCEPTIONS OTHERS = 1.

J_1I6_DISPLAY_PART1_PART2 CALL FUNCTION 'J_1I6_DISPLAY_PART1_PART2' EXPORTING bukrs = jv_header-bukrs trntyp = v_trans_type docno = v_docno docyr = v_docyr EXCEPTIONS OTHERS = 1.

RV_CONDITION_SAVE CALL FUNCTION 'RV_CONDITION_SAVE'.

RV_CONDITION_RESET CALL FUNCTION 'RV_CONDITION_RESET'.

RV_CONDITION_COPY CALL FUNCTION 'RV_CONDITION_COPY' EXPORTING application = 'V' condition_table = '372' condition_type = exc_cond-kschl date_from = date_from date_to = date_to enqueue = 'X' key_fields = komg maintain_mode = 'A' no_authority_check = 'X' no_field_check = 'X' no_db_update = 'X' overlap_confirmed = 'X' TABLES copy_records = xkomv EXCEPTIONS enqueue_on_record = 1 invalid_application = 2 invalid_condition_number = 3 invalid_condition_type = 4 no_authority_ekorg = 5 no_authority_kschl = 6 no_authority_vkorg = 7 no_selection = 8 table_not_valid = 9 no_material_for_settlement = 10 no_unit_for_period_cond = 11 no_unit_reference_magnitude = 12 invalid_condition_table = 13 OTHERS = 14.

ENQUEUE_EJ_1IEX CALL FUNCTION 'ENQUEUE_EJ_1IEX' EXPORTING mode_j_1iexchdr = 'E' mode_j_1iexcdtl = 'E' mandt = sy-mandt trntyp = 'DLFC' docyr = j_1iexchdr-docyr docno = j_1iexchdr-docno EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_EJ_1IEX CALL FUNCTION 'DEQUEUE_EJ_1IEX' EXPORTING mode_j_1iexchdr = 'E' mode_j_1iexcdtl = 'E' mandt = sy-mandt trntyp = 'DLFC' docyr = j_1iexchdr-docyr docno = j_1iexchdr-docno.

POPUP_GET_SELECTION_FROM_LIST CALL FUNCTION 'POPUP_GET_SELECTION_FROM_LIST' EXPORTING * DISPLAY_ONLY = ' ' table_name = 'J_1IEXCPOP' title_bar = text-014 TABLES list = lt_j1iexcpop * FUNCTIONS = EXCEPTIONS no_tablefields_in_dictionary = 1 no_table_structure = 2 no_title_bar = 3 OTHERS = 4.

J_1I6_CALCULATE_ACCOUNT_BAL CALL FUNCTION 'J_1I6_CALCULATE_ACCOUNT_BAL' EXPORTING bukrs = mseg-bukrs werks = mseg-werks excgrp = v_excgrp TABLES accbal = jv_glaccts EXCEPTIONS excise_acc_notfound = 1 OTHERS = 2.

J_1I6_MESSAGE CALL FUNCTION 'J_1I6_MESSAGE' EXPORTING arbgb = '8I' msgnr = '634' def_msgty = 'W' msgtx1 = message_text.



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