Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

sap-script

Former Member
0 Kudos
81

hi to all iam working on customer statements

i had a problem with decimal notation

what does the amount_string_convert funtion module will do

since when iam passing 25,000.00 into this fm and executing the customer statemt it is saying more than 2 decimal inthe number

how can i solve this problem

thanks in advance

kiran kumar

1 ACCEPTED SOLUTION

Clemenss
Active Contributor
0 Kudos
50

Hi Kiran,

please explain what you are doing.

The amount_string_convert can be used to convert a string into an amount. For this you must assign an amount type field to the export parameter of the function.

Probably the amount field assigned is too small.

Show sme code lines, please!

Regards,

Clemens

4 REPLIES 4

Former Member
0 Kudos
50

try passing the value without the comma.

Clemenss
Active Contributor
0 Kudos
51

Hi Kiran,

please explain what you are doing.

The amount_string_convert can be used to convert a string into an amount. For this you must assign an amount type field to the export parameter of the function.

Probably the amount field assigned is too small.

Show sme code lines, please!

Regards,

Clemens

Former Member
0 Kudos
50

Hi Kirankumar,

This is happend due to decimal notation format of user settings.

Check the parameter what you are passing to exporting parameter DCPFM of AMOUNT_STRING_CONVERT function module.

Thanks,

Vinay

Former Member
0 Kudos
50

hi,

<b>amount_string_convert</b> funtion may be used 2 convert RS 25,000.00 to <b>words.</b>

like Rs 10 to Ten Rupees