Skip to Content
0
Former Member
Jul 11, 2006 at 01:05 PM

MESSAGE - sintaxis error

90 Views

I'm new in ABAP and I'm trying to display a error message in the screen with the follow statement:

MODULE read_sflight INPUT.

SELECT SINGLE * INTO CORRESPONDING FIELDS OF sdyn_conn FROM sflight

WHERE carrid = sdyn_conn-carrid

AND connid = sdyn_conn-connid

AND fldate = sdyn_conn-fldate.

IF sy-subrc NE 0.

MESSAGE e038.

ENDIF.

ENDMODULE. " check_sflight

But it is not working. I got the error sintaxis below:

"MESSAGE-ID xx" is missign the "REPORT" statement.

I have checked already the transaction SE91 and the message exist.

Many thanks.

Cristina