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

to display message in method using methods

Former Member
0 Likes
1,768

hello all,

i have a requirement in a method to display message to user, but i am not supose to use message statement. is there any METHOD which i can use in this situation... to prompt message to user...

please help me out ....

thanks in advance...

seenu...

4 REPLIES 4
Read only

dani_mn
Active Contributor
0 Likes
981

HI,

use following FM.

<b>POPUP_DISPLAY_MESSAGE</b>

CALL FUNCTION 'POPUP_DISPLAY_MESSAGE'
  EXPORTING
*   TITEL         =
    MSGID         = 'SU'
    MSGTY         = 'I'
    MSGNO         = 000
   MSGV1         = 'Hello this is message'
*   MSGV2         =
*   MSGV3         =
*   MSGV4         =   .

regards,

Read only

Former Member
0 Likes
981

You can use the "Application Log" object for this purpose.Check out the SAP example <b>SBAL_DEMO_04_POPUP</b>for your reference.

Read only

Former Member
0 Likes
981

hi

good

try the below function module,

BAL_DSP_MSG_LONGTEXT Display message long text

BAL_MSG_DISPLAY_ABAP Output message as ABAP-MESSAGE

POPUP_TO_CONFIRM_WITH_MESSAGE Create a dialog box in which you inform the user about a specific decision point during an action.

POPUP_TO_DISPLAY_TEXT Create a dialog box in which you display a two line message

TH_POPUP Display a popup system message on a specific users screen.

thanks

mrutyun^

Read only

0 Likes
981

Hi All,

Thanks for ur advise, but i want to use METHOD from any CLASS. please help me in this situation

Thanks for ur help,

Seenu