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

former_member185124
Participant
0 Likes
1,580

Dear friends,

I have check code inspector.It  shows 3 warning messages in security checks.So,please tell me it's need to rectify or not required there is any problem in performance.I want to know.If it's mandatory to rectify how we can do it.So,please share me the procedure.

Thanks & Regards,

Mahesh

1 ACCEPTED SOLUTION
Read only

ipravir
Active Contributor
0 Likes
1,243

Hi Mahesh,

You have to apply sap pseudo code to remove the warning messgae from the Code Inspector.

Regards.

Praveer.

8 REPLIES 8
Read only

0 Likes
1,243

Hi Mahesh,

Becasue its warning message, no need to rectify it. It it is Error message u need to rectify it to improve perfomance.

Thanks,

Bala.

Read only

ipravir
Active Contributor
0 Likes
1,244

Hi Mahesh,

You have to apply sap pseudo code to remove the warning messgae from the Code Inspector.

Regards.

Praveer.

Read only

0 Likes
1,243

Hi praveen,

Thanks for giving reply.How to apply 'Sap pseudo code'.I am not aware of that.So,please share me about that.

Regards,

Mahesh

Read only

ipravir
Active Contributor
0 Likes
1,243

Hi Mahesh,

Please go through with below Link, it may help you how we have to apply the Sap pseudo code.

ABAP Keyword Documentation

ABAP Keyword Documentation

code inspector pseudo codes | SAP Alles

Though, every warning having different Sap pseudo code to remove the same from the system.

Regards.

Praveer.

Read only

Former Member
0 Likes
1,243

Hi Mahesh,

Give us a 'expand all' snapshot on those warning message.

Regards,

Archer

Read only

0 Likes
1,243

Hi Dengyong,

Thanks for giving reply.I am using Pseudo comments.Now it is cleared.

Regards,

Mahesh

Read only

Former Member
0 Likes
1,243

Hello Mahesh,

     As they are warning you can leave them it will not affect the performance. It is not mandatory to resolve that warnings, but its good practice to hide that warning messages.  you can hide these warnings and errors shown in security check by setting the extended check off.

i.e. if you are getting warning  message for some line then before that line just add 1 more line

SET EXENDED CHECK OFF.

or you can also use pseudo comments.


Suppose this warning message is coming because using any strings with spaces in between.

for eg.

lv_string = 'File is Empty, So cant be processed'.      "#EC NOTEXT


when you mention "EC NOTEXT this error message is not shown in code inspector.


Regards,


Sneha.


Read only

venuarun
Active Participant
0 Likes
1,243

Hi Mahesh,

Please check the code on , from where these warnings are coming ,means which line. If  endif condition is null then warnings may come in code.

can you please share the warnings ?.

With Regards

Arun VS