cancel
Showing results for 
Search instead for 
Did you mean: 

SCRIPT Include text allignment

Former Member
0 Kudos

Hi Friends,

I want print the Include text(Service text) within one column(alignment).

Iam displaying 6 columns in page like item. description, qty, units, price , total ..(6coloumns)..

I want dispaly service text for each Item...

I am getting the Service text though

IC ,,&TTXIT-TDTEXT&

/ : INCLUDE &T166P-TXNAM& OBJECT &T166P-TDOBJECT& ID &T166P-TDID& LANGUAGE &

its printing.. BUt its printing from 1st column to 6 th coloumn and second line also..(more than 200 char)..

I want print this complete text in description coloumn only..

please any body help.. How to print complete text within boundry means (4 cm to 12 cm like that..)..

Thanks in Adanvce,

SAM..

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi ,

If you use include statement then you will get the text in different lines only . Instead if you can modify the print program then using read_text function module import the text into one variable and use this variable in your script .

Also use suitable tab space to fit the text in one column

Regards,

Nageswar

Former Member
0 Kudos

For your paragraph format, such as N1, don't forget to define the right/left margin attributes to force your text to stay within the column you want.

Former Member
0 Kudos

Hi Freinds,

Thx for U r mesage.. still its not solved my problemm.

If iam created one paragraph format.

I will give the tab position.. i will put the left allignment.. how itis going to stop after 35 charcters and start next line from tab position..

description coloumn start from tab 6 .. qty start from 31.. i want print from 7th to 30 line..

we can control lfet allignment..

how its is possible for right..

please explain me..

Regards,

SAM

Former Member
0 Kudos

Hi,

Just follow my previous reply.

If you dont understand then get back.

Regards,

Nageswar

Former Member
0 Kudos

Hi Nageshwar,

I done with read_text.. IAm giving the right object deials. Still iam not printing properly....While debugging its not comming to the performed program...

Can U give U r number.. I will call U..

other wise this is my no.. :+91 - 9945712438..

please give a missed call .. I will call U..

regards,

Sampath kumar

Former Member
0 Kudos

Hello Mr.Katta,

For alignment control you should use PARAGRAPH addtion for Include statements.

Create a paragraph format in your script and give it a tab position from where your description column starts from and make it left aligned. By this way you should be able to control your alignment of Include statement.

Look the addtion in bold : N1 is the paragraph format.

/ : INCLUDE &T166P-TXNAM& OBJECT &T166P-TDOBJECT& ID &T166P-TDID& LANGUAGE &EKKO-SPRAS& PARAGRAPH N1

Thanks,

Mark

Former Member
0 Kudos

Hi Freinds,

Thx for U r mesage.. still its not solved my problemm.

If iam created one paragraph format.

I will give the tab position.. i will put the left allignment.. how itis going to stop after 35 charcters and start next line from tab position..

description coloumn start from tab 6 .. qty start from 31.. i want print from 7th to 30 line..

we can control lfet allignment..

how its is possible for right..

please explain me..

regards,

SAM