SAP Knowledge Base Article - Public

1472186 - Java: Data Overlaps Onto Next Field (InfoView)

Symptom

When viewing a report, a number field or a string will exceed the width given to it and, instead of being truncated, will overwrite the field next to it.

Environment

Happens when using Java InfoView.

Reproducing the Issue

Create a report where the numeric field only has room for "$99.99" and then right next to it have a string field, say Customer Name or something.

In the data, make sure that one of the records has a value of $1,000,000.

View from a machine that doesn't have printer drivers that match the drivers the report was written against.

Instead of displaying "$1,000 Bob's Barricades" or "00,000 Bob's Barricades" or "$1,... Bob's Barricades" or "xxxxxx Bob's Barricades" it displays "$1,000,000b's Barricades"

Cause

Consultation with the Product Group revealed that this is a design choice made due to the factors when dealing with an unknown printer.

"There is no way for users to get the rest of the data in a web environment. For instance, if a user views a report in the designer that has currency data which is right-aligned and displays 1,002.43, the user has the ability to click on the field and resize it to see that the data is actually -$101,002.43. The user viewing over the web does not have this resizing benefit and therefore needs to be shown all data in the cell to avoid making clerical errors. When users design reports, they should take the web environment into account and make sure that the amount of space necessary is provided for the data they are going to display."

It's based on the printer and if the machine InfoView's Java Viewer applet is on doesn't have the same printer driver as the report was designed against, then it will default to displaying all of the data, resulting in overlapping text.

Resolution

Make sure when designing reports that there is enough space available for the data to be displayed.

See Also

1472223 - Java: Data Overlaps Onto Next Field (HTML)
1374371 - Text in fields overlap to next row

Keywords

java viewer infoview truncate overlap overwrites writes over covers hides hidden slams data field , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Problem

Product

SAP Crystal Reports all versions