Skip to Content
Former Member
Oct 03, 2012 at 02:43 PM

How to programmatically create DB table (or alternatives)?


Hi all,

I want/need to programmatically create a Z-table on the SAP database from within a report. The fields to be defined for this new table are unknown in advance, they can dynamically be set on a web dynpro user interface, therefore we need to create such a new table from within ABAP code. Is that possible at all, including activating it as well?

If there is absolutely no way of accomplishing that task do you see any suitable alternative? I assume it is possible somehow though, as SAP standard is doing that via SE11 as well...

Thanks in advance for your help!

Kind regards, Matthias