Skip to Content
0
Former Member
Aug 12, 2005 at 09:34 AM

Custom Control - Saving the content of the text-field

113 Views

Hi

I've made a text-field using Custom Control and I'm using the class CL_GUI_TEXTEDIT and this method to get the entered text:

<i> call method editor_660->get_text_as_stream

importing

text = text_tab.

</i>

Unfortunately I thought that it would be easy to store the text of a length 512 for each customer in a table. But that's not working as the table does not have the ability to store a line that long.

If I look in the sample programs of SAP (DEMO_CUSTOM_CONTROL) there's never a text really stored in the DB.

<b>Would any one have an idea where and how I could store this text?</b> I would like to use it with the kunnr as key. So that it would be possible to find the text belonging to a customer and to display it in the dynpro.

Thank you very much for your help!!

Petra