SAP Reports / Programs | Interface to Terminal Automation System | Industry Solution Oil | Interface to Terminal Automation System(IS-OIL-DS-TAS) SAP IS

MV45A475 SAP ABAP INCLUDE - Oil-include: TAS/TPI DATA definition







MV45A475 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 MV45A475 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 MV45A475. "Basic submit
SUBMIT MV45A475 AND RETURN. "Return to original report after report execution complete
SUBMIT MV45A475 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Oil-include: TAS/TPI DATA definition


INCLUDES used within this REPORT MV45A475

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:

OIIO_ENTRY_EXISTS CALL FUNCTION 'OIIO_ENTRY_EXISTS' EXPORTING I_POSNR = XVBAP-POSNR EXCEPTIONS NO_ENTRY = 1 OTHERS = 2.

OIIO_DELETE_ITEM CALL FUNCTION 'OIIO_DELETE_ITEM' EXPORTING I_POSNR = L_POSNR EXCEPTIONS OTHERS = 1.

OII_DOC_SD_SOC_CHECK_ITEM_CAT CALL FUNCTION 'OII_DOC_SD_SOC_CHECK_ITEM_CAT' EXPORTING I_PSTYV = XVBAP-PSTYV EXCEPTIONS MISSING_ITEM_CAT_PARAMETER = 1 NOT_VALID_FOR_SO_INPUT = 2 OTHERS = 3.

OIIO_DELETE_ITEM CALL FUNCTION 'OIIO_DELETE_ITEM' EXPORTING I_POSNR = L_POSNR EXCEPTIONS OTHERS = 1.

OIIO_CHECK_MATERIAL CALL FUNCTION 'OIIO_CHECK_MATERIAL' EXPORTING * I_TANK_ID = I_KWMENG = XVBAP-KWMENG I_MATNR = XVBAP-MATNR I_KUNNR = XVBPA-KUNNR I_POSNR = XVBAP-POSNR I_EDATU = XVBEP-EDATU i_vrkme = xvbap-vrkme "SODK005328 RH i_oipbl = kuwev-oipbl "SODK004991 RH EXCEPTIONS TANK_ID_NOT_VALID = 1 WRONG_MATERIAL = 2 SMALL_TANK = 3 DATE_OUT_OF_INTERVAL = 4 TANK_IS_BLOCKED = 5 TANK_VALIDITY_EXPIRED = 6 OTHERS = 7.

OIIO_DELETE_ITEM CALL FUNCTION 'OIIO_DELETE_ITEM' EXPORTING I_POSNR = XVBAP-POSNR EXCEPTIONS OTHERS = 1.

OIIO_ENTRY_EXISTS CALL FUNCTION 'OIIO_ENTRY_EXISTS' EXPORTING I_POSNR = XVBAP-POSNR EXCEPTIONS NO_ENTRY = 1 OTHERS = 2.

OIIO_DELETE_ITEM CALL FUNCTION 'OIIO_DELETE_ITEM' EXPORTING I_POSNR = L_POSNR EXCEPTIONS OTHERS = 1.

OIIO_SAVE_TANK CALL FUNCTION 'OIIO_SAVE_TANK' EXPORTING I_KUNNR = XVBPA-KUNNR *(DEL) i_vbeln = xvbpa-vbeln SODK003404 I_VBELN = VBAK-VBELN "SODK003404 I_POSNR = XVBAP-POSNR * I_APPLIC = '01' tables soik37_s = t_tank_tab "SO6K000906 RH EXCEPTIONS OTHERS = 1.

OIIO_REFRESH CALL FUNCTION 'OIIO_REFRESH' EXCEPTIONS OTHERS = 1.

OIIO_REFRESH CALL FUNCTION 'OIIO_REFRESH' EXCEPTIONS OTHERS = 1.

OII_READ_TABLES CALL FUNCTION 'OII_READ_TABLES' EXPORTING I_TRTYP = T180-TRTYP I_VBELN = XVBPA-VBELN EXCEPTIONS OTHERS = 1.

OIK_LOAD_TPS_STATUS_SD_DOC CALL FUNCTION 'OIK_LOAD_TPS_STATUS_SD_DOC' EXPORTING I_TRTYP = T180-TRTYP I_VBELN = XVBPA-VBELN EXCEPTIONS NO_STATUS_RECS_EXIST_FOR_DOC = 1 OTHERS = 2.

OIIO_CHECK_INCOMPLETION CALL FUNCTION 'OIIO_CHECK_INCOMPLETION' EXPORTING I_VBAK = VBAK I_VBAP = VBAP I_KUWEV = KUWEV IMPORTING COMPLETE = COMPLETE 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 MV45A475 or its description.