cancel
Showing results for 
Search instead for 
Did you mean: 

Decimal issue in smartforms

Former Member
0 Kudos

Hi Friends,

I am facing one issue in smart forms decimal notation.

We have developed Invoice in smartforms.Curretly net price and rate are showing period separator instead it needs to be displyed as comma separator.

For example take net price as 62500.

Output is showing as 62.500,00.

but it should show like 62,500.00.

We have used set country 'GB'.still it is showing period separator.

Please suggest how can i achieve this functionality.Thanks in advance.

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member212913
Participant
0 Kudos

hi

    i faced this kind of problem for PO smartform and i resolved it..

below thread may  help you.

http://scn.sap.com/thread/3226297

Mahipal.

Former Member
0 Kudos

Hi,

Check in the Country Global Parameters.

In tcode OY01, under country GB, check the decimal pt Format.

Regards...

Sultana

Former Member
0 Kudos

Hello Abhis,

You can use

length = strln(amount).

do length times

if ','

replace with '.'

elseif '.'

replace with ','

endif.

enddo

Former Member
0 Kudos

Hi, in smartform , always maintain currency field

Former Member
0 Kudos

Thanks Vipin for your reply.

What needs to be maintained here.only the field name which is displaying or any thing else.?

Appreciate your suggestion on this.

Former Member
0 Kudos

here, u need to maintain field name which is having amount value and in reference field pass currency field name.

and while calling Smartform Form FM, pass

USER_SETTINGS = SPACE.