Application Development 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: 

Pop-up-screen

Former Member
0 Kudos
151

hi,

Can we display a list in a pop-up screen other than full-size stacked list?

thnks

3 REPLIES 3

Former Member
0 Kudos
126

Yes ,

It can can be done,

with the hepl of FM,

Regards,

Talwinder

Former Member
0 Kudos
126

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

Former Member
0 Kudos
126

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.