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: 

Sap Script Problem - alignment problem

Former Member
0 Kudos

hi,

In my Sap Script Invoice, I have alignment problem.In invoice 2 line items i am displaying .One field is text description.my problem is whenever the text description is short the alignment is going wrong...It is not aligning properly...Any suggestions from u guys....

thanks in advance,

fractal

8 REPLIES 8

abdul_hakim
Active Contributor
0 Kudos

hi

how do you wanna align the text?

Cheers,

Abdul Hakim

0 Kudos

Hi,

I want the second line item should be aligned...

<s>&VBDPR-POSNR+3(3)&,,&VBDPR-MATNR&,,,,&VBDPR-ARKTX(30)&,,,,&sy-datum&

&VBDPR-FKIMG(5.0)&,,,,,,EA,,,,$&KOMVD-KBETR(I12)&,,$&KOMVD-KWERT(I12)&</>

001 R83010 Text Description very large 07/27/2006 2 EA $ 150.00 $ 300.00

002 R83020 Text Description 07/27/2006 3 EA $ 150.00 $ 450.00

one question...

how to create character strings...Is it possible to align properly with character strings ?

thanks,

fractal

0 Kudos

The problem is that your tab is not set at a position far enough to the right. You need to change the tab for the follow field after the description to a high number, shifting the column to the right.

Regards,

Rich Heilman

0 Kudos

I didn't understood....Can you explain me in detail..

Thanks,

fractal

0 Kudos

If I understood correctly, you need the material description be aligned correctly. It is done thought the Tab you set for the paragraph you use for the line item.

In your case you, for example if your are using the paragraph as <b>P1</b> for these line items, you need to adjust the <b>tab</b> of this paragraph in Paragraph page. For the date you are using the <b>4th</b> Tab. Increase the size of of that.

In fact, I could see you also using a character format <s>, for the line items. Since this character properties you are going to use it for all the line item details, just try to avoids its use and add those character properties to the paragraph properties of the line items.

For example <s> you may be using it for bolding the items. That you could do by setting the <P1> properties as bold.

Hope this helps you.

Cheers,

Thomas.

Former Member
0 Kudos

Hi Fractal,

Please take a look at these threads..

cheers,

Prashanth

P.S Please mark helpful threads

Former Member
0 Kudos

Hi Fractal,

Create paragraph format for displayng the description.Use tab position in the paragraph format.And in the text editor use ,, for putting one tab.It will be aligned properly.If any problem reply this thread.Put the tab position in the way that it is a bit more than the length of the description.

Example if your field length is 40 then take the tab position a bit more than 40 for safer side.

Mukesh Kumar

Message was edited by: mukesh kumar

Former Member
0 Kudos

Hi, Use PROTECT.....ENDPROTECT.

Regards:-

Santosh.D