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

SAPMM07S SAP ABAP dialog Program - Module pool for inventory sampling







SAPMM07S is a standard Module pool for a dialog screen ABAP Program 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 SAPMM07S into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

MIS2 - Change Inventory Sampling
MIS3 - Display Inventory Sampling
MIS1 - Create Sample-Based Phys. Inv. - ERP
MIS4 - Create Inventory Sampling - R/2
MIS5 - Create Inventory Sampling - Other


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


Text pool values


Title: Module pool for inventory sampling
Text Symbol: L07 = Stock type ;;
Text Symbol: L08 = Plnt|SLoc|MTy.|Stock type
Text Symbol: L09 = Currency
Text Symbol: L11 = Material |Batch |Val.type |CCA|DeI|Zer|ABC|STy|Ran|Cnt|Pst
Text Symbol: L12 = Material |Batch |Val.type |CCA|DeI|Zer|ABC|STy|Comment
Text Symbol: L19 = All specified values in:
Text Symbol: L20 = ClasNo|LowerVal.limit |UpperVal.limit |No.of SMUs|Book val.
Text Symbol: L23 = Total stock mgmt units ;;
Text Symbol: L24 = Total book value ;;
Text Symbol: L30 = No| LowerVal.limit | UpperVal.limit |Total |Select.|SMUs to cnt|CCA| Book val.
Text Symbol: L60 = StockMgmtLvlNo.|WhouseNo. |StorType|No.of SMUs|Book val.
Text Symbol: L62 = WhouseNo. |StorType|Group
Text Symbol: L64 = WhouseNo. |StorType|Except.text
Text Symbol: L68 = WhouseNo. ;;
Text Symbol: L69 = Storage type ;;
Text Symbol: L71 = StorageBin|CCA|Zer|Comment: Phys.inv.doc.|Transport|Stock
Text Symbol: L74 = StorageBin|CCA|Zer|Ran|Cnt|Pst
Text Symbol: LO1 = Delete inventory sampling
Text Symbol: LO2 = Do you want to
Text Symbol: LO3 = delete this inventory sampling?
Text Symbol: P00 = Background processing Tr./Ev.
Text Symbol: P01 = Please choose only related ;;
Text Symbol: P02 = transactions/events for ;;
Text Symbol: P03 = background processing. ;;
Text Symbol: P04 = Stock population
Text Symbol: P05 = Stratification
Text Symbol: P06 = Random selection
Text Symbol: AB3 = save this inventory sampling?
Text Symbol: AB4 = Cancel processing
Text Symbol: AB5 = Are you sure you want to
Text Symbol: AB6 = cancel processing?
Text Symbol: B05 = Plnt|SLoc|Material |Batch |StockType
Text Symbol: B10 = Phys. inv. docs. can be created for the following stock mgmt. units
Text Symbol: B11 = Phys. inv. doc. reference number ;;
Text Symbol: B12 = Name of batch input session ;;
Text Symbol: B13 = The following stock mgmt. units are already subj. to phys. inv.:
Text Symbol: B64 = Whouse no. |StorType|StorageBin|Comment





Text Symbol: B65 = Whouse no. |StorType|StorageBin
Text Symbol: B66 = Phys. inv. active
Text Symbol: B67 = Transport active
Text Symbol: B68 = Available
Text Symbol: B69 = Active
Text Symbol: B70 = Negative
Text Symbol: B71 = Stock negative
Text Symbol: B72 = Phys. inv. active;;
Text Symbol: B73 = Deleted
Text Symbol: B74 = No bin quantities
Text Symbol: B75 = Mat. non-val.
Text Symbol: L00 = StockMgtLvlNo. |Plnt|SLoc|MTy.|SType|Number|CoCde|Curr. |Book val.
Text Symbol: L01 = Plant ;;
Text Symbol: L02 = Plnt|SLoc|MTy.|StockType |Group
Text Symbol: L03 = Stor. location ;;
Text Symbol: L04 = Plnt|SLoc|MTy.|StockType |CoCde|Crrency|Except.text
Text Symbol: L05 = Material type ;;
Text Symbol: V01 = Change stockMgmtLevls
Text Symbol: V54 = re-update?
Text Symbol: V60 = Extrapolation
Text Symbol: V61 = Do you want to carry out
Text Symbol: V62 = provisional extrapolation?
Text Symbol: V63 = Do you want to carry out
Text Symbol: V64 = final extrapolation?
Text Symbol: VI0 = Phy.inv.docs session
Text Symbol: VI1 = Do you want to create
Text Symbol: VI2 = BTCI sess. for phys.inv.docs?
Text Symbol: VN0 = Subs.rand.selec in sampling area
Text Symbol: VN1 = Add. elements to be counted
Text Symbol: VN2 = must be selected. Proceed?
Text Symbol: VN3 = Subs.rand.selec in compl.-c. area
Text Symbol: VN4 = Plausibility check
Text Symbol: VN5 = Elements must also be counted
Text Symbol: VP1 = Plausibility check is being carried out
Text Symbol: VP2 = After the Plausibility check, the inventory sampling
Text Symbol: VP3 = cannot be saved
Text Symbol: VP4 = All previous steps will be lost!
Text Symbol: VP5 = Do you want to save the inv. sampling beforehand?
Text Symbol: VP6 = Status: Act.(completion partially successful)





