on 05-19-2011 6:10 PM
Hi,
I see code written by others where,
1. a start routine has select statement and fills up an internal table and that is looked (READ TABLE) in the rule routine for an field in the DSO.
2. a rule routine where the select statement is written do read the data from another DSO
I guess the latter will affect the performance during the transformation and I feel reading the required data into an internal table in start routine and then in the rule routine reading the internal table will be comparitively faster.
Is my understanding right ? Is there any other best practise or suggestion to maintain / improve performance , when reading data from other DSOs in the transformation ?
Thnks
Yes you are right, the best way is to fill the internal table based on the lookup DSO in the start routine and then Read that internal table at field level routine. Also use binary search after properly sorting the table to enhance the performance.
Regards,
Arminder
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.