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

FM to read Database table

Former Member
0 Likes
2,163

Hi,

Is there any FM to read values from database table. I can do it by writing select query but I want to do it through an FM .

Please help me.

Thanks,

Sravanthi

4 REPLIES 4
Read only

former_member222860
Active Contributor
0 Likes
1,147

Use this FM

RFC_GET_TABLE_ENTRIES

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,147

>

> Is there any FM to read values from database table. I can do it by writing select query but I want to do it through an FM .

Why do you want to do so? Is it like you hate SELECT statements?

@Mahesh: Is it easy(& also performance efficient) to write a SELECT stmt or use RFC_GET_TABLE_ENTRIES(where you have no filter to select data) to select data ?

Suhas

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,147

SELECT_SINGLE_FROM_DBTAB

Read only

Former Member
0 Likes
1,147

You will require FM , only when you do not have authorization to directly access the table.

OR you need to fetch data from remote system. Analyse your requirement and proceed.