Skip to Content
0
Former Member
Aug 28, 2006 at 05:42 AM

Type Declarations

48 Views

Hello All,

I have a issue with the Declarations of fields:

1st Condition:

Data: CALRATEGC type P decimals 5.

if calrategc gt '9999.99999'.

calrategc = '9999.99999'.

endif.

2ndCondition:

Data:f_cal_rate_gc like BAPIACCR09-AMT_DOCCUR.(DEC 23 Decimal 4)

shift exch_rate_gc left deleting leading space.

exrate_gc = ( p_line_item-dmbtr1 / p_line_item-wrbtr ).

ftact_gc = ( ffact_gc / tfact_gc ).

f_cal_rate_gc = exrate_gc * ftact_gc.

calrategc = f_cal_rate_gc. <b><--</b>

So, at this point as f_cal_rate_gc (Value 12,117,999,990.0000)is moved to calrategc i am receiving an Dump. How can i overcome this issue.

Please provide certain pointers to overcome this.

Regards,

-PSK