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

Column alignment in Script Form

Former Member
0 Likes
398

Hi experts,

I have problem when print script form.I have the below 3 column.

Date      Invoice Number       Remittance Amount

dats         char16                      curr13

For the field Invoice number and Remittance Amount, Both of their output length are uncertain.

I want each field alignment. But my is not. Please see my pic.

This is my box:

/:BOX WIDTH 4 CM HEIGHT '0.5' CM FRAME 10 TW
/:BOX XPOS 4 CM WIDTH '7.5' CM HEIGHT '0.5' CM FRAME 10 TW
/:BOX XPOS '11.5' CM WIDTH '7.5' CM HEIGHT '0.5' CM FRAME 10 TW
/:BOX YPOS '0.5' CM WIDTH 4 CM HEIGHT 18 CM FRAME 10 TW
/:BOX XPOS 4 CM YPOS '0.5' CM WIDTH '7.5' CM HEIGHT 18 CM FRAME 10 TW
/:BOX XPOS '11.5' CM YPOS '0.5' CM WIDTH '7.5' CM HEIGHT 18 CM FRAME 10 TW
*,,<C2>Document Date,,,,,,Invoice Number,,,,,,,,,,Remittance Amount</>

This is my Main window text edit:

/EMAIN
I2<C6>GS_ITEM-BLDAT& GS_ITEM-XBLNR& GS_ITEM-ZVAL& </>

Hope get the solution.

1 REPLY 1
Read only

former_member378318
Contributor
0 Likes
371

Hi Yuan,

Why do you need so many tabs? unless the same area is being used to display multiple line items types.

As a start try fixing the output length for Invoice Number:

<C6>GS_ITEM-BLDAT& GS_ITEM-XBLNR(16)& GS_ITEM-ZVAL& </>