‎2007 Nov 08 10:45 PM
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
‎2007 Nov 08 11:20 PM
Hi Alexander,
Why do you want to pass the table. Check if POPUP_TO_CONFIRM can suit your needs.
Regards,
Atish
‎2007 Nov 09 2:45 PM
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
‎2007 Nov 09 2:49 PM
‎2007 Nov 09 1:12 AM
Transaction SE83 gives examples of common dialogs - demo RSSPO601 / POPUP_DISPLAY_TEXT_USER_BUTTON might suit, depending on what you want to display.
Jonathan
‎2007 Nov 09 5:27 AM
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.
‎2007 Nov 09 2:57 PM
FM F4IF_INT_TABLE_VALUE_REQUEST could help you out.
Regards,
Dirk.
‎2007 Nov 09 3:06 PM
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......
‎2007 Nov 09 3:12 PM
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.
‎2007 Nov 09 3:35 PM
‎2007 Nov 09 3:38 PM
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
‎2007 Nov 14 7:24 AM