MOIGSF31_02 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 MOIGSF31_02 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: Load and delivery confirmation D,T,G,L
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING i_arbgb = 'O9' i_dtype = 'I' i_msgnr = '747' i_var01 = roigsm-matnr i_var02 = roigsm-werks.
OIB2_TD_COLLECT_MAT_QTY CALL FUNCTION 'OIB2_TD_COLLECT_MAT_QTY' EXPORTING i_tabix = l_tabix i_oigsm = g_oigsm_tab i_export_tbls = c_x TABLES t_oigsvmq = g_oigsvmq_tab t_oigsvmq_sav = g_oigsvmq_tab_sav t_hpmtab = g_hpm_tab t_msego1 = lt_msego1 t_msego2 = lt_msego2 CHANGING e_rfrsh = g_refresh.
CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING i_arbgb = 'O9' i_dtype = '-' i_msgnr = '678' i_var01 = g_oigs-shnumber i_var02 = g_oigsm_tab-matnr i_var03 = g_oigsm_tab-werks i_var04 = lt_msego2-msehi.
OIG_MB_PROCESS_FOR_SHIPMENT CALL FUNCTION 'OIG_MB_PROCESS_FOR_SHIPMENT' EXPORTING i_post = '9'.
OIGS_T_DELIVERY_INIT CALL FUNCTION 'OIGS_T_DELIVERY_INIT' EXPORTING i_tcode = p_tcode i_vbeln = g_oigsih_j_tab-vbeln i_keep_o2 = space i_oigsi = oigsi EXCEPTIONS error_message = 99.
OIB2_TD_COLLECT_DLY_QTY CALL FUNCTION 'OIB2_TD_COLLECT_DLY_QTY' EXPORTING i_lips = g_oigsii_j_tab i_oigsm = g_oigsm_tab i_goods_issue = p_goods_issue TABLES t_oigsvmq = g_oigsvmq_tab t_hpmtab = g_hpm_tab CHANGING e_rfrsh = g_refresh.
OIGS_T_DELIVERY_ITEM CALL FUNCTION 'OIGS_T_DELIVERY_ITEM' EXPORTING i_giind = p_goods_issue i_oigsii_j = g_oigsii_j_tab i_action = c_x EXCEPTIONS error_message = 99.
OIGS_T_DELIVERY_POST call function 'OIGS_T_DELIVERY_POST' exporting i_giind = p_goods_issue i_lddat = g_oigsih_j_tab-lddat i_oildtim = g_oigsih_j_tab-oildtim i_lfdat = g_oigsih_j_tab-lfdat i_lfuhr = g_oigsih_j_tab-lfuhr * USK Changes Start 944385 i_orig_lfdat = l_lfdat i_orig_lfuhr = l_lfuhr * USK Changes End 944385 exceptions error_message = 99.
LE_POD_REFRESH_GLOBAL_DATA CALL FUNCTION 'LE_POD_REFRESH_GLOBAL_DATA'.
LE_POD_FIND_DEFAULT_REACD CALL FUNCTION 'LE_POD_FIND_DEFAULT_REACD' CHANGING CS_TVPODVB = lt_TVPODVB EXCEPTIONS others = 99.
LE_POD_TVPODG_READ CALL FUNCTION 'LE_POD_TVPODG_READ' EXPORTING if_grund = lt_tvpodvb-grund CHANGING cs_tvpodg = l_tvpodg EXCEPTIONS others = 9.
OIB2_TD_COLLECT_MAT_QTY CALL FUNCTION 'OIB2_TD_COLLECT_MAT_QTY' EXPORTING i_tabix = l_tabix i_ebeln = g_imseg_tab-ebeln i_ebelp = g_imseg_tab-ebelp i_erfme = g_imseg_tab-meins i_oigsm = g_oigsm_tab i_export_tbls = c_x i_sobkz = g_imseg_tab-sobkz i_lifnr = g_imseg_tab-lifnr TABLES t_oigsvmq = g_oigsvmq_tab t_oigsvmq_sav = g_oigsvmq_tab_sav t_hpmtab = g_hpm_tab t_msego1 = g_msego1_tab t_msego2 = g_msego2_tab CHANGING e_rfrsh = g_refresh.
OIB_SD_POD_TD_CRE_DEL CALL FUNCTION 'OIB_SD_POD_TD_CRE_DEL' TABLES t_tvpodvb = lt_tvpodvb t_msego1 = g_msego1_tab t_msego2 = g_msego2_tab.
WS_DELIVERY_UPDATE call function 'WS_DELIVERY_UPDATE' STARTING NEW TASK 'task' exporting vbkok_wa = pi_vbkok delivery = g_oigsi_tab-doc_number commit = 'X' "n 1424550 G_SHPMT_AUFRUFER = '9' "n 1424550 * importing * ef_error_any_0 = lf_error_any tables vbpok_tab = pt_vbpok TVPOD_TAB = pt_TVPODvb * prot = lt_prot exceptions error_message = 1 others = 2.
OIGS_DELIVERY_UPDATE CALL FUNCTION 'OIGS_DELIVERY_UPDATE' EXPORTING i_tcode = 'VLPOD' i_oigsi = oigsi TABLES t_vbpok = pt_vbpok t_tVPOD = pt_TVPODvb * prot = lt_prot CHANGING x_vbkok = pi_vbkok EXCEPTIONS error_message = 1 others = 2.
WS_DELIVERY_UPDATE call function 'WS_DELIVERY_UPDATE' exporting vbkok_wa = pi_vbkok delivery = g_oigsi_tab-doc_number G_SHPMT_AUFRUFER = '9' "n 1424550 * importing * ef_error_any_0 = lf_error_any tables vbpok_tab = pt_vbpok TVPOD_TAB = pt_TVPODvb * prot = lt_prot exceptions error_message = 1 others = 2.
VB_NEXT_BATCH_NUMBER CALL FUNCTION 'VB_NEXT_BATCH_NUMBER' EXPORTING matnr = pi_matnr werks = pi_werks check_batch = space check_material = space x_bncom = l_bncom IMPORTING new_charg = po_charg EXCEPTIONS error_message = 99.
VB_BATCH_GET_DETAIL CALL FUNCTION 'VB_BATCH_GET_DETAIL' EXPORTING matnr = pi_matnr charg = po_charg werks = pi_werks existence_check = c_x IMPORTING ymcha = mcha classname = l_class EXCEPTIONS others = 1.
CALL FUNCTION 'OIB2_TD_QUANTITY_GET' EXPORTING i_msehi = g_oigsm_tab-meins i_oigsvmq = g_oigsvmq_tab i_date = g_oigsi_tab-dldate i_vluom = g_oigs-vol_uom i_time = g_oigsi_tab-dltime i_set = c_change i_mat_itm_old = l_oigsvmq-mat_Itm "check same hpm parameters i_hpm_itm_old = l_oigsvmq-hpm_Itm CHANGING e_adqnt = l_oigsvmq-trqty EXCEPTIONS others = 99.
MATERIAL_READ_INIT CALL FUNCTION 'MATERIAL_READ_INIT'.
ENQUEUE_E_OIGS CALL FUNCTION 'ENQUEUE_E_OIGS' EXPORTING shnumber = roigs-shnumber.
OIB2_TD_POST_PREPARE CALL FUNCTION 'OIB2_TD_POST_PREPARE' "nv 1085184/ 1828968 exporting i_2LUW = p_oig_sstsfp TABLES t_oigsvmq = g_oigsvmq_tab t_oigsvmqs = g_oigsvmq_tab_sav. "n^ 1085184 / 1828968
SERIALPROFILE_CHECK CALL FUNCTION 'SERIALPROFILE_CHECK' EXPORTING OPERATION = 'SDLP'.
OIG_MB_PROCESS_FOR_SHIPMENT CALL FUNCTION 'OIG_MB_PROCESS_FOR_SHIPMENT' CHANGING x_imkpf = g_imkpf.
ME_EKPO_SINGLE_READ CALL FUNCTION 'ME_EKPO_SINGLE_READ' EXPORTING PI_EBELN = lt_ekbel-ebeln PI_EBELP = lt_ekbel-ebelp IMPORTING PO_EKPO = ekpo EXCEPTIONS OTHERS = 4.
ME_EKET_ARRAY_READ_ITEM call function 'ME_EKET_ARRAY_READ_ITEM' * EXPORTING * PI_BYPASSING_BUFFER = * PI_REFRESH_BUFFER = tables pti_eket_keytab = lt_ekbel pto_eket_tab = gt_eket exceptions others = 4.
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 MOIGSF31_02 or its description.