cancel
Showing results for 
Search instead for 
Did you mean: 

Text Determination at Customer Material Info Record at Ship-to Customer

Former Member
0 Kudos

Hi

Can someone please assist. We have a scenario where we wish to have Sales Document Item to determine text from the Customer Material Info Record. The Customer number in the Customer Material Info record could be a Ship-to Customer or Sold-to Customer. Hence upon sales order entry, the text determination should pickup text from the Customer Material Info record at the line item. We have text determination of object KNMT with blank partner. Issue is that upon sales order entry, the text determination defaults to the Sold-to party rather then to Ship-to Party which is apparently SAP default. I raised a SAP OSS note 19509 and they advised the below. We have implemented the below suggestion but still having issues. Does anyone use the functionality of mapping text determiantion at sales document item for Customer Material Info record at Ship-to and how you have achieved this??? I would appreciate assistance as this is a requirement for our business to determine text at the customer material info record for Ship-to customers assigned in sales orders.

+The reason of the problem is that the customer-material info record is+

+maintained for the GR. In the standard system the KNMT would always+

+get text from the field of KUNNR -> KUAGV (therefore from the AG).+

+Howere, you have the possibility to use a user exit in order to attend+

+the KUNNR with another partner.+

+(Include MV45AFZB > FORM USEREXIT_CUST_MATERIAL_READ)+

+USEREXIT_CUST_MATERIAL_READ must be used for the system to read the+

+ship-to customer-material info record instead of the sold-to material-+

+info record (SAP standard functionality). The customer number (kunnr)+

+must be changed to that of the ship-to-party (KUWEV-KUNNR).+

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Take help of ABAP to modify the code under USEREXIT_CUST_MATERIAL_READ. Such that while passing the customer number KUNNR in FM to fetch the customer info text, it should be SHIP to party. Before call of FM change the Sold to party as Ship to and ship to as sold to.

Once FM fetch the text from Sold to (which is actually ship to), revert the change of sold and ship to for further SO functioanlity.

try and revert