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: 

Select or BAPI is to be used

Former Member
0 Kudos

Hi Abapers,

Selecting entries directly from table is good programming practice or to use BAPI instead of direct use of select so and so table...

rg

sameer

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Mohammed,

Generally in case of selecting values from tables,

SELECT (fields) FROM TABLE INTO CORESPONDING FIELDS OF itab - is the recommended method.

BAPI's are generally used in case you want to update database tables in bulk.....

Just for selection BAPIs need not be used.

Best Regards,

Ram.

3 REPLIES 3

Former Member
0 Kudos

If you want to read data from database for further processing it is better to use Select statement. BAPI can be used in some cases, but processing time will be more than Select statement if all primary keys exists...

Former Member
0 Kudos

Hi Mohammed,

Generally in case of selecting values from tables,

SELECT (fields) FROM TABLE INTO CORESPONDING FIELDS OF itab - is the recommended method.

BAPI's are generally used in case you want to update database tables in bulk.....

Just for selection BAPIs need not be used.

Best Regards,

Ram.

Former Member
0 Kudos

Selecting entries directly from table is good programming practice