Application Development and Automation 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: 
Read only

Help in Message please...

Former Member
0 Likes
754

Hi Abapers,

I want to show a message with the same text:

'De acordo com as características informadas, o cliente '

TXTNOME

' é um '

ti_rede-DESCRICAO

' pagador!'

  • TXTNOME is a Input/Output field ( Screen Painter )

  • ti_rede-DESCRICAO is a field of a Internal Table

I try the messagem 398, but your structure accept only 4 fields at maximum.

I use concatenate, Write to and I don't receiver full message at screen.

I receiver only one of this 3 messages:

- "De acordo com as características informadas, o cli"

- "De acordo com as características informadas, o cli

é um Mal"

- " pagador!"

Thanks and Regargs

Allan Cristian

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
716

Bom Dia Allan,

Voce pode criar uma msg na transação se91 e depois declarar em seu programa.

Att.

5 REPLIES 5
Read only

rodrigo_paisante3
Active Contributor
0 Likes
716

hi allan,

try to use text symbol

Read only

Former Member
0 Likes
717

Bom Dia Allan,

Voce pode criar uma msg na transação se91 e depois declarar em seu programa.

Att.

Read only

Former Member
0 Likes
716

Hi,

In your message class(SE91), you will use the message number, there in the msessage number, you need to maintain 6 & symbols in the mesage number.

then you can pass the text to this message number in the Program

MESSAGE I000 with TEXT001 TEXT002 TEXT003 TEXT004 TEXT--005

In the MEssage number 000 you need to maintain that much of & symbols

Regards

Sudheer

Read only

Former Member
0 Likes
716

follow these steps to get the desired result

->make a message class using se91

->in the message short text write De acordo com as características informadas, o cliente &1 é um &2 pagador!

->write MESSAGE S) WITH TXTNOME ti_rede-DESCRICAO

the message number will be the number corresponding to the message short text you enterd in the message class. and the message class will be the name of the message class you just created. &1 will be replaced with the first variable you after WITH and &2 replaced with the second variable.

Read only

Former Member
0 Likes
716

Tks guy's

about "text symbol"

it's Works, but the first message was cut:

  • 'De acordo com as características informadas, o cliente '

  • 'De acordo com as características informadas, o cli'

and the messages (000) and (398) accept only 4 fields.

Solution:

I create a Message (977) at SE91 with the same values:

De acordo com as características informadas, o cliente & é um & pagador!

and write at Program the follow code:

Message i977(00) with TXTNOME ti_rede-DESCRICAO.

This solved my problem, tks

Regards

Allan Cristian