‎2010 Dec 07 7:02 PM
REAT_TEXT FM is not showing comple text if the text of length 72 or 73. In THEAD structure there is only one line entry of 70 char. But if the long text is more than 73 then it shows 2 lines in THEAD structure (1 line of 70char and 2nd line with balance characters).
But where as in SE37, even the long text is 72 or 73 it shows complete text.
How to resolve this?
‎2010 Dec 07 7:34 PM
I call FM READ_TEXT after assembling the keys to STXH into a structure of type THEAD, and reading STXH. If STXH exists, then I call READ_TEXT FM to get a table of type TLINE. I've noticed that in some instances the first two columns of TDLINE field contains formatting (like * ), while in other cases the field TDFORMAT is used exclusively for formatting. Without spending a lot of time to discover why or how to make READ_TEXT handle the texts differently, I just added a step to strip the first two characters from TDLINE when I find the "word processor" style text formatting, as opposed to SAPScript editor type formatting (which stored format in TDFORMAT and allowed 72 characters of text). That might explain the differences you're seeing in FM results.
Not sure what you mean by "in SE37".
‎2010 Dec 07 7:34 PM
I call FM READ_TEXT after assembling the keys to STXH into a structure of type THEAD, and reading STXH. If STXH exists, then I call READ_TEXT FM to get a table of type TLINE. I've noticed that in some instances the first two columns of TDLINE field contains formatting (like * ), while in other cases the field TDFORMAT is used exclusively for formatting. Without spending a lot of time to discover why or how to make READ_TEXT handle the texts differently, I just added a step to strip the first two characters from TDLINE when I find the "word processor" style text formatting, as opposed to SAPScript editor type formatting (which stored format in TDFORMAT and allowed 72 characters of text). That might explain the differences you're seeing in FM results.
Not sure what you mean by "in SE37".
‎2010 Dec 07 8:04 PM
I got it what ur saying.
Edited by: VenkatSrinvas Konda on Dec 7, 2010 9:05 PM
‎2011 Feb 01 11:42 PM
Hello,
I'm having problems trying to get the text into a report from STXL and STXH. The text object is FKKKO, text ID is FKK0 and after running SE37 I need to get the text from TDLINE.
Client: 400
ID: FKK0
Lang: EN
Name:
Object: FKKKO.
Your help is greatly appreciated.