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: 

wordwrap in popup_to_inform

Former Member
0 Kudos

Hi,

how can I realize a wordwrap in the text of FM popup_to_inform?


        CALL FUNCTION 'POPUP_TO_INFORM'
          EXPORTING
            titel = 'Benutzer-Information:'
            txt2  = 'Ihre Anfrage wurde per Mail an den zuständigen Entwickler versendet. Der Entwickler wird sich unverzüglich mit Ihnen in Verbindung setzen.'
            txt1  =

3 REPLIES 3

Former Member
0 Kudos

FU POPUP_TO_INFORM

____________________________________________________

Functions

The function module returns a dialog box with a diagnosis message and the response options "Yes" and "No" (one of these is preallocated). The user must confirm a processing step.

The dialog box is presented on the screen in a fixed size.

<b>TITLE is displayed in the title bar, DIAGNOSISTEXT1-3 in the second to fourth line, TEXTLINE1 and TEXTLINE2 are displayed in the sixth or seventh line of the dialog box. The title is centered and must not be longer than 35 characters. Lines of text that are longer than 35 characters are cut off.</b>

Regards

Peram

Former Member
0 Kudos

*Try to break ur message like e.g. given below

DATA: ANSWER(1) TYPE C.

CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE'

EXPORTING TITLE = 'Make selection'

DIAGNOSISTEXT1 = 'No plan alternative'

DIAGNOSISTEXT2 = 'exists for the specified'

DIAGNOSISTEXT3 = 'selection criteria.'

TEXTLINE1 = 'Do you want to create a '

TEXTLINE2 = 'new plan alternative?'

IMPORTING ANSWER = ANSWER.

*reward if found useful

Message was edited by:

Tripat Pal Singh

Former Member
0 Kudos

Hi,

try this:

CALL FUNCTION 'POPUP_TO_INFORM'

EXPORTING

titel = 'Benutzer-Information:'

txt1 = 'Ihre Anfrage wurde per Mail an den zuständigen Entwickler versendet.'

txt2 = 'Der Entwickler wird sich unverzüglich mit Ihnen in Verbindung setzen.'.

Regards, Dieter