Hi Friends,
Iam reading a text from the sales order,the text is of lenght 260 characters long.
i used FM READ_TEXT, But the FM is only reading upto 132 charcters only( because tline-tdline is of only 132 characters long)
MY Code is
DATA: l_comment TYPE STANDARD TABLE OF tline.
DATA: wa_comment TYPE tline.
l_vbeln = wa_vbak-vbeln.
CALL FUNCTION 'READ_TEXT'
EXPORTING
client = sy-mandt
id = 'Z150'
language = sy-langu
name = l_vbeln
object = 'VBBK'
TABLES
lines = l_comment
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
DATA : l_text(900) TYPE c,
l_len TYPE i.
LOOP AT l_comment INTO wa_comment
WHERE NOT tdline IS initial.
CONCATENATE l_text wa_comment-tdline INTO l_text SEPARATED BY ' '.
ENDLOOP.
Please help me regarding this.