cancel
Showing results for 
Search instead for 
Did you mean: 

Currency field in PERFORM, --> SAP Script

0 Kudos

Hi,

I am calling a zperform from SAP Script and sending two currency values as input and after doing subtraction , I want the result value from the Zperform.

When I send 1,000,000.00 as input to PERFORM. I am getting a dump when I try to assign the in_par-value to a currency field in FORM.

The error is "Unable to interpret "1,000,000.00 " as a number." Please let me know how to handle this case. I mean is there any converstion routine to convert the external currency value to internal format?

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

Closed

Former Member
0 Kudos

just use the (K) option on the data field in your PERFORM within SAPscript.

Former Member
0 Kudos

try this....

translate field using ', '.

condense field no-gaps.

0 Kudos

I am expecting some Standard Function Module to carry this functionality.

Former Member
0 Kudos

You must remove the commas.

Warren