cancel
Showing results for 
Search instead for 
Did you mean: 

How display more error messeges in BSP

Former Member
0 Kudos

Hi all,

I want to diplay more error messeges in BSP.

I'm working in the extention standar class CL_CRM_BSP_PM_GENERIC_1O

in the method

IF_CRM_BSP_PROCESS_IL~CHECK_BEFORE_SAVE

with the following parameters:

ls_message-msgid = 'ZGIVAUDAN'

ls_message-msgty = 'E'

ls_message-msgno = '001'

CALL METHOD gr_intlay_1o->set_status_message

EXPORTING

is_msg_show = ls_message

With this procedure the system shows only one error messeges. If I repeat the same step for another message number the system displays only the last message.

What's the code or parameters need to show multiple error messages in the same page (BSP)?

Thanks in advance,

Best Regards

Lorenzo

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Lorenzo,

try to use the function module 'CRM_MESSAGE_COLLECT' for display more error message, and use the function module 'CRM_MESSAGE_DELETE' for delete the error message from log error.

Answers (2)

Answers (2)

Former Member
0 Kudos
guillaume-hrc
Active Contributor
0 Kudos

Hi Lorenzo,

Check this weblog :

/people/sap.user72/blog/2005/11/24/message-handling-in-bsp

Best regards,

Guillaume

Former Member
0 Kudos

Hi all,

Very helpful answer, but I want to display multiple error messages by class, not by HTML because I use standard BSP

Thanks a lot,

Lorenzo

Former Member
0 Kudos

Hi Lorenzo,

I don't have exact idea about it. Go through the class CL_BSP_MESSAGES.

Regards,

Azaz Ali.