ā2006 Dec 01 7:05 PM
Hi, i need a popup that show text and an internal table.
Thanks!
SebastiĆ”
ā2006 Dec 01 7:07 PM
ā2006 Dec 01 7:07 PM
You can show your internal table as an ALV grid. The same is explained in this weblog,
/people/ravikumar.allampallam/blog/2006/04/27/want-to-pop-up-a-alv-grid-without-having-to-deal-with-containers
There are many popup function modules. Just search with POPUP* in SE37.
Regards
Kathirvel
ā2006 Dec 01 7:08 PM
ā2006 Dec 01 7:09 PM
Try
POPUP_TO_CONFIRM. But you cannot display internal table in that.
Regards
Kathirvel
ā2006 Dec 01 7:24 PM
Hi,
Check this sample program REUSE_ALV_POPUP_TO_SELECT
TYPE-POOLS: slis.
DATA: BEGIN OF itab OCCURS 0,
text(50),
END OF itab.
DATA: t_fieldcatalog TYPE slis_t_fieldcat_alv.
DATA: s_fieldcatalog LIKE LINE OF t_fieldcatalog.
DATA: t_excluding TYPE slis_t_extab.
DATA: s_excluding LIKE LINE OF t_excluding.
CLEAR: s_fieldcatalog.
s_fieldcatalog-fieldname = 'TEXT'.
s_fieldcatalog-tabname = 'ITAB'.
s_fieldcatalog-seltext_s = 'Message'.
s_fieldcatalog-outputlen = '50'.
APPEND s_fieldcatalog TO t_fieldcatalog.
itab-text = 'This is a Error message'.
APPEND itab.
itab-text = 'This is a Warning message'.
APPEND itab.
itab-text = 'This is a Success message'.
APPEND itab.
DATA: v_repid TYPE syrepid.
v_repid = sy-repid.
Excluding the function code..
s_excluding = '&ETA'.
APPEND s_excluding TO t_excluding.
s_excluding = '&OUP'.
APPEND s_excluding TO t_excluding.
s_excluding = '&ODN'.
APPEND s_excluding TO t_excluding.
s_excluding = '&ILT'.
append s_excluding to t_excluding.
s_excluding = '&OL0'.
append s_excluding to t_excluding.
s_excluding = '%SC'.
append s_excluding to t_excluding.
s_excluding = '%SC+'.
append s_excluding to t_excluding.
CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
EXPORTING
i_title = 'Test'
i_screen_start_column = 10
i_screen_start_line = 10
i_screen_end_column = 70
i_screen_end_line = 20
i_tabname = 'ITAB'
it_fieldcat = t_fieldcatalog
it_excluding = t_excluding
i_callback_program = v_repid
TABLES
t_outtab = itab.
Thanks,
Naren
ā2006 Dec 01 7:24 PM
I can“t solve my problem yet.
Please Help me !
I need a popup that shows text , an internal table, and OK, and BACK buttons
Thanks
ā2006 Dec 01 7:39 PM
REUSE_ALV_POPUP_TO_SELECT is the correct way to go. Have a look at Rich's answer here:
https://forums.sdn.sap.com/click.jspa?searchID=260472&messageID=759810
Rob
Message was edited by:
Rob Burbank
ā2006 Dec 01 7:40 PM
ā2006 Dec 01 8:03 PM
ā2006 Dec 01 8:22 PM
ā2006 Dec 01 8:58 PM