Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

text

Former Member
0 Likes
455

how to read a text of that field

i heard some read_text function module is there like

can u pls help me that

3 REPLIES 3
Read only

Former Member
0 Likes
429

CALL FUNCTION 'READ_TEXT'

EXPORTING

client = sy-mandt

id = c_z002

language = c_e

name = thead-tdname

object = 'VTTK'

TABLES

lines = i_line

EXCEPTIONS

id = 1

language = 2

name = 3

not_found = 4

object = 5

reference_check = 6

wrong_access_to_archive = 7

OTHERS = 8.

Read only

Former Member
0 Likes
429

Hi,

Use read_text for that but when u r print in smartform declare your text as text module it will automatically print/

Rewards points if it is useful.

Read only

Former Member
0 Likes
429

hi pandu

yes u can read a text of the field using READ_TEXT apart from this u have some function modules which are related are

WRITE_TEXT , SAVE_TEXT,COMMIT_TEXT, INIT_TEXT..

u can find the fields in the tables STXH (header table) , STXL (text) &

function module parameter values from these 2 tables.

some fileds of

STXH - TDOBJECT,TDNAME,TDID,TDSPRAS ............etc

STXL - ELID, TDOBJECT,TDNAME,TDID,TDSPRAS,.........etc

for more browse the tables...

hope it wil be helpful.

thanks