SAP Reports / Programs | Industry Solution Oil | Industry Solution Oil(IS-OIL) SAP IS

MOIB_DEFF01 SAP ABAP INCLUDE - Include MOIB_DEFF02







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


INCLUDES used within this REPORT MOIB_DEFF01

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:

ENQUEUE_E_DEF_INDEX_GM CALL FUNCTION 'ENQUEUE_E_DEF_INDEX_GM' EXPORTING mode_oib_def_index_gm = 'E' mandt = sy-mandt matnr = i_oib_def_index_gm-matnr werks = i_oib_def_index_gm-werks lgort = i_oib_def_index_gm-lgort charg = i_oib_def_index_gm-charg datum = i_oib_def_index_gm-datum time = i_oib_def_index_gm-time EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

FLTP_CHAR_CONVERSION CALL FUNCTION 'FLTP_CHAR_CONVERSION' EXPORTING decim = lf_decan input = lt_coib_defaults_display-par_fltp IMPORTING flstr = lt_coib_defaults_display-par_char.

GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_32 = lf_default_guid.

CHAR_FLTP_CONVERSION CALL FUNCTION 'CHAR_FLTP_CONVERSION' EXPORTING dyfld = g_oib_defaults_display-par_char maxdec = lf_decan maxexp = 15 minexp = -15 string = g_oib_defaults_display-par_char IMPORTING flstr = g_oib_defaults_display-par_fltp EXCEPTIONS exponent_too_big = 1 exponent_too_small = 2 string_not_fltp = 3 too_many_decim = 4 OTHERS = 5.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-022 text_question = lf_text text_button_1 = 'Yes'(001) text_button_2 = 'No'(002) IMPORTING answer = lf_antw.

DEQUEUE_E_DEF_INDEX_GM CALL FUNCTION 'DEQUEUE_E_DEF_INDEX_GM' EXPORTING mode_oib_def_index_gm = 'E' mandt = sy-mandt matnr = u_oib_def_index_gm-matnr werks = u_oib_def_index_gm-werks lgort = u_oib_def_index_gm-lgort charg = u_oib_def_index_gm-charg datum = u_oib_def_index_gm-datum time = u_oib_def_index_gm-time.

OIIC_GET_TIMESTAMP CALL FUNCTION 'OIIC_GET_TIMESTAMP' EXPORTING i_date = u_oib_def_index_gm-datum i_time = u_oib_def_index_gm-time i_zone = sy-zonlo i_werks = u_oib_def_index_gm-werks IMPORTING e_timestamp = u_oib_def_index_gm-timestamp.

OIB_UPDATE_DEFAULTS * CALL FUNCTION 'OIB_UPDATE_DEFAULTS' IN UPDATE TASK * TABLES * u_oib_def_index_gm = u_oib_def_index_gm * u_oib_defaults_display = u_oib_defaults_display.

OIB_UPDATE_DEFAULTS CALL FUNCTION 'OIB_UPDATE_DEFAULTS' IN UPDATE TASK TABLES u_oib_def_index_gm = u_oib_def_index_gm u_oib_defaults_display = u_oib_defaults_display.

OIB_UPDATE_DEFAULTS CALL FUNCTION 'OIB_UPDATE_DEFAULTS' IN UPDATE TASK TABLES u_oib_def_index_gm = u_oib_def_index_gm u_oib_defaults_display = u_oib_defaults_display.

GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_32 = lf_default_guid.

MARC_SINGLE_READ CALL FUNCTION 'MARC_SINGLE_READ' EXPORTING matnr = lf_matnr werks = lf_werks IMPORTING wmarc = lf_marc2 EXCEPTIONS lock_on_marc = 1 lock_system_error = 2 wrong_call = 3 not_found = 4 OTHERS = 5.

MARA_SINGLE_READ CALL FUNCTION 'MARA_SINGLE_READ' EXPORTING matnr = ls_oib_def_index_gm-matnr IMPORTING wmara = ls_mara EXCEPTIONS lock_on_material = 1 lock_system_error = 2 wrong_call = 3 not_found = 4 OTHERS = 5.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-037 text_question = lf_text text_button_1 = 'Yes'(001) text_button_2 = 'No'(002) IMPORTING answer = lf_antw.

POPUP_TO_DECIDE_LIST CALL FUNCTION 'POPUP_TO_DECIDE_LIST' EXPORTING cursorline = 1 mark_max = 1 textline1 = text-032 titel = text-034 IMPORTING answer = lf_answer TABLES t_spopli = lt_spopli EXCEPTIONS not_enough_answers = 1 too_much_answers = 2 too_much_marks = 3 OTHERS = 4.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-006 text_question = text-005 text_button_1 = 'Yes'(001) text_button_2 = 'No'(002) IMPORTING answer = lf_antw.

MARA_SINGLE_READ CALL FUNCTION 'MARA_SINGLE_READ' EXPORTING matnr = roib_def_index_gm-matnr IMPORTING wmara = ls_mara EXCEPTIONS lock_on_material = 1 lock_system_error = 2 wrong_call = 3 not_found = 4 OTHERS = 5.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-015 text_question = text-005 text_button_1 = 'Yes'(001) text_button_2 = 'No'(002) IMPORTING answer = lf_antw.



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