Skip to Content
0
Former Member
Dec 06, 2006 at 12:41 PM

Confued in the table Type

36 Views

hi experts,who can help me to clarify the concept of table type?

for example,i create a function and table type as below

FUNCTION Read_text.

*"----


""Local Interface:

*" IMPORTING

*" REFERENCE(LANGUAGE) TYPE SPRAS

*" REFERENCE(OBJ_NAME) TYPE Mara-Matnr

*" TABLES

*" EX_TEXTSL TYPE ZT_SXL

*"----


*ZT_SXL was table type and the line type was ZS_SXL

DATA :

lt_textsl TYPE ZT_SXL,

-


(do some action to init the data in lt_texts)

INSERT lt_textsl INTO TABLE ex_textsl

when i active the Function,the systems display the error:"LT_TEXTSL" and the line of "EX_TEXTSL" are incompatible.

why??

will be reward points to the answer