cancel
Showing results for 
Search instead for 
Did you mean: 

ADRNR field update in purchase order?

Former Member
0 Kudos

Hi MM Master,

I want to know that how the ADRNR Field get updated while creating purchase order.

In EKKO - ADRNR field the number is updating. As in my case, this number is updating in some PO only.

Which cause problem in my printout of Purchase order.

Regards

Amit

Accepted Solutions (1)

Accepted Solutions (1)

former_member187965
Active Contributor
0 Kudos

Hi Amit,

Check for vendors, the ADRNR is updated in the LFA1 table.

Former Member
0 Kudos

In LFA1 table the field is updated but the number in EKKO and LFA1 differs.

former_member187965
Active Contributor
0 Kudos

Hi Amit,

Yes, this is standard system behavior. The EKKO-ADRNR field is only updated when you make changes in the PO, in the 'Address' tab at header level, otherwise this field remains blank.

System keeps, the ADRNR from EKKO and LFA1 different, the reason is, to avoid the changes in the original vendor master address when you make changes in the address in PO.

You can check this in your test system.

Create PO and then for this PO check EKKO-ADRNR, you will find this field blank. Now, go to ME22N for this PO and make some changes in the 'Address' tab at header level and save the PO. Now, again check the EKKO-ADRNR, you will find this field is updated with address number and this will be different from LFA1-ADRNR.

Former Member
0 Kudos

Thanks, ADRNR field is getting updated after changing the address in PO.

EXACTLY CORRECT ANSWER.

Amit

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

The delivery address (at item level) is linked to the central
address management facility (CAM).
The vendor address (header level) is linked to CAM.
Address data is stored under an address number (key ADRNR) in the
table ADRC.
In the case of the delivery address, the system accesses (displays)
the address data via the following pointers:

- EKPO-ADRNR  (address entered manually in the item) or
- EKPO-ADRN2  (explicitly specified address number) or
- EKPO-KUNNR  (customer number) or
- EKPO-EMLIF  (receiving vendor)

In the case of the vendor address the system accesses the address
data via the vendor master data:

- EKKO-LIFNR -> LFA1-ADRNR.

I hope this can be of help

Nadia Orlandi

Former Member
0 Kudos

Hi Nadia.

I want to ask thing that, In ekko and ekpo how the field is getting updated?

Because in every PO it is not created. 

Regards

Amit

former_member182673
Active Contributor
0 Kudos

Are you facing this issue for the same vendor in different POs? If not, then lack of address creation using the transactions I have mentioned earlier is the reason for this behaviour. Check that part.

Former Member
0 Kudos

Yes, for same vendor differenct PO, ADRNR field is not get updated.

What should I do so that for every PO that ADRNR Field get Update.

former_member182673
Active Contributor
0 Kudos

Address number will appear only when you have created address using transactions like SOAD or SOCP and used those numbers in the master data. If the addresses are created directly in the master data screen, then such address don't have entries in ADRC table and hence you won't fine ADRNR number (which is address number in ADRC table) populated in transactional data like Purchase orders or sales orders