2007 Jan 24 11:27 AM
Hi,
I want to know which type of internal table would be suitable for the below mentioned process.
There is some initial set of data in a internal table. The table is looped and i do operation on the data available in that line and get another data which has to be added to the same internal table. So that when the control is done with the intial set of data in the table, it starts reading the newly added line and do the same operations mentioned below.
Warm Regards,
Aruna G
2007 Jan 24 11:31 AM
well i´s more a matter of taste.
In my eyes you can use either standard table or hashed table, but no sorted table.
Why? Because it´s not easy to add a new record to a sorted itab.
Hi,
I want to know which type of internal table would be suitable for the below mentioned process.
There is some initial set of data in a internal table. The table is looped and i do operation on the data available in that line and get another data which has to be added to the same internal table. So that when the control is done with the intial set of data in the table, it starts reading the newly added line and do the same operations mentioned below.
Warm Regards,
Aruna G
2007 Jan 24 11:31 AM
well i´s more a matter of taste.
In my eyes you can use either standard table or hashed table, but no sorted table.
Why? Because it´s not easy to add a new record to a sorted itab.
2007 Jan 24 11:32 AM
From what i understand, it would probably lead to an infinite loops.
Looks like you will end up appending records to the same internal table that you are looping .
Can you be a bit more clear, if this is not what you intend to do?
Regards,
Ravi
2007 Jan 24 11:35 AM
Hi,
The loop wont be infinite, cos at one point the above mentioned processiing of data wont happen since it wont meet some of the criteria. Its just i want to use a table sequentially and append data to it at the end.
Warm Regards,
Aruna G
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |