12-26-2015 3:49 PM
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.
12-26-2015 4:44 PM
You can use FM ADDR_SELECT_ADRC_SINGLE where ADDRNUMBER = EKKO-ADRNR.
12-27-2015 10:39 AM
Hi Manoj,
Pass the lfa1-ADRNR to ADRC-ADDRNUMBER.
Hope it helpful,
Regards,
Venkat.
12-28-2015 1:17 AM
12-28-2015 7:44 AM
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!!