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

Customer Field Block

Former Member
0 Likes
336

i have one problem that is when u give a value in customer data after giving the value that field must be Blocked i.e nobody can change the value of that field. How it is posible. Pls nay one can give info.

i have one problem that is when u give a value in customer data after giving the value that field must be Blocked i.e nobody can change the value of that field. How it is posible. Pls nay one can give info.

1 REPLY 1
Read only

Former Member
0 Likes
294

Hi,

This can only possible after an event. In the Screen PBO add the below code...

  • Note : Assign MODIF ID to the screen element. Assume that MODIF ID = 'SC1'.

if not cust is initial.

Loop at screen.

if screen-group1 = 'SC1'.

screen-input = 0.

modify screen.

endif.

endloop.

else.

Loop at screen.

if screen-group1 = 'SC1'.

screen-input = 1.

modify screen.

endif.

endloop.

endif.

If you want in Selection-Screen, then add the above code in AT SELECTION-SCREEN OUTPUT

Regards,

Vara