Application Development and Automation 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: 
Read only

DATA RETRIVAL

Former Member
0 Likes
396

Hi All!

I have to retrieve the customer details from ADRC table based on Customer Account number BKORM-KONTO.Please advice with the logic to retrieve.

Thanks in advance

Kumar

2 REPLIES 2
Read only

Former Member
0 Likes
376

Hi,

KNA1-KUNNR will be your Customer no.

KNA1-ADRNR will be your Customer address no.

ADRC-ADRNR based on this you can fetch customer details.

Thanks.

If this helps you reward with points.

Message was edited by: KDeepak

Read only

Former Member
0 Likes
376

Hi praneeth,

1. In same table BKORM

there is one field KOART

(account type)

2. If it is D = Vendor

then

fetch ADRNR

from table LFA1,

where LIFNR = BKORM-KONTO

Then fetch details

from table ADRC

where ADDRNUMBer = ADRNR (from above)

3. If it is K = Vendor

same for customer

in table KNA1

(field is ADRNR)

regards,

amit m.

Message was edited by: Amit Mittal