Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Authorization to a program but not to its transaction

Hello,

We have the following scenario and we do not know how it must be solved. 

We have created a Z transaction to control material creation. With this transaction users can create materials in a simple way, they indicate just a little group of values and the program determines the rest. This means that they do not need to access MM01 to create a new material and we don’t want them to have authorization to that transaction. The problem is that if we do not give them authorization to MM01, the program does not work.

Is it possible to give them authorization to create materials avoiding authorization to MM01?

Thanks in advance.

Laura

replied

You could add the underlying objects of MM01 to a role. This way, they'll have access to the MM01 functions without actually having acces to tc MM01.

Below are a few authorization objects which are most probably checked in MM01. It's best to use a trial & error since you only use a limited set of fields in the BAPI, so not all objects are necessary.

C_AENR_BGRCC Change Master - Authorization Group
C_AENR_ERWCC Eng. Chg. Mgmt. Enhanced Authorization Check
C_AENR_RV1CC Engineering change mgmt - revision level for materials
C_DRAD_OBJCreate/Change/Display/Delete Object Link
C_KLAH_BKLAuthorization for Classification
C_TCLA_BKAAuthorization for Class Types
C_TCLS_MNTAuthorization for Characteristics of Org. Area
M_MATE_BUKMaterial Master: Company Codes
M_MATE_LGNMaterial Master: Warehouse Numbers
M_MATE_MANMaterial Master: Data at Client Level
M_MATE_MARMaterial Master: Material Types
M_MATE_MATMaterial Master: Materials
M_MATE_MEXMaterial Master: Export License Data per Country
M_MATE_MZPMaterial Master: Customs Tariff Preference Data
M_MATE_NEUMaterial Master: Create
M_MATE_STAMaterial Master: Maintenance Statuses
M_MATE_VKOMaterial Master: Sales Organization/Distribution Channel
M_MATE_WGRMaterial Master: Material Groups
M_MATE_WRKMaterial Master: Plants

Good luck!

Best regards,

Zhou

1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question