SAP Reports / Programs | Bulk Distribution Requirements Planning | Industry Solution Oil | Bulk Distribution Requirements Planning(IS-OIL-DS-BDR) SAP IS

MOIIDF01 SAP ABAP INCLUDE - Include MOIIDF01 - Forms







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


INCLUDES used within this REPORT MOIIDF01

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:

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING DYNAME = 'SAPMOIID' DYNUMB = SY-DYNNR TRANSLATE_TO_UPPER = 'X' TABLES DYNPFIELDS = G_DYNFIELDS EXCEPTIONS INVALID_ABAPWORKAREA = 1 INVALID_DYNPROFIELD = 2 INVALID_DYNPRONAME = 3 INVALID_DYNPRONUMMER = 4 INVALID_REQUEST = 5 NO_FIELDDESCRIPTION = 6 INVALID_PARAMETER = 7 UNDEFIND_ERROR = 8 OTHERS = 9.

ADDR_GET CALL FUNCTION 'ADDR_GET' "use of standard FM (not only buff.) SP2 KH

V_KNA1_SINGLE_READ CALL FUNCTION 'V_KNA1_SINGLE_READ' "KH EXPORTING PI_KUNNR = L_KNA1 "KH IMPORTING PE_KNA1 = KNA1 "KH EXCEPTIONS others = 4. "RC used "KH

OII_METER_ASSIGNMENTS_CU CALL FUNCTION 'OII_METER_ASSIGNMENTS_CU' EXPORTING I_KNA1 = ROIIKNA1 I_TRTYP = T180-TRTYP IMPORTING E_FCODE = FCODE E_EXITCOMMAND = L_EXITCOMMAND * tables * t_roiixcuaex = g_cua_exclude_tab CHANGING E_DATALOSS = R185D-DATALOSS EXCEPTIONS OTHERS = 1.

OII_METER_ASSIGNMENTS_BL CALL FUNCTION 'OII_METER_ASSIGNMENTS_BL' EXPORTING I_OIRBPBLB = ROIIGPBL I_TRTYP = T180-TRTYP IMPORTING E_FCODE = FCODE E_EXITCOMMAND = L_EXITCOMMAND * tables * t_roiixcuaex = g_cua_exclude_tab CHANGING E_DATALOSS = R185D-DATALOSS EXCEPTIONS OTHERS = 1.

OII_METER_ASSIGNMENTS_NO CALL FUNCTION 'OII_METER_ASSIGNMENTS_NO' EXPORTING I_OIIGMMK = ROIIGMMK I_TRTYP = T180-TRTYP IMPORTING E_FCODE = FCODE E_EXITCOMMAND = L_EXITCOMMAND * tables * t_roiixcuaex = g_cua_exclude_tab CHANGING E_DATALOSS = R185D-DATALOSS EXCEPTIONS OTHERS = 1.

FUNCTION_EXECUTE * call function 'FUNCTION_EXECUTE' * exporting * programm = t180-agidv * kopfgruppe = g_kopgr * positionsgruppe = g_posgr * funktion = fcode * importing * cua_status = t185v-status * cua_titel = t185v-ctitel * cua_para1 = t185v-para1 * cua_para2 = t185v-para2 * cua_para3 = t185v-para3 * cua_para4 = t185v-para4 * folgefunktion = fcode * dunkel = t185-dunkel * leave = flag_leave * leave_screen = flag-leave_screen.

OII_SO_INDICES_UNLOCK * call function 'OII_SO_INDICES_UNLOCK' * exceptions * others = 1.

ENQUEUE_E_KNA1 * call function 'ENQUEUE_E_KNA1' * exporting * kunnr = pi_kna1.

ENQUEUE_E_OIFSPBL * call function 'ENQUEUE_E_OIFSPBL' * exporting * pblnr = pi_pblnr.

DEQUEUE_E_KNA1 * call function 'DEQUEUE_E_KNA1' * exporting * kunnr = pi_kna1.

DEQUEUE_E_OIFSPBL * call function 'DEQUEUE_E_OIFSPBL' * exporting * pblnr = pi_pblnr * RNBT = pi_RNBT.

OII_METER_UPDATE CALL FUNCTION 'OII_METER_UPDATE' 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 MOIIDF01 or its description.