I am using the MESSAGE function and I want to know how I can find out if the message id exists or not.
For example:
- I defined a message with the id "001" in my message class "test_message".
- Then I call it like this:
MESSAGE e001(test_messages) WITH 'Test'.
- I retrieve it in another function from
sy
When I do MESSAGE e000(test_messages) WITH 'Test'.
the values in sy
are the same (except for the id of course). But in that case I want to change my process because I never created a message with the id 000.
I don't know where else to check if the id actually exists or not.