‎2022 Mar 20 5:55 PM
Dear All,
We are on abap 7.3 and trying to setup code inspector in our organization.
As per ABAP7.3, as best practice we use Parallel curser and sorting Itab in case Read table itab with Binary search is used. However, it seems like these things are not cached in Code inspector. Can anybody kindly guide it i have some how missed it in Sap code inspector or its simply not possible in SCI?Is it possible in ATC?
Regards.
‎2022 Mar 20 6:28 PM
SCI is the ATC engine, so ATC can't give a better result.
7.3 is quite old, not sure many people can help.
Are you sure your ABAP code is written correctly? Maybe you could provide a code snippet and corresponding Code Inspector error?
‎2022 Mar 20 6:37 PM
Dear Sandra. Thanks for replying. My code is purposefuly wrong and am testing sCi capability and with above said code, it won't give errors. so requesting kind help from scn community.
‎2022 Mar 21 12:55 PM - edited ‎2025 Apr 05 7:47 AM
‎2022 Mar 21 1:18 PM
‎2022 Mar 21 11:23 AM
I can tell you that parallel cursor and sorting itab in case of read table with binary search are most definitely not best practice.
They used to be, but have not been for over 20 years. Since then ABAP has changed and such things are no longer necessary.
Best practice since 46c (at least - possibly 31H) is to use HASHED and SORTED tables.
In other news FOR ALL ENTRIES has been superceded largely by JOIN.
‎2022 Mar 21 12:28 PM
Hello,
hope this helps for a better understanding:
SAP imagined the 'Code Inspector' to be more or a less a tool for the developer(s) - to be used and be helpful for them. This maps to tcode SCI, i think.
At some point they reckoned having some process governance atop would be great, for this they planned ATC, which consumes SCI.
These tools work with templates(list, containing possible checks). There are two sources of templates - first one is SAP itself, second one is an Open Source Project like that https://docs.abapopenchecks.org/ . And, also, you can implement your own custom checks.
SAP provides them with every new or different release of Netweaver( ABAP Platform).
You are basically asking if the standard checks on Netweaver 730 contain one for usage of the technique of parallel cursor. I am looking at a 756 system currently and i don't see a check exactly for this case. I would search in the Performance Checks folder, in SCI.
‎2022 Mar 23 9:58 AM
Dear Sandra & Matthew,
I am really thankful for replying.
Can you kindly help with how I can eliminate Custom include or custom function modules used in the past from the new code? I cant use "Baseline" as am on lower version.SOmehow the filter button in the code inspector tool bar is not working.
Regards,
Sanjay
‎2022 Mar 23 10:02 AM
Hi Georgi,
I am really thankful for replying.
Can you kindly help with how can I eliminate Custom include or custom function modules used in the past from the new code? I cant use "Baseline" of ATC as am on lower version. Some how the filter button in the code inspector tool bar is not working.
Regards.