Go Back   Wiki NewForum | Latest Entertainment News > Career Forum & Tips > Tech Forum & Tutorial > SAP Forum > SAP ABAP HR Forum


Estimate Guidelines for ABAP programs


Reply
Views: 1424  
Thread Tools Rate Thread
  #1  
Old 05-21-2009, 08:45 AM
bholus7
Guest
 
Posts: n/a
Default 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 ****on )

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)

Reply With Quote
Reply

New topics in SAP ABAP HR Forum


Thread Tools
Rate This Thread
Rate This Thread:



Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
WikiNewForum)