You are on page 1of 2

o

Re: Help - which is right table KNA1 or ADRC

Vinod Chandran Sep 13, 2005 1:14 PM (in response to Allan Kirui)
Hi Allan,

The address number in KNA1 remains the same but the address in ADRC changes.

Use the function module ADDR_GET to get the address of a customer. Pass the address
number from KNA1 to the function module parameter 'address_selection'.

data: wa_addr like addr1_sel,


wa_sadr like sadr.

clear: wa_addr,
wa_sadr.

wa_addr-addrnumber = KNA1-ADRNR.

call function 'ADDR_GET'


exporting
address_selection = wa_addr
importing
sadr

= wa_sadr

exceptions
parameter_error = 1
address_not_exist = 2

version_not_exist = 3
internal_error
others

=4
= 5.

Thanks
Vinod

Message was edited by: Vinod C

Alert Moderator

Like (0)

Re: Help - which is right table KNA1 or ADRC

sasikumar palanichamy Sep 13, 2005 12:38 PM (in response to Allan Kirui)
Hi,

Always get the address from ADRC table by ADRC-ADRNR = KNA1-ADRNR.

Cheers,
Sasi
o

Ale

You might also like