SAP ABAP 使用其预挂起长度字段只能从LRAW或LCHR字段XXX中读取used to read from the LRAW field or LCHR field XXX.
处理代码:
DATA:lt_tline TYPE STANDARD TABLE OF tline,
ls_tline TYPE tline.
CALL FUNCTION 'READ_TEXT'
EXPORTING
client = sy-mandt
id = 'XXX' "需求文档会给出
language = sy-langu
name = lv_name
object = 'ITAB' "处理表
TABLES
lines = lt_tline
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
IF sy-subrc = 0.
LOOP AT lt_tline INTO ls_tline.
<fs_alv>-name = ls_tline-tdline. "最终的值
CLEAR:ls_tline.
ENDLOOP.
ENDIF.