SAP Reports / Programs | Trader's and Scheduler's Workbench | Industry Solution Oil | Trader's and Scheduler's Workbench(IS-OIL-DS-TSW) SAP IS

MOIFAI10 SAP ABAP INCLUDE - Include MOIFAI10 (PAI of the initial screens)







MOIFAI10 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 MOIFAI10 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 MOIFAI10. "Basic submit
SUBMIT MOIFAI10 AND RETURN. "Return to original report after report execution complete
SUBMIT MOIFAI10 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 MOIFAI10 (PAI of the initial screens)


INCLUDES used within this REPORT MOIFAI10

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:

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.

NUMBER_RANGE_SHOW call function 'NUMBER_RANGE_SHOW' EXPORTING object = 'OIF_PBL'.

OIF_PBL_CD_SET_OLD_GEN_DATA call function 'OIF_PBL_CD_SET_OLD_GEN_DATA' exporting i_oifspbl = oifspbl i_adrc = l_adrc * i_oirbpblb = oirbpblb " Leave blank exceptions others = 1.

OIF_PBL_CD_SET_OLD_GEN_DATA call function 'OIF_PBL_CD_SET_OLD_GEN_DATA' EXPORTING i_oifspbl = oifspbl i_adrc = l_adrc i_oirbpblb = oirbpblb EXCEPTIONS others = 1.

STATUS_OBJECT_CREATE call function 'STATUS_OBJECT_CREATE' EXPORTING chgkz = c_flag_on obtyp = c_obtyp_pbl IMPORTING objnr = oifspbl-objnr EXCEPTIONS obtyp_invalid = 1 status_object_already_exists = 2 stsma_invalid = 3 stsma_obtyp_invalid = 4 others = 5.

OIRB_RLM_VMIS_CHK_STAT_ACTIVE CALL FUNCTION 'OIRB_RLM_VMIS_CHK_STAT_ACTIVE' EXPORTING PBLTYP = oifspbl-pbltyp RNBT = g_rnbt IMPORTING ACTIVE_FLAG = l_active_rlm_vmis.

OIRB_CHECK_STATUS_ACTIVE call function 'OIRB_CHECK_STATUS_ACTIVE' EXPORTING pbltyp = oifspbl-pbltyp rnbt = g_rnbt IMPORTING active_flag = l_active.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING NAME = P_ICON ADD_STDINF = 'X' IMPORTING RESULT = G_QUINF EXCEPTIONS ICON_NOT_FOUND = 1 OUTPUTFIELD_TOO_SHORT = 2 OTHERS = 3.

OIJ_BERTH_EXPORT_FROM_MAIN CALL FUNCTION 'OIJ_BERTH_EXPORT_FROM_MAIN' EXPORTING IV_FCODE = fcode.



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