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 select for all entries?

Former Member
0 Likes
363

Hi!

Is it possible to do a dynamic SELECT FOR ALL ENTRIES IN... command?

sg. like:

DATA:

select_text TYPE string,

from_text TYPE string,

where_text TYPE string.

SELECT FOR ALL ENTRIES IN <gt_table1> (select_text)

into corresponding fields of table <gt_table2>

FROM (from_text)

WHERE (where_text).

Thanks and Best Regards,

Tamas

Hi!

Is it possible to do a dynamic SELECT FOR ALL ENTRIES IN... command?

sg. like:

DATA:

select_text TYPE string,

from_text TYPE string,

where_text TYPE string.

SELECT FOR ALL ENTRIES IN <gt_table1> (select_text)

into corresponding fields of table <gt_table2>

FROM (from_text)

WHERE (where_text).

Thanks and Best Regards,

Tamas

1 REPLY 1
Read only

Former Member
0 Likes
327

Hi,

you can use the Dynamic Selects for FOR ALL ENTRIES, but i think you may need to use the correct Internal table to match the tabel structure

Regards

Sudheer