SAP Reports / Programs | Materials Management | Inventory Management(MM-IM) SAP MM

MM07IFS1 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

DELETE_SERNR_IV call function 'DELETE_SERNR_IV' "377026 exporting "377026 iblnr = l_iblnr "377026 zeili = yiseg-zeili "377026 gjahr = ikpf-gjahr "377026 oltpi = '2' "377026 bapi = X_AUFRUF_AUS_FB "377026 j_vorgang = 'PMTD' "377026 EXCEPTIONS "377026 OBJECTLIST_NOT_FOUND = 1 "377026 OTHERS = 2. "377026

SERIAL_LISTE_IV CALL FUNCTION 'SERIAL_LISTE_IV' EXPORTING profile = ydm07i-sernp material = yiseg-matnr m_charge = yiseg-charg quantity = sernr_export activity = activity iblnr = l_iblnr zeili = yiseg-zeili gjahr = ikpf-gjahr werk = yiseg-werks lagerort = yiseg-lgort charge = yiseg-charg bstar = yiseg-bstar bstch = s_bsinf stock_proposal = proposal IMPORTING anzsn = sernr_import EXCEPTIONS NO_PROFILE_OPERATION = 2 OBJECTLIST_ALREADY_GENERATED = 3 OTHERS = 4.

DELETE_SERNR_IV call function 'DELETE_SERNR_IV' "678239 exporting "678239 iblnr = l_iblnr "678239 zeili = yiseg-zeili "678239 gjahr = ikpf-gjahr "678239 oltpi = '1' "678239 bapi = X_AUFRUF_AUS_FB "678239 j_vorgang = space "678239 EXCEPTIONS "678239 OBJECTLIST_NOT_FOUND = 1 "678239 OTHERS = 2. "678239

SERIAL_LISTE_POST_IV CALL FUNCTION 'SERIAL_LISTE_POST_IV'.

GENERATE_INVENTORY_OBJECTLIST CALL FUNCTION 'GENERATE_INVENTORY_OBJECTLIST' EXPORTING profile = ydm07i-sernp material = s_iseg-matnr quantity = sernr_export iblnr = l_iblnr zeili = s_iseg-zeili gjahr = ikpf-gjahr bstar = s_iseg-bstar bstch = s_bsinf bapi = X_AUFRUF_AUS_FB EXCEPTIONS SERIALNUMBER_ERRORS = 1 NO_PROFILE_OPERATION = 2 OBJECTLIST_ALREADY_GENERATED = 3 OTHERS = 4.

SERIAL_PROFILE_READ CALL FUNCTION 'SERIAL_PROFILE_READ' EXPORTING profile_r = ydm07i-sernp operation_r = op_mmsl snbwg_r = ' ' pflege = 'X' IMPORTING t_377 = l_t377 EXCEPTIONS no_t377_entry = 2 OTHERS = 3.

SERIAL_RENUM_IV call function 'SERIAL_RENUM_IV' exporting iblnr_alt = temp_iblnr iblnr_neu = ikpf-iblnr.

MB_CONTROL_MOVETYPE_GET_SINGLE CALL FUNCTION 'MB_CONTROL_MOVETYPE_GET_SINGLE' EXPORTING I_MANDT = SY-MANDT I_BWART = l_bwart I_WERTU = yvm07i-wertu I_MENGU = yvm07i-mengu I_SOBKZ = yiseg-sobkz I_KZBEW = ' ' I_KZZUG = ' ' I_KZVBR = l_kzvbr IMPORTING E_ST156S = s_t156s.

INVENTORY_DIFFERENCES call function 'INVENTORY_DIFFERENCES' exporting profile = ydm07i-sernp iblnr = l_iblnr zeili = yiseg-zeili gjahr = ikpf-gjahr bsinfo = s_bsinf j_vorgang_in = s_t156s-VRGNG_S j_vorgang_out = s_t156s-VRGNG_H SIMULATION = l_simulation bapi = X_AUFRUF_AUS_FB budat = LOC_BUDAT EXCEPTIONS SERIALNUMBER_ERRORS = 1.

DELETE_SERNR_IV call function 'DELETE_SERNR_IV' exporting iblnr = l_iblnr zeili = yiseg-zeili gjahr = ikpf-gjahr oltpi = '1' bapi = X_AUFRUF_AUS_FB j_vorgang = space EXCEPTIONS OBJECTLIST_NOT_FOUND = 1 OTHERS = 2.

DELETE_SERNR_IV call function 'DELETE_SERNR_IV' exporting iblnr = yiseg-iblnr zeili = yiseg-zeili gjahr = ikpf-gjahr oltpi = '2' bapi = X_AUFRUF_AUS_FB j_vorgang = 'PMTD' EXCEPTIONS OBJECTLIST_NOT_FOUND = 1 OTHERS = 2.

IV_SERNR_STATUS_CHANGE call function 'IV_SERNR_STATUS_CHANGE' exporting j_vorgang = 'PMTD' ivpos_tab = t_ivpos.

MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING SCHLUESSEL = LS_MTCOM TABLES SEQMAT01 = LT_XCHARG.



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