Step1. So here we have the message class with two message texts 000 and 001.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhluMhZgz59U2un9f4ukUyugyE_ayA6pyoK6k2qJQ0Yn3FIjkQpFAA8sRu4DMDA7zW1BtE_Da1lbOYCBPLjY2t58c6gkEgUcYf-R_7wdiZlv9d04rpsEjJK0Brb0Rv69zR9j5auNs-prcRk/s1600/1.png)
Step2. FM importing parameters.
Step3. FM exporting parameters.
Step4. FM exceptions.
Step5. Fm source code, When as exception is aligned with a message class text, it should be raised in the RAISING clause not RAISE.
Step6. Here we have the program and the FM mapping when an exception is raised with a message class .
Step7. Execute the program and here in the debugger we have the certain values of the sy-subrc and message details.
Step8. Though we raised a warning message type , on the UI it appears as error type.
--------------------------------------------------------------------------------------
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhluMhZgz59U2un9f4ukUyugyE_ayA6pyoK6k2qJQ0Yn3FIjkQpFAA8sRu4DMDA7zW1BtE_Da1lbOYCBPLjY2t58c6gkEgUcYf-R_7wdiZlv9d04rpsEjJK0Brb0Rv69zR9j5auNs-prcRk/s1600/1.png)
Step2. FM importing parameters.
Step3. FM exporting parameters.
Step4. FM exceptions.
Step5. Fm source code, When as exception is aligned with a message class text, it should be raised in the RAISING clause not RAISE.
Step6. Here we have the program and the FM mapping when an exception is raised with a message class .
Step7. Execute the program and here in the debugger we have the certain values of the sy-subrc and message details.
Step8. Though we raised a warning message type , on the UI it appears as error type.
--------------------------------------------------------------------------------------
No comments:
Post a Comment