‎2006 May 25 3:31 PM
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
‎2006 May 25 3:33 PM
try to decalre it of type
<b>LCHR</b>
lchar can hold long chars
‎2006 May 25 3:33 PM
‎2006 May 25 3:34 PM
Hi,
Try to declare it as type LCHR , it can hold up to 32000 chars.
Regards
vijay
‎2006 May 25 3:36 PM
‎2006 May 25 5:24 PM
‎2010 May 11 11:05 AM
FLAT types can be referred only by LIKE and not TYPE....this was the error message....
‎2006 May 25 3:36 PM