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 UP

Former Member
0 Likes
1,228

Is there any function module like <b>POPUP_WITH_2_BUTTONS_TO_CHOOSE</b>to which we can pass a table and also text.

Thank you.

Message was edited by:

Alexander

11 REPLIES 11
Read only

Former Member
0 Likes
1,183

Hi Alexander,

Why do you want to pass the table. Check if POPUP_TO_CONFIRM can suit your needs.

Regards,

Atish

Read only

0 Likes
1,183

My Internal table contains a list of material number... and i need to show all the material number on the pop-up at a time and prompt the user to choose a option...

how can i do that..

Message was edited by:

Alexander

Read only

0 Likes
1,183

Look at FM <b>REUSE_ALV_POPUP_TO_SELECT</b>

Rob

Read only

Former Member
0 Likes
1,183

Transaction SE83 gives examples of common dialogs - demo RSSPO601 / POPUP_DISPLAY_TEXT_USER_BUTTON might suit, depending on what you want to display.

Jonathan

Read only

0 Likes
1,183

Use function module: POPUP_WITH_TABLE_DISPLAY

eg:

concatenate : 'Bank Info For:' invno into text .

call function 'POPUP_WITH_TABLE_DISPLAY'

exporting

endpos_col = '80'

endpos_row = '20'

startpos_col = '1'

startpos_row ='10'

titletext = text

importing

choise = choice

tables

valuetab = t_bankinfo

exceptions

break_off = 1

others = 2.

if sy-subrc = 0.

read table t_bankinfo index choice.

endif.

endif.

Read only

Former Member
0 Likes
1,183

FM F4IF_INT_TABLE_VALUE_REQUEST could help you out.

Regards,

Dirk.

Read only

0 Likes
1,183

I am retreiving the material numbers from a custom table. For further processing i need to show this Pop-Up message with all material number's being displayed... and prompting the user to select a option......

Read only

0 Likes
1,183

Hi,

Put your materialnumbers in an internal table IT_MATNR with field MATNR,

then call the FM like this :


 CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
       EXPORTING
         RETFIELD               = 'MATNR
         WINDOW_TITLE           = Choose material :'
         VALUE_ORG              = 'S'
       TABLES
         VALUE_TAB              = IT_MATERIAL
         RETURN_TAB             = return
       EXCEPTIONS
         PARAMETER_ERROR        = 1
         NO_VALUES_FOUND        = 2
         OTHERS                 = 3.

This generates a pop-up showing all the values from your internal table, you can read the selected one in the return table.

That should solve your problem.

Best regards,

Dirk.

Read only

0 Likes
1,183

I also want to display some text in the pop-up.

Read only

0 Likes
1,183

Put one more field in the IT_MATNR with field TEXT.. before calling the FM 'F4IF_INT_TABLE_VALUE_REQUEST' , fill that field with your values.

Regards,

Naimesh Patel

Read only

0 Likes
1,183

If your issue is resolved could you close the thread ?