OI_LCOMDFOI 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_LCOMDFOI into the relevant SAP transactions such as SE38 or SE80
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.
Title: Addtional offshore logsitics routines for SAPLCOMD
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
T001W_SINGLE_READ call function 'T001W_SINGLE_READ' exporting t001w_werks = roio_splnt-reswk exceptions not_found = 1 others = 2.
MATERIAL_READ call function 'MATERIAL_READ' exporting schluessel = ls_mtcom exceptions plant_not_found = 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 = roio_splnt-reswk is_context = ls_context importing e_sproc = l_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.
T001W_SINGLE_READ call function 'T001W_SINGLE_READ' exporting t001w_werks = ps_resbd-umwrk importing wt001w = ls_t001w exceptions not_found = 1 others = 2.
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 = resbd-matnr i_werks_demand = resbd-werks i_lgort_demand = resbd-lgort i_werks_supply = resbd-umwrk i_lgort_supply = resbd-umlgo is_context = ls_context importing e_sproc = la_sproc-sproc exceptions others = 1.
OIO_CM_READ_PROCESS call function 'OIO_CM_READ_PROCESS' exporting i_sproc = la_sproc-sproc importing e_sproc = la_sproc exceptions missing_process = 1 others = 2.
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 = ps_resbd-umwrk i_lgort_supply = ps_resbd-umlgo is_context = ls_context importing e_sproc = ls_sproc-sproc exceptions others = 1.
OIO_CM_READ_PROCESS call function 'OIO_CM_READ_PROCESS' exporting i_sproc = ls_sproc-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 changing e_reswk = ps_resbd-umwrk.
CO_BT_AFVG_READ_WITH_LOGKEY call function 'CO_BT_AFVG_READ_WITH_LOGKEY' exporting aplfl = ps_resbd-plnfl aufnr_act = ps_resbd-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 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.
call function 'OIO_CM_ACTIVE' exceptions inactive = 1 others = 2.
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 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 changing e_reswk = ps_resbd-umwrk exceptions material_not_found = 1 others = 2.
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_LCOMDFOI or its description.
OI_LCOMDFOI - Addtional offshore logsitics routines for SAPLCOMD OI_LCOKOOOI_OIH_LOOKUP_OIH5T_H - Oil-include: TDP PBO-module OI_LCOKOOOI - Oil-include: TDP PBO-module OI_LCOKOIOI_OIH_VALIDATE_HANTY - Oil-include: TDP PAI-module OI_LCOKOIOI_OIH_GET_HANTYP - Oil-include: TDP PAI-module OI_LCOKOIOI - Oil-include: TDP PAI-module