‎2009 Apr 13 12:03 PM
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
‎2009 Apr 13 12:08 PM
Hi Suraj,
I think u have created a new structure in SE11. Goto structure enhancement category in SE11 and change the category
‎2009 Apr 13 12:26 PM
In code inspector you can also see how to correct or suppress such errors.
‎2009 Apr 13 12:44 PM
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
‎2009 Apr 13 1:05 PM
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.
‎2009 Apr 13 1:47 PM
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.
‎2009 Apr 13 2:54 PM
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
‎2009 Apr 13 5:45 PM
Code Inspector sometimes gives some warnings that are difficult to be eliminated............U can ignore the same.
‎2009 Apr 13 12:36 PM
‎2009 Apr 13 1:27 PM
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..
‎2013 Nov 14 8:29 AM
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.