cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding Header Text

Former Member
0 Kudos

hi all,

I am Doing Development for Work Order PO. We written some Text( KHASERA NO.102-104 & 109-110) . But when i am trying to display the text in O / P through Read_Text it is coming like this KHASERA NO.102-104 <(> & <)> 109-110.

What will be the Problem.

Please suggest.

CALL FUNCTION 'READ_TEXT'

EXPORTING

  • CLIENT = SY-MANDT

ID = 'F01'

LANGUAGE = SY-LANGU

NAME = G_TEBELN

OBJECT = 'EKKO'

  • ARCHIVE_HANDLE = 0

  • LOCAL_CAT = ' '

  • IMPORTING

  • HEADER =

TABLES

LINES = GT_LINES

  • EXCEPTIONS

  • ID = 1

  • LANGUAGE = 2

  • NAME = 3

  • NOT_FOUND = 4

  • OBJECT = 5

  • REFERENCE_CHECK = 6

  • WRONG_ACCESS_TO_ARCHIVE = 7

  • OTHERS = 8

.

IF SY-SUBRC <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

I Used above function Module.

Plz suggest.

Regards

Reddy

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Double click on the text in PO where u have maintained it it will get opened in editor, u'll see thse

"<(> & <)> " thr, just remove and save it will work fine

Former Member
0 Kudos

Hi,

I have tried the same text for a PO number as following, but i didnot find any difference. Giving the same text.

Hande Exceptions also.

CALL FUNCTION 'READ_TEXT'

EXPORTING

CLIENT = SY-MANDT

id = 'F01'

language = sy-langu

name = '4500018455'

object = 'EKKO'

  • ARCHIVE_HANDLE = 0

  • LOCAL_CAT = ' '

  • IMPORTING

  • HEADER = HEADER

TABLES

lines = i_lines

EXCEPTIONS

ID = 1

LANGUAGE = 2

NAME = 3

NOT_FOUND = 4

OBJECT = 5

REFERENCE_CHECK = 6

WRONG_ACCESS_TO_ARCHIVE = 7

.

Regards,

Raju.

Former Member
0 Kudos

the text which u r maintaining in the PO chk that text if u write & in between txt it will take it as "<>&<>"

some thing like this , so open the text using editor mode then manually removw these brackets and again save