‎2009 Jul 06 3:18 PM
DEAR EXPERTS,
do you know a BAPI whereby I a can retrieve all the data from DDIC Table ADRC ?
Kindly regards
Marco
‎2009 Jul 06 4:29 PM
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
‎2009 Jul 06 3:33 PM
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
‎2009 Jul 06 4:05 PM
see the mentioned bapi's
BAPI_ADDRESSPERS_GETDETAIL.
BAPI_BUPA_ADDRESS_GETDETAIL.
‎2009 Jul 06 4:24 PM
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
‎2009 Jul 06 4:29 PM
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
‎2009 Jul 06 4:45 PM
‎2009 Jul 06 5:19 PM
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'.