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

Dynamic SQL

Former Member
0 Likes
423

Hi,

I am new to dynamic SQL. I want to know the concepts of Dynamic SQL. Can anyone explain me abt it in detail.

Please do the needful,

Regards,

Arunsri

1 ACCEPTED SOLUTION
Read only

Former Member
3 REPLIES 3
Read only

Former Member
Read only

Former Member
Read only

Former Member
0 Likes
398

Hi,


data:flds(30) value 'MATNR',
table(30) value 'MARA',
condition(90) value 'ERNAM = ''ABC'''.
data:value(30).
select single (flds) from (table) into value where (condition).
write:/ value.

for examples go through this link:

http://www.sap-img.com/abap/how-can-we-give-dynamic-table-name-in-select-statement.htm

rgds,

bharat.