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: 

How to get address #?

former_member194142
Participant
0 Kudos

Hello

I am trying to pull the Address # based on the Person #.

I have contact person record in KNVK table, but it doesn't have the address #.

I want to get the Fax # of this contact person, but this fax data is available in ADRC table, which table requires Address #.

So, i found a connection between Person # and Address # in ADR6 table, but, when i wrote a SQL on ADR6 for pulling the Address # by passing the Person #, am getting a ERROR in Extended Prog. Check/Code Inspector, which is not OK in our company, hence, pls. let me know

How to get Address # being having Person # in hand?

Thank you

1 ACCEPTED SOLUTION

gouravkumar64
Active Contributor
0 Kudos

Hi,

try this

SE16 -> KNVK -> enter in Number of contact person

From this table you can get the value for the field KUNNR (Customer Number ).

SE16 -> KNA1 -> enter Customer Number  (KUNNR)

From this table u can find the value for the field ADRNR (Address)

SE16 -> ADRC -> enter ADRNR

From this table u can find the values for address.

Thanks

Gourav.

3 REPLIES 3

Azeemquadri
Contributor
0 Kudos

Please check for address number adrnr in KNA1.

gouravkumar64
Active Contributor
0 Kudos

Hi,

try this

SE16 -> KNVK -> enter in Number of contact person

From this table you can get the value for the field KUNNR (Customer Number ).

SE16 -> KNA1 -> enter Customer Number  (KUNNR)

From this table u can find the value for the field ADRNR (Address)

SE16 -> ADRC -> enter ADRNR

From this table u can find the values for address.

Thanks

Gourav.

Former Member
0 Kudos

Hi

If you know employee no ( pernr ) , then you can use pa0006 ( address infotype ) there are some field

like ort01 , land1 , spras yo u can select field as per your requirement.

Thanks

anshul