‎2009 Sep 17 12:50 PM
Hi,
I want to create a structure and then a table type, which has a line type of the previously created structure.
The thing is that after the table is created, I want to use it as a parameter for a function.
Is that a way to insert these data types by API, so they will be exposed for other programs or functions?
Thanks,
Sivan
‎2009 Sep 17 1:04 PM
Hi,
In my opinion if you create a object in Data Dictionary, then it is global to all programs and functions etc. But i dont understand what exactly you want to know.
Regards
Karthik D
‎2009 Sep 17 1:08 PM
Hi,
I want to know how to create these objects using code and not by manual clicking in object navigator.
Thanks,
Sivan
‎2009 Sep 17 3:18 PM
Hi,
You can create and activate structures, tables and table types using the following APIs:
DDIF_TABL_PUT&
DDIF_TABL_ACTIVATE.
Hope this helps.
Regards,
Ram
‎2009 Sep 21 9:40 AM
Thanks for the help
One more question regarding this topic. I'm using DDIC_TTYP_PUT\ACTIVATE to create and activate table types.
How can I create a structure, which is a bit different from table. Should I use the FM DDIC_TBL_PUT...?
How can I define that this is a structure and not a table?
Thanks,
Sivan
‎2009 Sep 24 2:30 PM
I can create a structure using RS_DD_STRU_ADD. But Cannot add a description, so I cannot activate it afterwards.
May you help me with:
1) Set the description.
2) Activate the structure.
Thanks,
Sivan