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

MJ1IWF01 SAP ABAP INCLUDE - Include MJ1I9F01 - Sub-Routines For SAPMJ1IA







MJ1IWF01 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 MJ1IWF01 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 MJ1IWF01. "Basic submit
SUBMIT MJ1IWF01 AND RETURN. "Return to original report after report execution complete
SUBMIT MJ1IWF01 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 MJ1I9F01 - Sub-Routines For SAPMJ1IA


INCLUDES used within this REPORT MJ1IWF01

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 = t_item-excise_bed IMPORTING e_amount = t_item-excise_bed EXCEPTIONS OTHERS = 1.

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING i_amount = t_item-excise_sed IMPORTING e_amount = t_item-excise_sed EXCEPTIONS OTHERS = 1.

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING i_amount = t_item-excise_aed IMPORTING e_amount = t_item-excise_aed EXCEPTIONS OTHERS = 1.

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

J_1I6_MESSAGE CALL FUNCTION 'J_1I6_MESSAGE' EXPORTING arbgb = '8I' msgnr = '577' def_msgty = 'W'.

J_1I6_DETERMINE_EXC_YEAR CALL FUNCTION 'J_1I6_DETERMINE_EXC_YEAR' EXPORTING i_bukrs = v_bukrs IMPORTING excise_year = v_excise_year EXCEPTIONS miss_company = 1 OTHERS = 2.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = '01' object = 'J_1IINTNUM' toyear = v_excise_year IMPORTING number = t_header-docno returncode = v_return_code 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_1I7_USEREXIT_EXCISE_AFT_SAVE CALL FUNCTION 'J_1I7_USEREXIT_EXCISE_AFT_SAVE' EXPORTING exchdr = j_1iexchdr TABLES excdtl = z_1iexcdtl EXCEPTIONS OTHERS = 1.

POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING popup_title = text-004 "'Item Number' IMPORTING returncode = v_return_code TABLES fields = t_sval EXCEPTIONS error_in_fields = 1 OTHERS = 2.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = v_defaultoption textline1 = v_textline1 textline2 = v_textline2 titel = v_title * START_COLUMN = 25 * START_ROW = 6 IMPORTING answer = v_answer EXCEPTIONS OTHERS = 1.

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

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

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

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING i_amount = t_item-excise_bed IMPORTING e_amount = t_item-excise_bed EXCEPTIONS OTHERS = 1.

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING i_amount = t_item-excise_sed IMPORTING e_amount = t_item-excise_sed EXCEPTIONS OTHERS = 1.

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING i_amount = t_item-excise_aed IMPORTING e_amount = t_item-excise_aed EXCEPTIONS OTHERS = 1.

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

DEQUEUE_EJ_1IEXHDR CALL FUNCTION 'DEQUEUE_EJ_1IEXHDR' EXPORTING mandt = sy-mandt trntyp = t_header-trntyp docyr = t_header-docyr docno = t_header-docno EXCEPTIONS OTHERS = 1.

ENQUEUE_EJ_1IEXDTL





CALL FUNCTION 'ENQUEUE_EJ_1IEXDTL' EXPORTING mandt = sy-mandt trntyp = t_header-trntyp docyr = t_header-docyr docno = t_header-docno zeile = j_1iexcdtl-zeile EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_EJ_1IEXDTL CALL FUNCTION 'DEQUEUE_EJ_1IEXDTL' EXPORTING * MODE_J_1IEXCDTL = 'E' mandt = sy-mandt trntyp = t_header-trntyp docyr = t_header-docyr docno = t_header-docno zeile = j_1iexcdtl-zeile 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 MJ1IWF01 or its description.