Symptom
You have maintained a purchasing info record for the material and the purchasing group is also maintained in it. However, after MRP run, this purchasing group is not copied to the purchase requisition generated. Instead, the purchasing group in the material master data is copied.
Environment
SAP S/4HANA Cloud Public Edition
Cause
It is standard behavior that MRP will take the purchasing group in the material master data instead of the one in the purchasing info record.
Resolution
Use BADI PPH_MRP_PURREQ_CFL to implement custom logic to modify the purchasing group assignment during the MRP run.
The CDS view to retrieve the purchasing group data from the purchasing info record is I_PURGINFORECDORGPLNTDATAAPI01.
Keywords
MRP, purchase requisition, purchasing info record, purchasing group, material master, BADI, PPH_MRP_PURREQ_CFL, public cloud, CDS view, I_PurgInfoRecdOrgPlntDataApi01 , KBA , PP-MRP-2CL , Material Requirements Planning (Public Cloud) , Problem
SAP Knowledge Base Article - Public