2008 Mar 09 5:26 AM
hi,
Can we display a list in a pop-up screen other than full-size stacked list?
thnks
2008 Mar 09 5:37 AM
Yes ,
It can can be done,
with the hepl of FM,
Regards,
Talwinder
2008 Mar 09 5:37 AM
hi,
u can display the list in pop up screen.
use the following code .
AT SELECTION-SCREEN ON VALUE-REQUEST FOR SEL_NBA-LOW.
PERFORM ZNEW_VALUE_HELP_NBA.
FORM ZNEW_VALUE_HELP_NBA.
SELECT DISTINCT ZBAREA FROM ZDIVNBABU INTO TABLE ITAB_NBA.
CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'
EXPORTING
ENDPOS_COL = 30
ENDPOS_ROW = 40
STARTPOS_COL = 20
STARTPOS_ROW = 30
TITLETEXT = 'Please Choose Your Entry'
IMPORTING
CHOISE = COUNTS
TABLES
VALUETAB = ITAB_NBA
EXCEPTIONS
BREAK_OFF = 1
OTHERS = 2.
IF COUNTS NE 0.
READ TABLE ITAB_NBA INDEX COUNTS.
SEL_NBA-LOW = ITAB_NBA-ZBAREA.
ENDIF.
CLEAR :ITAB_NBA,COUNTS.REFRESH:ITAB_NBA.
ENDFORM. " ZNEW_VALUE_HELP_NBA
2008 Mar 09 9:00 AM
Hi,
Yes, we can display a list in a pop-up screen using the command WINDOW with the additions starting at X1 Y1 and ending at X2 Y2 to set the upper-left and the lower-right corners where x1 y1 and x2 y2 are the coordinates.
Cheers,
Chandra Sekhar.