what happend if a select statement inside aloop....
Answers were Sorted based on User's Feedback
Answer / madhavi
nothing will happen, but sure there will be a performance
issues,.
because for every step it hits the database to seach for
the record based on condition.
so, this is not suggestable.
Is This Answer Correct ? | 20 Yes | 0 No |
Answer / saplead.sai
There are cookbook rules in PERFORMANCE issues that are
needed to be addressed while coding. One of those rules
being .. Not to use a SELECT statment in a loop - Reason
(The basic idea of querry is to limit DB hits).
Is This Answer Correct ? | 12 Yes | 0 No |
Answer / aashish mehta
It is not suggested to use select with in the loop as it is
related with the performance.
Is This Answer Correct ? | 7 Yes | 0 No |
What is the Difference Between basic list and interactive list?
Explain the difference between a dialog program and a report?
How would you design a BDC (session method ) in which session will get executed itself. user do not need to go to SM35.
How to debug sapscripts ?
What happens AT SELECTION SCREEN events?
Explain the difference between function group and function module?
Elements of Main window and is Main window compulsory in Sap script ?
What is meant by search help? : sap abap data dictionary
how do the sub-total in sap scripts
What are plan versions used for? : sap abap hr
Explain the Types of Select statements?
2. wat is sub screen?