‎2009 Feb 09 5:33 PM
Hi guys,
I need to develop a script to create database tables automatically.
Is that possible? And how to?
I thought in:
EXEC SQL.
CREATE database table XPTO ("MANDT" "FIELD1");
ENDEXEC.
The table was created, but when i enter in tcode SE11 i am not able to see it...
Can you help me?
Best regards,
LuÃ
‎2009 Feb 09 5:53 PM
Hi LuÃs,
with native SQL you handle the DB directly - so naturally the SAP-part will be missing (no SE11 entry).
If you like to have SE11-tables, then you should go for SE11-call-transaction-coding.
BR,
Christian
‎2009 Feb 09 5:58 PM
Hi,
With native sql, there is no command to create a db table... or there is?
Anyway, i need to see the tables in SE11...
You write "SE11-call-transaction-coding".
Could you explain with more detail what do you mean with that?
‎2009 Feb 09 6:02 PM
Have a look at FM DD_CREATE_TABLE to see if does what you want.
‎2009 Feb 13 10:16 AM
Hi,
With that functions, the database table is created in the database but i'm not able to see it in SE11...
I don't like batchinput, but i think that is the better way...
Other ideas?