cancel
Showing results for 
Search instead for 
Did you mean: 

how to trim a BigDecimal Field

Former Member
0 Kudos

Hi

I have an adobe input form with input fields bound to BigDecimal values. I want to trim the values before submitting.

Please help

Best Regards,

Ravi

Accepted Solutions (0)

Answers (1)

Answers (1)

vaibhav_tiwari
Contributor
0 Kudos

Hi Ravi,

In your Submit button's Action method write the code to trim the decimal value before the code use to submit. For example if you are using Web Dynpro Java read the attribute(Big Decimal Field) and take the substring of length as you want and give this value again to the attribute. Same thing you can follow in web dynpro ABAP also.

Regards,

Vaibhav Tiwari.

Former Member
0 Kudos

Exactly that's my question, how do you trim a BigDecimal field. It's not a string so it doesn't allow the trim operation.