SAP Reports / Programs | Transportation and Distribution | Industry Solution Oil | Transportation and Distribution(IS-OIL-DS-TD) SAP IS

MOIGSF31_05 SAP ABAP INCLUDE - Load and delivery confirmation D,T,G,L







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

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:

QC04_DOMAIN_TEXT_GET CALL FUNCTION 'QC04_DOMAIN_TEXT_GET' EXPORTING i_domain_name = 'OIG_TDACT' i_language = sy-langu i_domvalue_l = l_domvalue_l IMPORTING e_ddtext = g_td_action_tab-ddtext EXCEPTIONS no_data_found = 1 OTHERS = 2.

OIB2_TD_REPL_MAT_ITM CALL FUNCTION 'OIB2_TD_REPL_MAT_ITM' EXPORTING i_tabix = g_indexa_tab-tabix2 i_mtitm_old = l_mat_itm i_qtitm_old = l_qty_itm i_init_o2 = c_x TABLES t_oigsm = g_oigsm_tab t_oigsvmq = g_oigsvmq_tab.

ME_READ_AFTER_PREFETCH_HISTORY CALL FUNCTION 'ME_READ_AFTER_PREFETCH_HISTORY' EXPORTING i_ebeln = p_ebeln i_ebelp = p_ebelp i_ekbe = 'X' i_ekbz = ' ' "hier keine BNK TABLES e_ekbe = t_ekbe * E_EKBZ = BZT EXCEPTIONS no_prefetch_done = 01.

MATERIAL_READ_INIT CALL FUNCTION 'MATERIAL_READ_INIT'.

OIB2_TD_POST_PREPARE CALL FUNCTION 'OIB2_TD_POST_PREPARE' TABLES t_oigsvmq = g_oigsvmq_tab t_oigsvmqs = g_oigsvmq_tab_sav.

OIB2_TD_GET_OIGSVMQ_APPENDIX CALL FUNCTION 'OIB2_TD_GET_OIGSVMQ_APPENDIX' EXPORTING i_shnum = g_oigs-shnumber.

OIB_SD_POD_TD_CRE_DEL CALL FUNCTION 'OIB_SD_POD_TD_CRE_DEL' EXPORTING i_vbeln = g_oigsii_j_tab-vbeln TABLES t_oigsii_j = g_oigsii_j_tab.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE' EXCEPTIONS OTHERS = 0.

MESSAGES_ACTIVE CALL FUNCTION 'MESSAGES_ACTIVE' EXCEPTIONS OTHERS = 0.

WS_REVERSE_GOODS_ISSUE CALL FUNCTION 'WS_REVERSE_GOODS_ISSUE' EXPORTING i_vbeln = g_oigsi_tab-doc_number i_budat = roigsh-pstdat i_bldat = roigsh-dcmdat i_oib_bltime = roigsh-psttim i_tcode = 'VL09' i_vbtyp = g_oigsi_tab-doc_typ TABLES t_mesg = t_mesg EXCEPTIONS error_reverse_goods_issue = 4 error_message = 99.

MESSAGES_STOP CALL FUNCTION 'MESSAGES_STOP'.

MESSAGES_GIVE CALL FUNCTION 'MESSAGES_GIVE' TABLES t_mesg = t_mesg EXCEPTIONS OTHERS = 0.

MESSAGES_STOP CALL FUNCTION 'MESSAGES_STOP'.

ENQUEUE_E_OIGS CALL FUNCTION 'ENQUEUE_E_OIGS' EXPORTING shnumber = g_oigsvc_tab-shnum_prv.

MB_CHECK_CALLED_BY CALL FUNCTION 'MB_CHECK_CALLED_BY' "clear im_process TABLES i_imseg = g_imseg_tab EXCEPTIONS error_message = 4. "no error possible

