Skip to Content
0
Former Member
Jun 29, 2009 at 01:39 PM

TEXT MODULE FUNCTION

14 Views

Hi gurus,

When i calling the text fuctional module i put the all required fields. but in the internal tables i cannot get the text fields values.

DATA : IT_TLINE LIKE TLINE OCCURS 0 WITH HEADER LINE .

DATA : WA_TLINE LIKE Thead.

CALL FUNCTION 'READ_TEXT'

EXPORTING

CLIENT = SY-MANDT

ID = '0001'

LANGUAGE = 'E'

NAME = name

OBJECT = 'VBBK'

IMPORTING

HEADER = WA_TLINE

TABLES

LINES = IT_TLINE

EXCEPTIONS

ID = 1

LANGUAGE = 2

NAME = 3

NOT_FOUND = 4

OBJECT = 5

REFERENCE_CHECK = 6

WRONG_ACCESS_TO_ARCHIVE = 7

OTHERS = 8 .

READ TABLE IT_TLINE INDEX 1 .

IF SY-SUBRC EQ 0 .

IFINAL-TEXT = IT_TLINE-TDLINE.

ENDIF .

ENDIF .

Thanks in advance.