Skip to Content
0
Former Member
Aug 15, 2008 at 09:05 AM

FM - READ_TEXT issue with data declaration

872 Views

Dear All,

I am calling a FM - READ_TEXT.

I have declared as follows,

DATA : IL_TLINE TYPE TABLE OF TLINE,

IL_HEADER TYPE TABLE OF THEAD.

CALL FUNCTION 'READ_TEXT'

EXPORTING

CLIENT = SY-MANDT

ID = ID

LANGUAGE = LANG

NAME = NAME

OBJECT = OBJECT

  • ARCHIVE_HANDLE =

  • LOCAL_CAT =

IMPORTING

HEADER = IL_HEADER[]

TABLES

LINES = IL_TLINE[]

But the program throws up an error as follows:

In the function module interface, you can specify only

fields of a specific type and length under "HEADER".

Although the currently specified field

"IL_HEADER[]" is the correct type, its length is incorrect

May i know what mistake i have done?

Vivek