Text Symbol: VQ1 = All stock elements have been counted and posted
Text Symbol: VQ2 = The figure is lower than the parameters that were determined. But the status
Text Symbol: VQ3 = is 'active (completion partially successful)' because the system proposed a recount
Text Symbol: VQ4 = You can close the inventory sampling after you have your external auditor's permission
Text Symbol: VQ5 = Do you want to manually change status to:
Text Symbol: VQ6 = 'compl. (completion partially successful)'?
Text Symbol: V02 = Adopt stock mgmt levels
Text Symbol: V03 = Do you want to adopt
Text Symbol: V04 = selected stock mgmt levels?
Text Symbol: V05 = Does not exist
Text Symbol: V06 = Not defined for inv.sampling
Text Symbol: V07 = Stock type changed
Text Symbol: V08 = Do you want to make these
Text Symbol: V09 = changes?
Text Symbol: V10 = Form stock population
Text Symbol: V11 = Do you want to
Text Symbol: V12 = form a stock population?
Text Symbol: V13 = Do you want to overwrite
Text Symbol: V14 = existing stock population?
Text Symbol: V30 = Stratification
Text Symbol: V31 = Do you want to
Text Symbol: V32 = carry out stratification?
Text Symbol: V33 = Do you want to overwrite
Text Symbol: V34 = existing stratification?
Text Symbol: V40 = Rand.selection
Text Symbol: V41 = Do you want to
Text Symbol: V42 = carry out random selection?
Text Symbol: V43 = Do you want to overwrite
Text Symbol: V44 = existing random selection?
Text Symbol: V50 = Update
Text Symbol: V51 = Do you want to
Text Symbol: V52 = make the update?
Text Symbol: V53 = Do you want to
Text Symbol: 406 = Selection Parameters ;;
Text Symbol: 407 = Deletion flags considered ;;
Text Symbol: 408 = Zero stocks considered ;;
Text Symbol: 409 = ABC indicators considered ;;
Text Symbol: 410 = Procedure Parameters ;;
Text Symbol: 411 = Inventory sampling procedure ;;



