‎2007 Mar 28 3:47 PM
Hi All,
I am getting all the messages from BAPI's in one of the internal table i_retyrn. now i want to show that messages on pop-up screen. is there any function module which populates messages and show it on pop-up screen.
please reply ASAP its kinda urgent and if possible please send sample code.
Thanks,
Dhwanit.
‎2007 Mar 28 3:49 PM
I really like these function modules for this. You add your messages to the log and then show the log, it is a very nice display.
report zrich_0001.
call function 'MESSAGES_INITIALIZE'
exceptions
others = 1.
call function 'MESSAGE_STORE'
exporting
arbgb = 'M3'
msgty = 'E'
msgv1 = space
msgv2 = space
msgv3 = space
msgv4 = space
txtnr = '002'
exceptions
message_type_not_valid = 1
not_active = 2
others = 3.
call function 'MESSAGES_SHOW'
exporting
I_USE_GRID = 'X' " Comment for list display
batch_list_type = 'L'
exceptions
inconsistent_range = 1
no_messages = 2
others = 3.
Regards,
Rich Heilman
‎2007 Mar 28 3:49 PM
Hi,
Please try this FM.
POPUP_WITH_TABLE_DISPLAY
POPUP_WITH_TABLE
Regards,
Ferry Lianto
‎2007 Mar 28 3:54 PM
Hello Dhwanit
Another possibility would be to call function module <b>REUSE_ALV_POPUP_TO_SELECT </b>and suppress the select option.
Regards
Uwe