Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Partner function on order pulls in wrong data

Former Member
0 Likes
477

We have a situation where the contact person that's on an order(which originates in CRM) is referencing the SoldTo customer master data instead of the contact person's data. This causes issues when trying to issue email output. The contact person is sucessfuly specified, but the underlying address information is not coming from the contact person master.

When looking at the partner tab, and double clicking on the contact person entry shows us the address information for the soldto, not the contact person itself.

What is very strange about this situation is that if you modify the order and enter in the exact same contact person number and then double click, it pulls up the correct information. If you change it to another contact person, it pulls it up successfully and the output will work. It's only on the original untouched order that we notice this.

We're stumped as to why that would happen. Any ideas?

2 REPLIES 2
Read only

Former Member
0 Likes
411

I would just check if address number of your contact person is being replaced by address number of SoldTo when your order is created OR if there is any address override done at order entry which impacts contact person as well.

Read only

vyende
Active Participant
0 Likes
411

Some background

When creating master data for a business partner they are assigned an address number or numbers. General customer details are in table ADRC, other info in other tables, like email address in ADR6.

Creating a sales order boils down to your config setup.

(a) your partners (and their functions) are pulled according to your settings, tcode VOPA or whatever enhancement/exits you may have.

(b) they get stored in table VBPA for that sales order with the original addresses. In your case, the address number number of your contact is the same as the address number of the sold-to. Hence the same data.

(c) when you change/modify the address on the sales order an new address is created for the changed entry (and stored on the relevant ADR* table), thus having no "link" to the original sold-to.

Hope this helps

Vyerah