Skip to Content
0
Former Member
Apr 18, 2013 at 01:00 PM

CL GUI TEXTEDIT add text and store user details.

863 Views

Hi gurus,

Here is my scenario:

I have created a PM notification that displays a subscreen. On the subscreen there is a custom control using CL GUI TEXTEDIT.

I am able to write text here and it is then saved to a SAP longtext object by my logic.

Now the problem is I want CL GUI TEXTEDIT to behave like the standard SAP long text fields found on a notification e.g 'Subject Long Text'.

The 'Subject Long Text' field behaves as follows: when a user edits the longtext their username and the date are stored into the longtext as part of the change. Once saved this text can not be modified and becomes display only. However.. more text may be added to the field and saved in the same way. Each time additional text is added by some user that persons username and the date of the change are Incorporated into the field above the text they add.

How can I replicate this with CL GUI TEXTEDIT ??? Any sample code??? or another soultion?

Thanks in advance.