‎2008 May 29 4:36 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 ....
if some one has face this type of problem please let me know ASAP.
It is very urgent
Thanks in advance
Martin - Data Migration Team(UK)
‎2008 May 31 9:18 PM
Hi,
I have did the same thing as you have mentioned in the PBO event 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....
Thanks in advance
Martin - Data Migration Team(UK)
‎2008 May 30 10:11 AM
Hi,
EEWB generates a module pool program.
For the screen in PBO you write a module and in that module you can write a code to enable or disable fields depending on the current user.
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.
Post if u have any more query.
rewards if it helps.
regards,
mahantesh
‎2008 May 31 9:18 PM
Hi,
I have did the same thing as you have mentioned in the PBO event 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....
Thanks in advance
Martin - Data Migration Team(UK)
‎2008 Jun 02 6:08 AM
Hi,
Soorry, I forgot to mention the statement, screen-input = 0.
I have tried it here. It works fine.
Do this,
loop at screen.
if screen-group1 eq 'SG1'.
screen-active = 0.
screen-input = 0.
modify screen.
endif.
endloop.
reward if it helps you.
regards,
mahantesh