SAP Reports / Programs

SAPM021M SAP ABAP dialog Program - Customizing MM Account Determination Wizard







SAPM021M 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 SAPM021M 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

OMWW2 - Old MM Account Determination Wizard


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


Text pool values


Title: Customizing MM Account Determination Wizard
Text Symbol: 210 = | Chart of accounts |
Text Symbol: 209 = | Chart of Accounts:
Text Symbol: 208 = | CC | Company name | Country | Active
Text Symbol: 207 = | active for the following Company Codes:
Text Symbol: 206 = | The feature Purchase Account Management is
Text Symbol: 205 = | The feature Purchase Account Management is not active.
Text Symbol: 204 = | Purchase Account Management:
Text Symbol: 203 = | Type | Description | Used | Valuated
Text Symbol: 202 = | Material Types:
Text Symbol: 200 = ### The following text elements are column header, the |-sign has to have a fix position###
Text Symbol: 138 = Rename
Text Symbol: 137 = Copy
Text Symbol: 136 = or rename these val classes.
Text Symbol: 135 = changes to the other mat. type(s)
Text Symbol: 134 = The wizard can either copy your
Text Symbol: 133 = also used in another material type.
Text Symbol: 132 = classes for this material type were
Text Symbol: 131 = Prior to your changes, the val.
Text Symbol: 130 = Valuation classes changed
Text Symbol: 122 = Non-material master items
Text Symbol: 121 = Off
Text Symbol: 120 = On
Text Symbol: 118 = More Cred/Deb Rules (Screen 13 of 14)
Text Symbol: 117 = Screen 3 of 14
Text Symbol: 211 = | The valuation area is at the company code level.
Text Symbol: T08 = Complete
Text Symbol: T07 = Jump to IMG: Define attributes of material types
Text Symbol: T06 = Jump to IMG: Define, copy, delete, check plant
Text Symbol: T04 = Jump to IMG: Edit company code data
Text Symbol: T03 = Description of material type
Text Symbol: T02 = Material type
Text Symbol: T01 = Name of the procedure for which automatic postings can be generated
Text Symbol: A06 = Information about hint
Text Symbol: A05 = back to previous screen
Text Symbol: A04 = Information:About R/3 Significance
Text Symbol: A03 = Information:About Recommendations
Text Symbol: A02 = Information: What is Account Determination?





Text Symbol: A01 = Information:Technical Notes
Text Symbol: 222 = | Debit | Credit
Text Symbol: 221 = | Group | Type | Class
Text Symbol: 220 = | Val. | Mat. | Val.
Text Symbol: 219 = ###220 and 221 is a header over 2 lines###
Text Symbol: 218 = | Account Description
Text Symbol: 217 = | Transaction
Text Symbol: 216 = | Group | Plant | Name
Text Symbol: 215 = | Plant Groups:
Text Symbol: 214 = | The valuation area is at the plant level.
Text Symbol: 213 = | Group | CC | Name
Text Symbol: 212 = | Company Code Groups:
Text Symbol: 116 = Screen 5 of 14
Text Symbol: 062 = Screen 11 of 14
Text Symbol: 061 = Information
Text Symbol: 060 = Input of details
Text Symbol: 059 = Screen 12 of 14
Text Symbol: 057 = Screen 14 of 14
Text Symbol: 054 = Screen 10 of 14
Text Symbol: 053 = Screen 7 of 14
Text Symbol: 052 = Screen 6 of 14
Text Symbol: 051 = Screen 2 of 14
Text Symbol: 050 = Screen 1 of 14
Text Symbol: 046 = This will duplicate accounts for
Text Symbol: 045 = Change to group independent?
Text Symbol: 044 = Change to group dependent?
Text Symbol: 043 = (See accounts on previous window.)
Text Symbol: 042 = "&"
Text Symbol: 041 = This will delete some accounts for
Text Symbol: 040 = Change dependency on group
Text Symbol: 033 = Do you want to continue?
Text Symbol: 032 = Assigned accounts are deleted.
Text Symbol: 031 = Delete Valuation Class &
Text Symbol: 017 = Confirmation of Cancel
Text Symbol: 016 = Do you really want to exit?
Text Symbol: 010 = Delete valuation class
Text Symbol: 003 = Plant
Text Symbol: 001 = Company Code
Text Symbol: 115 = Screen 4 of 14





Text Symbol: 114 = Screen 9 of 14
Text Symbol: 113 = Screen 8 of 14
Text Symbol: 103 = Change credit/debit distinction?
Text Symbol: 102 = some accounts.
Text Symbol: 101 = This will delete and/or duplicate
Text Symbol: 100 = Change credit/debit distinction
Text Symbol: 085 = Warning
Text Symbol: 084 = Hint
Text Symbol: 079 = accounts in inventory postings.
Text Symbol: 078 = Reset
Text Symbol: 077 = Overwrite
Text Symbol: 076 = accounts in other postings.
Text Symbol: 075 = accounts or reset the duplicate
Text Symbol: 074 = You can overwrite the entered
Text Symbol: 073 = You must change duplicate accounts.
Text Symbol: 072 = not be used in other postings.
Text Symbol: 071 = Accounts for inventory posting must
Text Symbol: 070 = Invalid account number
Text Symbol: 069 = MM Account Determination Wizard: Hints
Text Symbol: 068 = MM Account Determination Wizard: Technical Notes
Text Symbol: 066 = Screen 13 of 14
Text Symbol: 065 = MM Account Determination Wizard: R/3 Significance
Text Symbol: 064 = MM_Account_Determination_Wizard:_Recommendations
Text Symbol: 063 = Modify valuation class


INCLUDES used within this REPORT SAPM021M

INCLUDE M021MO01.
INCLUDE M021MI01.
INCLUDE M021MF01.


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