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

abap program steps

Former Member
0 Likes
608

What is the steps to be followed for the good abap program

1 ACCEPTED SOLUTION
4 REPLIES 4
Read only

Former Member
0 Likes
571

Some steps are:

1. Use standard SAP data type as much as possible

2. Avoid select in a loop.Use internal table to store the data in program and then read statement

3. Check sy-subrc

4. Whereevr a division is thr chk divisor is non zero

5. ve proper message (avoid E, W type in batch

6. Noselect *

Read only

Former Member
0 Likes
571

Hi,

U can use SQL Trace ST05 and ABAP Runtime Analysis (t/code SE30) to measure your program performance. ABAP Runtime Analysis has Tips and Tricks to improve the program performance.

I will list out some of the points to write a better program.

1.first of all the algorithm should be good.

2.U should avoid redundant code.

3.Avoid Select * statement.

4.Use debugger to view how ur program works, to make proper adjustments to ur code.

Regards.....

Arun.

Reward if it helps u.

Read only

Former Member
0 Likes
571

ok thanks