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

Code Inspector Error Code MESSAGEG_H

Former Member
0 Likes
873

Hello Guys,

I'm running code inspector and in Syntax check/Generation and subdivision suspect conversions, am getting an error called "Truncation in the Conversion from ABAP type 'C'(length 64 ->20).

While I understand what the error is about...i don't want to modify the code. Is there any workaround like putiing some "EC Check" at the end of the line so as to hide that error.

Thanks a lot.

Karthikeyan

4 REPLIES 4
Read only

JerryWang
Product and Topic Expert
Product and Topic Expert
0 Likes
817

Hello Karthikeyan,

please put at the end of your line #EC NEEDED . Then code inspector will ignore that line.

Best Regards,

Jerry

Read only

Former Member
0 Likes
817

Hi Jerry,

Thanks for the reply. But its not working. I even tried #EC * which supposedly can suppress any error. Please let me know of any other solutions.

best regards,

karthikeyan

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
817

If the error can be hidden, the pseudo comment would be provided in the Code Inspector screen only.

Click the documentation button (the blue "i" button) & see if there are any pseudo comments to hide the error.

BR,

Suhas

Read only

Former Member
0 Likes
817

Thanks Suhas for the reply. There isn't any documentation available.

best regards,

Karhtikeyan