2012 Nov 19 4:10 PM
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
2012 Nov 19 5:08 PM
Did you try BAPI_CUSTOMER_GETDETAIL2? Are you looking for any specific field?
2012 Nov 20 7:45 AM
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
2012 Nov 20 10:35 AM
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.
2012 Nov 20 10:57 AM
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
2012 Nov 20 11:24 AM
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.
2012 Nov 20 1:00 PM
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
2012 Nov 19 5:18 PM
Hi Sam,
BAPI_CUSTOMER_GETLIST returns address data.
Cheers,
Amy
2012 Nov 20 11:24 AM
2012 Nov 20 11:39 AM
Hi,
Try this Function Module 'ADDR_GET' and if you pass Address Number.
You will get the address details.
Thanks,
Debopriya Ghosh
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |