cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the value of an text element

Former Member
0 Kudos

Hi all,

I have the following question:

I want to get the value of a element text and then include it in my sapscript.is there some function module for this?

I know that i can include it with the include statement, but this is not what i want.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

*i want to get the value of a element text *

i didnt get u... can u be little bit clear....

if standard text means u can use f.m READ_TEXT.....

CALL FUNCTION 'READ_TEXT'

EXPORTING

id = 'X001'----


>pass it

language = sy-langu

name = '96804327'------>pass it

object = 'VBBK'------>pass it

TABLES

lines = i_tline

EXCEPTIONS

id = 1

language = 2

name = 3

not_found = 4

object = 5

reference_check = 6

wrong_access_to_archive = 7

OTHERS = 8.

loop at i_tline into wa_tline index.

OUT_TAB-NAME = 'TEXT'.

OUT_TAB-VALUE = wa_tline-TDLINE.

append OUT_TAB.

endloop.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Include text is the better option insted of READ_TEXT

Former Member
0 Kudos

Use READ_TEXT