Skip to Content
0
Former Member
Dec 07, 2009 at 05:22 AM

Problem in warning message.

207 Views

Hello,

Is there any method to continue the program execution in PAI after displaying a warning message.

I will elaborate the sitution with an example below

loop at itab into wa_area.

if wa_area-fieldvalue is initial.

MESSAGE ID 'ZMSG' TYPE 'W' NUMBER 001. " display warning message if fieldvalue is initial

endif.

screen element = wa_area-fieldvalue. " assigning field value into screen fields.

endloop.

the problem is after displaying warning message the execution is started again from top. It does not continue execution from the line where it displayed warning message.

Any pointers to overcome this problem????