Creating Plant Material reports
I need to create a report that should list Plant Material combination, that was not appeared in MSEG for the past two years, and whose quantities in total must be equal to zero. Due to huge amount of record it is taking some 40 hours in background. Is there any way to reduce the time. And also it consumes much amount of DB resources.

    Requires Free Membership to View

    When you register, you will start receiving targeted emails from my award-winning team of editorial writers. Our goal is to keep you informed on the hottest topics and biggest challenges faced by SAP professionals today.

    Hannah Smalltree, Editorial Director

    By submitting your registration information to SearchSAP.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchSAP.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

Performance can be enhanced by specifying fields in your select, rather than using SELECT *. Use SELECT into TABLE rather than SELECT... ENDSELECT. Make sure your where clause contains only ANDs, ORs and NOTs result in a sequential read. Finally, it may be worth creating an index on MSEG for this specific report. The danger there is that it may have an adverse impact on other programs - causing them to use your new index, rather than the one SAP defined.

This was first published in May 2003