Skip to Content
avatar image
Former Member

Problem with READ_TEXT FM

HI Experts,

I am facing a problem while using READ_TEXT FM. The function is returning sum wiered text for specail charter &.

it displays like <(>&<)>.

How so I solve this problem?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Jun 22, 2010 at 10:28 AM

    Hi,

    If you still problem is not solved call the FM SF_SPECIALCHAR_DELETE.

    Pass the line returned from READ_TEXT to FM SF_SPECIALCHAR_DELETE and it will remove from

    specila chars.

    Thanks,

    Pramod

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 22, 2010 at 10:08 AM

    It is bocz of the input parameter which u r passing to the FM.

    Make sure u r passing correct parameters.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Sachin,

      I am Passing

      CALL FUNCTION 'READ_TEXT'

      EXPORTING

      id = 'F03'

      language = sy-langu

      name = PO Number

      object = 'EKKO'

      TABLES

      lines = it_lines[]

      .

      What else should I pass?

  • avatar image
    Former Member
    Jun 22, 2010 at 10:20 AM

    Hi,

    I am not sure what you have passed to FM

    It is used as below

    CALL FUNCTION 'READ_TEXT'

    EXPORTING

    id = ' ' ( Text id STXH-TDID

    language = sy-langu

    name = likp-vbeln

    object = 'VBBK'

    TABLES

    lines = l_it_lines

    Thanks,

    Pramod

    Add comment
    10|10000 characters needed characters exceeded