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

Error message in the report

Former Member
0 Likes
1,109

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
Read only

Former Member
0 Likes
1,066

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

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.

7 REPLIES 7
Read only

Former Member
0 Likes
1,067

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

Read only

0 Likes
1,066

Cant i declare the value in the internal table as

nafap type anlc-nafap,

Read only

0 Likes
1,066

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

Rhea.

Read only

Former Member
0 Likes
1,066

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

Read only

BH2408
Active Contributor
0 Likes
1,066

Hi ,

Declare the field with length and type ...

Ex.field(12) type c.

Regards,

Bharani

Read only

Former Member
0 Likes
1,066

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.

Read only

Former Member
0 Likes
1,066

Check this declaration of ur itab(NAFAP)

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

Rhea.