cancel
Showing results for 
Search instead for 
Did you mean: 

As to display error message details

Former Member
0 Kudos

Hi Experts,

I would like to display error message's details via clicking on Details link as below, more information shall be displayed in a popped up dialog box. How can I implement it and add a link under Details word?

Kind Regards

Andie

Accepted Solutions (1)

Accepted Solutions (1)

dharmakasi
Active Contributor
0 Kudos

Hi Andie,

Try using CRM_MESSAGE_COLLECT function module.

Sample code

CALL FUNCTION 'CRM_MESSAGE_COLLECT'

           EXPORTING

             iv_caller_name = 'ORDERADM_H'

             iv_msgno       = sy-msgno

             iv_msgid       = sy-msgid

             iv_msgty       = sy-msgty

             iv_msgv1       = sy-msgv1

             iv_msgv2       = sy-msgv2

             iv_msgv3       = sy-msgv3

             iv_msgv4       = sy-msgv4

             iv_docnumber   = iv_guid.


Best Regards,

Dharmakasi.

Former Member
0 Kudos

Hi Dharmakasi,

Where can I input more text in popped up dialog box and add a link under Details word?

Kind Regards

Andie

dharmakasi
Active Contributor
0 Kudos

Hi Andie,

You have to remove the check box "Self Explanatory" in message class for the particular message( SE91). You have provide long text for the messages.

No need of giving that Details as additional text. System will show the link and text in popup.

Best Regards,

Dharmakasi.

Answers (0)