2022 Jun 15 11:47 AM
I have create a message class to pop up if there is an error.
i have two way i want to solve...
I would if the conditions i am asking isn't true i can't allow the program to move foward...
And i would to know if it is possible to have two variable in the message?
hers is the part of the code
Thanks you
if P_long = 0 OR P_larg = 0.
Message I001(Zmp) with p_vol and with p_val.
else.
Message I002(zmp).
endif.
2022 Jun 15 12:06 PM
try transaction ABAPDOCU and enter MESSAGE (select ABAP message)
you will find the correct syntax to use with several variables (4 at max)
2022 Jun 15 12:28 PM
2022 Jun 15 1:47 PM
2022 Jun 16 4:17 AM
At the message class, if you want to display more variables (up to 4 variables), you need to add : &1 &2 &3 &4 corresponding to the variables 1 2 3 4
Goto: SE91 or Se80 to display Message Class.