Skip to Content
Former Member
Nov 09, 2007 at 06:13 AM

Screen Refresh



I created a dialog program which displays material details (one material at a time). When the user enters matnr1 (valid material) all the associated details are displayed on the screen output. The requirement is when the user enters an invalid material (matnr2) in succession then an error message needs to be displayed and the screen needs to be refreshed with the prior query details. I am not allowed to maintain a refresh button on the screen. For material validation I created a module... <i>field <field-name> module <module name></i> in PAI and wrote the logic for the field validation. I am able to display the error message but the screen still displays values from the previous run. Since the PBO even is not triggered.

My program output has table control and texts. Is there anyway I can refresh the screen output and display an error message before the PBO event is triggered (in PAI).

Any help regarding this is greatly appreciated.