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: 

Information Message in newline ?

Former Member
0 Kudos

Hello friends,

I want to display "Information Message" (e.g. I066) with multiple lines.

Message should be display like,

1. File1 has been created.

2. File1 has been created.

3. You can go further for next process.

So i want to display message in 3 different lines with same information Message.

Is it possible ?

3 REPLIES 3

Former Member
0 Kudos

u can concatenate with each message pass into single message.

else.

desizn one screen.

call screen 1oo. write message.

Former Member
0 Kudos

Messages allow you to communicate with users from your programs. They are mainly used when the user has made an invalid entry on a screen.

To send messages from a program, you must link it to a message class. Each message class has an ID, and usually contains a whole set of message. <b>Each message has a single line of text, and may contain placeholders for variables.</b>

All messages are stored in table T100. You create and edit them using Transaction SE91. Once you have created a message, you can use it in the MESSAGE statement in a program.

null

Former Member
0 Kudos
Hi Nimesh,

  Try this if it works for u

REPORT ychatest.

CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
  EXPORTING
    text = 'File1 has been created'.

CALL FUNCTION 'ENQUE_SLEEP'
  EXPORTING
    seconds = 1.

CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
  EXPORTING
    text = 'File2 has been created'.

CALL FUNCTION 'ENQUE_SLEEP'
  EXPORTING
    seconds = 1.

CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
  EXPORTING
    text = 'You can go further for next process'.

CALL FUNCTION 'ENQUE_SLEEP'
  EXPORTING
    seconds = 1.

WRITE : / 'file'.