2006 Oct 09 12:07 PM
Hi folks,
i have assigned a quantity some_amount of type bseg-dmbtr to char_amount of type c which i will display in a form.
I am getting the SLIN(extended program check) error as: use addition CURRENCY while outputting the the some_amount field. Please tell me the reason for this and also remedy.
Also, what is meant by this error message "Field flag is not referenced statically"?
2006 Oct 09 12:46 PM
For currency problem
when you write the value to the character field use the variation for currency format.
WRITE some_amount to char_amount CURRENCY 'USD'.
Hi folks,
i have assigned a quantity some_amount of type bseg-dmbtr to char_amount of type c which i will display in a form.
I am getting the SLIN(extended program check) error as: use addition CURRENCY while outputting the the some_amount field. Please tell me the reason for this and also remedy.
Also, what is meant by this error message "Field flag is not referenced statically"?
2006 Oct 09 12:46 PM
For currency problem
when you write the value to the character field use the variation for currency format.
WRITE some_amount to char_amount CURRENCY 'USD'.
2006 Oct 09 12:46 PM
hi Vishwa,
do this way to avoid that error
WRITE:/ ' Total Dollars'(t19), v_tot C<b>URRENCY 'USD'.</b>
WRITE:/ ' Account 0520004104'(t20), v_acc104 CURRENCY 'USD'.
WRITE:/ ' Account 0520004110'(t21), v_acc110 CURRENCY 'USD'.
WRITE:/ ' Account 0520004112'(t22), v_acc112 CURRENCY 'USD'.
2006 Oct 09 12:50 PM
Hi,
Try the following,
Check whether you have used any additions CURRENCY while displying Char_amount, if you have used then either remove the addition or use it with Some_amount.
This could be because you have used wrong addition for char_amount which is a character type field.
I'm no tsure about your second error message.
Thanks and Regards,
Prashanth
2006 Oct 09 12:59 PM
when you are moving a currency field to char field the format of the amount will be lost , so it might be giving the error , do as suggested by others
<b>Field flag is not referenced statically"?</b>
You may not have used the variable flag in the program and you had declared that , remove the variable if not used.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |