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

issue error message in a pop-up window

Former Member
0 Likes
815

Hii experts,

How do I issue a message in a pop-up window in a normal report programming? For eg if i click on particular box in SAP graphic, a message window should come up with some information about that box.

Thanx in advance

Hii experts,

How do I issue a message in a pop-up window in a normal report programming? For eg if i click on particular box in SAP graphic, a message window should come up with some information about that box.

Thanx in advance

5 REPLIES 5
Read only

Former Member
0 Likes
790

hi,

u can use like this under sy-ucomm.

if ch1 = 'X'.

MESSAGE 'checkbox1 clicked' TYPE 'I'.

endif.

Regards,

shankar.

Read only

Former Member
0 Likes
790

Hi check this

if sapgraphics = 'X'. " declare a varible to hold the name sapgraphics

Message 'You have selected SAP Graphics' TYPE 'I'.

Endif.

Cheers!!

VEnk@

Read only

Former Member
0 Likes
790

Hi Priya,

You can also use this function module

CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
  EXPORTING
    TITEL              = 'Details of Graphics'
    TEXTLINE1          = 'Clicked graph button Line 1'
    TEXTLINE2          = 'Clicked graph button Line 1'
*   START_COLUMN       = 25
*   START_ROW          = 6
          .

Regards

Read only

Former Member
0 Likes
790

Hi ,

First track the event let say at line selection(in case of reports)

then use

CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'

EXPORTING

endpos_col = 80

endpos_row = 25

startpos_col = 1

startpos_row = 1

titletext = text-300

  • IMPORTING

  • CHOISE =

TABLES

valuetab = l_return

EXCEPTIONS

break_off = 1

OTHERS = 2

Append the errors in l_return.

l_return is of type below:

DATA: l_return LIKE bapireturn OCCURS 0 WITH HEADER LINE.

Thanks & Regards

Ruchi Tiwari

Read only

soumya_jose3
Active Contributor
0 Likes
790

Hi Priya,

Use the function module 'POPUP_TO_INFORM'

Regards,

Soumya.