on 06-22-2012 1:28 PM
Hi Abhishek,
Please ensure that if this variable is getting assigned to another variable whose type is not " type p decimals 2 " and then the assigned variable is getting used for printing on smartform.
In that case it might lead to * due to insufficient space in that Assigned variable.
Also try printing the variable by changing type assignment from TYPE P DECIMALS 2 to some standard Tableame-Field name.
Regards,
Sachin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
sory all, and nevertheless thanks all.
thanks all for helping me.and sory becoz so simple it was,
i created the variable of type p decimals 2 and move the contents
of work area to that variable.
now working good.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abhishek,
The same was suggested to you in my first reply.
Sachin Adak wrote:
Hi Abhishek,
Please ensure that if this variable is getting assigned to another variable whose type is not " type p decimals 2 " and then the assigned variable is getting used for printing on smartform.
In that case it might lead to * due to insufficient space in that Assigned variable.
Also try printing the variable by changing type assignment from TYPE P DECIMALS 2 to some standard Tableame-Field name.
Regards,
Sachin
Hi Abhishek
1. Change the type of the field wa_tab-field1 to dmbtr
2. While printing put the format specification as &field1(8.2)&
Please post back with your comments
Regards,
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
change the definition field(10) type p decimals 2! You've not specified the length that you want to handle....I always do field(15) type p decimals 2, unless I need to limit the amount of space, left to right, then I drop the (nn) to a lower number.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abhishek
Try with
&field(8.2)&
Else Workaround
Convert it into Char field and display it..
Please post back with your comments
Regards,
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Abhishek how is the field defined in the smart form? Is it defined manually or with reference to a data dictionary object? Show me how the field is defined.
You should not need any special formatting unless you want the sign on the left.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i tried almost all the scripting techniques
Is the value negative or very big, could you give use the formats you tried with the field ?
(e.g. aformat like &field(Z)& or &field(5)&)
Regards,
Raymond
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How is the amount coming into the form?
Does it have the value before it is displayed?
Use Replace ALL OCCURRENCE OF '*'.
Thanks,
Shambu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
is it like that there is no sufficent space in the column to write complete value?
Try printing the same value in some other field where sufficient space is available
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.