MB_READ_GOODS_MOVEMENT CALL FUNCTION 'MB_READ_GOODS_MOVEMENT' EXPORTING budat = g_oigsh_tab-pstdat mblnr = g_oigsh_tab-mblnr mblpo = g_emseg_tab-azeil mjahr = g_oigsh_tab-mjahr nfcod = 'ST ' stcod = l_stcod "MB11 "EHP606 IMPORTING imkpf = l_imkpf etcod = l_tcode TABLES imseg = g_imseg_tab EXCEPTIONS error_message = 4.

OIG_MB_PROCESS_FOR_SHIPMENT CALL FUNCTION 'OIG_MB_PROCESS_FOR_SHIPMENT' EXPORTING i_post = c_no_use.

OIB_MM_BUILD_NEW_GT_MSEGO12 CALL FUNCTION 'OIB_MM_BUILD_NEW_GT_MSEGO12' EXPORTING i_newline = l_zeile i_oldline = g_imseg_tab-smblp i_mblnr = g_imseg_tab-smbln i_mjahr = g_imseg_tab-sjahr.

OIB_MM_IMPORT_ITABS_FR_OIB_MM





CALL FUNCTION 'OIB_MM_IMPORT_ITABS_FR_OIB_MM' TABLES oib_ms1int = g_msego1_tab oib_ms2int = g_msego2_tab.

OIG_MB_PROCESS_FOR_SHIPMENT CALL FUNCTION 'OIG_MB_PROCESS_FOR_SHIPMENT' CHANGING x_imkpf = g_imkpf.

OIDF_LIPS_OIFINAL_CLEAR CALL FUNCTION 'OIDF_LIPS_OIFINAL_CLEAR' EXPORTING iv_vbeln = g_oigsii_j_tab-vbeln iv_posnr = g_oigsii_j_tab-posnr iv_change = 'X' IMPORTING es_lips = ls_lips EXCEPTIONS error_updating_lips = 1 OTHERS = 2.

ME_EKKO_SINGLE_READ CALL FUNCTION 'ME_EKKO_SINGLE_READ' EXPORTING pi_ebeln = g_oigsii_j_tab-vgbel IMPORTING po_ekko = ls_ekko EXCEPTIONS no_records_found = 1 OTHERS = 2.

ME_EKPO_READ_WITH_EBELN CALL FUNCTION 'ME_EKPO_READ_WITH_EBELN' EXPORTING pi_ebeln = g_oigsii_j_tab-vgbel TABLES pto_ekpo = lt_ekpo EXCEPTIONS err_no_records_found = 1 OTHERS = 2.

MAP2E_ITEM_TO_BAPIITEM CALL FUNCTION 'MAP2E_ITEM_TO_BAPIITEM' EXPORTING mepoitem = lmepoitem CHANGING bapimepoitem = wb_item.

BAPI_PO_CHANGE CALL FUNCTION 'BAPI_PO_CHANGE' EXPORTING purchaseorder = g_oigsii_j_tab-vgbel "PO (STO) number testrun = mmpur_no TABLES poitem = lt_item poitemx = lt_itemx return = lt_return.

CPE_ERP_CHECK_IF_USED CALL FUNCTION 'CPE_ERP_CHECK_IF_USED' EXPORTING IV_APPLICATION = 'M ' IMPORTING EV_CPE_IS_USED = lv_cpe_is_used.

OIB_TD_IO_ITABS CALL FUNCTION 'OIB_TD_IO_ITABS' EXPORTING i_io_to_oib = c_x i_o1 = c_x i_o2 = c_x TABLES t_oigsm = g_oigsm_tab t_oigsvmqo1 = lt_oigsvmqo1 t_oigsvmqo2 = lt_oigsvmqo2.

CUA_PARAMETER_READ CALL FUNCTION 'CUA_PARAMETER_READ' EXPORTING programm = t185f-agidv bildgruppe = t185-bldgr bild = t185-panel typ = t185f-trtyp IMPORTING cua_status = t185v-status cua_titel = t185v-ctitel cua_para1 = t185v-para1 cua_para2 = t185v-para2 cua_para3 = t185v-para3 cua_para4 = t185v-para4.



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