cancel
Showing results for 
Search instead for 
Did you mean: 

Sales Order Header Text

Former Member
0 Kudos

Hi All,

I am checking an issue regarding Sales Orders. I have a header text that looks like this:

TEXT1

TEXT2

TEXT3

TEXT4

But everytime it is saved and FM 'READ_TEXT' is used, the table result always looks like this

TEXT1##TEXT2##TEXT3##TEXT4

This is causing errors in the Outbound IDocs generated because of the special characters. We are using 701, the issue appeared after upgrade.

Can anyone help where I should be looking at?

MANY THANKS!

Edited by: Jorenz.Llanes on Sep 14, 2010 1:16 PM

Edited by: Jorenz.Llanes on Sep 14, 2010 1:18 PM

Edited by: Jorenz.Llanes on Sep 14, 2010 1:26 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

OSS note resolved the problem. Using ECC 701

Former Member
0 Kudos

can you please check read_text Fm is creating the string or is there any bugs in the code.

i am not aware about the FM but its only pridication

gajanna

Former Member
0 Kudos

i have checked and it was because of an FM 'CONVERT_ITF_TO_STREAM_TEXT'

  • If the document is not a WORD- or RTF document.

if thead-tdtexttype ne 'DOC' and

thead-tdtexttype ne 'RTF'.

  • convert itf text to stream text

CALL FUNCTION 'CONVERT_ITF_TO_STREAM_TEXT'

TABLES

itf_text = tlinetab

text_stream = lt_text_table.

else.

  • No text will be displayed in the multiline editor.

message s202(vx).

endif.

I am now trying to figure out how tdtexttype was set since according to the user it wasn't triggered before not until the upgrade t 701