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..

Former Member
0 Likes
4,381

Hi,

1) I am fixing the Code Inspector Errors of a Report.

The error that I am getting is

" At position WA_QMSM, parameter transfer may no longer be allowed after a structure enhancement.

where WA_QMSM is a work area...

2) This is an another similar error related to a Function Module...

" At positions QMSM and VIQMSM, assignment/comparison may no longer be allowed after a structure enhancement ".

How can I fix these errors.....

Thanks and Regards

Suraj S Nair

10 REPLIES 10
Read only

Former Member
0 Likes
1,610

Hi Suraj,

I think u have created a new structure in SE11. Goto structure enhancement category in SE11 and change the category

Read only

Sandeep_Panghal
Product and Topic Expert
Product and Topic Expert
0 Likes
1,610

In code inspector you can also see how to correct or suppress such errors.

Read only

0 Likes
1,610

hI,

Where we can see it, I am sorry but I am not able to see, can u please guide a bit more.

I dont have acess to SCII.

Thanks and Regards

Suraj S Nair

Read only

0 Likes
1,610

hi ,

U can go to structure and follow the path environment and the n choose the enhancement catogory which is suitsble to u.

regards,

Sri.

Read only

0 Likes
1,610

Hi,

This is just a warning, you can ignore it.

You can find comments like:

The message can be hidden using pseud comment      "#EC CI_NOFIRST.

Thus if you add the comment "#EC CI_NOFIRST to the right of the statement where you are getting the warning, it will ignore it and not bring it up in code inspector result.

Regarda.

Read only

0 Likes
1,610

Hi Dev

I tried adding this comment ....

but its not working for me...

Thanks

Suraj

Edited by: Suraj Nair on Apr 13, 2009 3:54 PM

Read only

0 Likes
1,610

Code Inspector sometimes gives some warnings that are difficult to be eliminated............U can ignore the same.

Read only

Former Member
0 Likes
1,610

Hi,

Please check this link

Thanks and regards

Durga.K

Read only

Former Member
0 Likes
1,610

Well...Suraj..

This error just states .. that incase.. another field is added to the work area WA_QMSM...

This might result in a runtime dump..or the output may be in appropriate....

Jus change the structure of WA_QMSM..and see for yourself...

Cheers..

Read only

gaurab_banerji
Active Participant
0 Likes
1,610

we sometimes get this kind of warnings in code inspector when we make use of structures or table types that are a part of badi, enhancement package etc. i suggest make a similar structure or table type or range in your own program instead of using the one from dictionary. i just solved the same problem a few minutes back. try it.