Skip to Content

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

Text message

Hi,

I have a requirement to log the message into application log

something like this

' Rundate for <file> is invalid for <cust>'

I hav to pass this msg text to a FM which will create the log (don't have problem here)

Right now i am coding like this

concatenate text-000 <file > text-002 <cust > into mymsg and pass this mymsg to FM.

text-001 , 002 are text symbols

It doesn't look gud option for me can anybody help me in framing the msg text .

can we use values in text symbols as we use in messages?

Also I have this message in a message class .(Rundate for & is invalid for & )

can i make use of it ? If yes How?

<removed_by_moderator>

TIA.

Rhea.

Edited by: Julius Bussche on Oct 7, 2008 5:06 PM

Tags:
Former Member
Former Member replied

You alread have a message class and number for "Rundate for & is invalid for &"

Use that to pass to your FORM.

Modify your FORM to pass message-id, message-type, message-number, message-variable1 through 4.

Then call it like:

perform f_createlog using your_message_id your_message_type your_msgno wa_tab-file wa_tab-cust '' ''.

I assume your FORM is calling some Function that is capable to handle the message type, id number and variables.

Edited by: Maen Anachronos on Oct 7, 2008 4:46 PM

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