2008 Oct 27 6:43 AM
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
2008 Oct 27 6:46 AM
hi,
u can use like this under sy-ucomm.
if ch1 = 'X'.
MESSAGE 'checkbox1 clicked' TYPE 'I'.
endif.
Regards,
shankar.
2008 Oct 27 6:54 AM
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@
2008 Oct 27 6:58 AM
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
2008 Oct 27 7:16 AM
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
2008 Oct 27 8:39 AM
Hi Priya,
Use the function module 'POPUP_TO_INFORM'
Regards,
Soumya.