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: Parallel curser and sort table

sanjay_deshpande4
Participant
0 Likes
2,199

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.

8 REPLIES 8
Read only

Sandra_Rossi
Active Contributor
0 Likes
2,043

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?

Read only

sanjay_deshpande4
Participant
0 Likes
2,043

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.

Read only

0 Likes
2,043

(deleted)

Read only

0 Likes
2,043

sure Sandra. Will remember in future.

Read only

matt
Active Contributor
2,043

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.

Read only

former_member660513
Participant
0 Likes
2,043

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.

Read only

sanjay_deshpande4
Participant
0 Likes
2,043

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

Read only

sanjay_deshpande4
Participant
0 Likes
2,043

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.