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: 

Dynamic SQL

Former Member
0 Kudos

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

Former Member
3 REPLIES 3

Former Member

Former Member

Former Member
0 Kudos

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.