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

Length Specification not allowed error

Former Member
0 Likes
1,327

Hi Experts.

In 4.6c a program has gen(3) type i.

During upgrade while performing ucheck there is an error saying that the length specification not allowed . How to rectify it.?any Idea?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
876

Hi,

Either you can declare

DATA: gen TYPE i.

or

DATA:gen(3) TYPE N.

Rgds,

Bujji

4 REPLIES 4
Read only

Former Member
0 Likes
876

Hi,

Do not mention any length.


data : num type i.

Thanks,

Sriram Ponna.

Read only

0 Likes
876

Hey. One More doubt.

I have a

Data: NUM type of which is Curr.

But iam getting error saying that NUM shud be of type C N D T while ucchecking how to do that?

Read only

geetha_k
Active Participant
0 Likes
876

Hi,

u took the data type as integer.So u dont need to give length.When u will take as a numeric it need to give length

ex:

DATA: LIN TYPE I.

Z(4) TYPE N ,

Read only

Former Member
0 Likes
877

Hi,

Either you can declare

DATA: gen TYPE i.

or

DATA:gen(3) TYPE N.

Rgds,

Bujji