Professional Documents
Culture Documents
Community
Brian Atkinson
November 17, 2015 6 minute read
Authorization Group
The four-character authorization group provides another level of protection to objects beyond permitted
activities (e.g., create, change, display, delete). To carry out an action against an object with authorization
group requires a user to have a role with maintained values for the combination of activity and authorization
group.
While authorization group functionality is the same in retail, terminology can di er. Di erences are
shown in brackets [ ]. E.g., material [article].
Use
In materials [articles] management master data, authorization group is checked with ve (5) authorization
objects:
https://blogs.sap.com/2015/11/17/use-of-authorization-group-in-materials-management-master-data/ 1/12
6/1/2021 Use of authorization group in materials management master data | SAP Blogs
When performing authority checks against the above authorization objects, a value for data element BEGRU
(Authorization Group) is found in the below locations:
Prerequisites
1. Gather information from the business on their security requirement(s) with regards to material [article]
master and/or batch records
2. Determine if authorization groups will be a solution for the requirement(s). If yes, then proceed.
3. Work with your SAP security administrator to understand existing activities that users have access to
with regard to material [article] master and/or batch records
4. Based on the business requirements and input from the security admin, put together a design that
covers the following, as needed:
Con guration
Development
Master data
Role maintenance / authorization objects
Appendix A shows a simple example of a matrix that might be used for authorization groups at a
material [article] type level. A similar matrix could be used for material groups [merchandise categories] or
materials [articles].
Setup
Authorization groups can be directly assigned to material [article] types and material groups [merchandise
categories] through con guration, and materials [articles] through maintenance of the material [article] master.
https://blogs.sap.com/2015/11/17/use-of-authorization-group-in-materials-management-master-data/ 2/12
6/1/2021 Use of authorization group in materials management master data | SAP Blogs
Batches rely on the authorization group assigned to the material [article] master.
One-time con guration may be needed to make authorization group visible on the material [article] master
screen. This is covered in the Materials [Articles] section.
IMG: Logistics – General > Material Master > Basic Settings > Material Types > De ne Attributes of
Material [Article] Types
Domain BEGRM includes value table TMBG (Material [Article] Master: Authorization Groups).
This is a customizing table; however, it plays no role in the ve authorization objects listed above.
In addition, it is not used to provide a list of allowed values on screens where authorization group is
used. See Appendix B for more information on this topic.
Step 1
Enter an authorization group for the material [article] type in the Authorization group eld
https://blogs.sap.com/2015/11/17/use-of-authorization-group-in-materials-management-master-data/ 3/12
6/1/2021 Use of authorization group in materials management master data | SAP Blogs
Step 2
Determine if unused material [article] types should be left blank or assigned an authorization group
(e.g., Z999) that will not be used in role maintenance. (See Caution below for further information.)
Step 3
Step 4
Here is an example of a role that has only display access to material [article] types with authorization group
Z001, but full access to material [article] types with authorization group Z002.
Screenshot 2: Role maintenance – setting values for M_MATE_MAR authorization object
Caution: Material [Article] types with no authorization group will skip the M_MATE_MAR authority
check. (The highlighted code below shows the authority check function only being called if BEGRU is
provided.) The same is true for the others… A material group [merchandise category] with no authorization
group will skip M_MATE_WGR. A material [article] with no authorization group will skip M_MATE_MAT,
M_MATE_CHG, and M_MATE_CHP.
https://blogs.sap.com/2015/11/17/use-of-authorization-group-in-materials-management-master-data/ 4/12
6/1/2021 Use of authorization group in materials management master data | SAP Blogs
Step 1
Enter an authorization group for the material group [merchandise category] in the Authorization group eld
https://blogs.sap.com/2015/11/17/use-of-authorization-group-in-materials-management-master-data/ 5/12
6/1/2021 Use of authorization group in materials management master data | SAP Blogs
Step 2
Determine if unused material groups [merchandise categories] should be left blank or assigned an
authorization group (e.g., Z999) that will not be used in role maintenance.
Step 3
Step 4
A new SAP install has Authorization Group hidden on the material [article] master Basic Data 1 screen. If the
eld is not visible, then follow the steps in the Con guration section below.
Con guration
Transaction OMSR
IMG: Logistics – General > Material Master > Field Selection > Assign Fields to Field Selection
Groups
Click on the Field Name eld selection button
Type MARA-BEGRU
Click Field Selection Maintenance icon to the right of the selection group number
Find Field Reference MM01 and MM02, and set to Required or Optional
https://blogs.sap.com/2015/11/17/use-of-authorization-group-in-materials-management-master-data/ 6/12
6/1/2021 Use of authorization group in materials management master data | SAP Blogs
Step 1
Enter an authorization group for the material [article] in the Authorization group eld of the Basic Data 1 screen
Step 2
Step 3
Step 4
Using more than one option outlined above is allowed; however, this adds complexity. Be sure that the design
is well documented and maintained as changes are made.
https://blogs.sap.com/2015/11/17/use-of-authorization-group-in-materials-management-master-data/ 7/12
6/1/2021 Use of authorization group in materials management master data | SAP Blogs
Table 2: Sample matrix for authorization groups by material [article] type
As described above, “Domain BEGRM includes value table TMBG (Material [Article] Master: Authorization
Groups). This is a customizing table; however, it plays no role in the ve authorization objects listed above. In
addition, it is not used to provide a list of allowed values on screens where authorization group is used.”
All ve authorization groups described in this document use the same authorization elds: ACTVT (Activity) and
BEGRU (Authorization Group). As shown in the Screenshot 6 below, the BEGRU authorization eld uses the
BEGRU data element, and has no linkage to table TMBG. In addition, notice that there is no search help; therefore,
clicking on the drop-down icon when adding values to the authorization group eld when maintaining an
authorization object will not show any values from TMBG or any other area (see Screenshot 7).
Modi cations to standard SAP are possible to change this behavior. If this is required, then proceed with
caution.
https://blogs.sap.com/2015/11/17/use-of-authorization-group-in-materials-management-master-data/ 8/12
6/1/2021 Use of authorization group in materials management master data | SAP Blogs
Table TMBG is accessed from function module TMBG_SINGLE_READ, which is then accessed from function
module MARA_BEGRU. Notice in Screenshot 8 the EXIT statement in MARA_BEGRU. This EXIT statement is
always hit; therefore, the call to TMBG_SINGLE_READ (further down in MARA_BEGRU) will never be called.
Screenshot 7: Adding values to eld BEGRU; drop-down will not show any values
https://blogs.sap.com/2015/11/17/use-of-authorization-group-in-materials-management-master-data/ 9/12
6/1/2021 Use of authorization group in materials management master data | SAP Blogs
https://blogs.sap.com/2015/11/17/use-of-authorization-group-in-materials-management-master-data/ 10/12
6/1/2021 Use of authorization group in materials management master data | SAP Blogs
Alert Moderator
Assigned tags
MM (Materials Management) |
Related Questions
No comments
Find us on
https://blogs.sap.com/2015/11/17/use-of-authorization-group-in-materials-management-master-data/ 11/12
6/1/2021 Use of authorization group in materials management master data | SAP Blogs
Newsletter Support
https://blogs.sap.com/2015/11/17/use-of-authorization-group-in-materials-management-master-data/ 12/12