hi,
In a module pool program i want to display fields on a screen based on certain conditions and the other fields will get invisible .
but the fields below the invisible field should take the position of that field.
i.e. it should move up .
I am not getting how to do it ?
can any one suggest something.
hi,
1)use screen groups in screen-painter layout
2) modify screen at PBO
LOOP AT SCREEN. IF screen-group1 = c_inv. screen-invisible = val_invisible. MODIFY SCREEN. ENDIF. ENDLOOP.
A.
Set the fields as inactive in your PBO (using group) so the others lines will move up
LOOP AT SCREEN.
IF screen-group1 = c_group1.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
regards
Add a comment