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 ZTABLE Creation

Former Member
0 Kudos

Good morning, SDN -

I am faced with a business problem which calls for the dynamic creation of a ZTABLE based on a structure which will only become visible at runtime. Based on these fields and associated information sources, I need to dynamically create a ztable in the abap dictionary.

Has anyone ever duplicated the basic SE11 functionality via object / bapi type functionality? If so, any suggestions would be welcome before I start banging away at the code for this.

Thanks for any help in advance,

Benjamin Deaver

2 REPLIES 2

Former Member
0 Kudos

Well - that was anticlimactic. Within moments of posting this, I found FM DD_CREATE_TABLE. This seems to do what I need.

Edited by: Benjamin J Deaver on Mar 10, 2010 3:32 PM

0 Kudos

I think this will create the table on the database, but not in the data dictionary. Try using DDIF_TABL_PUT for the latter, if needed.

Thomas