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

Function Module to display list of errors

Former Member
0 Likes
1,495

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,

4 REPLIES 4
Read only

Former Member
0 Likes
883

Hi,

Please check this FM.

POPUP_WITH_TABLE

POPUP_WITH_TABLE_DISPLAY

REUSE_ALV_POPUP_TO_SELECT

Regards,

Ferry Lianto

Read only

0 Likes
883

hi Ferry Lianto

thanks

Read only

Former Member
0 Likes
883

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á

Read only

Former Member
0 Likes
883

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