10-16-2006 9:06 PM
I am trying to save a text area from Transaction VA43 (Texts Tab). I want to save the first three lines (max length 60) into 3 text fields in ABAP Program. I am using READ_TEXT function but I am getting the line feed special character saved into the field in my program.
Is there a way to remove this new line/carriage return character before saving it in my program?
10-16-2006 9:37 PM
Hi,
Function module READ_TEXT returns LINES table of structure TLINE, which contains two fields.
1. TDFORMAT(2) :Tag column
2. TDLINE(132) :Text Line
READ TABLE LINES INDEX 1.
FIELD1 = LINES-TDLINE
READ TABLE LINES INDEX 2.
FIELD2 = LINES-TDLINE
READ TABLE LINES INDEX 3.
FIELD3 = LINES-TDLINE
Thanks,
Ramakrishna