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 ups

Former Member
0 Kudos

Hi all,

I have created on icon.My requirement is that if i select / press that icon, internal table must be popup as an output. how is it possible? please help me in this regard.

thanking you

10 REPLIES 10

former_member226203
Active Contributor
0 Kudos

try these fm's to popup internal table:

POPUP_SHOW_INTTAB

POPUP_TO_SHOW_DB_DATA_IN_TABLE

POPUP_WITH_WARNING

former_member632729
Contributor
0 Kudos

Hi ,

POPUP_GET_SYMBOLS use this FM..

Former Member
0 Kudos

Hi,

Try with using FM REUSE_ALV_POPUP_TO_SELECT in AT USER-COMMAND event.

Regards,

jaya

sarbajitm
Contributor
0 Kudos

Hi

Set the PF-STATUS as

SET PF-STATUS <your PF-STATUS name>

Then write the following code

CASE sy-ucomm.

WHEN 'ITAB'. " assuming it is the Fcode you've assigned on your button

CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'

EXPORTING

ENDPOS_COL = 68

ENDPOS_ROW = 66

STARTPOS_COL = 1

STARTPOS_ROW = 1

TITLETEXT = 'Testing'

"IMPORTING

"CHOISE =

TABLES

VALUETAB = <your itab name>

EXCEPTIONS

BREAK_OFF = 1

OTHERS = 2

.

IF SY-SUBRC 0.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

Hope it solve your problem.

Regards.

Sarbajit

sarbajitm
Contributor
0 Kudos

Hi Sunitha,

Are you still watching this thread? Still facing problem? Revert Back.

Regards.

Sarbajit

Former Member
0 Kudos

Hi,

You may try the FM: MD_POPUP_SHOW_INTERNAL_TABLE

Regards.

Former Member
0 Kudos

Hi,

Check the Sample code below:

Data : Begin Of tOptions Occurs 50,

VTEXT(10),

End Of tOptions.

Data : cChoice Like SY-TABIX.

Clear tOptions.

Refresh tOptions.

Do 50 Times.

tOptions-VTEXT = sy-Index.

Append tOptions.

EndDo.

Perform DisplayOptions.

Form DisplayOptions.

Clear : cChoice.

Call Function 'POPUP_WITH_TABLE_DISPLAY'

Exporting

EndPOS_Col = 130

EndPOS_Row = 15

StartPos_Col = 50

StartPos_Row = 11

TitleText = 'Select Processing Option...'

Importing

Choise = cChoice

Tables

ValueTab = tOptions

Exceptions

Break_Off = 1

Others = 2.

Read Table tOptions

Index cChoice.

Write cChoice.

EndForm. " DisplayOptions

Regards,

Shalini

Former Member
0 Kudos

Hi Sunitha,

Use the following code:

CASE sy-ucomm.

WHEN 'TABLE'. "

CALL FUNCTION 'C_POPUP_WITH_TABLE'

EXPORTING

endpos_col = '70'

endpos_row = '12'

startpos_col = '10'

startpos_row = '10'

titletext = text-001

TABLES

valuetab = it_value

EXCEPTIONS

break_off = 1

OTHERS = 2

ENDCASE

Regards,

Nitin.

Former Member
0 Kudos

Hi All,

solved..

thank you for yur support

sarbajitm
Contributor
0 Kudos

Hi Sunitha,

Are you still watching this thread? Still facing problem? If you get helpful/desired solution from this thread then please mark it as ANSWERED. Otherwise revert back with details of problem.

Thanks and Regards.

Sarbajit.