Skip to Content
0
Former Member
Nov 30, 2008 at 06:14 AM

regarding messages

73 Views

experts,

the following is the code , when executed the write statement is not getting executed, since i have framed a warning message.

along with the warning message ,write statement should be executed. is it possible.

data : var type char3.

var = 'sap'.

start-of-selection.

if var ca 'a'.

MESSAGE W001(id-001) WITH 'a PRESENT'.

ELSE.

MESSAGE S001(ID-002) WITH ' a NOT PRESENT'.

ENDIF.

write :/ 'report executed'.

thanks in advance.