ERROR In EPC
the following is the error in EPC
Program: xxx Include: LZ Row: 25
No. of WITH fields of MESSAGE 002 for ID ZC_BTX_FULLOC: 2
No. of placeholders in this message: 0
Message: Fulfillment location is mandatory
No long text exists for this message
the related code is
IF ls_com-loc_new IS INITIAL.
MESSAGE e002(zc_btx_fulloc) WITH ls_com-loc_old ls_com-loc_new RAISING not_allowed.
Fulfillment location is mandatory
Ravi Kanth Talagana replied
Go to se91 and give the message class as zc_btx_fulloc and you would see that the message 002 has no '&'s in it.
& means place holder. This would be filled at run time with the values supllied by message with statement
in se91, if
002: & in not valid
IN se38 ,
message e002(zc_btx_fulloc) with '09899999'.
this would trigger a message "09899999 is not valid".
so see that the message has as many &s as the number of parameters in the message with statement.