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

Smartforms problem with creating more column

acetedi
Participant
0 Likes
2,205

Hello expert, i have problem with smartforms when creating more column like 50 column in smartforms

the each column i calculated with exactly accurate but the column is little bit different

iam creating in same windows using template....

so this is limitation of smartforms?

Thank you for any guide of response

7 REPLIES 7
Read only

Sandra_Rossi
Active Contributor
0 Likes
2,146

Smart Form preview (OTF preview) is unprecise.

Only trust the paper print or PDF preview.

Read only

0 Likes
2,146

iam using pdf preview for this

maybe i need change something on print preview setting?

Read only

0 Likes
2,146

It doesn't look like pdf preview...

I guess that what you call pdf preview is not pdf preview but OTF preview?

Do you use "PDF!" for starting the pdf preview?

Read only

0 Likes
2,146

yes iam using PDF! when preview pdf...

this is look like

The problem is in the last two row that little bit different from above line

Read only

0 Likes
2,146

Thanks. Weird.

Does it happen after more zoom (sometimes the preview may be buggy based on zoom level) and with the printout?

Did you look for a SAP fix?

Did you look at the OTF (Smart Form internal format) raw code of the Smart Form spool request? (you will see the exact column positions, if it's exactly the same vertical row coordinates, no reason that PDF preview gives different result except if there's a SAP bug in converting OTF to PDF)

Read only

0 Likes
2,146

NB: I don't remember if lines are drawn using BX (box) in OTF, but you may add a dummy text inside one cell and find the relevant parts around that text.

BX:

Function          Length  Type  Description
----------------  ------  ----  ---------------------------------------------------------
UP_LEFT_CORNER_X  5       TWIP  X-coordinate of the top left hand corner of the box	 	 
P_LEFT_CORNER_Y   5       TWIP  Y-coordinate of the top left hand corner of the box	 	 
WIDTH             5       TWIP  Width of the box	 	 
HEIGHT            5       TWIP  Height of the box	 	 
THICKNESS         5       TWIP  Thickness of the border of the box	 	 
FILL_DARKNESS     3       NUMC  Degree of shading for the area of the box, shown as a percentage between 0 and 100. 0 = no shading. 100 = black.
Read only

0 Likes
2,146

Yeah that's weird, I will skip this one for now

Thank you for the good explanation, Mr. Sandra Rossi