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

MOIJTNF12_OLD SAP ABAP INCLUDE - Include MOIJTNF12_OLD







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


INCLUDES used within this REPORT MOIJTNF12_OLD

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:

OIJB_CHECK_STATFIELDS * CALL FUNCTION 'OIJB_CHECK_STATFIELDS' * EXPORTING * ACTIVITY = GC_ACT_CREATE * CHANGING * CS_STATS = CS_TICKET_HEADER.

OIJB_CHECK_STATFIELDS * CALL FUNCTION 'OIJB_CHECK_STATFIELDS' * EXPORTING * ACTIVITY = GC_ACT_CREATE * CHANGING * CS_STATS = LS_TICKET_ITEM.

OIJU_SP_GET_ACT_TANKS_FOR_LOC * CALL FUNCTION 'OIJU_SP_GET_ACT_TANKS_FOR_LOC' * TABLES "SOGK038740 * T_SO_PBLNR = LT_LOCID"SOGK038740 * T_ACTIVE_TANKS = LT_LOC_TANK * "SOGK038740 * EXCEPTIONS "SOGK038740 ** NO_LOCATION_PASSED = 1 "SOGK038740 * NO_ACTIVE_TANKS_FOUND = 1 "SOGK038740 * NO_TANKS_FOUND = 2 "SOGK038740 * OTHERS = 3. "SOGK038740

OIJ_GET_SLOC_FOR_TNKNR * CALL FUNCTION 'OIJ_GET_SLOC_FOR_TNKNR' "SOGK038740 * EXPORTING "SOGK038740 * IV_LOCID = LS_TICKET_ITEM-LOCID "SOGK038740 * IV_TNKNR = LS_TICKET_ITEM-TANKNR "SOGK038740 * IMPORTING "SOGK038740 * EV_PLANT = LV_WERKS "SOGK038740 * EV_SLOC = LV_LGORT. "SOGK038740

SD_VBAP_SINGLE_READ * CALL FUNCTION 'SD_VBAP_SINGLE_READ' * EXPORTING * I_VBELN = LV_VBELN * I_POSNR = LV_POSNR * IMPORTING * E_VBAP = LS_VBAP * EXCEPTIONS * RECORD_NOT_FOUND = 1 * OTHERS = 2.

ME_EKPV_SINGLE_READ * CALL FUNCTION 'ME_EKPV_SINGLE_READ' * EXPORTING * PI_EBELN = LV_EBELN * PI_EBELP = LV_EBELP * IMPORTING * PO_EKPV = LS_EKPV * EXCEPTIONS * NO_RECORDS_FOUND = 1 * OTHERS = 2.

OIJ_CKIT_CHRG * CALL FUNCTION 'OIJ_CKIT_CHRG' * EXPORTING * IS_NOM_HEADER = LS_NOM_HEADER * IS_NOM_ITEM = LS_NOM_ITEM * IV_O_D_FLG = LV_O_D_FLG * IV_CHRG_CREATE_FLG = ' ' * IS_MVSCEN = LS_MVSCEN * IMPORTING * ET_RETURN = LT_RETURN.

WY_LFA1_SINGLE_READ * CALL FUNCTION 'WY_LFA1_SINGLE_READ' * EXPORTING * PI_LIFNR = CS_TICKET_HEADER-SHIPPER * IMPORTING * PO_LFA1 = LS_LFA1 ** PO_ADDRESS_VALUE = * EXCEPTIONS * NO_RECORDS_FOUND = 1 * INTERNAL_ERROR = 2 * OTHERS = 3 * .

WY_LFA1_SINGLE_READ * CALL FUNCTION 'WY_LFA1_SINGLE_READ' * EXPORTING * PI_LIFNR = CS_TICKET_HEADER-CARRIER * IMPORTING * PO_LFA1 = LS_LFA1 ** PO_ADDRESS_VALUE = * EXCEPTIONS * NO_RECORDS_FOUND = 1 * INTERNAL_ERROR = 2 * OTHERS = 3 * .

OIJLOC_SINGLE_READ * CALL FUNCTION 'OIJLOC_SINGLE_READ' * EXPORTING * IV_LOCID = LS_TICKET_ITEM-LOCID * IMPORTING * ES_OIJLOC = LS_OIJLOC * EXCEPTIONS * RECORD_NOT_FOUND = 1 * OTHERS = 2.

OIJB_TKT_QCI_INTERFACE * CALL FUNCTION 'OIJB_TKT_QCI_INTERFACE' * EXPORTING * IS_WORKING = T180-TRTYP * IS_TICKET_HEADER = LS_TICKET_HEADER_VB * IS_TICKET_ITEM = LS_TICKET_ITEM_VB * IS_NOMINATION_HEADER = GS_OIJNOMH * IS_NOMINATION_ITEM = GS_OIJNOMI * CHANGING * CS_OIJ_EL_TKT_I_O1 = LS_TICKET_CONV_PARAM_VB * CT_OIJ_EL_TKT_I_O2 = LT_TICKET_ADD_UNITS_VB * CS_TKT_QCI = LT_TKT_ITEM_QCI * RETURN = LT_RETURN * EXCEPTIONS * TICKET_ITEM_UNIT_ERROR = 1 * OTHERS = 2.



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