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

BAPI behind ADRC table (customer address)?

samnovice_new
Participant
0 Likes
3,314

Hello,

I am having problems finding what exact BAPI is behind ADRC table (customer address)?

Any help is appreciated and many thanks in advance!

Cheers,

Sam

Hello,

I am having problems finding what exact BAPI is behind ADRC table (customer address)?

Any help is appreciated and many thanks in advance!

Cheers,

Sam

9 REPLIES 9
Read only

Former Member
0 Likes
2,468

Did you try BAPI_CUSTOMER_GETDETAIL2? Are you looking for any specific field?

Read only

0 Likes
2,468

Hello,

Thank you very much for replies.

I would like to pull data for columns NAME1 and NAME2 from ADRC table and that is whay I need it.

I hope I explained it correctly.

Thank you,

Sam

Read only

0 Likes
2,468

Why would you want to pull the NAME1 and NAME2 from ADRC whereas they are already available in KNA1 for a customer? I am not sure if I am missing a point here. Most of the BAPIs are written to select the address from KNA1 only. May be that explains that we both are not able to find suitable BAPI to fetch the data from ADRC. It may not be required. If you still need it I would suggest to write a simple RFC function module for your purpose.

Read only

0 Likes
2,468

Hello Rudra Roy,


You have a point, it's my mistake, I need info about BAPI for KNA1, can you help me with this?

Thank you!
Sam

Read only

0 Likes
2,468

The BAPI I have mentioned in my first post fetches the data from KNA1 BAPI_CUSTOMER_GETDETAIL2. Also as Amy mentioned you can use that BAPI if you want to fetch information about more than one customers together.

Read only

0 Likes
2,468

Hi Sam,

In SE37, do a search for BAPI*CUST* and you'll see the available BAPIs for Customers. If all you need is KNA1-NAME1 and KNA1-NAME2, reading directly from KNA1 may be faster than a BAPI call since the BAPI will be reading a lot more data than just NAME1 and NAME2.

Cheers,

Amy

Read only

amy_king
Active Contributor
0 Likes
2,468

Hi Sam,

BAPI_CUSTOMER_GETLIST returns address data.

Cheers,

Amy

Read only

0 Likes
2,468

hi ,

try using

BAPI_CUSTOMER_CREATE

hope this helps.

Read only

reachdebopriya
Active Participant
0 Likes
2,468

Hi,

Try this Function Module 'ADDR_GET' and if you pass Address Number.

You will get the address details.

Thanks,

Debopriya Ghosh