SAP Reports / Programs | Materials Management (MM) enhancements | Mill Products Industry Solution | Materials Management (MM) enhancements(IS-MP-MM) SAP IS

MILL_LV01FMO2 SAP ABAP INCLUDE - MILLLV01FMO2







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

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:

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = h_icon add_stdinf = space IMPORTING RESULT = icon_tab-icon_res2 EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = h_icon * text = icon_text info = icon_text add_stdinf = space IMPORTING RESULT = icon_res EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

MATERIAL_UNIT_CONVERSION * CALL FUNCTION 'MATERIAL_UNIT_CONVERSION' * EXPORTING * input = xv01fdp-menge_p * kzmeinh = mill_alt_menge_kzmeh * matnr = v01fdk-matnr * charge = xv01fdp-charg * werks = v01fdk-werks * meinh = msfcv-ausme * meins = msfcv-meins * IMPORTING * output = xv01fdp-mill_spmng_alt * EXCEPTIONS * conversion_not_found = 1 * input_invalid = 2 * material_not_found = 3 * meinh_not_found = 4 * meins_missing = 5 * no_meinh = 6 * output_invalid = 7 * overflow = 8 * OTHERS = 9.

VBOB_MM_OB_GET_OB_FOR_BATCH CALL FUNCTION 'VBOB_MM_OB_GET_OB_FOR_BATCH' EXPORTING xmatnr = i_matnr xcharg = i_charg xwerks = i_werks IMPORTING xkzbew = xmillb-kzbew xucwrk = xmilluc-ucwrk xucmat = xmilluc-ucmat xuccha = xmilluc-uccha xaufnr = xmilluc-aufnr xaufps = xmilluc-aufps xebeln = xmilluc-ebeln xebelp = xmilluc-ebelp EXCEPTIONS not_found = 1 invalid_input_data = 2.

/SAPMP/CA_ALT_DIALOG_RESET CALL FUNCTION '/SAPMP/CA_ALT_DIALOG_RESET'.

F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' "#EC DOM_EQUAL EXPORTING tabname = 'V01FDK' fieldname = 'MILL_PREF_UCCHA' dynpprog = 'SAPLV01F' * dynpnr = '0100' * dynprofield = 'V01FDK-MILL_PREF_UCCHA' TABLES return_tab = lt_return EXCEPTIONS OTHERS = 99.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = tabname lfieldname = fieldname IMPORTING dfies_wa = field_tab EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

VBOB_MM_OB_CALL_OB_TRANSACTION CALL FUNCTION 'VBOB_MM_OB_CALL_OB_TRANSACTION' EXPORTING i_ebeln = xmillucp-ebeln i_ebelp = xmillucp-ebelp i_aufnr = xmillucp-aufnr i_posnr = xmillucp-aufps i_trtyp = const_display EXCEPTIONS invalid_parameters = 1 function_not_possible = 2 OTHERS = 3.

ENQUEUE_EVVBAKE CALL FUNCTION 'ENQUEUE_EVVBAKE' EXPORTING mode_vbak = 'E' mandt = sy-mandt vbeln = x_bdcom-kdanr EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

MILL_SALES_DOCUMENT_UPDATE2 CALL FUNCTION 'MILL_SALES_DOCUMENT_UPDATE2' IN UPDATE TASK TABLES mill_vbap_d = mill_vbap_d mill_vbap_u = mill_vbap_u.

MARC_SINGLE_READ CALL FUNCTION 'MARC_SINGLE_READ' EXPORTING matnr = mtcom-matnr werks = mtcom-werks IMPORTING wmarc = marc_wa EXCEPTIONS lock_on_marc = 1 lock_system_error = 2 wrong_call = 3 not_found = 4 OTHERS = 5.



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