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

Pop Up message!!

Former Member
0 Likes
1,610

Hi,

is ther any fm which can be used for displaying information message (POP UP)?

Regards

Gunjan

Hi,

is ther any fm which can be used for displaying information message (POP UP)?

Regards

Gunjan

11 REPLIES 11
Read only

Former Member
0 Likes
1,387

check the fm <b>POPUP_DISPLAY_MESSAGE</b>

Read only

Former Member
0 Likes
1,387

POPUP_TO_CONFIRM

POPUP_DISPLAY_MESSAGE

POPUP_FOR_INFORMATION

POPUP_TO_DISPLAY_USERDATA

POPUP_CONFIRMATION_DATA

POPUP_TO_DISPLAY_VALUE

POPUP_TO_DISPLAY_TEXT

POPUP_FOR_INFO

POPUP_TO_GET_VALUE

Read only

Former Member
0 Likes
1,387

just use

<b>Message i001(ZZ) with text-001</b>

or try this

DATA : ans(1).
    CALL FUNCTION 'POPUP_CONTINUE_YES_NO'
         EXPORTING
              textline1 = text-039
              titel     = text-040
         IMPORTING
              answer    = ans.

Message was edited by:

Chandrasekhar Jagarlamudi

Read only

Former Member
0 Likes
1,387

Hi,

I think this FMs would help u.

The FM used for error msg.

POPUP_DISPLAY_MESSAGE

POPUP_TO_CONFIRM_WITH_MESSAGE

POPUP_TO_DECIDE_WITH_MESSAGE

regards,

Thasneem

Reward if useful

Read only

Former Member
0 Likes
1,387

You can use this itself..

POPUP_DISPLAY_MESSAGE

regards,

nazeer

Message was edited by:

nazeer shaik

Read only

Former Member
0 Likes
1,387

Why would you need such?

It´s just one line of code, even just one statement.

Message i001(test).

this statement will give you a popup message consisting of the textelement 001 of the development class test.

Read only

0 Likes
1,387

Hi Florian,

Thats true..

But he asked for a function module..

regards

nazeer..

Read only

0 Likes
1,387

can i call my info message in screen of my size (16*20)?

Read only

0 Likes
1,387

ahhh right ok.

Read only

0 Likes
1,387

hmmm i hence you need to do it all manuall then.

I would:

1. create your desired form (16x20)

2. place a label on your form (need to display our message somewhere)

3. create a status for that form and defining the exit commands

4. Move your desired output-text into the label

5. do a Call Screen with your created Form

6. returning to previous screen once the "ok" button is clicked

Message was edited by:

Florian Kemmer

Read only

Former Member
0 Likes
1,387

Hi,

Use the below function module for your requirement.

CALL FUNCTION 'POPUP_TO_CONFIRM'

EXPORTING

TITLEBAR INFORMATION

DIAGNOSE_OBJECT

TEXT_QUESTION HELLO WORLD

TEXT_BUTTON_1 YES

ICON_BUTTON_1

TEXT_BUTTON_2 NO

ICON_BUTTON_2

DEFAULT_BUTTON 1

DISPLAY_CANCEL_BUTTON

USERDEFINED_F1_HELP

START_COLUMN 25

START_ROW 6

POPUP_TYPE 'ICON_MESSAGE_INFORMATION'

IMPORTING

ANSWERE GV_ANSWER.

thanks,

sksingh