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

RFC enabled function module for selecting table content

Former Member
0 Likes
1,825

Hi All,

I have a requirement to select data from one SAP system to another system based upon certain where condition and then do further processing.

Is there any SAP standard function module(remote enable) which displays data from a specified table?

Thanks,

Sanjay

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
850

Perform some search on FM RFC_READ_TABLE.

Regards,

Raymond

6 REPLIES 6
Read only

RaymondGiuseppi
Active Contributor
0 Likes
851

Perform some search on FM RFC_READ_TABLE.

Regards,

Raymond

Read only

0 Likes
850

Hi Raymond,

Didn't know (or didn't remember that) about this one, it's nice.

It has some limitation regarding retrieved amount of data but still cool.

Edgar

Read only

0 Likes
850

Hi Raymond,

Thanks for your answer, but I have already tried this function module. It works really fine but without any where condition.

I was looking for a function module where I can specify where condition as well. I have found following FMs which looks like solve my problem but they are restricted for only certain table types

/SDF/S_TCC_TABLE_READ

/SDF/S_TCC_TABLE_READ2

I will continue my search for another few days and if I didn't find any standard one then I might write one myself simillar to above FM.

thanks,

Sanjay

Read only

0 Likes
850

Sanjay,

I would suggest you to, in case you don't find a std. FM that matches your requirement, to make a copy of that RFC_READ_TABLE and adapt it in way you need. Just brainstorming...

Edgar

Read only

0 Likes
850

Look better at  RFC_READ_TABLE table parameter OPTIONS "Selection entries, "WHERE clauses" (in)"

Regards,

Raymond

Read only

edgar_nagasaki
Contributor
0 Likes
850

Hi Sanjay,

As far as I know, but I could be wrong, there's no FM in this way you need,  which is able to retrieve data from any given table. Off course we have a couple of FMs that retrieves specific data but not a generic like that.

Regards,

Edgar