message id with variable
I have to include the path of the file in my message box.
CONCATENATE c_fname p_saleno INTO c_path.
CALL FUNCTION 'MESSAGE_PREPARE'
MSG_ID = 'Z10493498'
MSG_NO = '002'
MSG_VAR1 = 'c_path'
MSG_TEXT = v_mess
But it displays an error instead., I already include a & in my message short text, what is wrong with this?
Edited by: Enrique Mancao on Oct 20, 2008 7:44 AM
I think there is a problem in the declaration you have made for c_path then.
give it as..
data: c_path type SYMSGV.
and then try...