Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

What is the idea of having STRING type when you can't write into that field

Hello friends

I am desperately trying to write to a field of a database table with DATA TYPE 'STRING'.

When I try to write it using a program from < SE38> or a function <SE37>, I get following error message, while activating the program.


<DATABASE_TABLE> must be a flat structure. You cannot use internal tables,

strings, references, or structures as components.


So, I have been going in circle to find out how to write a string into this field.

I can't use the CHAR or any such type with a limited field length, since the requirement from my customer is to use a variable length string.

Has anybody seen this problem before and if you have resolved this issue, I would appreciate if you can please let me know.

Thanks a lot in advance.


Former Member

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question