Hi Gurus/ Experts.
I have a trouble with my Smartform, especially with my numbers field. For example i will use field NETWR.
in my smartform the decimal is like this 123.321.231,000 how to remove the 000 please help me gurus / experts, and how to remove ,000 in quan field ? reward is available.
Request clarification before answering.
Hi Ri Zaldy,
the reason for your problem is that your field is of type CURR.
So it has a reference field, which already determines the number
of digits after the decimal point. So usually it doesn't
make sence to use the formatting option (.0), too.
If you want to change the number of digits in your Smartform
nevertheless, you should define a new number field (which is
not of type CURR or QUAN) in your form, put ...-NETWR into it (e.g. via an ABAP node) and print the new field with formatting option (.0).
Best Regards,
Hedvig
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hedvig
Thank you for your clear answer, you give me the light, so I can come out from the darkness.
Please tell me, must the new field is custom ? I mean must I create a table ?
Please help me just need 1 more step to clear this trouble
I will give you helpful, but please help me to finish this one.
Hi Ri Zaldy
No need to create a table,
just add one more variable in global definitions
like net type p decimals 0 .
then before your passing value to node , just assign netwr value to your custom field net .
net = wa-netwr.
then display like &net(C)&
Regards,
Bastin.G
Hi Ri Zaldy
anyway your assigning values to smartforms right (like &NETWR&) ?
before displaying values add another program lines before that by right click option
better make a changes in smartforms
Regards,
Bastin.G
Hi Ri Zaldy
Happy to see your words Cheers
much appreciated comments from you thanks a lot
Regards,
Bastin.G
Ri Zaldy wrote:
how to make quantity's decimals gone ?
if i understood correctly,
why its coming with decimals that reason is already here told by Hedvig Rohonyi .
if you want to eliminate decimals while displaying means, please follow what i have suggested you already i hopt it helps
Regards,
Bastin.G
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.