hi friends,
need your help.
i want to display few fields to the supervisors only if they have employees from perticular org unit & payroll area
initially the fields are set invisible.
actually want to know what is wrong with the following code.....
LOOP AT SCREEN.
IF screen-group1 = '001'.
select * from pa0001 into table i_p0001
for all entries in i_orgunit
where orgeh = i_orgunit-orgeh
and abkrs = 'v9'.
if sy-subrc = 0.
screen-active = 1.
endif.
ENDIF.
ENDLOOP.