‎2008 May 31 9:25 PM
Hi All,
Can any one help me as i want to invisible some fields( i have created the table which i want to indivisible for selected users) that i have created via EEWB..but unable to do ,i have tried all the options but no result, nothing is worked ....
===============================================================================
I have tried the given logic suggested by Mahantesh
Keep the selected user in the Z table, and select all users from the table. If the current user exists in that table, then write the following code,
Assign the group for the fields those have to be make invisible.
LOOP AT SCREEN.
IF screen-group1 = <GRP_NAME>.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
but unable to solved the problem.
I have dibugg the whole PBO event, i have set the Screen-Active to 0.. and it is modifying the screen in dibugging But in actual Screen nothing changed. i have tried all the options it is not working ....please help us it is very Urgent.
if some one has face this type of problem please let me know ASAP.
Thanks in advance
Martin - Data Migration Team(UK)
‎2008 May 31 10:07 PM
Hi,
Even I have tried Screen-Input also ...it is not working , it is modifying the screen in dibugging But in actual Screen nothing changed. i have tried all the options it is not working ....please help us it is very Urgent
Thanks in advance
Martin
‎2008 May 31 9:55 PM
hi ,
try using this it may help you
select single * from ztable where user = user
if sy-subrc eq o.
LOOP AT SCREEN.
IF screen-name = 'xxx'.
screen-input = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
endif.
‎2008 May 31 10:07 PM
Hi,
Even I have tried Screen-Input also ...it is not working , it is modifying the screen in dibugging But in actual Screen nothing changed. i have tried all the options it is not working ....please help us it is very Urgent
Thanks in advance
Martin
‎2008 Jun 02 6:48 AM
Hi,
Plz try this. Forgot to put the scree-input = 0.
LOOP AT SCREEN.
IF screen-group1 = <GRP_NAME>.
screen-active = 0.
screen-input = 0
MODIFY SCREEN.
ENDIF.
ENDLOOP.
regards,
mahantesh.