Skip to Content
0
Former Member
Sep 20, 2007 at 07:03 AM

using read text fm in smartforms

542 Views

hi experts,

I have captured a text using Read_text Fm .now i need to use it inside a smartforms .how to do .

i have used that code inside a program line .

and in text i have called the field.

declaration in form interface

text type char20

itab type tline

in program lines

data itab like TLINE occurs 0 with header line.

CALL FUNCTION 'READ_TEXT'

EXPORTING

  • * CLIENT = SY-MANDT

id = '0001'

language = 'E'

name = '0080000055'

object = 'VBBK'

  • ARCHIVE_HANDLE = 0

  • LOCAL_CAT = ' '

  • IMPORTING

  • HEADER =

tables

lines = itab.

LOOP AT ITAB.

text = ITAB-TDLINE.

ENDLOOP.

in text

&text&

but the text value is not printing .but i am getting the value when i do it in SE38.

what shall i do?

regards,

mani