‎2007 Apr 04 4:25 PM
Is there any function module to display list of errors in popup window..?
i found one HR_BEN_SHOW_ERROR_POPUP but its showing personal number
in popup.
i just want to display list of errors at a time in popup
Thanks,
‎2007 Apr 04 4:28 PM
Hi,
Please check this FM.
POPUP_WITH_TABLE
POPUP_WITH_TABLE_DISPLAY
REUSE_ALV_POPUP_TO_SELECT
Regards,
Ferry Lianto
‎2007 Apr 04 4:54 PM
‎2007 Apr 04 4:30 PM
Hi!
Check out this function module:
CALL FUNCTION 'POPUP_TO_INFORM'
EXPORTING
titel = ls_rstabl-title
txt1 = ls_rstabl-txt1
txt2 = ls_rstabl-txt2
txt3 = ls_rstabl-txt3.
Regards
Tamá
‎2007 Apr 04 4:53 PM
Hi,
You can use the function module MESSAGES_INITIALIZE, MESSAGES_STORE & MESSAGES_SHOW..
Check this example..
call function 'MESSAGES_INITIALIZE'
exceptions
others = 1.
call function 'MESSAGE_STORE'
exporting
arbgb = '00'
msgty = 'E'
msgv1 = space
msgv2 = space
msgv3 = space
msgv4 = space
txtnr = '208'
exceptions
message_type_not_valid = 1
not_active = 2
others = 3.
call function 'MESSAGE_STORE'
exporting
arbgb = '00' " Message ID
msgty = 'W' " message type
msgv1 = space
msgv2 = space
msgv3 = space
msgv4 = space
txtnr = '208' " Message number.
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.
Thanks,
Naren