Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CABN

SG141
Active Participant
0 Likes
1,131

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,038

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.

3 REPLIES 3
Read only

Former Member
0 Likes
1,039

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.

Read only

SG141
Active Participant
0 Likes
1,038

Srinivas,

Thanx for the info. But how can we know that atinn has a conversion to be carried out.

Read only

Former Member
0 Likes
1,038

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>