‎2007 Sep 03 7:46 AM
hi all,
i want to display one variable value in message( type E or I ).
how can i do that.
example > Create record for type ' 01' in infotype 2006.
here 01 is a variable value.
thanks in advance.
kaustubh
‎2007 Sep 03 7:49 AM
goto SE91 transaction and create a message class & message no. say 010 with & & &
010 & & &
In your program
MEssage i010(ZMSG) with 'Create record for type ' &L_no 'in infotype' &l_year.
Message was edited by:
Prashant Patil
‎2007 Sep 03 7:50 AM
Hi Vinod,
Create a message in your message class with only value & & &.
Now when giving the message use like :
MESSAGE E999 WITH text-001
w_parameter
text-002.
Thanks and Best Regards,
Vikas Bittera.
‎2007 Sep 03 7:51 AM
Hi,
create a message in message class as below.
Create record for type<b> &1</b> in infotype 2006. while calling this message
write like this.
DATA:VAR(2).
VAR = '01'.
MESSAGE E001(ZMSGCLS) <b>WITH VAR</b>.
like this u can pass 4 variables(&1&2&3&4)
<b>reward if helpful</b>
rgds,
bharat.
‎2007 Sep 03 7:57 AM
Hi,
U can create message using tcode SE91 with a Message Class Name.
Also, u can refer <b>ABAPDOCU</b> tcode for various types of message usage.
Follow the steps and see it.
1. ABAP - Overview Articles
2. ABAP - By Theme
3. User Dialogs
4. Messages
5. Messages
Check it and reward if found useful.