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

MOIJTNF67 SAP ABAP INCLUDE - Include MOIJTNF67 QUANTITY_QCI_SIMPLE_CONV







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


INCLUDES used within this REPORT MOIJTNF67

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_ITAB_TO_STRUC CALL FUNCTION 'OIB_QCI_MOVE_ITAB_TO_STRUC' EXPORTING I_DDIC_REFERENCE = 'OIB_A04' IMPORTING E_STRUCTURE = LS_PARAMETERS TABLES T_OIB_A10 = LS_READING_ITEM_QCI-T_PARAM 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 = I_UOM = LV_I_UOM I_QUANTITY = LV_I_QUANTITY I_TARGETUOM = LV_I_TARGETUOM I_PARAMETERS = LS_PARAMETERS I_MATERIAL = GS_ITEM_TAB_CON-MATNR I_PLANT = GS_ITEM_TAB_CON-NOM_ORG_PL * I_STANDARDCALC = GC_TRUE IMPORTING E_QUANTITY = LV_CONV_QUANTITY * TABLES * ET_RETURN = * IT_PARAMETERS = * T_RETURN = EXCEPTIONS CALCULATION_FAILURE = 1 INCONSISTENT_DATA = 2 INCONSISTENT_CUSTOMIZING = 3 TRANS_UOM_NOT_FOUND = 4 OTHERS = 5 .

OIB_GET_QCI_PARAM CALL FUNCTION 'OIB_GET_QCI_PARAM' TABLES ET_PARAM = LS_SCR_TKT_ITEM_QCI-T_PARAM ET_ADQTY = LS_SCR_TKT_ITEM_QCI-T_ADQTY ET_BAPIRET = LS_SCR_TKT_ITEM_QCI-T_BAPIRET EXCEPTIONS QCI_ABORT = 3 QCI_ERROR = 4 QCI_WARNING = 1 QCI_INFO = 2 OTHERS = 5.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = GS_BAPIRET2-id exception_if_not_active = 'X' msgty = GS_BAPIRET2-type msgv1 = GS_BAPIRET2-message_v1 msgv2 = GS_BAPIRET2-message_v2 msgv3 = GS_BAPIRET2-message_v3 msgv4 = GS_BAPIRET2-message_v4 txtnr = GS_BAPIRET2-number EXCEPTIONS message_type_not_valid = 1 not_active = 2 OTHERS = 3.

OIB_GET_QCI_PARAM CALL FUNCTION 'OIB_GET_QCI_PARAM' TABLES ET_PARAM = LS_SCR_TKT_ITEM_QCI-T_PARAM ET_ADQTY = LS_SCR_TKT_ITEM_QCI-T_ADQTY ET_BAPIRET = LS_SCR_TKT_ITEM_QCI-T_BAPIRET EXCEPTIONS QCI_ABORT = 3 "SOGK032857 QCI_ERROR = 4 "SOGK032857 QCI_WARNING = 1 "SOGK032857 QCI_INFO = 2 "SOGK032857 OTHERS = 5.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = GS_BAPIRET2-id exception_if_not_active = 'X' msgty = GS_BAPIRET2-type msgv1 = GS_BAPIRET2-message_v1 msgv2 = GS_BAPIRET2-message_v2 msgv3 = GS_BAPIRET2-message_v3 msgv4 = GS_BAPIRET2-message_v4 txtnr = GS_BAPIRET2-number EXCEPTIONS message_type_not_valid = 1 not_active = 2 OTHERS = 3.

OIB_GET_QCI_PARAM CALL FUNCTION 'OIB_GET_QCI_PARAM' TABLES ET_PARAM = LS_SCR_TKT_ITEM_QCI-T_PARAM ET_ADQTY = LS_SCR_TKT_ITEM_QCI-T_ADQTY ET_BAPIRET = LS_SCR_TKT_ITEM_QCI-T_BAPIRET EXCEPTIONS QCI_ABORT = 3 QCI_ERROR = 4 QCI_WARNING = 1 QCI_INFO = 2 OTHERS = 5.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = GS_BAPIRET2-id exception_if_not_active = 'X' msgty = GS_BAPIRET2-type msgv1 = GS_BAPIRET2-message_v1 msgv2 = GS_BAPIRET2-message_v2 msgv3 = GS_BAPIRET2-message_v3 msgv4 = GS_BAPIRET2-message_v4 txtnr = GS_BAPIRET2-number EXCEPTIONS message_type_not_valid = 1 not_active = 2 OTHERS = 3.

OIB_GET_QCI_PARAM CALL FUNCTION 'OIB_GET_QCI_PARAM' TABLES ET_PARAM = LS_SCR_TKT_ITEM_QCI-T_PARAM ET_ADQTY = LS_SCR_TKT_ITEM_QCI-T_ADQTY ET_BAPIRET = LS_SCR_TKT_ITEM_QCI-T_BAPIRET EXCEPTIONS QCI_ABORT = 3 QCI_ERROR = 4 QCI_WARNING = 1 QCI_INFO = 2 OTHERS = 5.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = GS_BAPIRET2-id exception_if_not_active = 'X' msgty = GS_BAPIRET2-type msgv1 = GS_BAPIRET2-message_v1 msgv2 = GS_BAPIRET2-message_v2 msgv3 = GS_BAPIRET2-message_v3 msgv4 = GS_BAPIRET2-message_v4 txtnr = GS_BAPIRET2-number EXCEPTIONS message_type_not_valid = 1 not_active = 2 OTHERS = 3.

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_TICKET_CONV_PARAM_X TABLES T_OIB_A10 = LS_TKT_ITEM_QCI-T_PARAM[] EXCEPTIONS STRUCTURE_NOT_EXISTS = 1 FIELD_TYPE_NOT_VALID = 2 INCONSISTENT_CUSTOMIZING = 3 OTHERS = 4.

OIJB_CHECK_STATFIELDS CALL FUNCTION 'OIJB_CHECK_STATFIELDS' EXPORTING ACTIVITY = LV_ACTIVITY CHANGING CS_STATS = LS_UPD_ITEM.

OIJB_CHECK_STATFIELDS CALL FUNCTION 'OIJB_CHECK_STATFIELDS' EXPORTING ACTIVITY = LV_ACTIVITY CHANGING CS_STATS = LS_UPD_ITEM.

OIJB_CHECK_STATFIELDS CALL FUNCTION 'OIJB_CHECK_STATFIELDS' EXPORTING ACTIVITY = LV_ACTIVITY CHANGING CS_STATS = UPD_TICKET_HEADER.

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_TICKET_CONV_PARAM_X TABLES T_OIB_A10 = LS_TKT_ITEM_QCI-T_PARAM[] EXCEPTIONS STRUCTURE_NOT_EXISTS = 1 FIELD_TYPE_NOT_VALID = 2 INCONSISTENT_CUSTOMIZING = 3 OTHERS = 4.

OIJB_CHECK_STATFIELDS CALL FUNCTION 'OIJB_CHECK_STATFIELDS' EXPORTING ACTIVITY = LV_ACTIVITY CHANGING CS_STATS = UPD_TICKET_HEADER.

OIJB_CHECK_STATFIELDS CALL FUNCTION 'OIJB_CHECK_STATFIELDS' EXPORTING ACTIVITY = LV_ACTIVITY CHANGING CS_STATS = LS_UPD_ITEM.

OIJB_CHECK_STATFIELDS CALL FUNCTION 'OIJB_CHECK_STATFIELDS' EXPORTING ACTIVITY = LV_ACTIVITY CHANGING CS_STATS = UPD_TICKET_HEADER.



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