Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Changing Table control Layout

Former Member
0 Likes
511

Hi,

How to change the Table control layout in hte program.

Regards,

kiran

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
463

hi kiran,

i can'nt got ur problem?

can you give me full detail what you want to do?

3 REPLIES 3
Read only

Former Member
0 Likes
464

hi kiran,

i can'nt got ur problem?

can you give me full detail what you want to do?

Read only

0 Likes
463

first I have to display Four fields on the Table control.

depending upon the condition i have to display three fields only.

Instead of creating another screen and table control with three fields

i wanted to know how to change the table control prperties in the program.

Regards,

kiran

Read only

Former Member
0 Likes
463

use this code below

data: ls_admn_part LIKE LINE OF tc-cols.

LOOP AT tc INTO ls .

IF sy-tabix EQ 4.

ls-invisible = 1.

MODIFY tc-cols FROM ls TRANSPORTING invisible .

ENDIF.

CLEAR ls.

ENDLOOP.

Reward if useful.