Skip to content

CHECK_57 needs option to suppress MESSAGE error #901

Open
@jwigert

Description

@jwigert

In some cases it is necessary to use MESSAGE in a global class in order to write to the job log for a program which is run as a background job. An example is when implementing a standard BAdI which doesn't have any exception handling.

I would like to handle this by allowing suppression through a pseudo comment.

I tried adding pseudo comment handling like this:

    insert_scimessage(
        iv_code = '001'
        iv_text = 'MESSAGE in global class'(m01)
        iv_pcom = '"#EC CI_MESSAGE' ).

The ATC check shows the option to suppress the message correctly.

However the following line of code is still flagged with an error:

MESSAGE x017(crm_archive).                          "#EC CI_MESSAGE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions