‎2011 Nov 10 8:14 AM
Hi,
I have a scenario wherein I need to read and capture the complete text that is saved through the SAPscript text file editor pop-up screen.
I observe that the data entered through the SAPscript text file editor is saved in table STXL in the field CLUSTD (with length 7902) whose header table is STXH. I've used READ_TEXT function module to read the data. Although the data is being read, this function module limits the read to 132 characters only, whereas, my requirement needs the complete text to be read in order to download the text in an excel file for further processing.
Can anyone please explain if there is a possible way of reading the complete text saved through the SAPscript text file editor?
‎2011 Nov 10 8:45 AM
HI,
The 'READ_TEXT' FM returns multiple lines for long text. You will have to loop on the LINES (table parameter of this FM) and read the complete text.
Regards,
Pranav.
‎2011 Nov 10 8:45 AM
HI,
The 'READ_TEXT' FM returns multiple lines for long text. You will have to loop on the LINES (table parameter of this FM) and read the complete text.
Regards,
Pranav.
‎2011 Nov 10 8:49 AM
HI,
The function module READ_TEXT will read the text and it can be found in LINES table as multiple line items.
If you want all the line items continuously then just loop over the internal table of lines and concatenate the text.
Regards,
-Sandeep
‎2011 Nov 10 10:02 AM