Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9236

Re: End routine Look up Performance Issue

$
0
0

Hi Kunal,

 

       SELECT statements are the one which degrade the performance, Could you please check on that?

Just try below concept,

  • SELECT Mobile and Email from DSO and store it in a two Arrays, Mobile[] and Email[]. Since you need where clause, just keep where Version is Active.
  • Split Result Package into Two, Result package1 should have only data related to Mobile[], Result Package2 should only have data related to Email[].

          You can achieve above step as

  1. Move all data from Result Package to Result Package1 and Result Package2.
  2. Delete records from Result Package1 where Result Package1-Mobile Not In Mobile[]
  3. IIIly Delete records from Result Package2 where Resul Package2-Email Not In Email[].

 

This is just a algorithm, ask an ABAP consultant to replace your existing SELECT with above steps.

By doing this, you will avoid the current SELECT statement looking and searching your whole Result Package

At the end, you can collate all and append to RESULT PACKAGE.

 

Hope it gives an Idea! let me know if above steps are not clear.

 

Thanks,

Umashankar


Viewing all articles
Browse latest Browse all 9236

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>