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

having problem with dataelement attribute internal format

Former Member
0 Likes
618

sorry for bothering

have one problem i am using a field catshours in table catsco, this field has data type as quan, no of char 4 and decimal places 2 but in internal format it shows abap type p internal length 3, the thing is that at runtime it uses length 3 and when the value goes more than 999 it raises an exception. this thing doesn occurs when the records are less, hope u got the problem, can u help me out with this;

thanks in advance

anup

2 REPLIES 2
Read only

Former Member
0 Likes
508

Hi,

use the data element CATSUPLIM which is of bigger length..

Thanks,

Naren

Read only

Former Member
0 Likes
508

Hi,

to solve problem either use

catsco-CATSPRICE

or declare data lv_catqty type p decimasl 2.

Regards

amole