Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Read_text's behaviour

Former Member
0 Likes
2,287

I have the sales order in 4.6c and ECC 6.0 and it has long text as below :

"This should only be for O#6049040888 Test Test Test "

In 4.6 C, the READ_TEXT text is reading the above text into two lines and returning as two lines as

This should only be for O#6049040888

Test Test Test

However in ECC 6.0 the READ_TEXT text is reading the above text in a single lines and returning as a single line as This should only be for O#6049040888 Test Test Test

What is the reason behind it ?

I have to explain my functional cons..

Thanks.

17 REPLIES 17
Read only

Former Member
0 Likes
2,077

John,

Did you check the text in the Table level and Transaction Level or not. I suspect that might be the text is maintained in one line in table level

Thanks,

Chidanand

Read only

Former Member
0 Likes
2,077

Which table is it - may I know please ?

Read only

0 Likes
2,077

table: STXH you need to know the TDOBJECT TDNAME TDID for the text. Hope you can find it in Read test FM which you were passing before.

Read only

Former Member
0 Likes
2,077

In table: STXH ,

I could not see any text in both 4.6c and ECC 6.0.

is there any thing else I can check.

Read only

0 Likes
2,077

you will find the keys in STXH, STXL will contain the actual text, but it would nto be in readable format. you can see how many lines are there in STXL for the same key in STXH

Read only

Former Member
0 Likes
2,077

STXH STXL and STXD are the tables

Edited by: nilanjana sinha on Nov 5, 2008 4:05 PM

Read only

Former Member
0 Likes
2,077

In stxl table,

in 4.6c, I have

MANDT 003

RELID TX

TDOBJECT VBBP

TDNAME 6049940517000010

TDID ZD01

Language E

SRTF2 0

CLUSTR 112

CLUSTD FF05010102028000313130300000000033010000121F9D0232663E86360606D6FCDE3BCA1BBBDBAC427C3CFD5CD702C5563130300171CB3A207BB78242484666B142

where as in ECC 6.0,

MANDT 300

RELID TX

TDOBJECT VBBP

TDNAME 6049040119000010

TDID ZD01

TDSPRAS EN

SRTF2 0

CLUSTR 143

So could any one of you suggest me what can I do ?

How to communicate with functional guy ?

Is there anything ...it missed or shall i ask to him to maintain in any table ?

Read only

0 Likes
2,077

it is sales item texts. just go to your sales order in both the systrems, and compare the item texts on how theose are maintained in both the systems

Read only

ThomasZloch
Active Contributor
0 Likes
2,077

Also find out the value of TDFORMAT in both texts. Is there any formatting option causing the line break?

I think in 4.6C only the old editor is available, in ECC 6.0 there is the new editor, but you can switch to the old one via the menu.

Thomas

Read only

Former Member
0 Likes
2,077

I have checked the item level texts in both 4.6c and ECC 6.0,

no difference in the texts.

and TDFORMAT I don't have in any of STXL and STXH tables ...

where to see TDFORMAT 's value ?

thank you.

Read only

0 Likes
2,077

you will get the TDFORMAT back in read text funntion call .

Read only

Former Member
0 Likes
2,077

in both systems tdformat is space.

Read only

0 Likes
2,077

I think it is just the editor issue with the ECC. By default the Text come in free form text editor in ECC. while on earlier releases it was a line editor. So if yoru users want the separaste lines, they may have to switch to Line editor in ECC

Read only

Former Member
0 Likes
2,077

May I know please how to shift to line editor in ECC 6.0 ?

Read only

0 Likes
2,077

I think I saw a way to change that some time back, but now I cant find that. You can try opening an SAP OSS message too to see what they say

Read only

0 Likes
2,077

Hey Do you have any updates on this please!

In my system, my Text is getting splitted into many lines even though I have the text entered in the system(SD or CRM Text) in 1 Line.

READ_TEXT is not displaying text in not more than 72 chars in length for each line! I want to display the text in same number of lines using the READ_TEXT as entered by the users in the backend.

Read only

Former Member
0 Likes
2,077

I have debugged READ_TEXT and it is code difference in two systems.

Main Program SAPLSTXD

Source code of LSTXDFDB

4.6 c

import tline to rt_lines

from database stxl(tx)

client rt_client

id stxl_id..

ECC 6.0

import tline to rt_lines

from database stxl(tx)

client rt_client

id stxl_id

ACCEPTING TRUNCATION

IGNORING CONVERSION ERRORS.

Thanks - now is there any oss note is there for this ?