cancel
Showing results for 
Search instead for 
Did you mean: 

Message class short text is too short in SRM

Former Member
0 Kudos

Hi,

The short text in message class in SRM is too short for my requirement, is there any way tht I can change the default length?

Or is there any workaround that I can use?

t-code: se91

Appreciate advice! Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi. Why don't you just put a short message in with "see further information" at the end and then use the long text?

You then get a link to the long text in the browser window when the message is given.

When a user clicks on the long text they get a pop up box with the long text from the message. You can put as much as you want in there.

Regards,

Dave.

Former Member
0 Kudos

Hi Dave,

Your suggestion sounds great.

How to create a link to the long text from the short text?

Thanks!

Former Member
0 Kudos

Hi. You do not need to create a link. Just maintain long text in SE91 like normal, then SRM will create a link called "further information" itself.

When the user clicks on it they will get a pop up box with the long text from SE91 in.

Regards,

Dave.

Former Member
0 Kudos

Hi Dave,

I had maintained the Long Text but when I called the message from the BAdi implementation, the Further Information link does not appear. It only displayed the Short Text

Why is the Further Information link not shown? Any settings need to configure?

Below are the codes to call the message class


            ls_messages-msgid = lc_zsc.
            ls_messages-msgno = lc_004.
            ls_messages-msgty = lc_msgty_e.
            ls_messages-item_guid = iv_doc_guid.
            APPEND ls_messages TO et_messages.

Here is the details of the long text

&CAUSE&

&SYSTEM_RESPONSE&

&WHAT_TO_DO&
Hello
&SYS_ADMIN&

Appreciate helps.

Thanks.

Former Member
0 Kudos

Hi. I presume you are using BBP_DOC_CHECK_BADI?

It works fine on our SRM 4 system, I am looking at a custom error with very similar coding to yours and the further information link is showing fine:

LS_MESSAGE-MSGTY = 'E'.

LS_MESSAGE-MSGID = 'ZZR'.

LS_MESSAGE-MSGNO = '029'.

LS_MESSAGE-ITEM_GUID = LS_ITEM-GUID.

APPEND LS_MESSAGE TO ET_MESSAGES.

Are you accessing it via a portal? I have used SRM 5 through the portal previously and the link showed up fine.

I presume the message and the long text exist in the client where you are testing it?

Regards,

Dave.

Former Member
0 Kudos

Hi Dave,

I m using BBP_DOC_CHECK_BADI and accessing via portal.

I found it weird, I created a badi implementation A and B.

The Long Text is working fine with badi implementation A and not B.

I am using exactly the same codes.

Anyway, at least I can prove that the Further Information link will be displayed if Long Text is defined in the Message Class.

Thanks

Answers (0)