Application Development 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: 

FM to read Database table

Former Member
0 Kudos

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

former_member222860
Active Contributor
0 Kudos

Use this FM

RFC_GET_TABLE_ENTRIES

SuhaSaha
Advisor
Advisor
0 Kudos

>

> 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

kesavadas_thekkillath
Active Contributor
0 Kudos

SELECT_SINGLE_FROM_DBTAB

Former Member
0 Kudos

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.