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

MM07SFS2 SAP ABAP INCLUDE - INCLUDE







MM07SFS2 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). It is used for This report generates a batch input session...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter MM07SFS2 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 MM07SFS2. "Basic submit
SUBMIT MM07SFS2 AND RETURN. "Return to original report after report execution complete
SUBMIT MM07SFS2 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Batch input: create physical inventory documents - log
Selection Text: XPROT = Issue log
Selection Text: XMATKL = By material group
Selection Text: XLGPBE = By storage bin description
Selection Text: XLABST = Unrestricted-use
Selection Text: XINSME = In quality inspection
Selection Text: XIMAT = Incl. inventoried materials
Selection Text: XICHA = Incl. inventoried batches
Selection Text: SPERR = Posting block
Selection Text: MTART = Material type
Selection Text: MS_WERKS = Plant
Selection Text: MS_MATNR = Material
Selection Text: MS_LGORT = Storage location
Selection Text: MS_CHARG = Batch
Selection Text: MAXPO = Number of document items
Selection Text: MATKL = Material group
Selection Text: MAPPE = BTCI session
Selection Text: LGPBE = Storage bin description
Selection Text: GIDAT = Planned count date
Selection Text: BATIN = Batch input
Title: INCLUDE
Text Symbol: A04 = the material control record):
Text Symbol: A03 = planned date comes after the current fiscal year in
Text Symbol: A02 = for the following plants (the fiscal year for this
Text Symbol: A01 = No entry could be created for the planned count date
Text Symbol: 017 = Extended selection ------------------------------------------------------------
Text Symbol: 016 = ---- ------------- -------------------
Text Symbol: 015 = Plnt Fiscal year Plnd. count date
Text Symbol: 014 = Max. no. of items.............
Text Symbol: 013 = Name of session...............
Text Symbol: 012 = Issue log
Text Symbol: 011 = Generate batch input
Text Symbol: 010 = Material group
Text Symbol: 009 = Storage bin description
Text Symbol: 008 = Sort by -----------------------------------------------------------------------
Text Symbol: 007 = Batch input session -----------------------------------------------------------
Text Symbol: 006 = Incl. inventoried batches
Text Symbol: 005 = In quality inspection





Text Symbol: 004 = Incl. inventoried materials
Text Symbol: 003 = Unrestricted-use
Text Symbol: 002 = Stock types ------------------ Continuous inventory ---------------------------
Text Symbol: 001 = Data in phys. inventory document header ---------------------------------------
001 Plant SLoc Material Batch StType Stor. bin Material group


INCLUDES used within this REPORT MM07SFS2

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:

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING TCODE = 'MI01' TABLES DYNPROTAB = BDCDATA.

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING TCODE = 'LI01' TABLES DYNPROTAB = BDCDATA.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING DEFAULTOPTION = J TITEL = TEXT-VI0 TEXTLINE1 = TEXT-VI1 TEXTLINE2 = TEXT-VI2 IMPORTING ANSWER = CONFIRM.

BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' EXPORTING CLIENT = SY-MANDT GROUP = M_MAPPE USER = SY-UNAME KEEP = KEEP.

BDC_CLOSE_GROUP CALL FUNCTION 'BDC_CLOSE_GROUP'.



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