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

Extended Program Check not considering comment

Former Member
0 Likes
2,627

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

5 REPLIES 5
Read only

vijaymanikandan
Contributor
0 Likes
969

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

Read only

lnlng
Product and Topic Expert
Product and Topic Expert
0 Likes
969

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

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
969

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.

Read only

anoojmohandas
Member
0 Likes
969

Try writing the same in declaration of the structure ("EC EHNOK).

Read only

Former Member
0 Likes
969

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