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: 

SAPScript - Alignment Issue

fredericbasilius
Participant
0 Kudos

Hi,

I am getting an alignment issue in my SAPScript as below

As you can see Amount field is not in line with value and the total amount. All the rows are updated with the format as shown below.

I have used the Paragraph format as shown below.


But its not working as expected. I also tried for Left alignment for the third column.

Could anyone please advise. ?

1 ACCEPTED SOLUTION

nabheetscn
Active Contributor
0 Kudos

Hello Fredric

Screen shots?  Amount has to be right aligned as a practice and proper space.

Thanks

Nabheet

7 REPLIES 7

nabheetscn
Active Contributor
0 Kudos

Hello Fredric

Screen shots?  Amount has to be right aligned as a practice and proper space.

Thanks

Nabheet

0 Kudos

0 Kudos

Can you please put the screenshot of code in classic sap script editor highlighting the tab put in the code.

0 Kudos

Hi,

check if all rows use ur format T2

check (in Debugger) if the field got leading spaces.

check if ur tabs fit. this is mostly the error. if the field bevor Tab 3 is longer than its tab space. for example in your case should the value of the field that gets printed as Tab 2 not be longer than 4 CM, because otherweise the tabs gets shifted. tab 3 will stay unused and field 3 will instead be printed in tab 4 as long there is an tab 4 or (as per standard definition on your sap-script config formpage) the next tab is 2 CM.

sometimes it helps to print strings without trailing spaces i think its &variable(c)& or something like that.

LG

Stefan Seeburger

0 Kudos

Hi,

For the values

For Total

Result is the same with or without '(R)'.

Regards,

FB

0 Kudos

Can you try by putting the value to character variable and check..?

0 Kudos

Hi Stefan,

Thanks a lot.

Issue is resolved. It was due to leading spaces. Resolved by providing (CIZ) as in the below screenshot.

Regards,

FB,