Skip to Content
author's profile photo Former Member
Former Member

When does VBPA-ADRNR gets updated?

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......

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Sep 13, 2011 at 05: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.

    Add a comment
    10|10000 characters needed characters exceeded

    • 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.

  • Posted on Sep 13, 2011 at 09: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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 13, 2011 at 07: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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.