Application Development and Automation 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: 
Read only

pop ups

Former Member
0 Likes
1,290

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

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
Read only

Former Member
0 Likes
1,246

try these fm's to popup internal table:

POPUP_SHOW_INTTAB

POPUP_TO_SHOW_DB_DATA_IN_TABLE

POPUP_WITH_WARNING

Read only

former_member632729
Contributor
0 Likes
1,246

Hi ,

POPUP_GET_SYMBOLS use this FM..

Read only

Former Member
0 Likes
1,246

Hi,

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

Regards,

jaya

Read only

sarbajitm
Contributor
0 Likes
1,246

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

Read only

sarbajitm
Contributor
0 Likes
1,246

Hi Sunitha,

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

Regards.

Sarbajit

Read only

Former Member
0 Likes
1,246

Hi,

You may try the FM: MD_POPUP_SHOW_INTERNAL_TABLE

Regards.

Read only

Former Member
0 Likes
1,246

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

Read only

Former Member
0 Likes
1,246

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.

Read only

Former Member
0 Likes
1,246

Hi All,

solved..

thank you for yur support

Read only

sarbajitm
Contributor
0 Likes
1,246

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.