DATA : st_client TYPE SY-MANDT,
st_id TYPE THEAD-TDID,
st_language TYPE THEAD-TDSPRAS,
st_name TYPE THEAD-TDNAME,
st_object TYPE THEAD-TDOBJECT.
DATA : lt_line TYPE TABLE OF tline,
FIELD-SYMBOLS <fs_lt_line> TYPE tline.
st_client = 'sy-mandt'.
st_id = 'ST'.
st_language = 'EN'.
st_name = 'ZCOLLECTIVE'.
st_object = 'TEXT'.
CALL FUNCTION 'READ_TEXT'
EXPORTING
client = st_client
id = st_id
language = st_language
name = st_name
object = st_object
TABLES
lines = lt_line
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.
* Implement suitable error handling here
ENDIF.
I am calling READ_TEXT fm inside a method,and above is the code raising an exception when I executed.
Can anyone please help me out with this issue.....