2007 Jul 02 4:06 PM
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
2007 Jul 02 4:10 PM
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
2007 Jul 02 4:10 PM
Yes, in the PBO flow logic use.
LOOP AT SCREEN.
IF SCREEN-NAME = 'MYFIELD'.
SCREEN-INVISIBLE = '1'.
MODIFY SCREEN>
ENDIF.
ENDLOOP.
2007 Jul 02 4:11 PM
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
2007 Jul 02 4:13 PM
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.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |