Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

EEWB

Former Member
0 Likes
523

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)

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
499

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)

3 REPLIES 3
Read only

Former Member
0 Likes
499

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

Read only

Former Member
0 Likes
500

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)

Read only

0 Likes
499

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