Hi Experts,
Could anyone please help on this:
When I try to export the content of a TREE UIBB to an Excel file, two columns (PARENT_KEY, ROW_KEY) are exported which is not as expected. I don't know how to hide them.
Here is the TREE UIBB:
Here is the Excel file:
And here is the code of 'GET_DEFINITION'
*--------------------------------------------------------------------*
* get field descrption
*--------------------------------------------------------------------*
CLEAR ls_field_descr.
ls_field_descr-name = 'PARENT_KEY'.
ls_field_descr-column_type = if_fpm_guibb_constants=>gc_guibb_tree_columns-parent_key.
APPEND ls_field_descr TO et_field_description.
CLEAR ls_field_descr.
ls_field_descr-name = 'ROW_KEY'.
ls_field_descr-column_type = if_fpm_guibb_constants=>gc_guibb_tree_columns-row_key.
APPEND ls_field_descr TO et_field_description.
When I was building the tree data, for some reason, I've to put some 32-char GUID as the row key as well as parent key, to setup the hierarchical relationship of tree nodes.
I tried to set parent_key and row_key as 'TECHNICAL_FIELD', and also tried to set the 'VISIBILITY' as none, unfortunately neither of them could stop those two columns from being exported into Excel file.
Thanks & Regards,
Haibin