09-20-2007 8:03 AM
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
09-20-2007 8:12 AM
Hi ,
Instead of using the FM, Use the standard functionality to print the required text provided by Smartforms.
Create a text element, in the left top...in the drop down there is an option of include text...
id = '0001'
language = 'E'
name = '0080000055'
object = 'VBBK'
u will get the dessired output
Regards,
Himanshu
09-20-2007 8:12 AM
Hi ,
Instead of using the FM, Use the standard functionality to print the required text provided by Smartforms.
Create a text element, in the left top...in the drop down there is an option of include text...
id = '0001'
language = 'E'
name = '0080000055'
object = 'VBBK'
u will get the dessired output
Regards,
Himanshu
09-20-2007 10:00 AM