Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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'

EXPORTING

MSG_ID = 'Z10493498'

MSG_NO = '002'

MSG_VAR1 = 'c_path'

IMPORTING

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

Tags:
Former Member
Former Member replied

Hi Enrique,

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...

Cheers,

Vishnu

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question