SAP Reports / Programs | Remote Logistics Management | Industry Solution Oil | Remote Logistics Management(IS-OIL-OLM) SAP IS

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







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

INCLUDE ROIO_I_CONSTANTS.
INCLUDE OI_LCOMKFOI_RLM "REMOTE LOGISTICS MANAGEMENT


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:

OIO_CM_ACTIVE call function 'OIO_CM_ACTIVE' exceptions inactive = 1 others = 2.

OIO_CM_DETERMINE_PROCESS call function 'OIO_CM_DETERMINE_PROCESS' exporting i_matnr = ps_resbd-matnr i_werks_demand = ps_resbd-werks i_lgort_demand = ps_resbd-lgort * I_WERKS_SUPPLY = * I_LGORT_SUPPLY = is_context = ls_context "504272 IFG importing e_sproc = ps_resbd-oio_sproc exceptions plant_not_relevant = 1 material_not_found = 2 missing_plant = 3 missing_store_location = 4 supply_plant_not_found = 5 supply_store_not_found = 6 missing_rule = 7 others = 8.

OIO_CM_READ_PROCESS call function 'OIO_CM_READ_PROCESS' exporting i_sproc = ps_resbd-oio_sproc importing e_sproc = ls_sproc exceptions missing_process = 1 others = 2.

OIO_SC_GET_SUPPLYING_PLANT call function 'OIO_SC_GET_SUPPLYING_PLANT' exporting i_werks = ps_resbd-werks i_matnr = ps_resbd-matnr i_lgort = ps_resbd-lgort "389072 changing e_reswk = ps_resbd-umwrk exceptions material_not_found = 1 others = 2.

CO_BT_AFVG_READ_WITH_LOGKEY call function 'CO_BT_AFVG_READ_WITH_LOGKEY' exporting aplfl = rcols-aplfl aufnr_act = caufvd-aufnr vornr = ps_resbd-vornr importing afvgd_exp = ls_afvgd exceptions others = 01.

OIO_DOCFLOW_OBJ_ENCODE call function 'OIO_DOCFLOW_OBJ_ENCODE' exporting i_objty = ls_objkey-objty i_object_ref = ps_resbd importing e_objid = ls_objkey-objid.

OIO_HD_OBJECT call function 'OIO_HD_OBJECT' exporting is_object_key = ls_objkey i_xhold = ps_resbd-oio_hold i_aktyp = rc27s-aktyp "N_1610488 importing et_reference_key = lt_refkey exceptions delivery_locked = 1 subobject_locked = 2 others = 3.

OIO_DOCFLOW_OBJ_DECODE call function 'OIO_DOCFLOW_OBJ_DECODE' exporting i_objty = ls_refkey-objty i_objid = ls_refkey-objid importing e_object_ref = ls_resb_key.

CO_BT_RESB_READ_WITH_KEY call function 'CO_BT_RESB_READ_WITH_KEY' exporting rsart_imp = ls_resb_key-rsart rsnum_imp = ls_resb_key-rsnum rspos_imp = ls_resb_key-rspos no_read_from_db = 'X' importing index_exp = l_tabix resbd_exp = ls_resbd exceptions not_found = 1 others = 2.

CO_BT_RESB_UPDATE call function 'CO_BT_RESB_UPDATE' exporting resb_new = ls_resbd tabix_old = l_tabix.

CO_BT_AFVG_READ_WITH_KEY call function 'CO_BT_AFVG_READ_WITH_KEY' exporting aplzl = ps_resbd-aplzl aufpl = ps_resbd-aufpl importing afvgd_exp = ls_afvgd exceptions not_found = 1 others = 2.

OIO_CM_ACTIVE call function 'OIO_CM_ACTIVE' exceptions inactive = 1 others = 2.

CO_BT_AFVG_READ_WITH_KEY call function 'CO_BT_AFVG_READ_WITH_KEY' exporting aplzl = ps_resbd-aplzl aufpl = ps_resbd-aufpl importing afvgd_exp = ls_afvgd exceptions not_found = 1 others = 2.

OIO_CM_DETERMINE_PROCESS * call function 'OIO_CM_DETERMINE_PROCESS' "SOGK040453 IFG * exporting "SOGK040453 IFG * i_matnr = ps_resbd-matnr"SOGK040453 IFG * i_werks_demand = ps_resbd-werks"SOGK040453 IFG * i_lgort_demand = ps_resbd-lgort"SOGK040453 IFG * is_context = ls_context "SOGK040453 IFG * importing "SOGK040453 IFG * e_sproc = ps_resbd-oio_s"SOGK040453 IFG * exceptions "SOGK040453 IFG * plant_not_relevant = 1 "SOGK040453 IFG * material_not_found = 2 "SOGK040453 IFG * missing_plant = 3 "SOGK040453 IFG * missing_store_location = 4 "SOGK040453 IFG * supply_plant_not_found = 5 "SOGK040453 IFG * supply_store_not_found = 6 "SOGK040453 IFG * missing_rule = 7 "SOGK040453 IFG * others = 8. "SOGK040453 IFG

OIO_CM_ACTIVE call function 'OIO_CM_ACTIVE' exceptions inactive = 1 others = 2.

OIO_CM_DETERMINE_PROCESS call function 'OIO_CM_DETERMINE_PROCESS' exporting i_matnr = ps_resbd-matnr i_werks_demand = ps_resbd-werks i_lgort_demand = ps_resbd-lgort is_context = ls_context importing e_sproc = lf_sproc_id exceptions plant_not_relevant = 1 material_not_found = 2 missing_plant = 3 missing_store_location = 4 supply_plant_not_found = 5 supply_store_not_found = 6 missing_rule = 7 others = 8.

OIO_CM_READ_PROCESS call function 'OIO_CM_READ_PROCESS' exporting i_sproc = lf_sproc_id importing e_sproc = ls_sproc exceptions missing_process = 1 others = 2.

OIO_SC_GET_SUPPLYING_PLANT call function 'OIO_SC_GET_SUPPLYING_PLANT' exporting i_werks = ps_resbd-werks i_matnr = ps_resbd-matnr i_lgort = ps_resbd-lgort changing e_reswk = ps_t460a-wrk02 exceptions material_not_found = 1 others = 2.

CO_TA_TCOKT_READ





call function 'CO_TA_TCOKT_READ' exporting autyp = caufvd-autyp importing struct = tcokt exceptions no_entry = 01.



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