cancel
Showing results for 
Search instead for 
Did you mean: 

Dot + Comma in interactive form

Former Member
0 Kudos

Hello,

ich have a problem, when I enter into a interactive form the sign , (comma), the field is

automatically set to Null.

So my calculation scripts don't work ...

If I enter 17,25 into the field, the field has the value Null ( 0 ), if I enter 17.25, the field has the value 17.25.

The Problem is that in Germany the , (comma) is used a decimal sign not the . (dot), but it seams that Adobe can't handle it.

All languages in the form / operating system and SAP I can find are set to german.

I'm using the LiveCycleDesigner 8.01.2088

Is there any hint that somebody could give, how that problem could be solved ?

If you need more information please let me know ....

Thanks

Florian

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

Hi,

you have to set the language and the country when creating the Adobe Interactive Form. If you are creating the Adobe Interactive Form using ABAP the following code will work:

  • set up the document parameters

ls_docparams-langu = 'DE'

ls_docparams-country = 'DE'

  • clear the document output

CLEAR: ls_docoutput.

  • call the generated function module

CALL FUNCTION l_funcname

EXPORTING

/1bcdwb/docparams = ls_docparams

interface_structure = ls_interface

IMPORTING

/1bcdwb/formoutput = ls_docoutput

EXCEPTIONS

usage_error = 1

system_error = 2

internal_error = 3

OTHERS = 4.

Take care,

Thomas

Former Member
0 Kudos

Hello Thomas,

thanks for your reply.

But I already set everything to german, also the parameters you mentioned.

I solved my problem that the form was not able to calculate with the field were a Comma

is inside by using the REPLACE statement.

After entering a new value the Comma is converted in a DOT.

This solution works but I had expected that the form would do this by itself.

Regards

Florian

Answers (4)

Answers (4)

Former Member

Hi,

Set the Locale as German and use numeric field, it will be working fine.

Thanks

Gopal

former_member614554
Discoverer
0 Kudos

Exactly this!

Former Member
0 Kudos

See solution attached

Sandra_Rossi
Active Contributor
0 Kudos

Hello Florian, I have the same problem with a brand new custom Interactive Form, we must enter a number with a dot for separating decimals, but in France we need a comma, which is not accepted by Adobe Reader : the entered number is cleared. What was your solution ? Thank you.

Former Member
0 Kudos

Hello,

thanks for the reply, but I already tried this and it's not working.

Still the field don't accept the comma as a valied sign.

Only the dot is accepted ...

Any other ideas ??

Regards and thanks

Florian

vaibhav_tiwari
Contributor
0 Kudos

Hi Florian,

Just Change the fields locale to German(Germany). to change the locale go to object palette>Field tab>locale. Choose locale as German.

hope it will solve your problem.

Regards,

Vaibhav Tiwari.