2008 Jun 18 3:24 PM
hi people,
I need a function module to display a list of text elements.
The best I found (at the moment) is DD_POPUP_WITH_LIST....but I was looking for something different too....
Does anyone know others? Otherwise, it's the same...
2008 Jun 18 3:38 PM
POPUP_WITH_TABLE_DISPLAY
POPUP_TO_SHOW_DB_DATA_IN_TABLE
POPUP_WITH_TABLE_DISPLAY_OK
POPUP_WITH_TABLE
2008 Jun 18 3:28 PM
hi use this..
POPUP_TO_DISPLAY_TEXT
POPUP_WITH_2_BUTTONS_TO_CHOOSE , POPUP_FOR_INTERACTION
2008 Jun 18 3:38 PM
POPUP_WITH_TABLE_DISPLAY
POPUP_TO_SHOW_DB_DATA_IN_TABLE
POPUP_WITH_TABLE_DISPLAY_OK
POPUP_WITH_TABLE
2008 Jun 18 3:46 PM
U can use the FM 'MD_POPUP_SHOW_INTERNAL_TABLE'
&----
*& Report Z_TEST1
*&
&----
*&
*&
&----
REPORT z_test1.
TABLES T001W.
DATA: BEGIN OF ITAB OCCURS 0,
WERKS LIKE T001W-WERKS,
NAME1 LIKE T001W-NAME1,
END OF ITAB.
DATA: BEGIN OF ICOLS OCCURS 0.
INCLUDE STRUCTURE HELP_VALUE.
DATA: END OF ICOLS.
DATA V_INDX LIKE SY-INDEX.
ICOLS-TABNAME = 'T001W'.
ICOLS-FIELDNAME = 'WERKS'.
ICOLS-SELECTFLAG = 'X'.
APPEND ICOLS.
ICOLS-TABNAME = 'T001W'.
ICOLS-FIELDNAME = 'NAME1'.
APPEND ICOLS.
SELECT-OPTIONS: S_WERKS FOR T001W-WERKS.
SELECT * FROM T001W WHERE WERKS IN S_WERKS.
ITAB-WERKS = T001W-WERKS.
ITAB-NAME1 = T001W-NAME1.
APPEND ITAB.
ENDSELECT.
SORT ITAB BY WERKS.
CALL FUNCTION 'MD_POPUP_SHOW_INTERNAL_TABLE'
EXPORTING
TITLE = 'SELECT A VALUE'
IMPORTING
INDEX = V_INDX
TABLES
VALUES = ITAB
COLUMNS = ICOLS
EXCEPTIONS
LEAVE = 1
OTHERS = 2.
IF SY-SUBRC EQ 0.
READ TABLE ITAB INDEX V_INDX.
WRITE:/ ITAB-WERKS, ITAB-NAME1.
ENDIF.
Regards,
Joy.
2008 Jun 18 3:55 PM
thanks to everyone....i'm working with CRM so, some f.m. don't work....
anyway, I need to show more than a fixed number of elements....
so I think I'll use POPUP_WITH_TABLE.