2022 Nov 29 3:42 AM
Dear All,
i have a transparent table and a column as STRING, I am inserting more than 4000 charaters into this column. But when i display the columns it is showing only 1024 caracters. Why so? How can i store 4000 characters in one column and display it back from the transparent table.
2022 Nov 29 6:43 AM
Maybe because you could just display 1024 in your report. How did you display the caracters ?
2022 Nov 29 7:50 PM
ABAP Lists are limited to 1023 characters. See ABAP documentation for more information.
2022 Nov 30 3:01 AM
Hi,
I display them using se11. does it means the columns store more than 1023, but display only 1023 in the SE11? is there a way to overcome this?
2022 Nov 30 8:26 AM
Please comment on an answer, instead of making an answer. As the helpful box on the left of Answer edit box says:
You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that your answer complies with our Rules of Engagement.
2022 Nov 30 5:13 AM
Strings are elementary data objects of variable length. Strings can be either text strings or byte strings.
See ABAP documentation for more information.
2022 Nov 30 2:22 PM
Ok thats fine, but my question is does string more than 1023 characters in a single column of transparent table? also how to display it in SE11.
2022 Nov 30 3:16 PM
Hello,
as mentioned from others, a string can contain more than 1023 characters, but you will never get it being displayed in the standard data viewer (SE11 resp. SE16). If you need to display it, you have to use own ABAP code.
data: outLen type i value 80,
recLen type i,
offset type i.
reclen = strlen( aString ).
while ( offset < recLen ).
if ( offset + outLen > recLen ).
outLen = recLen - offset.
endif.
write:/ aString+offset(outLen).
offset = offset + outlen.
endwhile.
Kind regards
Jan
2022 Nov 30 2:26 PM
SE16 transaction is just a quick help to display data.
If you need to extract data, you will need to create a program to extract it.