cancel
Showing results for 
Search instead for 
Did you mean: 

smartforms

Former Member
0 Kudos

Hi folks,

How to remove the trailing zeroes in the smartform.. i have a field called VBRP-FKIMG but i wanna remove the trailing zeroes in the from how do i do that. i have tried with V_var(T) but doesn't work.

regards

jana

Accepted Solutions (1)

Accepted Solutions (1)

former_member196280
Active Contributor
0 Kudos

&v_var& -->1,345.460

&v_var(T)& -->1345.460

&v_var& -->07

&v_var(Z)& -->7

Tell mw what exactly you want.

Regards,

SaiRam

Former Member
0 Kudos

hi sairam,

i have a field whose value is '1,000' and i want to display as '1'.

how wud i achieve it.

regards

jana.

former_member196280
Active Contributor
0 Kudos

If 1,000 where "," implies decimal notation then it can be acheived like this

&v_var(.0)& --> 1 "i.e if number equal to 1.000 it displays 1

If it is not decimal notation I guess directly you cannot remove trailing ZERO's.

Try to use function module inside program lines... currently, I don't have access to SAP system.. so I could not tell you the FM name.

Regards,

SaiRam

Former Member
0 Kudos

thanks it woked...

Answers (0)