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

How to hide/display the columns in the module pool programing

Former Member
0 Likes
1,224

Hi All,

I created a module pool program with table control.

Requirement is: Based on the condition i need to Hide/Display the columns.

Is this possible..

I appreciate your response.

Thanks & Regards,

Seshadri G

Hi All,

I created a module pool program with table control.

Requirement is: Based on the condition i need to Hide/Display the columns.

Is this possible..

I appreciate your response.

Thanks & Regards,

Seshadri G

4 REPLIES 4
Read only

Former Member
0 Likes
869

1. double click on the columns you want to hide/display and give the same group to all of them in the attributes,say GRP1

2. IF X EQ Y .   " some condition

       loop at screen.
          if screen-group1 = 'GRP1'.
             screen-input = 0.
             modify screen.
          endif.
       endloop.
     ENDIF.

Message was edited by:

Chandrasekhar Jagarlamudi

Read only

Former Member
0 Likes
869

Yes, in the PBO flow logic use.

LOOP AT SCREEN.

IF SCREEN-NAME = 'MYFIELD'.

SCREEN-INVISIBLE = '1'.

MODIFY SCREEN>

ENDIF.

ENDLOOP.

Read only

Former Member
0 Likes
869

Hello,

U can do it like this.

IN PBO module of the screen.

Flow logic
MODULE HIDE.

In SE38
MODULE HIDE.
if condn.
loop at screen.
if screen-name = Itab-field1
screen-active = 0.
modify screen.
endif.
endloop.
endif.
ENDMODULE HIDE.

Vasanth

Read only

Former Member
0 Likes
869

Hi,

it is possible to hide the columns of table control.

Just change the attributes of table control.

if matnr = '123'.

TC-invicible = 0.

endif.

Reward if helpful.