Skip to Content
0
Former Member
Nov 23, 2007 at 12:19 PM

READ_TEXT FM returning LINES table as empty

653 Views

Hi Experts,

I am using FM 'READ_TEXT' in an ABAP but the FM is not returning LINES table filled with any value. May i know, how can i get the SAP long text value populated in LINES table i.e. i_tl in my case.

Code is as follow -

CALL FUNCTION 'READ_TEXT'

EXPORTING

object = 'BELEG'

name = e_th-tdname

id = '0001'

language = 'R'

IMPORTING

header = e_th

TABLES

lines = i_tl

EXCEPTIONS

not_found = 4.

Probably, no SAP long text maintained for this inputs provided to FM. But, if this is the case then how can we maintain SAP long text for these inputs ?

Useful answers will be appreciated.

Thanks in advance,

Akash