08-28-2017 10:03 AM
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.
08-28-2017 10:56 AM
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.
08-28-2017 11:25 AM
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?
08-28-2017 12:20 PM
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
08-28-2017 1:05 PM
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.
08-28-2017 1:08 PM
08-28-2017 1:18 PM
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
08-28-2017 1:18 PM
08-30-2017 10:50 PM
But what exactly is the requirement? Where / how are you going to use such "documentation"?