cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Hide Table control columns

nmkarthikeya
Active Participant
0 Likes
412

Hi All,

Right no I am working in Personas to simplify CV01N transaction.

I would like to know how we can hide the columns of table control. for example in CV01N Originals table I want to view only File Name and hide all other columns.

Your timely response is highly appreciated.

PS: Initially I thought of merging the tabs in CV01N which would have helped the user big time, but I couldn't do much in that because of the mandatory fields present in the tabs(it would throw me an error if I put all tabs in one screen). let me know if this can be done in any way!

Originals Table.

My screen so far.

Regards,

Karthikeya

View Entire Topic
Former Member
0 Likes

In screen PBO you will need a module to 'hide' the table contro lfield

data: ls_cols like line of tc_my_tab_cont-cols.

loop at tc_my_tab_cont-cols into cols.
  ls_cols-screen-input = '0'.
  if ls_cols-screen-name = 'WA-MY_FIELD_TO_HIDE'.
    ls_cols-invisible = '1'.
  endif.
  modify tc_my_tab_cont-cols from ls_cols index sy-tabix.
endloop.

nmkarthikeya
Active Participant
0 Likes

Hi,

I want to achieve this in 

TobiasQueck
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi,

Start the editor on the screen containing your table. Select a column by clicking on the column header and click on the hide button in the Personas edit-toolbar.

Done.

Cheers,
Tobias.

PS: On your screenshot it looks like you did it already.

nmkarthikeya
Active Participant
0 Likes

Hi Tobias,

Yeah I was hoping that it would be that simple but its not working

The property of the element is as below, it has click-able header cells as false. I am not able to select a particular column to hide it!

Thanks,

Karthikeya

TobiasQueck
Product and Topic Expert
Product and Topic Expert
0 Likes

Argh. This is not a table but a tree (TableTreeView). For this control there is no support for hiding of columns.

Sorry,

Tobias.

Former Member
0 Likes

Hi Tobias,

Can I copy data in a  table control just as we can copy data from ALV Grid? I want to pick all rows displayed in address overview table control.

Regards

Abhi

Former Member
0 Likes

Tobias,

I also have a scenario where I would like to copy information out of a tree.  Is this possible?

~ Cheryl

Former Member
0 Likes

Hi Cheryl,

From what I understood from another discussion with Sushant, that as of now, copy table option for some complex elements like Tableview, is not supported. I am not sure whether tree is in that list, but in general, thats the situation.

@Sushant,

Can you please correct me if I am wrong?

Regards

Abhi