cancel
Showing results for 
Search instead for 
Did you mean: 

Correspondence between Purchasing Group and Material Group (at Materials Master Data level)

0 Kudos

Hi,


Is there a way to automatically fill the Purchasing Group field on mm01 when selecting a certain Material Group for that material?

The idea is that each purchasing group corresponds to a "PR owner" (responsible for the PR validation in a workflow to be created). And that owner is assigned based on the material group. But the goal is to keep that information in the materials' master data (instead of doing it when the PR is beign created).

Former Member
0 Kudos

Thank you for visiting SAP Community to get answers to your questions. Since this is your first question, I recommend that you familiarize yourself with: https://community.sap.com/resources/questions-and-answers, as the overview provides tips for preparing questions that draw responses from our members.

Should you wish, you can revise your question by selecting Actions, then Edit.

By adding a picture to your profile you encourage readers to respond: https://www.youtube.com/watch?v=46bt1juWUUM Keep in mind, when you receive an answer that was helpful to you, accept it as best answer.

Best,

Your SAP Community moderator

Accepted Solutions (0)

Answers (4)

Answers (4)

DominikTylczyn
Active Contributor

Hello sara_

In addition to pataselano proposal which is perfectly correct, I'd suggest to implement a purchasing group vs material group validation in user exit MGA00001, EXIT_SAPLMGMU_001. That would make sure that a user creating a material doesn't change default values set by BADI_MATERIAL_REF.

Best regards

Dominik Tylczynski

pataselano
Active Contributor

For make default value of purchasing group depend on material group in material master, you can use BADI_MATERIAL_REF.

Or, you can using SAP Screen Personas.

BijayKumarBarik
Active Contributor
0 Kudos

How many material groups and purchasing groups you have in your system?

As per your requirement you can design a custom table and keep specific material groups(not all) with purchasing groups in it. Go for development as suggested above and pick purchasing group for material based on material group entered in material master creation and if No value in custom table- system should behave geberically.

former_member650260
Participant
0 Kudos

You could use BADI ME_PROCESS_PO_CUST for an example see https://blogs.sap.com/2013/06/11/po-item-modification-using-badi-meprocesspocust/

DominikTylczyn
Active Contributor
0 Kudos

BADI ME_PROCESS_PO_CUST works in purchase orders. The question is about material master data maintenance.