Page 1 of 1

Can I use USEREXIT_CUST_MATERIAL_READ to replace material?

Posted: Mon Feb 07, 2011 10:25 am
by Marlboro
Hi,


I have a requirement to determine the Customer Material Info Record (CMIR) based on a material. The users do not want to maintain multiple customer - material master record. Instead, they want to maintain a customer - material record, and have every material in the same material group use one record for that customer

The problem is USEREXIT_CUST_MATERIAL_READ has a parameter US_KUNNR to set which customer to use (either Ship-To or Sold-To in my case but not both), while I actually want to overwrite the value of the material. However, if I do overwrite the value of VBAK-MATNR for used in the CMIR determination, SAP then used value instead to what was originally entered by its customers.

My question is, is it possible to implement the requirement for this User-Exit? If not, can you suggest a solution or perhaps another User-Exit for this requirement?

Re: Can I use USEREXIT_CUST_MATERIAL_READ to replace material?

Posted: Tue Feb 08, 2011 1:38 pm
by thx4allthefish
Dear,

I seem to remember this can be solved without coding ...

Let me shadow this thread in the SD-forum, yes?

Re: Can I use USEREXIT_CUST_MATERIAL_READ to replace material?

Posted: Wed Feb 09, 2011 2:26 am
by Marlboro
Sure, in the end, the users want to reduce the amount of CMIR record and have 1 record for a customer per material group.