cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ADRNR field update in purchase order?

Former Member
0 Likes
4,638

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 Likes

Hi Amit,

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

Former Member
0 Likes

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

former_member187965
Active Contributor
0 Likes

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 Likes

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

EXACTLY CORRECT ANSWER.

Amit

Answers (2)

Answers (2)

Former Member
0 Likes

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 Likes

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 Member
0 Likes

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 Likes

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 Member
0 Likes

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

ShubhamBandawar
Explorer
0 Likes
Hi Guys,
ShubhamBandawar
Explorer
0 Likes
EKPO showing different ADRNR for single PO, due to which it is printing differently. How does for same PO different ADRNR got generated in EKPO table for few cases. For few cases it is blank and for few cases it is same ADRNR accross PO line items in EKPO