Application Development 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_text problem

Former Member
0 Kudos
95

Hi,

I am using read_text for getting header text of P.O., every thing is fine but my problem is the when i print the same line by line it does not come in the proper,

one line will be of 50 character second will be of 80 and so on, more over what i get my internal table is the same, so can any one tell me how rectify this.

Rectify i want only 50 char in each line.

Note that in the text editior i am entering Continuously.

regards,

Prabhu

Points assured.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
66

Enter the Header text in the manner you want..Internal tabel will hold line by line content.so i suggest you go to the header text and modify .

Regards,

Reema,

Message was edited by:

Reema Elsy Easow

5 REPLIES 5

Former Member
0 Kudos
67

Enter the Header text in the manner you want..Internal tabel will hold line by line content.so i suggest you go to the header text and modify .

Regards,

Reema,

Message was edited by:

Reema Elsy Easow

0 Kudos
66

hi reema,

my problem is i want uniformly in my internal table,(i.e each record in my internal table must be equal even thou it 132 character(tdline) if i enter 3 line in my header text it does not come sililar in my internal table it comes in a different way ) to overcome this do we have any function modules.

regards,

Prabhu

0 Kudos
66

Actually are you entering the text in this manner

For Ex:

TDFORMAT TLINE

  • Hello this is sample

  • For testing

  • Read text

In the editor are you giving the paragraph format for the TDFORMAT??

Please confirm

Reemz....

0 Kudos
66

hi reema,

My problem is,

for ex:

-> I have entered four line the header text for P.O. excactly 70 characters

-> I read using read_text

-> I get a internal table which has three line one with 60 characters,120 character and last with 100 approx.

-> so while i print i looks aquard, my reqirement is simple i want uniformly in the internal table means my three lines should be 93 characters or 70 characters four lines.

regards,

Prabhu

0 Kudos
66

Hi Prabhu

This is quiet strange...

I had tried this for va02->Item->Text

I had gone to the editor and entered four lines with TDFORMAT '*'

  • SAMPLE TEXT TESTING FUNCTION MODULESAMPLE TEXT TESTING FUNCTION MODULE

  • SAMPLE TEXT TESTING FUNCTION MODULESAMPLE TEXT TESTING FUNCTION MODULE

  • SAMPLE TEXT TESTING FUNCTION MODULESAMPLE TEXT TESTING FUNCTION MODULE

  • SAMPLE TEXT TESTING FUNCTION MODULESAMPLE TEXT TESTING FUNCTION MODULE

On executing read text function module in se37 i got all the four line perfectly well..

Are you sure u are entering the appropriate TDFORMAT '*'

Regards,

Reema.