‎2010 Jan 02 6:14 PM
‎2010 Jan 02 7:32 PM
~ From Forum
you must clear the OK_CODE field in the ABAP program to ensure that the function code of a screen is not already filled in the PBO event with an unwanted value. This is particularly important when the next PAI event can be triggered with an empty function code (for example, using ENTER). Empty function codes do not affect SY-UCOMM or the OK_CODE field, and consequently, the old field contents are transported.
‎2010 Jan 02 7:32 PM
~ From Forum
you must clear the OK_CODE field in the ABAP program to ensure that the function code of a screen is not already filled in the PBO event with an unwanted value. This is particularly important when the next PAI event can be triggered with an empty function code (for example, using ENTER). Empty function codes do not affect SY-UCOMM or the OK_CODE field, and consequently, the old field contents are transported.
‎2010 Jan 02 7:48 PM
You need to clear the value of ok code , so that it do not effect your normal programming of code.