Skip to Content
-1

Add a message to a message class with long text in ABAP

Aug 28, 2017 at 09:03 AM

166

avatar image
Former Member

Is it possible to add an entry to a message class providing a short text as well as a long text with ABAP. What UI fields would I need to provide the user to fill in long text and short text? After pressing a button 'add' the text would be added as long text and short text to a new message in the message class.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Horst Keller
Aug 28, 2017 at 09:56 AM
1

Why would you want to do that? We have SE91 for that. Of course, if you know ABAP, there are (simple) ways of adding short texts to T100 and create the respective SAPScript long texts. But messages are repository objects and you have to take care about transport etc. too. Generally not recommended.

Show 7 Share
10 |10000 characters needed characters left characters exceeded
Former Member

I need a way to let the user save custom documentation.
"there are (simple) ways of adding short texts to T100 and create the respective SAPScript long texts"
How would I go about doing this if I manually create a message class?

0

Hi,

What is the business requirement?

Maybe we are misunderstanding what you mean with message class and are you trying to do something altogether different.

Kind regards, Rob Dielemans

0
Former Member

The requirement is to let the user save information in the form of the long texts you can see when going to SE91 and displaying a message text. There will be a message class made in advance through that transaction with some default messages. The user must be able to update those default messages or even add new ones through an interface other than SE91.

0
I'd say that's simply not what messages are made for.
1
Former Member
Horst Keller

What would you suggest to use for this requirement then?

0

But what exactly is the requirement? Where / how are you going to use such "documentation"?

0

So you want a functionality to store notes with the look and feel of long texts in Se91?

Is this information linked to a specific transaction? Because in that case check if it has GOS, then users can add notes and attachments using standard functionality.

Kind regards, Rob Dielemans

3