Skip to Content
Former Member
Jan 08, 2007 at 03:59 AM

ALV grid control in module pool


Hi All,

Below is the problem I am facing, can anyone plz let me know the solution.

I am using ALV grid control on the subscreen.

If I enter material num and press enter on the grid control, it should validate the material num and display the material text.

If I enter wrong material number it should display error on the bottom line of the screen(say task bar). If I use 1) message e112(se), screen is terminated,

2) message i112(se), displaying message in the dialog box which users don't prefer.

3) message s112(se), It is displaying at the bottom, which is perfect, but program execution is not ending. I tried using 'leave screen' but giving error as leave screen cannot be used in subscreens. If I use 'leave program' it is terminating the screen.

Is there any other way to terminate the program flow but should come to the screen again.

Any ideas plz.