Ansicht
Dokumentation

Abend with EXP function with neg. argument <br />Tip-No.: 1160 ( INFO1160 )

Abend with EXP function with neg. argument
Tip-No.: 1160 ( INFO1160 )

TXBHW - Original Tax Base Amount in Local Currency   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

Short text

Abend with EXP function with neg. argument
Tip-No.: 1160

Symptom

The EXP function returns an over/underflow abend is it is used on
a negative argument that is too large according to the amount.

Cause

The EXP function returns an abend if the argument (depending on the
hardware) is less than -708.

Solution

If you wish to continue calculating witn 0:
IF arg < -708. erg = 0.
ELSE. erg = EXP( arg ). ENDIF.






BAL Application Log Documentation   General Material Data  
This documentation is copyright by SAP AG.

Length: 571 Date: 20240329 Time: 113243     sap01-206 ( 11 ms )