Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CHECK_57 needs option to suppress MESSAGE error #901

Open
jwigert opened this issue Dec 19, 2019 · 0 comments
Open

CHECK_57 needs option to suppress MESSAGE error #901

jwigert opened this issue Dec 19, 2019 · 0 comments

Comments

@jwigert
Copy link
Contributor

jwigert commented Dec 19, 2019

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant