Dynamic Table Columns
in my application there are two views. On the frist view there are two inputfields "from date"
and "to date". Depending on these two dates i want to build a table on the second view wich
contains one column for every day in the selected period. How could I create these columns
dynamically with the corresponding date in the header of the column?
You can dynamically create table columns with an InputField UI-Element as cell editor.
Use method CL_WD_INPUT_FIELD=>NEW_INPUT_FIELD. The context path is set via the import parameter BIND_VALUE.
The context path is a concatenation of the node names in the context hierarchy, separated by a dot, e.g. 'NODEMAIN.NODE'.