Text Symbol: 412 = Extrapolation procedure ;;
Text Symbol: 413 = Upper value limit for sampling area ;;
Text Symbol: 414 = Minimum sample size per stratum ;;
Text Symbol: 415 = Statistical Parameters ;;
Text Symbol: 416 = Probable degree of certainty ;;
Text Symbol: 417 = max. rel. deviation allowed ;;
Text Symbol: 418 = max. rel. statist. error allowed ;;
Text Symbol: 419 = Upper price limit for sampling area ;;
Text Symbol: 420 = Plausibility Check
Text Symbol: 421 = Procedure for Update:
Text Symbol: 422 = Percentage upper value limit (at start)
Text Symbol: 500 = Compl-count area: value >
Text Symbol: 501 = Extrapolation result for sampling area ;;
Text Symbol: 502 = Sampling stratum:
Text Symbol: 503 = ------------------------------------------------------------------------------
Text Symbol: 504 = Stock mgmt units at time of planning ;;
Text Symbol: 505 = at time of update ;;
Text Symbol: 506 = Balance ;;
Text Symbol: 507 = Book value at time of planning ;;
Text Symbol: 508 = Sample elements at time of planning ;;
Text Symbol: 509 = Elements counted ;;
Text Symbol: 405 = Status ;;
Text Symbol: 009 = Material
Text Symbol: 010 = Company Code Batch
Text Symbol: 011 = Stor. Bin Stock Category Price Unit
Text Symbol: 012 = Total Value Total Stock Valuat. Type
Text Symbol: 013 = Qty Counted Book Qty Time of Count Purchase Order Unit
Text Symbol: 014 = Mat. Short Text ABC Indicator
Text Symbol: 015 = Date Program Name Fr. Phys. Inv. Doc. No. To Phys. Inv. Doc. No.
Text Symbol: 100 = Delete indicator changed
Text Symbol: 101 = Stock popul.must be adjusted.
Text Symbol: 102 = Make this change?
Text Symbol: 103 = Zero stocks indic. changed
Text Symbol: 104 = Consider ABC indic. changed
Text Symbol: 105 = Upp. price limit changed
Text Symbol: 106 = Upp. value limit changed
Text Symbol: 107 = Class interval changed
Text Symbol: 108 = Lower number of strata chnged
Text Symbol: 109 = Upp. number of strata chnged
Text Symbol: 110 = Minimum sample size changed
Text Symbol: 111 = Stratification must be adjusted.
Text Symbol: 112 = Make this change?
Text Symbol: 113 = New opt. stratum must be determined.
Text Symbol: 114 = Make this change?
Text Symbol: 400 = Extrapolation for inventory sampling ;;
Text Symbol: 401 = Planned on ;;
Text Symbol: 402 = By ;;
Text Symbol: 403 = Updated on ;;
Text Symbol: 404 = By ;;
Text Symbol: 900 = Opt. stratification w.
Text Symbol: 901 = Stratum)
Text Symbol: 902 = Strata)
Text Symbol: 903 = Total
Text Symbol: 904 = Total (variation with ;;
Text Symbol: 905 = Total (optimum variation with ;;
Text Symbol: 906 = Stock popul. (value > 0)
Text Symbol: 907 = Sampling area
Text Symbol: 908 = Compl.-count area
Text Symbol: 909 = Total (optimum variation) ;;
Text Symbol: 920 = 100 % of total value
Text Symbol: 921 = Absolute uniform distrib.
Text Symbol: 922 = 80/20 stores phenomenon
Text Symbol: 923 = Sample size
Text Symbol: 924 = Upp.val. limit
Text Symbol: 925 = Determin. of upp. price limit
Text Symbol: 926 = Additional counting effort
Text Symbol: 927 = Upp.price limit
Text Symbol: 928 = LORENZ CURVE
Text Symbol: 929 = Determin. of upp. value limit
Text Symbol: 930 = Upp.val. limit
Text Symbol: 931 = 100 % of all items
Text Symbol: 933 = to
Text Symbol: 935 = and all
Text Symbol: 936 = - Rating
Text Symbol: AB1 = Exit processing
Text Symbol: AB2 = Do you want to
Text Symbol: 807 = Issue log
Text Symbol: 510 = Elements posted ;;
Text Symbol: 511 = Posted elements Book value ;;
Text Symbol: 512 = Actual value ;;
Text Symbol: 513 = Extrapolation result for total area ;;
Text Symbol: 514 = Posted units Book value ;;
Text Symbol: 515 = Actual value ;;
Text Symbol: 516 = (1) New stock mgmt units ;;
Text Symbol: 517 = (2) Stratum changer ;;
Text Symbol: 518 = Total from (1) and (2) ;;
Text Symbol: 519 = Sampling stratum Adjusted book value ;;
Text Symbol: 520 = Sampling area Adjusted book value ;;
Text Symbol: 521 = Estimate ;;
Text Symbol: 522 = Phy.inv.diff. based on estimate ;;
Text Symbol: 523 = Relative deviation ;;
Text Symbol: 524 = Relative statis. error ;;
Text Symbol: 525 = Weighted relative deviation ;;
Text Symbol: 526 = Weighted rel. statistical error ;;
Text Symbol: 527 = Zero stocks ;;
Text Symbol: 528 = Total area Adjusted book value ;;
Text Symbol: 530 = Phys. inv. diff. posted ;;
Text Symbol: 800 = Select group
Text Symbol: 801 = Group
Text Symbol: 802 = Name of file
Text Symbol: 803 = Sequential data set for STEP 1
Text Symbol: 804 = Sequential data set for STEP 3
Text Symbol: 805 = Sequential data set for STEP 4
Text Symbol: 806 = Delete group


INCLUDES used within this REPORT SAPMM07S

INCLUDE MM07SFA0.
INCLUDE MM07SFB0.
INCLUDE MM07SFC0.
INCLUDE MM07SFD0.
INCLUDE MM07SFE0.
INCLUDE MM07SFG0.
INCLUDE MM07SFI0.
INCLUDE MM07SFK0.
INCLUDE MM07SFL0.
INCLUDE MM07SFN0.
INCLUDE MM07SFO0.
INCLUDE MM07SFP0.
INCLUDE MM07SFS0.
INCLUDE MM07SFT0.
INCLUDE MM07SFU0.
INCLUDE MM07SFV0.
INCLUDE MM07SFX0.
INCLUDE MM07SFZ0.
INCLUDE MM07SFLI.
INCLUDE MM07SO00.
INCLUDE MM07SI00.


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:

No SAP FUNCTION MODULES are executed within this report code!



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