04-05-2006 8:58 AM
Hi All!
I am displaying qty field in a table of smartform.The problem is when the qty value is 0 my table row height is increasing to the field length i.e. 13 (row height is taking 13 rows)and if the the qty field is having some value it is taking only one row.
What can be the problem.Please advise.
Rwegards
PRaneeth
04-05-2006 9:18 AM
Praneeth,
Probably the height oif the line you have specified is too small. Can you try increasing the height of the line to 1.5 Lines? That should fix the problem.
Regards,
Ravi
Note : please mark the helpful answers
04-05-2006 9:18 AM
Praneeth,
Probably the height oif the line you have specified is too small. Can you try increasing the height of the line to 1.5 Lines? That should fix the problem.
Regards,
Ravi
Note : please mark the helpful answers
04-05-2006 9:25 AM
Hi praneeth,
Make sure that the width of the quantity field cell is equal to the actual field length.
Thanks,
Vamsi.
04-05-2006 9:46 AM
Hi
Check length of window and size of field.
Or u may have to use below systax
<b>Formatting Options for Fields</b>Syntax Description
&field+<offset>& Skips <offset> places of the field value (character fields only). If the
offset is greater than the length of the value, nothing is displayed.
&field(<length>)& Sets the output length to <length>.
&field(*)& If the field is defined by a Data Dictionary type, Smart Forms set the
output length to the value specified there.
&field(S)& Suppresses the sign
&field(<)& Displays the sign to the left of the number
&field(.<nat.number>)& Limits output of decimal places to <nat.number>
&field(E<nat.number>)& Displays the field value with the fixed exponent <nat.number>. The
mantissa is adapted to this exponent by shifting the decimal
character and inserting zeros.
&field(T)& Suppresses thousand indicators when displaying fields of types
DEC, CURR, INT, and QUAN.
&field(Z)& Suppresses leading zeros of numbers
&field(I)& Suppresses display of initial values
&field(K)& Deactivates a conversion routine specified in the Data Dictionary.
&field(R)& Right-justified display. Use this option only when specifying an
output length as well.
&field(F<filler>)& Replaces left-justified blanks in the value by the fill character <filler>.
&field(L)& Converts and a date field to a local date and displays it. The date is
then formatted using edit mask JPDAT.
Since this representation uses Japanese characters, use it in the
Japanese version of the SAP System only.
&field(C)& The system takes the field value as a sequence of words separated
by blanks. Option C shifts these words to the left and leaves only
one blank inbetween as separator. Any leading blanks are
suppressed. This effect corresponds to that of the ABAP statement
CONDENSE.
regards
vinod
04-05-2006 10:12 AM
Hi vinod!
Thanks a lot for your info.
My problem is that i can't give more space to the field in my form.I want 12 places maximum to be displayed by removing the decimal places which occupy 3 places.
Is it mandatory to give the column length to 15 and is there any way to make it to 12 by rounding the decimal places.
Regards
Praneeth
04-05-2006 10:27 AM
Hi Praneeth,
you can use like this..
&field(.<nat.number>)&
this Limits output of decimal places to <nat.number>