2013 Sep 29 8:30 AM
hi expert.
i have big problem with amount in smartform.
i want to show 582,135 but when system shows 821355 .i don't know why but it seems system shift left 1 time !!!!!
2013 Sep 29 7:28 PM
Try this way.
Declare a local variable in Global definitions tab
l_amt type char20.
Before you display the amount field, insert a coding node and write the following statement.
WRITE <amount field> TO l_amt
CURRENCY <currency field existing in the table>.
CONDENSE l_amt.
Insert field l_amt in the corresponding node.
2013 Sep 29 9:41 PM
1. If you are using templates or table and if its right aligned ensure that there is adequate space for text element.
2. Also, if you have declared amount variable in global definition.
Ensure that you have provided the reference field in currency/quantity fields for amount variable.
For e.g. for qauntity its meins.
Then use this variable directly in text element.
2013 Sep 30 4:46 AM
Hello Maryam.
It would be better if you let us know details of the variable data type declaration and how you had inserted it in smartforms, so that we can find out the root cause of this issue.
Regards.