Pseudo Comments for Code Inspector
These pseudo comments can be used to hide certain warnings from Code Inspector for the statement in question. The possible IDs are documented in Code Inspector or in the output of its messages.
- Until now, only the pseudo comments for Code Inspector have not been replaced by other language elements.
- To hide multiple warnings from a statement with pseudo comments, the statement must be spread across multiple lines.
The folloing join expression skips
SAP buffering, which
triggers a warning from Code Inspector. If the
SELECT statement is part of
an application that buffers selected data itself, however, the warning can be hidden as shown here. An additional normal comment is included to make it clear to the reader why the pseudo comment is being used.
FROM dokil AS d "Buffering is done
INNER JOIN dokhl AS h "by application
ON h~id = d~id AND "with Shared Objects
h~object = d~object AND
h~typ = d~typ AND
h~langu = d~langu AND
h~dokversion = d~version
INTO CORRESPONDING FIELDS OF TABLE docu_tab
WHERE d~id = 'SD' AND
d~typ = 'E' AND
d~langu = langu AND
d~object LIKE 'AB%'.