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

FV45P392 SAP ABAP INCLUDE - Oil Include: TAS/TPI FORM Routine







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


INCLUDES used within this REPORT FV45P392

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:

OIK_SET_ITEM_TPI_STATUS_SO CALL FUNCTION 'OIK_SET_ITEM_TPI_STATUS_SO' "SOTK001163 EXPORTING "SOTK001163 I_VBAK = VBAK "SOTK001163 I_VBAP = XVBAP "SOTK001163 I_KUWEV = KUWEV "SOTK001163 I_KOPIEREN = KOPIEREN "SOTK001163 I_TRTYP = T180-TRTYP. "SOTK001163

OII_DOC_SD_SOC_CHECK_DOC_TYPE call function 'OII_DOC_SD_SOC_CHECK_DOC_TYPE' "SO6K012070 RH exporting "SO6K012070 RH i_auart = vbak-auart "SO6K012070 RH exceptions "SO6K012070 RH missing_doc_type_parameter = 1 "SO6K012070 RH not_valid_for_so_input = 2 "SO6K012070 RH others = 3. "SO6K012070 RH

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

OIIO_CHECK_MATERIAL CALL FUNCTION 'OIIO_CHECK_MATERIAL' EXPORTING * I_TANK_ID = I_KWMENG = VBAP-KWMENG I_MATNR = VBAP-MATNR I_KUNNR = copy_of_xVBPA-KUNNR I_POSNR = VBAP-POSNR I_EDATU = VBEP-EDATU I_VRKME = VBAP-VRKME I_OIPBL = KUWEV-OIPBL EXCEPTIONS TANK_ID_NOT_VALID = 1 WRONG_MATERIAL = 2 SMALL_TANK = 3 DATE_OUT_OF_INTERVAL = 4 TANK_IS_BLOCKED = 5 "SOGK001769 TANK_VALIDITY_EXPIRED = 6 "SOGK001769 OTHERS = 7. "SOGK001769

OII_DOC_SD_SOC_CHECK_ITEM_CAT CALL FUNCTION 'OII_DOC_SD_SOC_CHECK_ITEM_CAT' EXPORTING I_PSTYV = VBAP-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 = VBAP-POSNR I_DELETE_ROIK37_ENTRY = 'X' EXCEPTIONS OTHERS = 1.

OII_SOC_ORDER_GET_CUST_TANK CALL FUNCTION 'OII_SOC_ORDER_GET_CUST_TANK' EXPORTING I_POSNR = VBAP-POSNR I_PSTYV = VBAP-PSTYV I_KUNNR = KUWEV-KUNNR I_MATNR = VBAP-MATNR I_KWMENG = RV45A-KWMENG I_EDATU = VBEP-EDATU I_VBTYP = VBAK-VBTYP I_OIPBL = KUWEV-OIPBL I_VRKME = VBAP-VRKME I_T180 = T180 i_auart = vbak-auart "SO6K012070 RH EXCEPTIONS OTHERS = 1.

OII_SOC_ORDER_GET_CUST_TANK CALL FUNCTION 'OII_SOC_ORDER_GET_CUST_TANK' EXPORTING I_POSNR = VBAP-POSNR I_PSTYV = VBAP-PSTYV I_KUNNR = KUWEV-KUNNR I_MATNR = VBAP-MATNR I_KWMENG = RV45A-KWMENG I_EDATU = VBEP-EDATU I_VBTYP = VBAK-VBTYP I_OIPBL = KUWEV-OIPBL I_VRKME = VBAP-VRKME I_T180 = T180 i_auart = vbak-auart "SO6K012070 RH 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 FV45P392 or its description.