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 for ADRC

Former Member
0 Likes
1,693

DEAR EXPERTS,

do you know a BAPI whereby I a can retrieve all the data from DDIC Table ADRC ?

Kindly regards

Marco

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,305

Hello,

If you know that you want all the data, I would use s select statement to read the whole table into

an internal table.

Regards

Greg Kern

6 REPLIES 6
Read only

Former Member
0 Likes
1,305

HI,

You can use the bapi BAPI_ADDRESSPERS_GETDETAIL.

For business partner you can use BAPI_BUPA_ADDRESS_GETDETAIL.

Additonally you can use.

ADDRESS_INTO_PRINTFORM

ADDR_SELECT_ADRC_SINGLE

Regards,

Ankur Parab

Read only

kanishakgupta1
Contributor
0 Likes
1,305

see the mentioned bapi's

BAPI_ADDRESSPERS_GETDETAIL.

BAPI_BUPA_ADDRESS_GETDETAIL.

Read only

Former Member
0 Likes
1,305

dear friends the problem right here is i need entire data from adrc.

mentioned bapis are needing some import parameter how can you say all data.

  • is not working

kindly regards

marco

Read only

Former Member
0 Likes
1,306

Hello,

If you know that you want all the data, I would use s select statement to read the whole table into

an internal table.

Regards

Greg Kern

Read only

0 Likes
1,305

I need the all data like adrc .

Kindly Regards

marco m

Read only

0 Likes
1,305

Like Greg suggested, make a select on table ADRC to retrieve the data. Define an export parameter in your BAPI (RFC), with reference type ADRC. That's all there is to it.

A (better) alternative would be to use RFC_GET_TABLE_ENTRIES function module. This is more generic and you can retrieve subsets as well. But since it is more generic, it has no actual structure.

One thing to remember though performance wise. I don't know how many entries this table holds, but it could be quite a load on your 'network'.