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

MOIKTF01_TEST_OII_OTWS_CHECK SAP ABAP INCLUDE - IS-Oil / TAS / General functions







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


INCLUDES used within this REPORT MOIKTF01_TEST_OII_OTWS_CHECK

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:

OII_OTWS_CHECK_TIME_CUST CALL FUNCTION 'OII_OTWS_CHECK_TIME_CUST' EXPORTING I_KUNNR = OIK_KUNNR I_TWSTYP = 'D0' I_DATE_LO = ROIKTFD-TF_DATE I_TIME_LO = ROIKTFD-FROMTIME I_DATE_HI = ROIKTFD-TO_DATE I_TIME_HI = ROIKTFD-TOTIME I_EXCLUSIVE = 'X' i_pblnr = oik_oipbl "SO6K013827 RH IMPORTING E_TIME_VALID = L_OK * E_TW_MATCHING = E_TW_NEXT_LO = L_NEXT_LO E_TW_NEXT_HI = L_NEXT_HI TABLES T_ROIIOTWSPD = L_TESTABLE EXCEPTIONS CUSTOMER_NOT_FOUND = 1 TIME_WINDOW_TYPE_NOT_FOUND = 2 NO_TIME_WINDOWS_FOUND = 3 INVALID_FACTORY_CALENDAR = 4 INVALID_HOLIDAY_CALENDAR = 5 DATE_TIME_INVALID = 6 OTHERS = 7 .

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING ARBGB = 'OE' * EXCEPTION_IF_NOT_ACTIVE = 'X' *\ MSGTY = 'W' MSGTY = 'I' *\ MSGV1 = L_TESTABLE-TWFTIM *\ MSGV2 = L_TESTABLE-TWTTIM MSGV1 = L_TESTABLE-TWDAT MSGV2 = L_TESTABLE-TWFTIM MSGV3 = L_TESTABLE-TWTTIM TXTNR = '645' * ZEILE = ' ' * IMPORTING * ACT_SEVERITY = * MAX_SEVERITY = * EXCEPTIONS * MESSAGE_TYPE_NOT_VALID = 1 * NOT_ACTIVE = 2 * OTHERS = 3 .

MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW'.



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