on 02-26-2008 1:29 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.