cancel
Showing results for 
Search instead for 
Did you mean: 

total is not copied to out_tab-value

Former Member
0 Kudos

Hi,

Iam calculating total using subroutine in script. Iam getting the value and adding it to SUM.

while moving the value sum to out_tab-value , it's not been copying. The sum is of type currency.

can anyone explain me why it's not copying and how to rectify it.

Thanks,

Rose.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

The VALUE field is of type CHAR and your variable SUM is of type Currency so that's why it is not displaying your value.The value gets displayed only when the value passed to the VALUE field (of ITSCY structure) is of type character.

In order to get the value you copy the sum to a character variable(ex: v_char ) and then move that to OUT_TAB-VALUE.

It will be displayed then.

Thanks,

Anil

Please reward if helpful