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

MOIGSF00_02 SAP ABAP INCLUDE - General functions







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

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:

SD_VBUK_SINGLE_READ * CALL FUNCTION 'SD_VBUK_SINGLE_READ' "SVP2 KH * EXPORTING I_VBELN = pi_vbeln "SVP2 KH * IMPORTING E_VBUK = vbuk "SVP2 KH * EXCEPTIONS OTHERS = 0. "RC not used "SVP2 KH

SD_VBAP_SELECT CALL FUNCTION 'SD_VBAP_SELECT' EXPORTING I_DOCUMENT_NUMBER = l_lips_tab-VGBEL I_ITEM_NUMBER = l_lips_tab-VGpos IMPORTING E_VBAP = LS_VBAP.

SD_VBKD_SINGLE_READ CALL FUNCTION 'SD_VBKD_SINGLE_READ' EXPORTING I_VBELN = l_lips_tab-VGBEL I_POSNR = l_lips_tab-VGpos IMPORTING E_VBKD = ls_VBKD EXCEPTIONS RECORD_NOT_FOUND = 1 OTHERS = 2.

KNVV_SINGLE_READ CALL FUNCTION 'KNVV_SINGLE_READ' EXPORTING i_kunnr = pi_kunnr i_vkorg = pi_vkorg i_vtweg = l_vtweg i_spart = l_spart IMPORTING o_knvv = knvv EXCEPTIONS others = 99.

OIH_TD_ED_PREPROCESS_BADI CALL FUNCTION 'OIH_TD_ED_PREPROCESS_BADI' EXPORTING IV_VKORG = pi_vkorg CHANGING XS_OIGS = pi_oigs XS_OIGSI = p_oigsi XS_LIPS = l_lips_tab.

KNVV_SINGLE_READ CALL FUNCTION 'KNVV_SINGLE_READ' EXPORTING i_kunnr = pi_kunnr i_vkorg = pi_vkorg i_vtweg = l_vtweg i_spart = l_spart IMPORTING o_knvv = knvv.

T001W_SINGLE_READ CALL FUNCTION 'T001W_SINGLE_READ' EXPORTING T001W_WERKS = p_werks IMPORTING WT001W = t001w EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

MBEW_SINGLE_READ CALL FUNCTION 'MBEW_SINGLE_READ' EXPORTING MATNR = p_matnr BWKEY = t001w-bwkey BWTAR = p_bwtar IMPORTING wmbew = mbew EXCEPTIONS OTHERS = 1.

KNA1_SINGLE_READ

V_KNA1_SINGLE_READ *KH CALL FUNCTION 'KNA1_SINGLE_READ' CALL FUNCTION 'V_KNA1_SINGLE_READ' ">46B KH EXPORTING pi_kunnr = pi_likp_kunnr ">46B KH IMPORTING pe_kna1 = kna1 ">46B KH EXCEPTIONS no_records_found = 1 OTHERS = 2.

WY_LFA1_SINGLE_READ CALL FUNCTION 'WY_LFA1_SINGLE_READ' EXPORTING pi_lifnr = pi_carrier IMPORTING po_lfa1 = lfa1 EXCEPTIONS no_records_found = 1 OTHERS = 2.

FLTP_CHAR_CONVERSION CALL FUNCTION 'FLTP_CHAR_CONVERSION' EXPORTING decim = pi_decim expon = 0 input = pi_input ivalu = c_x * MASKN = ' ' IMPORTING flstr = po_flstr.

CHAR_FLTP_CONVERSION CALL FUNCTION 'CHAR_FLTP_CONVERSION' EXPORTING dyfld = ' ' maskn = ' ' * maxdec = 15 maxexp = +10 * maxexp = '59+' * minexp = '60-' string = pi_input msgtyp_decim = 'E' IMPORTING * decim = po_decim expon = po_expon flstr = po_flstr ivalu = po_ivalu.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = po_input * NO_TYPE_CHECK = 'X' * ROUND_SIGN = ' ' unit_in = po_unit_in unit_out = po_unit_out IMPORTING * ADD_CONST = * DECIMALS = * DENOMINATOR = * NUMERATOR = output = po_output EXCEPTIONS conversion_not_found = 01 division_by_zero = 02 input_invalid = 03 output_invalid = 04 overflow = 05 type_invalid = 06 units_missing = 07 unit_in_not_found = 08 unit_out_not_found = 09.

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

RV_MESSAGES_DELETE CALL FUNCTION 'RV_MESSAGES_DELETE' EXPORTING msg_objky = g_objky msg_objky_to = l_objky delete_all_status = 'X' EXCEPTIONS OTHERS = 1.

OIK_TAS_DATA_DEL_SET CALL FUNCTION 'OIK_TAS_DATA_DEL_SET' EXCEPTIONS OTHERS = 1.

OIK_TAS_DATA_SAVE CALL FUNCTION 'OIK_TAS_DATA_SAVE' EXPORTING i_docno = roigs-shnumber t_roigs = g_oigs TABLES t_roigsi = g_oigsi_tab t_roigsvmq = g_oigsvmq_tab EXCEPTIONS OTHERS = 1.

OIK_CHECK_TPI_ACTIVE CALL FUNCTION 'OIK_CHECK_TPI_ACTIVE' EXCEPTIONS tpi_is_not_active = 1 OTHERS = 2.






MASTERIDOC_CREATE_DEL_OILSH1 CALL FUNCTION 'MASTERIDOC_CREATE_DEL_OILSH1' EXPORTING shnumber = roigs-shnumber trtyp = c_delete EXCEPTIONS OTHERS = 1.

MB_CHANGE_RESERVATION * CALL FUNCTION 'MB_CHANGE_RESERVATION' IN UPDATE TASK * EXPORTING * change_resb = c_x * change_rkpf = space * new_resb = space * TABLES * xresb = xresb.

MB_CHANGE_RESERVATION CALL FUNCTION 'MB_CHANGE_RESERVATION' IN UPDATE TASK EXPORTING change_resb = c_x change_rkpf = space new_resb = space TABLES xresb = xresb.

OIGS_BR_DB_SAVE CALL FUNCTION 'OIGS_BR_DB_SAVE' TABLES t_oigsi = g_oigsi_tab.

RV_MESSAGES_UPDATE CALL FUNCTION 'RV_MESSAGES_UPDATE' EXPORTING msg_kappl = g_kappl msg_objky = g_objky.

OIB2_TD_GET_OIGSVMQ_APPENDIX call function 'OIB2_TD_GET_OIGSVMQ_APPENDIX' "nv 1295552 exporting i_shnum = g_oigs-shnumber. "n^ 1295552



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