cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the Delivery address for PO

Former Member
0 Kudos

I have a problem.

I am working on a SAP Script , which is for PO(Zmedruck_po) , which is a copy of

MEDRUCK.

I am asked to print the delivery adress in a window .

The scenario is like this .

In ME23N , under item details , there is a tab called DELIVERY ADDRESS

this has option to enter the adress details or a delivery number in the address text box .

If the address number is present i have to print that address , else i have to print the address which is entered in the delivery address tab.

If the delivey address number is there i have no problem in printing it ,But if address number is not there ,I need to know how to get the delivery address,

is it the plant address, company code address ... ?

I debuged ,but could not find out.

Can anyone help please .

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

try using the below method:

Goto TWLAD table with storage location (EKPO-LGORT) as key to get address number (ADDRNUMBER). then goto ADRC table to get the address of the delivery

Regards

Shiva

Former Member
0 Kudos

Hi

It should be plant address, u can use the table view MT001W,

but if there's a Storage Location the address can be Storage Location one (see the table TWLAD).

Max