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: 

combine two Message

Former Member
0 Kudos

I have a message which is very long and if i enter it in Message-id 001,I am able to write only some part of it .can i combine two Message and display? or should i use long text if yes how to use long text ..

Thanks

Raghu

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Goto Tcode SE91 -->give ur message class and select your message(open message class in change mode)

-->Now click on Long Text button on the aaplication tool bar and maintain the message there.

Save .

REgards,

pravin

13 REPLIES 13

Former Member
0 Kudos

Hi,

Goto Tcode SE91 -->give ur message class and select your message(open message class in change mode)

-->Now click on Long Text button on the aaplication tool bar and maintain the message there.

Save .

REgards,

pravin

0 Kudos

Hi

@pravin

In long text , Where should we type the message .there are four section in it.

&CAUSE&

&SYSTEM_RESPONSE&

&WHAT_TO_DO&

&SYS_ADMIN&

@gaurav

its not working

0 Kudos

hi ,

wats the problem..

0 Kudos

hi,

i wrote like this

MESSAGE i000 with text-001 text-002.

it show only message in 000 , the messages from text-001 text-002 are being display.

Thanks

Raghu

0 Kudos
Message i000 with text-001 text-002

What is the problem using this? Double on the Text or go to text elements and enter the

Message textu2026.Thatu2019s all

0 Kudos

Hi Raghu,

write it below &CAUSE&

the complete message and delete message from Message class eg it is in ZMM class and message number 120.(Delete msg 120)

Save

it should work.

Regards,

Pravin

0 Kudos

Hi Raghunandan,

In your message class , Enter & & for the message no 000.

Now use the following syntax :-

MESSAGE i000 with text-001 text-002.

Thanks & regards

- Always Learner

0 Kudos

hi raghu ,

in message class in 000 put & &

then it will dispaly your text symbols.

try and tell me .

0 Kudos

Use this only,,

Message i000 with text-001 text-002

It would work.

0 Kudos

@Pravin

Its not working,just a pop up window came with no message

@gaurav,priya,always leaner

Thanks,its working

Former Member
0 Kudos

hii,

MESSAGE E000(ymsg) with text-001 text-002 .

you can do it in this way also whatever text u want can be accomodated in text symbols.

Edited by: gaurav.singh on May 6, 2010 6:17 AM

Former Member
0 Kudos

Thanks

0 Kudos

Hi,

Use the code below:

  in case more characters in the text-001 & text-002, to avoid shortening of text in the message do the following

concatenate text-001 text-002 into lv_string.


       IF strlen( lv_string ) GT 50"50 Characters

         lv_line = strlen( lv_string ).

         lv_message1 = lv_string+0(50).

         IF lv_line LE 100.

           lv_line = lv_line - 50.

           lv_message2 = lv_string+50(lv_line).

         ELSE.

           lv_message2 = lv_string+50(50).

            lv_line = lv_line - 100.

           lv_message3 = lv_string+100(lv_line).

         ENDIF.

       ENDIF.


message i000 with lv_message1 lv_message2 lv_message3.