Do you use select statement in loop end loop, how will be
the performance? To improve the performance?
Answers were Sorted based on User's Feedback
Answer / sukhbir
Best option will be to select the data before loop and
inside loop use read statement.
select f1 f2 f3(key fields) from db into
iNtertab
for all entries in itab
where condition.
sort intertab by f1.
loop at itab.
read intertab with key f1 = itab-f1
binary search.
Endloop.
Is This Answer Correct ? | 9 Yes | 0 No |
Answer / jammy
No, It is not recommended to do that as it kills the
performance.
Is This Answer Correct ? | 4 Yes | 2 No |
what a full form of badi,bapi,alv,ale .
what is OSS?please answer if anybody knows
Can you create an internal table dynamically?(at run time)
In events, start-of-selection is a default event. When we have to use this event explicitly? Why?
What is the significance of technical settings (specified while creating a table in the data dictionary) ?
What is the process to enhance the Infotype
What are null values? : abap data dictionary
What are the various types of selection screen event?
How are the function code handles in flow logic?
what is the difference between bdc and rfc ?
What is the use of the raising exception?
In which table the material master data is stored?