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

MOIFAI20 SAP ABAP INCLUDE - Include MOIFAI20 (PAI of the detail screens)







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


INCLUDES used within this REPORT MOIFAI20

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:

ADDR_EXIT_SUBSCREEN CALL FUNCTION 'ADDR_EXIT_SUBSCREEN' IMPORTING DATA_HAS_CHANGED = G_ADDRESS_CHANGE_FLAG * INPUT_RECEIVED = 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 = L_ADDR_FLAG_LEAVE_SCREEN.

ADDR_SUBSCREEN_SET_OKCODE CALL FUNCTION 'ADDR_SUBSCREEN_SET_OKCODE' EXPORTING OK_CODE = ADD1_FCODE EXCEPTIONS OTHERS = 1.

ADDR_IMP_SUBSCREEN CALL FUNCTION 'ADDR_IMP_SUBSCREEN' IMPORTING VALUES = G_ADDR_DATA ERROR_IN_ADDRESS_DATA = G_ADDR_ERROR DATA_HAS_CHANGED = G_ADDRESS_CHANGE_FLAG EXCEPTIONS INTERNAL_ERROR = 1 OTHERS = 2.

ADDR_EXIT_SUBSCREEN * call function 'ADDR_EXIT_SUBSCREEN' * importing * data_has_changed = g_address_change_flag * INPUT_RECEIVED = * 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 MOIFAI20 or its description.