cancel
Showing results for 
Search instead for 
Did you mean: 

Delivery address in PO item level with no addressnr

Former Member
0 Kudos

Hello,

I have to print the delivery address in a form. This goes correct if the addrnumber is filled in the tab PO-item/delivery.

However if this addressnumber is not filled it is not printed.

Searching in adrc i have found the correct addressnumber (which is not shown in ME23N). But i cannot found the link between this po-item delvery address and this addressnumber.

does anyone could me tell the link between this.

Accepted Solutions (1)

Accepted Solutions (1)

raymond_giuseppi
Active Contributor
0 Kudos

In the received IT_EKPO table, look for address til found

- ADRN2

- ADRNR

- If KUNNR is not initial, look for a customer address (select from KNA1)

- If EMLIF is not initial, look for a vendor address (select from LFA1 or use FM VENDOR_MASTER_DATA_SELECT_00)

- If WERKS is not initial, look for a plant address (FM MM_ADDRESS_GET)

Look at the standard forms delvered by SAP (*) to get more information and coding samples)

Regards,

Raymond

(*) You can also look at best practices forms for your country or industry

Former Member
0 Kudos

Hello Raymond,

Thanx for your answer. But i still do not have it all.

your answer are prefilled addresses. But it is in me22n also possble to cjhange that address manual in to some funny address which has nothing ot do with one of your possibilities.

Do you perhaps also kmow where to look if the address is manual changed?

raymond_giuseppi
Active Contributor
0 Kudos

Then the new address number will be in EKPO-ADRNR

Regards,

Raymond

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

check EKKO-ADRNR and EKPO-ADRNR.

Regards,

--

Przemysław