Estimate Guidelines for ABAP programs 

1. Follow the naming standards (of the company or client you are working)

2. Use select field   one field two etc   do not use   select  *

3. Avoid unnecessary loops.  If requirec use   loop with where clause or Read with binary search

4. Use case statement  in place of  if  else 

5. use clear table  before  select  single  or where  ever applicable.

6. check  for  sy-subrc where  ever  applicable

7. avoid  collect statement  if possinble

8. do proper  documentation of  the  program  inside abap editor  and  also  in  se38 (screen-documentation  radio button )

9. try to use  views  rather than  nested select  statement

10.  use ABAP TRACE  try to  work on  those  SQL statements to improve performance

11.  use  index  only if  it is  required

12.  in internal table  declaration try to use correct  occurs  number  say  occurs  1000.  Otherwise use  occurs  0.

13. while  using  select statements  use  single select,  select  *  upto 5  rows ,etc based on the requirement.use select options  wisely  taking performance into  account.

14. declare  variables  / parameters with meaningful words  like v_matnr for  material number  or  v_bukrs for  plant  or  at least v_matnum for  material number etc.

15. Beautify the code using  pretty printer, pattens(*****  -----  etc)

Unicode Doubt
Doubt in Unicode Enabling

Get help for your ABAP problems
Do you have a ABAP Question?

ABAP Books
ABAP Certification, BAPI, Java, Web Programming, Smart Forms, Sapscripts Reference Books

ABAP Tips
ABAP Forum for Discussion and Samples Program Codes for Abapers

Best regards,
SAP Basis, ABAP Programming and Other IMG Stuff
http://www.erpgreat.com

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.  The site www.erpgreat.com is in no way affiliated with SAP AG. 
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk. 
 The content on this site may not be reproduced or redistributed without the express written permission of 
www.erpgreat.com or the content authors.