2011 Sep 13 5:52 AM
Hi All,
We have a case in which in the invoice output ,delivery address appearing is incorrect(for one customer only,rest all customers address display is correct).When checked we could find that address number appearing in VBPA table is wrong.that is why a incorrect address is displayed.
So I want to check why a wrong address number is updated in the VBPA table.
the document flow is,
PO-Delivery-Invoice.
where i will check for the updation of address number in vbpa??
any user-exits??
awaiting reply......
Hi All,
We have a case in which in the invoice output ,delivery address appearing is incorrect(for one customer only,rest all customers address display is correct).When checked we could find that address number appearing in VBPA table is wrong.that is why a incorrect address is displayed.
So I want to check why a wrong address number is updated in the VBPA table.
the document flow is,
PO-Delivery-Invoice.
where i will check for the updation of address number in vbpa??
any user-exits??
awaiting reply......
2011 Sep 13 6:59 AM
In VBPA table check the field ADRDA if it is D for every other correct address and also if it is D for the wrong one also.
2011 Sep 13 8:32 AM
2011 Sep 13 5:28 PM
It could most probably master data problem. I suggest you to take a customer number which is working fine and the one which is giving you the problem, go to all the tables of customer master (KNA1, KNA2, ADRC etc) in SE16N and then compare the fields of both customers and see what's different.
2011 Sep 13 10:22 AM
Hi,
The field-VBPA ADRNR, contains the address instance of the sales documentu2019s partners.
Initially, when you generate a new document, the application gets the partneru2019s address data from the customer/vendor master data, so the instance number in VBPA corresponds to the instance number in KNA1/LFA1 .
When you change the partneru2019s address data in the sales document, the application creates a new instance number, and the value in the field VBPA-ADRNR changes while the VBPA-ADRNA (address change indicator) changes its value from 'D' (ADRC address from master data) to 'E' (ADRC Entered address manually in document).
The print program should always consider the address given in the document by detecting the field-VBPA ADRNR without taking care if the value is changed in this field
Regards,
Andrea
2011 Sep 13 8:14 PM
Hi Anju,
VBPA-ADRNR is updated when you change the partner address in the sales order transaction. These address details are not updated in customer master KNA1 table.
So logic to display partner address will purely rely on the functional requirement.
At times users change the address while creating sales order by double clicking on the partner number in VA02 and re assign a new address. this address will be picked up using VBPA-ADRNR field.
when you want to display customer address on the form pick up the customer number and take the address number from KNA1 table.
Hope this helps.