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

SAPScript - Alignment Issue

fredericbasilius
Participant
0 Likes
3,391

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
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
2,808

Hello Fredric

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

Thanks

Nabheet

7 REPLIES 7
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
2,809

Hello Fredric

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

Thanks

Nabheet

Read only

0 Likes
2,808

Read only

0 Likes
2,808

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

Read only

0 Likes
2,808

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

Read only

0 Likes
2,808

Hi,

For the values

For Total

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

Regards,

FB

Read only

0 Likes
2,808

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

Read only

0 Likes
2,808

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,