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

/SAPMP/MIGOCL2 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

/SAPMP/CE1_PARAM_PREP CALL FUNCTION '/SAPMP/CE1_PARAM_PREP' EXPORTING I_GOITEM = LS_GOITEM I_GOHEAD = LS_GOHEAD IMPORTING E_BNCOM = LS_BNCOM E_MCHA = LS_MCHA.

/SAPMP/CE1_VALUE_SET CALL FUNCTION '/SAPMP/CE1_VALUE_SET' EXPORTING I_MUEBS = LS_GOITEM-MUEBS I_BNCOM = LS_BNCOM I_MCHA = LS_MCHA I_MWERT = LS_MWERT I_XKCFC = 'X' I_APPLIC = 'M' I_MAKTX = LS_GOITEM-MAKTX I_MESS = L_MESS I_GOITEM = LS_GOITEM "ALIK000706 IMPORTING E_ICON = LS_GOITEM-/SAPMP/CE_ICON CHANGING CH_CHARG = LS_GOITEM-CHARG.

/SAPMP/CE1_MUEBS_ACTIVE CALL FUNCTION '/SAPMP/CE1_MUEBS_ACTIVE' EXPORTING APPLICATION = 'MIGO' EXCEPTIONS NO_ENTRY = 1 OTHERS = 2.

/SAPMP/CE0_LISTBOX_MUEBS CALL FUNCTION '/SAPMP/CE0_LISTBOX_MUEBS' EXPORTING FIELDNAME = 'GOHEAD-MUEBS' APPLICATION = 'MIGO' EXCEPTIONS ID_ILLEGAL_NAME = 1 NO_ENTRY = 2 OTHERS = 3.

VRM_GET_VALUES CALL FUNCTION 'VRM_GET_VALUES' EXPORTING ID = 'GOHEAD-MUEBS' IMPORTING VALUES = LT_VALUES[] EXCEPTIONS ID_NOT_FOUND = 1 OTHERS = 2.

/SAPMP/CE1_PARAM_PREP CALL FUNCTION '/SAPMP/CE1_PARAM_PREP' EXPORTING I_GOITEM = LS_GOITEM I_GOHEAD = LS_GOHEAD IMPORTING E_BNCOM = LS_BNCOM E_MCHA = LS_MCHA.

/SAPMP/CE1_EXT_BATCH_CHECK CALL FUNCTION '/SAPMP/CE1_EXT_BATCH_CHECK' EXPORTING I_BNCOM = LS_BNCOM I_MCHA = LS_MCHA IMPORTING E_RC = L_RC EXCEPTIONS INVALID_DATA = 1 OTHERS = 2.

VB_BATCH_READ_BUFFER_DB CALL FUNCTION 'VB_BATCH_READ_BUFFER_DB' EXPORTING matnr = i_matnr charg = i_charg werks = i_werks lgort = i_lgort read_from_buffer = x read_from_db = x IMPORTING batch_buffer = ls_mcha_buffer EXCEPTIONS no_material = 01 no_batch = 02 no_plant = 03.

MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING schluessel = ls_mtcom TABLES seqmat01 = lt_xbwtar EXCEPTIONS error_message = 01 OTHERS = 02.

MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING schluessel = ls_mtcom TABLES seqmat01 = lt_xbwtar EXCEPTIONS error_message = 01 OTHERS = 02.



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 /SAPMP/MIGOCL2 or its description.