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 |
how to find the print/driver prg of smartform.I used FM SSF_FUNCTION_MODULE_NAME in driver prg.
What is the difference between report and script?
What are the uses of interactive reporting?
What actually happens in real-time recruitment? : sap abap hr
What are the different modules of sap? : sap abap hr
What is Field group?
How do you upload the Data?
in report gui we are giving customer number if it is wrong entry then how to write the code to restrict wrong entry?
TOPIC : LSMW PROBLEM : WHEN I AM UPLOADING THE NON SAP DATA TO SAP I AM GETTING ERROR BY GIVING A MESSAGE "THAT IT CAN UPLOAD ONLY 45 CHARACTERS REST ARE NOT SAVED"AND BY THIS WAY I AM NOT ABLE TO PROCEED FURTHER...........
how to transport abap workbench objects
what is BAPI?
6 Answers FutureSoft, IntelNet, jusco,
How to add background picture/graphics in alv report?