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

MOIJTNF59 SAP ABAP INCLUDE - Include MOIJTNF59 CALCULATE_GAUGE_READING







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


INCLUDES used within this REPORT MOIJTNF59

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:

OIB_QCI_MOVE_DBTABLE_TO_ITAB CALL FUNCTION 'OIB_QCI_MOVE_DBTABLE_TO_ITAB' EXPORTING I_GUID = LS_O_TANKDIP-DIP_GUID TABLES T_OIB_A10 = LT_PARAM "<--- output T_OIB_PARAM = LT_O_DIP_PARAM EXCEPTIONS PARAMETER_NAME_NOT_VALID = 1 "#EC ENHOK "<--- input UNIT_MISSING = 2 INCONSISTENT_CUSTOMIZING = 3 OTHERS = 4.

OIB_QCI_MOVE_ITAB_TO_STRUC_ALL CALL FUNCTION 'OIB_QCI_MOVE_ITAB_TO_STRUC_ALL' EXPORTING I_DDIC_REFERENCE = 'OIJ_EL_TKT_I_O1' IMPORTING E_STRUCTURE = LS_TKT_I_O1 "<--- output TABLES T_OIB_A10 = LT_PARAM "<--- input EXCEPTIONS STRUCTURE_NOT_EXISTS = 1 FIELD_TYPE_NOT_VALID = 2 INCONSISTENT_CUSTOMIZING = 3 OTHERS = 4.

OIB_QCI_CONVERSION_SIMPLE CALL FUNCTION 'OIB_QCI_CONVERSION_SIMPLE' EXPORTING I_CONVERSIONGROUP = LS_TKT_I_O1-UMRSL I_UOM = LS_O_TANKDIP-VOLUN I_QUANTITY = LV_QUANTITY I_TARGETUOM = LS_ADQTY_05-MSEHI I_PARAMETERS = LS_PARAMETERS IMPORTING E_QUANTITY = LS_ADQTY_05-ADQNT TABLES T_RETURN = LT_RETURN[] EXCEPTIONS CALCULATION_FAILURE = 1 INCONSISTENT_DATA = 2 INCONSISTENT_CUSTOMIZING = 3 TRANS_UOM_NOT_FOUND = 4 OTHERS = 5.

UNIT_PARAMETERS_GET CALL FUNCTION 'UNIT_PARAMETERS_GET' EXPORTING UNIT = LV_UOM IMPORTING DECAN = LS_T006-DECAN.

FLTP_CHAR_CONVERSION CALL FUNCTION 'FLTP_CHAR_CONVERSION' EXPORTING DECIM = LS_T006-DECAN INPUT = LS_PARAM-PAR_FLTP IVALU = ' ' MASKN = ' ' IMPORTING FLSTR = LS_PARAM-PAR_CHAR.

OIJ_GAUGE_CALC *CALL FUNCTION 'OIJ_GAUGE_CALC' * EXPORTING * IV_LOCATION = LV_I_LOCID * IV_TANK = LV_I_TANK * IV_DIP_TOTAL_O = LV_I_DIP_TOTAL_O * IV_DIP_TOTAL_O_UOM = LV_I_DIP_TOTAL_O_UOM * IV_DIP_WATER_O = LV_I_DIP_WATER_O * IV_DIP_WATER_O_UOM = LV_I_DIP_WATER_O_UOM * IV_UL_IN_IND_O = LV_I_UL_IN_IND_O * IV_ETMSTM_O = LV_I_ETMSTM_O * IV_DIP_TOTAL_C = LV_I_DIP_TOTAL_C * IV_DIP_TOTAL_C_UOM = LV_I_DIP_TOTAL_C_UOM * IV_DIP_WATER_C = LV_I_DIP_WATER_C * IV_DIP_WATER_C_UOM = LV_I_DIP_WATER_C_UOM * IV_UL_IN_IND_C = LV_I_UL_IN_IND_C * IV_ETMSTM_C = LV_I_ETMSTM_C * IV_MATNR = LV_I_MATNR * IMPORTING * E_QUANTITY = LV_E_QUANTITY * E_QTY_UOM = LV_E_QTY_UOM * TABLES * T_O_DIP_PARAM = LV_T_O_DIP_PARAM * T_O_DIP_QUAN = LV_T_O_DIP_QUAN * T_C_DIP_PARAM = LV_T_C_DIP_PARAM * T_C_DIP_QUAN = LV_T_C_DIP_QUAN * EXCEPTIONS * NO_LOC_TANK = 1 * INVALID_DIP = 2 * INVALID_TANK = 3 * UOM_CONV_ERROR = 4 * INVALID_OPEN_DIP = 5 * INVALID_CLOSE_DIP = 6 * INVALID_START_TIMESTAMP = 7 * INVALID_END_TIMESTAMP = 8 * OTHERS = 9 * .

OIJ_GAUGE_STOP_CALC CALL FUNCTION 'OIJ_GAUGE_STOP_CALC' EXPORTING I_LOCATION = LV_I_LOCATION I_TANKNR = LV_I_TANKNR I_TOTALHEIGHT = LV_I_TOTALHEIGHT I_TOTHUOM = LV_I_TOTHUOM I_WATERHEIGHT = LV_I_WATERHEIGHT I_WATHUOM = LV_I_WATHUOM I_UL_IN_IND = LV_I_UL_IN_IND I_QUANTITY = LV_I_QUANTITY I_QTY_UOM = LV_I_QTY_UOM I_OPER_TYPE = LV_I_OPER_TYPE IMPORTING E_STOPHEIGHT = LV_E_STOPHEIGHT EXCEPTIONS NO_LOC_TANK = 1 INVALID_DIP = 2 INVALID_QTY = 3 INVALID_TANK = 4 UOM_CONV_ERROR = 5 OTHERS = 6.



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