05-09-2006 10:47 AM
Hi Folks,
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
LS_COM-LOC_OLD
LS_COM-LOC_NEW
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
ENDIF.
05-09-2006 10:52 AM
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
for ag:
in se91, if
002: & in not valid
IN se38 ,
the code
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.
Regards,
Ravi
05-09-2006 10:52 AM
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
for ag:
in se91, if
002: & in not valid
IN se38 ,
the code
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.
Regards,
Ravi