Application Development and Automation 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: 
Read only

Try Catch a currency conversion

walkerist79
Participant
614

Hi, I'm trying to put a TRY CATCH on my currency conversion since I'm encountering an error of "OLD ARITHMETIC TYPE CONFLICT". Is there a better way to this?

Here's my way:

    TRY.
Total Payment Remaining = ( Gross Price * Exchange Rate ) - Total Payment Made.
CATCH CX_SY_ARITHMETIC_OVERFLOW.
ENDTRY.

Hi, I'm trying to put a TRY CATCH on my currency conversion since I'm encountering an error of "OLD ARITHMETIC TYPE CONFLICT". Is there a better way to this?

Here's my way:

    TRY.
Total Payment Remaining = ( Gross Price * Exchange Rate ) - Total Payment Made.
CATCH CX_SY_ARITHMETIC_OVERFLOW.
ENDTRY.
0 REPLIES 0