Skip to Content
0
Former Member
Apr 11, 2012 at 07:44 AM

calculating diff of two curr fields in module pool.

24 Views

Hi expert,

here i am calculating the difference of two fields whose data type is currency in a variable(diff) whose data type is n.

for example :

fields for which i am calculating diff

data: lval type dmbtr,

total type dmbtr,

diff(13) type n. ( if i declare it as same data type of above fileds getting run tym converstion error)

diff = total - lval.

if diff is negative i need to diplay a field value with sign.

screen field attributes is dec.

<Priority normalized by moderator>

Moderator message : Not enough re-search before posting, discussion locked.

Message was edited by: Vinod Kumar