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

how to create a database table at runtime

Former Member
0 Likes
1,169

Hai all,

i have a table control having the field names as rows, when i select the rows (not all) i want to create a database table( not internal table ) in the background and for that table table maintainence generator also (in abap don;t tell in OOPS Concepts ).

please help on the above issue it's very urgent.

Regards

Lucky

7 REPLIES 7
Read only

Former Member
0 Likes
906

You cn use the <b>FM DD_CREATE_TABLE</b> to achieve the same.

Here it is with example code

Or using Native SQL,

Regards

Kathirvel

Read only

0 Likes
906

in this link they r using the native SQL Statements, but we r using the Open SQL Statements.

Regards

Lucky

Read only

Former Member
0 Likes
906

hi,

please check program RSDCDDXT

Read only

0 Likes
906

while i am running the program RSDCDDXT in 5.0 version it is going to dump.

Regards

Lucky

Read only

0 Likes
906

hi,

You can refer the logic in the standard program.

like using FM DD_CREATE_TABLE

Read only

Former Member
0 Likes
906

check the following link

/people/rich.heilman2/blog/2005/07/27/dynamic-internal-tables-and-structures--abap

Read only

0 Likes
906

i already mention not for internal tables only database tables

regards

lucky