Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Longtext variables in an application log

Former Member
0 Kudos

Hi,

can I have variables in the longtext of an application log (transaction SLG1). In the shortmessages of the log I can add my variables by using the syntax &1. Normally I can add parameters to a longtext by adding the syntax &parameter&. This does not work.

Is it possible in general to add parameters to longtexts stored in an application log (because then it would be neccessary to store the parameters passed during the runtime in the database)? How does it work exactly?

Thanks a lot for your help.

Christoph

Edited by: Christoph on Jun 8, 2009 6:04 PM

1 ACCEPTED SOLUTION

Pawan_Kesari
Active Contributor
0 Kudos

You can refer parameters passed to message using variables &SYST-MSGV1& &SYST-MSGV2& &SYST-MSGV3& &SYST-MSGV4& .

Do you need to pass extra information in longtext?

2 REPLIES 2

Pawan_Kesari
Active Contributor
0 Kudos

You can refer parameters passed to message using variables &SYST-MSGV1& &SYST-MSGV2& &SYST-MSGV3& &SYST-MSGV4& .

Do you need to pass extra information in longtext?

0 Kudos

Hi Pawan,

thanks for your help, I solved my problem. (I tried to use sy-msgv1 - of course it didn´t work!).

Thanks a lot!

Christoph