cancel
Showing results for 
Search instead for 
Did you mean: 

Hide Table control columns

nmkarthikeya
Active Participant
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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 Kudos

Hi,

I want to achieve this in 

TobiasQueck
Advisor
Advisor
0 Kudos

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 Kudos

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
Advisor
Advisor
0 Kudos

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 Kudos

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 Kudos

Tobias,

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

~ Cheryl

Former Member
0 Kudos

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