Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Need to display Delivery Address in Output along with the PO details in ALV

manojmathi
Explorer
0 Kudos

Hi,

I'm learning ABAP. I need to display delivery address in the PO details alv report. How can i select the address from ADRC table and display. Is there any FM or something available.

4 REPLIES 4

michael_kozlowski
Active Contributor
0 Kudos

You can use FM ADDR_SELECT_ADRC_SINGLE where ADDRNUMBER = EKKO-ADRNR.

VenkatRamesh_V
Active Contributor
0 Kudos

Hi Manoj,

Pass  the lfa1-ADRNR to ADRC-ADDRNUMBER.

Hope it helpful,

Regards,

Venkat.

Former Member
0 Kudos

Check this threads:

Chintu6august
Contributor
0 Kudos

Hi,

1. using table.

>>from table  EKKO you will get LIFNR

>>pass LIFNR to LFA1 to get ADRNR

>>pass ADRNR to ADRC-ADDRNUMBER and select the fields which you want to display.

2. using FM

>>from table  EKKO you will get LIFNR

>>pass LIFNR to LFA1 to get ADRNR

pass ADRNR to this to FM ADDRESS_GET_DATA it will give both company and personal data.

ENTRY_KIND_OF_ADDR pass any out of these Type of address: C=companies/ P=persons

thanks!!