I have two internal tables itab1 and itab2 and I had move
the content of the itab1 to itab2 and then itab1 had to
deleted

Answer Posted / rajarao

Hi,

itab2[ ] = itab1[ ]
refresh itab1

alternatively:
append lines of itab1 into itab2.

pay attention that your internal tables must have the same
structure.

if diff structure (not in order)
loop at itab1.
move corresponding tab1 to itab2.
append itab2.
endloop.

refresh itab1.

Is This Answer Correct ?    19 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In which time constraint does the infotype records depend on the subtype ? : abap hr

631


Define external layer? : abap data dictionary

688


What are the system fields?

555


Advantages and disadvantages of different types of bdc's?

575


1. what is IDOC monitoring ? what is the tcode used for idoc monitoring ? 2 . what is change pointer in ale ?

6637






Can a posting run be deleted? : sap abap hr

604


What is the max. No. Of structures that can be included in a table or structure? : abap data dictionary

569


Explain the differences between se01, se09 and se10?

569


We have got some values for Field F1 say 1,2,3,4 and F2 say 10,10,10,10.Now can you tell me what would be the output for F1 if we use At End Of event?and what would be the output for F2 if we use At Last event?Also i want to know what is the difference between Total calculation for At end event and grand total for At last event???

1677


How to specify a client for database table processing?

615


Sal abap on hana interview

705


How you attach search help to data element? : sap abap data dictionary

650


What is the differrences between structure and table in data dictionary in abap? : abap hr

715


What is evaluation path, where do we do it and why? : sap abap hr

570


How many tables are there in sap?

645