‎2005 Jun 14 3:16 PM
i have a list box and a list of fields in my screen.
During PBO i am disabling some of the fields by making screen-active = 0 for those fields.And when user chooses a particular value in the list box iam enabling those hidden fields by making screen-active = 1 for those fields at PAI.The fields are getting deactivated during PBO but during PAI when the user enters a particular value and presses enter the fields are not getting activated(i.e they are not visible).what might be the pbm.please any of u give me soln for this.
Thanks.
‎2005 Jun 14 3:51 PM
‎2005 Jun 14 5:17 PM
Hi Murthy,
The answer to your question lies partly in your question itself.
This occurs when you try to make the screen modifications in the PAI. All screen modifications should always be done in the PBO. this is because, the changes to the SCREEN internal table will get reset to the previous content at the beginning of the PBO.
So, move the screen-active = 1 part from the PAI to PBO. You may have a flag set in the PAI, and based on the flag, you can do the modifications in PBO.
Regards,
Anand Mandalika.