SAP Reports / Programs | Exchanges | Industry Solution Oil | Exchanges(IS-OIL-DS-EXG) SAP IS

MV50A330 SAP ABAP INCLUDE - Oil-include: EXG FORM-routine







MV50A330 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 MV50A330 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 MV50A330. "Basic submit
SUBMIT MV50A330 AND RETURN. "Return to original report after report execution complete
SUBMIT MV50A330 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Oil-include: EXG FORM-routine


INCLUDES used within this REPORT MV50A330

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:

IS_OIA01_SINGLE_READ CALL FUNCTION 'IS_OIA01_SINGLE_READ' ">46B KH EXPORTING i_exgnum = lips-oiexgnum ">46B KH IMPORTING e_oia01 = oia01 ">46B KH EXCEPTIONS record_not_found = 4. ">46B KH

CHECK_NETTING_CYCLE CALL FUNCTION 'CHECK_NETTING_CYCLE' "SO3K010314 DN EXPORTING "SO3K010314 DN i_exgptr = oia01-exgptr "SO3K010314 DN i_bukrs = tvko-bukrs"SO3K010314 DN i_netcyc = lips-oinetcyc "SO3K010314 DN EXCEPTIONS "SO3K010314 DN cycle_not_found = 01. "SO3K010314 DN

OIA_INSERT_OIAQB CALL FUNCTION 'OIA_INSERT_OIAQB' IN UPDATE TASK TABLES i_oia_xmseg = oia_xmseg.

GET_OIA11_DATA CALL FUNCTION 'GET_OIA11_DATA' TABLES doia11 = xoia11 EXCEPTIONS NOTHING_CHANGED = 1.

MM_ENQUEUE_DOCUMENT CALL FUNCTION 'MM_ENQUEUE_DOCUMENT' EXPORTING i_ebeln = l_po-ebeln "KH EKPO-EBELN i_bstyp = ekpo-bstyp.

OIA_EXG_ASSIGNMENT_CHECKS CALL FUNCTION 'OIA_EXG_ASSIGNMENT_CHECKS' EXPORTING i_maint_mode = maint_mode i_xlips = xlips i_likp = likp i_clear_errlog = l_clear_errlog i_check_gr_location = l_check_gr_location i_fcode = fcode i_rush_order = u_rush_order "SO3K126313 TABLES i_xoia11 = xoia11 i_xoia06 = xoia06 EXCEPTIONS assigned_delivery_qty_diff = 1 refresh_assignment = 2 missing_batch_no = 3 missing_storage_location = 4 OTHERS = 5.

OIA_EXG_ASSIGNMENT_ERRLOG CALL FUNCTION 'OIA_EXG_ASSIGNMENT_ERRLOG' EXPORTING export_errlog = 'X' rpt_display = u_err_rpt_display EXCEPTIONS OTHERS = 1.

OIB_SD_EXG_GET_QCI_PARA_AND_QT CALL FUNCTION 'OIB_SD_EXG_GET_QCI_PARA_AND_QT' TABLES et_lipso1 = oia_lipso1 et_lipso2 = oia_lipso2.

PRICING_REFRESH CALL FUNCTION 'PRICING_REFRESH' * EXPORTING * I_NO_KOMV_REFRESH = ' ' TABLES tkomk = tkomk tkomv = tkomv.

OIA_CREATE_PO_GOODS_REC CALL FUNCTION 'OIA_CREATE_PO_GOODS_REC' EXPORTING i_likp = likp TABLES i_xoia11 = xoia11 i_xoia06 = xoia06 i_yoia06 = yoia06 i_xlips = xlips i_lipso1 = oia_lipso1 i_lipso2 = oia_lipso2 EXCEPTIONS goods_receipt_not_created = 1 OTHERS = 2.

RV_KONV_SELECT CALL FUNCTION 'RV_KONV_SELECT' EXPORTING comm_head_i = tkomk read_condition_record = 'X' IMPORTING comm_head_e = tkomk TABLES tkomv = hkomv.

OIA_PASS_FCODE CALL FUNCTION 'OIA_PASS_FCODE' EXPORTING i_fcode = fcode.

OIA_PASS_DELIVERY CALL FUNCTION 'OIA_PASS_DELIVERY' EXPORTING i_lips = lips i_likp = likp i_maint_mode = t180-aktyp TABLES i_xoia11 = xoia11 i_yoia11 = yoia11 i_xoia06 = xoia06 i_yoia06 = yoia06.



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