Skip to Content
avatar image
Former Member

How to get the value of an text element

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Dec 30, 2008 at 08:59 AM

    *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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 30, 2008 at 08:57 AM

    Use READ_TEXT

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 30, 2008 at 09:12 AM

    Hi,

    Include text is the better option insted of READ_TEXT

    Add comment
    10|10000 characters needed characters exceeded