Code Reviewed Checklist HRSOL-2298
Code Reviewed Checklist HRSOL-2298
Code Reviewed Checklist HRSOL-2298
xls
QA sections Check Developer Review Developer Comments Reviewer Check Reviewer Comments
General ABAP
1 Production version of object is compared and adjusted(If required) before modifying any object. N/A 1-Followed 1-Followed
2 Object's source system is checked. Object should be modified in source system only. N/A 1-Followed 1-Followed
3 MOLGA conditions are used for country specific developement N/A 2-Not applicable 2-Not applicable
3 Naming standards, appropriate message class/Development class/Transport naming convention/Program header/Modification N/A 1-Followed 1-Followed
history/ has
Program to be checked.
documentation are mantained for any object modification. All the changes are mantained with search term so that it is
4 possible to track the change with ticket no N/A 1-Followed 1-Followed
Obsolete statements are not used: RANGE, INCLUDE STRUCTURE, TABLES (except for module pool), BEGIN .. OCCURS..
5 N/A 2-Not applicable 2-Not applicable
6 Global variables are minimized by declaring local variables or by passing variables through parameters and arguments while N/A 1-Followed 1-Followed
7 creating
Remove
Run Timeinternal
Dead subroutine.
Codes, Perform
analysis(SE30) Extended
and SQL Checks/Code
Trace(ST05) have toinspector
be done and do prettyreports
for complex Print. to check N/A 1-Followed 1-Followed
8 the not
Do performance
use nested ofIF..ELSEIF…
the program and database
instead time taken
use CASE..ENDCASE wherever applicable. When coding, IF or CASE, testing N/A 2-Not applicable 2-Not applicable
9 conditions are nested so that the most frequently true conditions are processed first. N/A 1-Followed 1-Followed
10 Sort fields on the SORT statement should not be left as default (i.e. SORT ITAB BY FLD1 instead of SORT ITAB). Ensure to N/A 2-Not applicable 2-Not applicable
sort the standard internal table prior to use “Binary search feature”
11 Use FIELD Symbol when modifying data into the internal table instead of work area. Do not declare field symbol with type any. N/A 2-Not applicable 2-Not applicable
12 Has the internal table used in the "FOR ALL ENTRIES IN " been checked for emptiness ? N/A 2-Not applicable 2-Not applicable
Are all SELECTs coded outside LOOP - ENDLOOP?
13 Do not forget to issue DEQUEUE on the ENQUEUED records/tables, if you are in the middle of transaction and it does not end N/A 1-Followed 1-Followed
LUW. Locks are automatically released when the statements like LEAVE PROGRAM, LEAVE TO TRANSACTION, A or X
14 message types are issued N/A 2-Not applicable 2-Not applicable
# Internal to Wipro
Page 2 code review checklist.xls
QA sections Check Developer Review Developer Comments Reviewer Check Reviewer Comments
“Success” messages (type ‘S’, which will be output to “Job Log” when the batch programming is being processed) should be
5 used generously to provide an audit trail of the program’s execution. N/A 2-Not applicable 2-Not applicable
6 In case of outbound IDOC if any non-character values need to pass to Idoc then condense the target field. N/A 2-Not applicable 2-Not applicable
7 Don’t check Sy-subrc value after “Call Transaction”, rather check the BDC message return table. N/A 2-Not applicable 2-Not applicable
When Using BAPIs to CREATE/CHANGE any database entries, please check for the return value instead of SY-SUBRC. Also
8 use BAPI_TRANSACTION_COMMIT to commit work. N/A 2-Not applicable 2-Not applicable
Do not declare the mode in Call transaction as constant. Declare it as variable so that it can be
9 changed while debugging N/A 2-Not applicable 2-Not applicable
In case of BDC, Use ”WRITE TO” to get present logon’s default settings specially for date/currency/decimal fields. Also
conversion exit alpha output must be used prior to put data in some BDC screens where internal/external format are different
10 N/A 2-Not applicable 2-Not applicable
SAPSCRIPT/SMARTFORMS
Nice to have: Program header flower box at any of the window of sapscript and for smartforms in the initialization section. If
1 external subroutine pool is used the program header flower box must be filled N/A 2-Not applicable 2-Not applicable
2 Smartforms: Text module should be used instead of hard coding N/A 2-Not applicable 2-Not applicable
3 Standard texts should be used where the text is required to change from time to time (greetings message, footer etc) N/A 2-Not applicable 2-Not applicable
4 No spacing must be used for alignment, always use paragraph format and tabs N/A 2-Not applicable 2-Not applicable
5 Format Currency field when displaying amount field in the layout N/A 2-Not applicable 2-Not applicable
6 Language shouldn’t be sy-langu for most of the cases rather it would be nast-langu / recipient’s language N/A 2-Not applicable 2-Not applicable
7 Take a printout for the layout in the papersize specified in form header to check the accuracy. N/A 2-Not applicable 2-Not applicable
8 Relevant Standard Texts for SAPscript transferred to a Correction No. (Using standad program “RSTXTRAN”) N/A 2-Not applicable 2-Not applicable
# Internal to Wipro