Skip to Content

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

Problem with field type STRING in table

Hi Experts,

I am new to ABAP. I have created a new transparent table which hold error info. One of the field has to store data of size about 1500 char.

Since CHAR type is not acceptable for this field So I gave STRING type. Now when I try to create a TABLE parameter in a RFC enabled functional module using "LIKE YERROR" Then I get a error:

"YERROR must be a flat structure. You cannot use internal tables, strings, references, or structure as component"

Why is this error? How to resolve it? Is it because I have used a field of type STRING in the table? If this is the problem then what other type can I use?

What are other know problems with using STRING type?

Please help!

Thanks

Gopal

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