Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 7

ATC Code Remediation Guidelines

Contents
Document Control ................................................................................................................. 3
Priority 1: .............................................................................................................................. 4
1. READ .. BINARY SEARCH for result of statement at ... line ... .....................................................4
2. DELETE ADJACENT DUPLICATES for result of statement at ... line ... ..........................................4
3. LOOP AT itab. AT ... ENDAT. for result of statement at ... line ... ...............................................4
4. MISSING INCLUDE ...................................................................................................................6
Priority 2: .............................................................................................................................. 7
1. DELETE ... FROM/TO for result of statement at ... line ... ..........................................................7
2. DELETE ... INDEX for result of SELECT statement at ... line ... .....................................................7
3. LOOP AT itab. AT FIRST/LAST... ENDAT. for result of statement at ... line ... . Error! Bookmark not
defined.
4. LOOP AT itab FROM/TO for result of statement at ... line ... ...........Error! Bookmark not defined.
5. ...................................................................................................................................................7

Moro Confidential 2/7


ATC Code Remediation Guidelines

Document Control

Version Revision Date Revision Author Sign-Off


Description
V 1.0 28-Mar-2019 Draft xxxxxxxx

Target Readership

Moro Confidential 3/7


ATC Code Remediation Guidelines

Priority 1:

1. READ .. BINARY SEARCH for result of statement at ... line ...


Issue:

Fix: Add the sort statement after SELECT statement with two key fields.

2. DELETE ADJACENT DUPLICATES for result of statement at ... line ...


Issue

Fix

3. LOOP AT itab. AT ... ENDAT. for result of statement at ... line ...
Issue:

Moro Confidential 4/7


ATC Code Remediation Guidelines

Fix: Add the SORT statement with the field is being using for internal table event.
Ex : In the below case AT THE END OF statement is using for the field main_mlst.

Moro Confidential 5/7


ATC Code Remediation Guidelines

4. MISSING INCLUDE

Fix: If commented the include programs, But it will throw the errors for variable declarations.
Ignore these errors. We have same kind of issue in source system as well.

Moro Confidential 6/7


ATC Code Remediation Guidelines

Priority 2:
1. DELETE ... FROM/TO for result of statement at ... line ...
Issue:

Fix:

2. DELETE ... INDEX for result of SELECT statement at ... line ...
Issue:

Moro Confidential 7/7

You might also like