Can I use USEREXIT_CUST_MATERIAL_READ to replace material?

Logistics : SD and its sub-modules (Inquires, Quotes, Order Entry, SIS, Sales Contacts, Dist. & Billing)

Moderators: Snowy, thx4allthefish, mike_ac, Lost Identity

Post Reply
Marlboro
Posts: 198
Joined: Fri Dec 27, 2002 8:56 am
Location: Europe

Can I use USEREXIT_CUST_MATERIAL_READ to replace material?

Post by Marlboro » Mon Feb 07, 2011 10:25 am

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?

thx4allthefish
Posts: 5694
Joined: Sat Oct 26, 2002 6:18 pm
Location: barolo barrel

Re: Can I use USEREXIT_CUST_MATERIAL_READ to replace material?

Post by thx4allthefish » Tue Feb 08, 2011 1:38 pm

Dear,

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

Let me shadow this thread in the SD-forum, yes?
curiousorange wrote: I give up. Humanity isn't worth saving. Why is there never a Vogon Constructor Fleet around when you really need one?

Marlboro
Posts: 198
Joined: Fri Dec 27, 2002 8:56 am
Location: Europe

Re: Can I use USEREXIT_CUST_MATERIAL_READ to replace material?

Post by Marlboro » Wed Feb 09, 2011 2:26 am

Sure, in the end, the users want to reduce the amount of CMIR record and have 1 record for a customer per material group.

Post Reply