what is the effect when a clear ststement is used on an
internal table without header line?
Answers were Sorted based on User's Feedback
Answer / deepa
No you should not use clear statement with internal its not
advisable.it will clear header line.always use refresh it
will delete all the lines from internal table clear work area.
you want to use clear statement for internal table.
then use in this way.
cleat itab[].
it will delete all the lines from the internal table.
Is This Answer Correct ? | 5 Yes | 1 No |
Answer / p401829
It will clear the internal table data.
it will act as refresh.
Is This Answer Correct ? | 6 Yes | 4 No |
Answer / ravikanth
4th Answer is appropriate.
Clear will clear the workarea, if exists (or) clears the header area, as it is used to clear either.
Refresh is used to clear body of internal table.
Ftee is used to deallocate the memory as well.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sirisha
CLEAR and FREE are similar. They free the data from work
area. an internal table with work area, CLEAR itab clears
work area. Where as clear itab[] removes contents of the
table. It will not free the memory.
But with the FREE, it not only clears data from the internal
table, but also the memory.
REFRESH always deletes the data from the internal table.
Work area data will not be deleted. It frees the memory
alloted to the internal table.
REFRESH itab is similar to clear itab[].
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / radhika
the clear st clears the body of the internal table without
header line
Is This Answer Correct ? | 1 Yes | 3 No |
Explain what are the events used for logical database?
What are the Various Types of internal tables?
how can we use the text randomly or circularly in smartforms.... means... suppose i have 'abap' horizantally... but i want it in vertically... how can... plz any body tell me this....
WHAT IS THE USE AND DIFF B/W INSERT, UPDATE AND MODIFY WHILE UPDATING THE DATABASE TABLES?
where u can find user exists? how to activate user exists?
Did you create any joins?
Difference between check table and value table.
3 Answers vCentric Technologies,
what is difference between break and watch point
in which method i can upload data to two transactions? and how? somebody tell me.
What will happen when we use fully buffered in abap?
Where we use Chain and End chain?
2 Answers Intellect Bizware, Sony,
What is the use of PROTECT and ENDPROTECT?