Application Development 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: 

Error message in the report

Former Member
0 Kudos

Hi

When i execute my report am getting the error message as

""gw_data-NAFAP" must be a character-type data object (data type C, N,D, T or STRING). field string)."

What is the reason for it and how to correct it.

I have declared in the internal table the value of nafap.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

NAFAP - is type currency change the reference to type C of length 16

7 REPLIES 7

Former Member
0 Kudos

NAFAP - is type currency change the reference to type C of length 16

0 Kudos

Cant i declare the value in the internal table as

nafap type anlc-nafap,

0 Kudos

Yes u can but u cann't do some operations on it saySTRING.

Rhea.

Former Member
0 Kudos

Hi give ur compleate declarations so i will try to help you

P561888
Active Contributor
0 Kudos

Hi ,

Declare the field with length and type ...

Ex.field(12) type c.

Regards,

Bharani

Former Member
0 Kudos

Hi,

Are you performing any string operation on "gw_data-NAFAP" , if yes the convert the field to character type (C,N,D,T) since in Unicode version string operations can be performed only on character data types.

Thanks & Regards,

Navneeth K.

Former Member
0 Kudos

Check this declaration of ur itab(NAFAP)

or paste declaration code here so that we can help u.

Rhea.