‎2012 Mar 17 3:55 PM
Hello All,
I have run the extended program check on my function module and it has thrown some errors and warning. Some of them are legitimate statements and hence I want extended check to ignore the same.
For example, it throws a message "After a structure enhancement, the semantics of the assignment or comparison may change". This is followed by "the message can be hidden with "#EC ENHOK."
Now, even though I have added this in front of the concerned statement, after running the extended check again, this message still appears. It does not seem to consider that I have attempted to hide this by mentioning "#EC ENHOK.
For example, I have given the following:
MOVE-CORRESPONDING <structure_1> TO <structure_2>. "#EC ENHOK
Still, this shows up in the extended check with the above message. This is just one example - there is another wherein I have specifed "#EC VALUE_OK and it ignores this as well.
Is there any settings that I should activate for the extended check to consider the #EC comments?
This is the first time that I am using this tool so apologies in advance if this sounds like s stupid question.
Regards,
Mithun
‎2012 Mar 17 9:29 PM
Hi Mithun
Kindly check out this link where the same has been discussed.
http://sapfans.com/forums/viewtopic.php?f=13&t=256728
Br,
Vijay V
‎2012 Mar 18 3:30 AM
Hi Mithum,
please check the line number of source code where the error came from.
If the error comes from the signature of the function module, you need to put the psudo code "#EC ENHOK" right after the FUNCTION statement (first line), I met one case before.
Hope it helps.
Best Regards,
Leonard
‎2012 Mar 18 6:41 AM
If <structure_1> & <structure_2> are referred to standard structure, then in SE11 provide a enhancement category( available in the menu's) . Change it from "Not classified" to some other as required.
‎2015 Apr 16 1:04 PM
Try writing the same in declaration of the structure ("EC EHNOK).
‎2015 Apr 16 1:11 PM
You can try set extended check off and set extended check on. where ever you want to hide the parts of code when you have the extended syntax check.
Thanks,
Rajesh