2007 Aug 02 9:22 PM
In CABN Table I am passing the atnam field and retrieving the atinn field. In the debugging i see atinn as a number however on the output it is displayed as text.. How can i display atinn as a number
2007 Aug 02 9:27 PM
ATINN has a conversion exit associated with it. That is why if you do WRITE CABN-ATINN directly, it converts it to external format which is the text of that characteristic value. If you want to display it as a number, move it to a numc 10 variable and then display that.
In CABN Table I am passing the atnam field and retrieving the atinn field. In the debugging i see atinn as a number however on the output it is displayed as text.. How can i display atinn as a number
2007 Aug 02 9:27 PM
ATINN has a conversion exit associated with it. That is why if you do WRITE CABN-ATINN directly, it converts it to external format which is the text of that characteristic value. If you want to display it as a number, move it to a numc 10 variable and then display that.
2007 Aug 02 11:02 PM
Srinivas,
Thanx for the info. But how can we know that atinn has a conversion to be carried out.
2007 Aug 02 9:36 PM
Hi Karthik,
ATINN is actually a field for giving the internal characteristic name, so it will display the output as text only,
You can try to capture the numeric value of ATINN into a variable of numeric type (length 10) and then display the variable in the output.
<b>Reward Points if You like the answer</b>
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |