<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_SAP ABAP/BW/BI</title><subtitle type="text">关注SAP领域开发\报表,关注企业整体信息化,关注企业电子商务</subtitle><id>http://feed.cnblogs.com/blog/u/21967/rss</id><updated>2012-05-15T03:47:20Z</updated><author><name>SAP 沧海</name><uri>http://www.cnblogs.com/omygod/</uri></author><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/omygod/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/21967/rss"/><entry><id>http://www.cnblogs.com/omygod/archive/2012/05/15/2501258.html</id><title type="text">DSO参数调整的t-code</title><summary type="text">RSODSO_SETTINGS</summary><published>2012-05-15T03:47:00Z</published><updated>2012-05-15T03:47:00Z</updated><author><name>SAP 沧海</name><uri>http://www.cnblogs.com/omygod/</uri></author><link rel="alternate" href="http://www.cnblogs.com/omygod/archive/2012/05/15/2501258.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/omygod/archive/2012/05/15/2501258.html"/><content type="html">&lt;p&gt;RSODSO_SETTINGS&lt;/p&gt;&lt;img src="http://www.cnblogs.com/omygod/aggbug/2501258.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/omygod/archive/2012/05/15/2501258.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/omygod/archive/2012/05/15/2501091.html</id><title type="text">提高cube性能的一些方法（一）</title><summary type="text">1. 尽量不要在Cube里放太detail的数据，这种需求首先考虑R3用ABAP解决，如果非要在BW，可以考虑在DSO出明细报表，在Cube出汇总报表，通过RRI接口调用明细报表。关于RRI，请看： http://help.sap.com/saphelp_sm32/helpdata/en/99/08629bd3e41d418530c6849df303c9/content.htm 2. 当Cube的数据量很大时，可以拆分成多个Cube, 再用MultiProvider拼起来，这样query会在N个Cube中并行，提高效率。 这就是所谓的逻辑分区。常见的分区方式有按年月，按国家，按BU，按类型等.</summary><published>2012-05-15T02:42:00Z</published><updated>2012-05-15T02:42:00Z</updated><author><name>SAP 沧海</name><uri>http://www.cnblogs.com/omygod/</uri></author><link rel="alternate" href="http://www.cnblogs.com/omygod/archive/2012/05/15/2501091.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/omygod/archive/2012/05/15/2501091.html"/><content type="html">&lt;p&gt;1. 尽量不要在Cube里放太detail的数据，这种需求首先考虑R3用ABAP解决，如果非要在BW，可以考虑在DSO出明细报表，在Cube出汇总报表，通过RRI接口调用明细报表。关于RRI，请看：&lt;br /&gt; &lt;a class="wiki_link_ext" href="http://help.sap.com/saphelp_sm32/helpdata/en/99/08629bd3e41d418530c6849df303c9/content.htm" rel="nofollow" target="_blank"&gt;http://help.sap.com/saphelp_sm32/helpdata/en/99/08629bd3e41d418530c6849df303c9/content.htm&lt;/a&gt;&lt;br /&gt; &lt;br /&gt; 2. 当Cube的数据量很大时，可以拆分成多个Cube, 再用MultiProvider拼起来，这样query会在N个Cube中并行，提高效率。 这就是所谓的逻辑分区。常见的分区方式有按年月，按国家，按BU，按类型等。&lt;br /&gt; &lt;br /&gt; 3. 对于很大的Cube，可以做partition, 这是物理分区，只支持按时间分区。&lt;br /&gt; &lt;br /&gt; 4. 使用Aggregation可以提高性能。但是Aggregation本身是cube的一个子集，提高性能的同时也加大了数据冗余，所以不要用太多。&lt;br /&gt; &lt;br /&gt; 5. 使用&lt;a class="contentlink" href="http://bi.vsharing.com/" target="_blank"&gt;BI&lt;/a&gt;A是比Aggregation更有效的方法，就是要花不少钱。&lt;br /&gt; &lt;br /&gt; 6.  维度设计上，避免很多数据量很大char.放在一个维度上，因为这样会让维度表变得很大。通常，尽可能拆分成更多的维度，然后在 multiprovider层面，把相关的char都放一个维度里，然后做好Mapping，这样可以让用户更容易理解MultiProvider.  不过维度太多会导致fact table巨大，所以要做好平衡。&lt;br /&gt; &lt;br /&gt; 7. 对于material等很大的主数据，使用Line item Dimension. 此类Dimension只可以有一个Char.&lt;br /&gt; &lt;br /&gt; 8. 定期刷新DB Statistics 可以提高reporting的效率。&lt;br /&gt; &lt;br /&gt; 9. 给Cube做Compression。 Compression 本质上是去掉Data Dimension，这样fact table就被压缩了，但是request id 也消失了，将无法通过request id去管理数据。&lt;/p&gt;&lt;img src="http://www.cnblogs.com/omygod/aggbug/2501091.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/omygod/archive/2012/05/15/2501091.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/omygod/archive/2012/05/15/2500991.html</id><title type="text">Process Chain\DTP\Infopackage相关的几个table和function module</title><summary type="text">1、统计生产系统的PCTable：RSPCCHAINTRSPCCHAINATTRPC 日志表：RSPCPROCESSLOG FM：RSPC_CHAIN_DELETE_REMOTEunfreeze的FM：RSPC_PROCESS_FINISH 2、统计P系统中PC包含的VariantTable：RSPCVARIANTATTRRSPCVARIANTRSPCVARIANTTRSPCTRIGGERFM：RSPC_TRIGGER_DELETERSPC_VARIANT_DELETE 3、InfopackageTable：RSLDPIOFM：RSSM_SDL_INFOPACKAGE_DELETE4、DTPT</summary><published>2012-05-15T02:05:00Z</published><updated>2012-05-15T02:05:00Z</updated><author><name>SAP 沧海</name><uri>http://www.cnblogs.com/omygod/</uri></author><link rel="alternate" href="http://www.cnblogs.com/omygod/archive/2012/05/15/2500991.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/omygod/archive/2012/05/15/2500991.html"/><content type="html">&lt;p&gt;1、统计生产系统的PC&lt;br /&gt;&lt;br /&gt;Table：&lt;br /&gt;RSPCCHAINT&lt;br /&gt;RSPCCHAINATTR&lt;br /&gt;&lt;br /&gt;PC 日志表：&lt;br /&gt;RSPCPROCESSLOG&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&lt;br /&gt;FM：&lt;br /&gt;RSPC_CHAIN_DELETE_REMOTE&lt;br /&gt;unfreeze的FM：&lt;br /&gt;RSPC_PROCESS_FINISH&lt;br /&gt;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&lt;br /&gt;2、统计P系统中PC包含的Variant&lt;br /&gt;Table：&lt;br /&gt;RSPCVARIANTATTR&lt;br /&gt;RSPCVARIANT&lt;br /&gt;RSPCVARIANTT&lt;br /&gt;RSPCTRIGGER&lt;br /&gt;&lt;br /&gt;FM：&lt;br /&gt;RSPC_TRIGGER_DELETE&lt;br /&gt;RSPC_VARIANT_DELETE&lt;br /&gt;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&lt;br /&gt;3、Infopackage&lt;br /&gt;&lt;br /&gt;Table：&lt;br /&gt;RSLDPIO&lt;br /&gt;&lt;br /&gt;FM：&lt;br /&gt;RSSM_SDL_INFOPACKAGE_DELETE&lt;br /&gt;&lt;br /&gt;4、DTP&lt;br /&gt;&lt;br /&gt;Table：&lt;br /&gt;RSBKDTP&lt;br /&gt;DTP_ORIGINAL&lt;br /&gt;&lt;br /&gt;Report：&lt;br /&gt;RSBKDTPDELETE&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/omygod/aggbug/2500991.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/omygod/archive/2012/05/15/2500991.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/omygod/archive/2012/01/19/2326077.html</id><title type="text">Note 741478 - FAQ: Materialized views</title><summary type="text">SAP Link741478Version7Release StatusReleased for CustomerReleased on2010-11-30 12:05:35PriorityRecommendations/additional infoCategoryFAQPrimary ComponentBC-DB-ORASecondary ComponentsBC-DB-ORA-DBASummarySymptom1. What are materialized views?2. What are the differences between views and materialized </summary><published>2012-01-18T16:50:00Z</published><updated>2012-01-18T16:50:00Z</updated><author><name>SAP 沧海</name><uri>http://www.cnblogs.com/omygod/</uri></author><link rel="alternate" href="http://www.cnblogs.com/omygod/archive/2012/01/19/2326077.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/omygod/archive/2012/01/19/2326077.html"/><content type="html">&lt;table class="adminlist"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="key" width="150"&gt;SAP Link&lt;/td&gt;&lt;td&gt;&lt;a href="https://service.sap.com/sap/support/notes/741478"&gt;741478&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="key"&gt;Version&lt;/td&gt;&lt;td&gt;7&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="key"&gt;Release Status&lt;/td&gt;&lt;td&gt;Released for Customer&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="key"&gt;Released on&lt;/td&gt;&lt;td&gt;2010-11-30 12:05:35&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="key"&gt;Priority&lt;/td&gt;&lt;td&gt;Recommendations/additional info&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="key"&gt;Category&lt;/td&gt;&lt;td&gt;FAQ&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="key"&gt;Primary Component&lt;/td&gt;&lt;td&gt;BC-DB-ORA&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="key"&gt;Secondary Components&lt;/td&gt;&lt;td&gt;BC-DB-ORA-DBA&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;table class="adminlist"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Summary&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;strong&gt;Symptom&lt;/strong&gt;&lt;br /&gt;&lt;ol&gt;1. What are materialized views?&lt;/ol&gt;&lt;ol&gt;2. What are the differences between views and materialized views?&lt;/ol&gt;&lt;ol&gt;3. What can I use materialized views for?&lt;/ol&gt;&lt;ol&gt;4. Are materialized views used in the SAP environment?&lt;/ol&gt;&lt;ol&gt;5. What are the prerequisites for materialized views?&lt;/ol&gt;&lt;ol&gt;6. How do I create a materialized view?&lt;/ol&gt;&lt;ol&gt;7. How can I refresh a materialized view?&lt;/ol&gt;&lt;ol&gt;8. How do I create a materialized view?&lt;/ol&gt;&lt;ol&gt;9. Which Oracle DDIC views exist for materialized views?&lt;/ol&gt;&lt;ol&gt;10. What internal objects are created that relate to materialized views?&lt;/ol&gt;&lt;ol&gt;11. How are materialized views used in online reorganizations?&lt;/ol&gt;&lt;ol&gt;12. What problems can occur with materialized views?&lt;/ol&gt;&lt;ol&gt;&lt;ol&gt;13. Where do I find more information about materialized views?&lt;/ol&gt;&lt;/ol&gt;&lt;br /&gt;&lt;strong&gt;Other terms&lt;/strong&gt;&lt;br /&gt;&lt;p&gt;This note provides answers to Frequently Asked Questions (FAQs).&lt;/p&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;br /&gt;&lt;ol&gt;1. What are materialized views?&lt;/ol&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Materialized views or snapshots are segments that contain the current or previous data of a table, a view or a join. You can update the data that was changed in the source objects since the creation of the materialized view immediately, at specific times or not at all.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;By default, materialized views as read-only.&lt;/p&gt;&lt;ol&gt;2. What are the differences between views and materialized views?&lt;/ol&gt;&lt;ul&gt;&lt;li&gt;A view always returns the current information from the source objects while a materialized view can also contain a previous state of the source objects, depending on the refresh mode.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;In a regular view, the data must be retrieved from the source objects at runtime, which can lead to long runtimes for complex joins. A materialized view, however, can be compared with a table from which the system can read the data directly without overhead for joins.&lt;/li&gt;&lt;/ul&gt;&lt;ol&gt;3. What can I use materialized views for?&lt;/ol&gt;&lt;ul&gt;&lt;li&gt;With materialized views, you can replicate data automatically to other systems.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;The online table reorganization with DBMS_REDEFINITION is based on materialized views.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;You can cache expensive queries as materialized views and refresh them periodically (which can be compared with the table buffering in R/3).&lt;/li&gt;&lt;/ul&gt;&lt;ol&gt;4. Are materialized views used in the SAP environment?&lt;/ol&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Materialized views are not used in the SAP environment. The only exception is the online table reorganization with BRSPACE which uses materialized views implicitly.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Since materialized views are not used in the R/3 system, they cannot be created in the ABAP Dictionary.&lt;/p&gt;&lt;ol&gt;5. What are the prerequisites for materialized views?&lt;/ol&gt;&lt;ul&gt;&lt;li&gt;By default, materialized views are based on primary key constraints. This means that a primary key constraint must be created on the table for this type of materialized view - otherwise ORA-12014 occurs. Alternatively, you can generate a materialized view based on the ROWID.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;If you want to refresh the materialized view automatically, you must set the JOB_QUEUE_PROCESSES parameter to 1 or a higher value.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;To create a materialized view, the database user must have the CREATE MATERIALIZED VIEW authorization.&lt;/li&gt;&lt;/ul&gt;&lt;ol&gt;6. How do I create a materialized view?&lt;/ol&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;You can create a simple materialized view with the following command:&lt;br /&gt;&lt;br /&gt;CREATE MATERIALIZED VIEW MY_MAT_VIEW&lt;br /&gt;&amp;lt;refresh_mode&amp;gt;&lt;br /&gt;AS &amp;lt;select_statement&amp;gt;;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;select_statement&amp;gt; contains the query that is used to create the materialized view.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Refer to the Oracle online documentation for more complex definitions of materialized views. The possible values for &amp;lt;refresh_mode&amp;gt; are listed in the answer to the next question.&lt;/p&gt;&lt;ol&gt;7. How can I refresh a materialized view?&lt;/ol&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;There are multiple refresh options that you can specify in &amp;lt;refresh_mode&amp;gt;. First of all, there are FAST, COMPLETE and FORCE refresh operations:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;FAST: The data that you change in the source objects is logged in a log file for the materialized view. When you refresh, the system only needs to transfer the data to the materialized view. This method is used in the online reorganization. For a FAST refresh, the materialized view query must not be too complex and a log file for the materialized view must exist.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;COMPLETE: The materialized view is rebuilt completely during the refresh operation.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;FORCE: If possible, the system performs a FAST refresh, otherwise, it executes a COMPLETE refresh (default).&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;In addition, you can specify a time for the refresh operation. For example:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;NEVER REFRESH: The refresh is not performed automatically.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;REFRESH FAST ON COMMIT: A FAST refresh is performed with every Commit.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;REFRESH COMPLETE START WITH SYSDATE NEXT SYSDATE + 1/48: A COMPLETE refresh is performed as of now every 30 minutes (30 minutes equals 1 day multiplied by 1/48).&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;REFRESH FORCE START WITH TRUNC(SYSDATE) NEXT TRUNC(SYSDATE)+1/4: A FORCE refresh is performed at 12 am, 6 am, 12 pm and 6 pm.&lt;/li&gt;&lt;/ul&gt;&lt;ol&gt;8. How do I create a materialized view?&lt;/ol&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;You can use the following command to create a materialized view log for a table:&lt;br /&gt;&lt;br /&gt;CREATE MATERIALIZED VIEW LOG ON &amp;lt;table&amp;gt;;&lt;/p&gt;&lt;ol&gt;9. Which Oracle DDIC views exist for materialized views?&lt;/ol&gt;&lt;ul&gt;&lt;li&gt;DBA_MVIEWS: Overview over the materialized views.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;DBA_MVIEW_LOGS: Overview over the log files for the materialized views.&lt;/li&gt;&lt;/ul&gt;&lt;ol&gt;10. What internal objects are created that relate to materialized views?&lt;/ol&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;If you create a primary key constraint that is not supported by an existing index as the basis for a materialized view, Oracle creates an index internally with the prefix SYS_C.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;When you create a materialized view log, the system creates the objects MLOG$_&amp;lt;table&amp;gt; and RUPD$_&amp;lt;table&amp;gt;. MLOG$_&amp;lt;table&amp;gt; is the materialized view log which records all changes to the underlying table.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;When you create a ROWID based materialized view, the system creates an I_SNAP$_&amp;lt;table&amp;gt; index for the materialized view, which receives the column M_ROW$$.&lt;/p&gt;&lt;ol&gt;11. How are materialized views used in online reorganizations?&lt;/ol&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;If you use BRSPACE to execute an online reorganization based on the Oracle package DBMS_REDEFINITION (refer to Note 646681), then materialized views are also implicitly used due to the implementation of DBMS_REDEFINITION. In general, what happens is this:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;The target table with the name conention &amp;lt;table&amp;gt;#$ (see Note 541538) is treated as a materialized view of the source table &amp;lt;table&amp;gt;.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;The program creates a materialized view log for the source table &amp;lt;table&amp;gt;. This means that the system creates the objects MLOG$_&amp;lt;table&amp;gt; and RUPD$_&amp;lt;table&amp;gt; implicitly.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;If a primary index exists for the table to be reorganized, the online reorganization is executed on the basis of a primary key constraint. This means that the materialized view is also created on the basis of a primary key constraint. In turn, this means that an I_SNAP$_&amp;lt;table&amp;gt;#$ index is not necessary.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;If no primary index exists, the reorganization takes place on the basis of a ROWID materialized view, so the I_SNAP$_&amp;lt;table&amp;gt;#$ is implicitly created.&lt;/li&gt;&lt;/ul&gt;&lt;ol&gt;12. What problems can occur with materialized views?&lt;/ol&gt;&lt;ul&gt;&lt;li&gt;Problems with the table owner's default tablespace&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;All implicit objects such as MLOG$_&amp;lt;table&amp;gt;, RUPD$_&amp;lt; table&amp;gt; and I_SNAP$_&amp;lt;table&amp;gt;#$ are created in the table owner's default tablespace. This may cause tablespace overflows and MAXEXTENTS problems under some circumstances, for example:&lt;br /&gt;&lt;br /&gt;ORA-12008: error in materialized view refresh path&lt;br /&gt;ORA-01632: max # extents (505) reached in index&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SAPR3.I_SNAP$_&amp;lt;table&amp;gt;&lt;br /&gt;ORA-01652: unable to extend temp segment in tablespace &amp;lt;tsp&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Therefore, take not of the following during the online reorganization:&lt;/p&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;Ensure that there is sufficient free space available in the table owner's default tablespace, and that problems relating to MAXEXTENTS can be avoided (such as by setting MAXEXTENTS -&amp;gt; UNLIMITED).&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;Avoid reorganizing large tables that have no primary index, since this means that the program must create large I_SNAP$ indexes implicitly.&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;Avoid online reorganizations in parallel with massive data chagnes to the tables to be reorganized, since otherwise the MLOG$ table grows very large.&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Increased Redo log count&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;For each periodic COMPLETE refresh of a materialized view, the system creates Redo information which can lead to a significant Redo log count.&lt;/p&gt;&lt;ul&gt;&lt;li&gt;ORA-12014: table does not contain a primary key constraint&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;If you create a primary key materialized view for a table without primary key constraint, the system issues an ORA-12014 error message.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;You can create a primary key constraint with the following command:&lt;br /&gt;&lt;br /&gt;ALTER TABLE &amp;lt;table&amp;gt; ADD PRIMARY_KEY (&amp;lt;column_list&amp;gt;);&lt;/p&gt;&lt;ul&gt;&lt;li&gt;ORA-12028: materialized view type is not supported by master site&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;The system issues this error when you create materialized views with an Oracle databases Release 7 or earlier. If the system issues the error message when you reorganize a database version 9i or later online, parts of the Oracle DDICs may not have a current status yet or old Oracle packages may still exist under users such as SAPR3 or SAP&amp;lt;sid&amp;gt;.&lt;/p&gt;&lt;ul&gt;&lt;li&gt;ORA-12091: cannot online redefine table with materialized views&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;If a materialized view or a log file for a materialized view already exists for a table, an online reorganization will lead to an ORA-12091 error message. The error occurs if the online reorganization for a table is stopped improperly and you then try to restart the online reorganization. To solve the problem, you must clean up the rest of the previous online reorganization as follows:&lt;br /&gt;&lt;br /&gt;brspace -u / -f tbreorg -t &amp;lt;table_name&amp;gt; -a cleanup&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;If you want to clean up the remainder of a large quantity of tables, you can also use "-t". However, this causes long runtime for the cleanup.&lt;/p&gt;&lt;ul&gt;&lt;li&gt;ORA-12092: cannot online redefine replicated table&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;You are trying to reorganize a materialized view online. This is not possible.&lt;/p&gt;&lt;ul&gt;&lt;li&gt;ORA-12096: error in materialized view log on &amp;lt;table&amp;gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;If problems occur when you try to access a log file for a materialized view, the system issues an ORA-12096 error message which is followed by the actual error. If the ORA-12096 error message is accompanied by an ORA-00942 message, the problem may be due to an online reorganization that was only partially undone. In this case, you can drop the log file for the materialized view manually (after you have verified that it is no longer required):&lt;br /&gt;&lt;br /&gt;DROP MATERIALIZED VIEW LOG ON &amp;lt;table&amp;gt;;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;ORA-23413: table does not have a materialized view log&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;If you try to create a FAST materialized view for a table without materialized view log, the system issues an ORA-23413 error message. The name of the materialized view log is always MLOG$_&amp;lt;table&amp;gt; and you can create the log with the following command:&lt;br /&gt;&lt;br /&gt;CREATE MATERIALIZED VIEW LOG ON &amp;lt;table&amp;gt;;&lt;/p&gt;&lt;ol&gt;13. Where do I find more information about materialized views?&lt;/ol&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Refer to the Oracle online documentation for detailed information about materialized views:&lt;br /&gt;&lt;br /&gt;Oracle9i Advanced Replication&lt;br /&gt;-&amp;gt; 3 Materialized view Concepts and Architecture&lt;br /&gt;&lt;br /&gt;Oracle9i SQL Reference&lt;br /&gt;-&amp;gt; CREATE MATERIALIZED VIEW&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Refer to note 646681 for information about the online reorganization with BRSPACE&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;img src="http://www.cnblogs.com/omygod/aggbug/2326077.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/omygod/archive/2012/01/19/2326077.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/omygod/archive/2011/12/16/2290277.html</id><title type="text">SAP BW Query常见的性能问题</title><summary type="text">BW Query PerformanceQuestion: 1. What kind of tools are available to monitor the overall Query Performance?Answers: o BW Statistics o BW Workload Analysis in ST03N (Use Export Mode!) o Content of Table RSDDSTATQuestion: 2. Do I have to do something to enable such tools?Answer: o Yes, you need to tur</summary><published>2011-12-16T07:26:00Z</published><updated>2011-12-16T07:26:00Z</updated><author><name>SAP 沧海</name><uri>http://www.cnblogs.com/omygod/</uri></author><link rel="alternate" href="http://www.cnblogs.com/omygod/archive/2011/12/16/2290277.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/omygod/archive/2011/12/16/2290277.html"/><content type="html">&lt;p&gt;&lt;strong&gt;BW Query Performance&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Question:&lt;/strong&gt; &lt;br /&gt;&lt;strong&gt;1. What kind of tools are available to monitor the overall Query Performance?&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Answers: &lt;br /&gt;o BW Statistics &lt;br /&gt;o BW Workload Analysis in ST03N (Use Export Mode!) &lt;br /&gt;o Content of Table RSDDSTAT&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Question:&lt;/strong&gt; &lt;br /&gt;&lt;strong&gt;2. Do I have to do something to enable such tools?&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Answer: &lt;br /&gt;o Yes, you need to turn on the BW Statistics: &lt;br /&gt;&amp;nbsp; RSA1, choose Tools -&amp;gt; BW statistics for InfoCubes &lt;br /&gt;&amp;nbsp; (Choose OLAP and WHM for your relevant Cubes)&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Question:&lt;/strong&gt; &lt;br /&gt;&lt;strong&gt;3. What kind of tools are available to analyse a specific query in detail?&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Answers: &lt;br /&gt;o Transaction RSRT &lt;br /&gt;o Transaction RSRTRACE&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Question:&lt;/strong&gt; &lt;br /&gt;&lt;strong&gt;4.&amp;nbsp; Do I have a overall query performance problem?&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Answers: &lt;br /&gt;o Use ST03N -&amp;gt; BW System load values to recognize the problem. Use the &lt;br /&gt;&amp;nbsp; number given in table 'Reporting - InfoCubes:Share of total time (s)' &lt;br /&gt;&amp;nbsp; to check if one of the columns %OLAP, %DB, %Frontend shows a high&amp;nbsp; &lt;br /&gt;&amp;nbsp; number in all InfoCubes. &lt;br /&gt;o You need to run ST03N in expert mode to get these values&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Question:&lt;/strong&gt; &lt;br /&gt;&lt;strong&gt;5. What can I do if the database proportion is high for all queries?&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Answers: &lt;br /&gt;Check: &lt;br /&gt;o If the database statistic strategy is set up properly for your DB platform&amp;nbsp; &lt;br /&gt;&amp;nbsp; (above all for the BW specific tables) &lt;br /&gt;o If database parameter set up accords with SAP Notes and SAP Services (EarlyWatch) &lt;br /&gt;o If Buffers, I/O, CPU, memory on the database server are exhausted? &lt;br /&gt;o If Cube compression is used regularly &lt;br /&gt;o If Database partitioning is used (not available on all DB platforms)&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Question:&lt;/strong&gt; &lt;br /&gt;&lt;strong&gt;6. What can I do if the OLAP proportion is high for all queries?&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Answers: &lt;br /&gt;Check: &lt;br /&gt;o If the CPUs on the application server are exhausted &lt;br /&gt;o If the SAP R/3 memory set up is done properly (use TX ST02 to find &lt;br /&gt;&amp;nbsp; bottlenecks) &lt;br /&gt;o If the read mode of the queries is unfavourable (RSRREPDIR, RSDDSTAT, &lt;br /&gt;&amp;nbsp; Customizing default)&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Question:&lt;/strong&gt; &lt;br /&gt;&lt;strong&gt;7. What can I do if the client proportion is high for all queries?&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Answer: &lt;br /&gt;o Check whether most of your clients are connected via a WAN Connection and the amount&amp;nbsp; &lt;br /&gt;&amp;nbsp; of data which is transferred is rather high.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Question:&lt;/strong&gt; &lt;br /&gt;&lt;strong&gt;8. Where can I get specific runtime information for one query?&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Answers: &lt;br /&gt;o Again you can use ST03N -&amp;gt; BW System Load &lt;br /&gt;o Depending on the time frame you select, you get historical data or &lt;br /&gt;&amp;nbsp; current data. &lt;br /&gt;o To get to a specific query you need to drill down using the InfoCube &lt;br /&gt;&amp;nbsp; name &lt;br /&gt;o Use Aggregation Query to get more runtime information about a &lt;br /&gt;&amp;nbsp; single query. Use tab All data to get to the details. &lt;br /&gt;&amp;nbsp; (DB, OLAP, and Frontend time, plus Select/ Transferred records, &lt;br /&gt;&amp;nbsp; plus number of cells and formats)&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Question:&lt;/strong&gt; &lt;br /&gt;&lt;strong&gt;9. What kind of query performance problems can I recognize using ST03N&lt;/strong&gt; &lt;br /&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp; values for a specific query?&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Answers: &lt;br /&gt;(Use Details to get the runtime segments) &lt;br /&gt;o High Database Runtime &lt;br /&gt;o High OLAP Runtime &lt;br /&gt;o High Frontend Runtime&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Question:&lt;/strong&gt; &lt;br /&gt;&lt;strong&gt;10. What can I do if a query has a high database runtime?&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Answers: &lt;br /&gt;o Check if an aggregate is suitable (use All data to get values &lt;br /&gt;&amp;nbsp; "selected records to transferred records", a high number here would &lt;br /&gt;&amp;nbsp; be an indicator for query performance improvement using an aggregate) &lt;br /&gt;o Check if database statistics are update to data for the &lt;br /&gt;&amp;nbsp; Cube/Aggregate, use TX RSRV output (use database check for statistics &lt;br /&gt;&amp;nbsp; and indexes) &lt;br /&gt;o Check if the read mode of the query is unfavourable - Recommended (H)&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Question:&lt;/strong&gt; &lt;br /&gt;&lt;strong&gt;11. What can I do if a query has a high OLAP runtime?&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Answers: &lt;br /&gt;o Check if a high number of Cells transferred to the OLAP (use &lt;br /&gt;&amp;nbsp; "All data" to get value "No. of Cells") &lt;br /&gt;o Use RSRT technical Information to check if any extra OLAP-processing &lt;br /&gt;&amp;nbsp; is necessary (Stock Query, Exception Aggregation, Calc. before &lt;br /&gt;&amp;nbsp; Aggregation, Virtual Char. Key Figures, Attributes in Calculated &lt;br /&gt;&amp;nbsp; Key Figs, Time-dependent Currency Translation) &lt;br /&gt;&amp;nbsp; together with a high number of records transferred. &lt;br /&gt;o Check if a user exit Usage is involved in the OLAP runtime? &lt;br /&gt;o Check if large hierarchies are used and the entry hierarchy level is &lt;br /&gt;&amp;nbsp; as deep as possible. This limits the levels of the &lt;br /&gt;&amp;nbsp; hierarchy that must be processed. Use SE16 on the inclusion &lt;br /&gt;&amp;nbsp; tables and use the List of Value feature on the column successor &lt;br /&gt;&amp;nbsp; and predecessor to see which entry level of the hierarchy is used. &lt;br /&gt;- Check if a proper index on the inclusion&amp;nbsp; table exist&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Question:&lt;/strong&gt; &lt;br /&gt;&lt;strong&gt;12. What can I do if a query has a high frontend runtime?&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Answers: &lt;br /&gt;o Check if a very high number of cells and formattings are transferred &lt;br /&gt;&amp;nbsp; to the Frontend ( use "All data" to get value "No. of Cells") which &lt;br /&gt;&amp;nbsp; cause high network and frontend (processing) runtime. &lt;br /&gt;o Check if frontend PC are within the recommendation (RAM, CPU Mhz) &lt;br /&gt;o Check if the bandwidth for WAN connection is sufficient&lt;/p&gt;&lt;img src="http://www.cnblogs.com/omygod/aggbug/2290277.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/omygod/archive/2011/12/16/2290277.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/omygod/archive/2011/12/16/2290249.html</id><title type="text">SAP BW维护项目中的常见问题</title><summary type="text">Below are some of the errors in a support project which will be a great help for new learners:1) RFC connection lost. A) We can check out in the SM59 t-code RFC Destination + R/3 connection CRD client (our r/3 client) double click..test connection in menu2) Invalid characters while loading. A) Chang</summary><published>2011-12-16T07:15:00Z</published><updated>2011-12-16T07:15:00Z</updated><author><name>SAP 沧海</name><uri>http://www.cnblogs.com/omygod/</uri></author><link rel="alternate" href="http://www.cnblogs.com/omygod/archive/2011/12/16/2290249.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/omygod/archive/2011/12/16/2290249.html"/><content type="html">&lt;p&gt;&lt;strong&gt;Below are some of the errors in a support project which will be a great help for new learners:&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;1) RFC connection lost.&lt;/strong&gt; &lt;br /&gt;A) We can check out in the SM59 t-code &lt;br /&gt;RFC Destination &lt;br /&gt;+ R/3 connection &lt;br /&gt;CRD client (our r/3 client) &lt;br /&gt;double click..test connection in menu&lt;/p&gt;&lt;p&gt;&lt;strong&gt;2) Invalid characters while loading.&lt;/strong&gt; &lt;br /&gt;A) Change them in the PSA &amp;amp; load them.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;3) ALEREMOTE user is locked.&lt;/strong&gt; &lt;br /&gt;1) Ask your Basis team to release the user. It is mostly ALEREMOTE. &lt;br /&gt;2) Password Changed &lt;br /&gt;3) Number of incorrect attempts to login into ALEREMOTE. &lt;br /&gt;4) USE SM12 t-code to find out are there any locks.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;4) Lower case letters not allowed.&lt;/strong&gt; &lt;br /&gt;A) Uncheck the lower case letters check box under "general" tab in the info object.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;5) While loading the data I am getting messeage that 'Record the field mentioned in the errror message is not mapped to any infoboject in the transfer rule'.&lt;/strong&gt; &lt;br /&gt;A)&lt;/p&gt;&lt;p&gt;&lt;strong&gt;6) Object locked.&lt;/strong&gt; &lt;br /&gt;A) It might be locked by some other process or a user. Also check for authorizations&lt;/p&gt;&lt;p&gt;&lt;strong&gt;7) "Non-updated Idocs found in Source System".&lt;/strong&gt; &lt;br /&gt;A) Check whether any TRFC s strucked in source system. You can check it in SM58.&amp;nbsp; If no TRFC s are there then better trigger the load again i.e., change the status to red, delete the bad request and run the load.&amp;nbsp;&amp;nbsp; Check whether the load is Delta or Full.&amp;nbsp; If it is full just go ahead with the above step.&lt;/p&gt;&lt;p&gt;If it is Delta check wheteher it is source system or BW. If it is source system go for repeat delta. If it is BW then you need to reset Data Mart status.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;8) While loading master data, one of the datapackage has a red light error message: Master data/text of characteristic ZCUSTSAL already deleted.&lt;/strong&gt; &lt;br /&gt;A)&lt;/p&gt;&lt;p&gt;&lt;strong&gt;9) Extraction job aborted in r3&lt;/strong&gt; &lt;br /&gt;A) It might have got cancelled due to running for more than the expected time, or may be cancelled by R/3 users if it is hampering the performance.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;10) Request couldn't be activated because there is another request in the psa with a smaller sid&lt;/strong&gt; &lt;br /&gt;A)&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;11) Repeat of last delta not possible.&lt;/strong&gt; &lt;br /&gt;A) Repeat of last delta is not a option, but a mandate, in case the delta run failed.&amp;nbsp; In such a case, we cant run the simple delta again.&amp;nbsp; The system is going to run a repeat of last delta, so as to collect the failed delta's data again as well as any data collect till now right from failure.&lt;/p&gt;&lt;p&gt;For repeat of last delta to be run, we should have the previous delta failed.&amp;nbsp; Lets assume, in your case, I am not sure, if the delta got falied or deleted. If this is a deletion, then we need to catch hold of the request and make the status to red. This is going to tell the system that the delta failed(although it ran successfully, but you are forcing this message to the system).&amp;nbsp; Now, if you run the delta info package, it will fetch the data related to 22nd plus all the changes from there on till today.&lt;/p&gt;&lt;p&gt;An essential point here, you should not have run any deltas after 22nd till now. Then only repeat of last delta is going to work. Otherwise only option is to run a repair full request with data selections, if we know selection parameters.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;12) Datasource not replicated&lt;/strong&gt; &lt;br /&gt;A) Replicate the datasource from R/3 through source system in the AWB &amp;amp; assign it to the infosource and activate it again.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;13) Datasource/transfer structure not active.&lt;/strong&gt; &lt;br /&gt;A) Use the function module RS_TRANSTRU_ACTIVATE_ALL to activate it&lt;/p&gt;&lt;p&gt;&lt;strong&gt;14) ODS activation error.&lt;/strong&gt; &lt;br /&gt;A) ODS activation errors can occur mainly due to following reasons- &lt;br /&gt;1.Invalid characters (# like characters) &lt;br /&gt;2.Invalid data values for units/currencies etc &lt;br /&gt;3.Invalid values for data types of char &amp;amp; key figures. &lt;br /&gt;4.Error in generating SID values for some data.&lt;/p&gt;&lt;img src="http://www.cnblogs.com/omygod/aggbug/2290249.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/omygod/archive/2011/12/16/2290249.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/omygod/archive/2011/12/16/2290227.html</id><title type="text">SAP BW实施项目包含哪些内容,需要跟R/3系统进行交互</title><summary type="text">What type of activities we perform in IMPLEMENTATION project? Will we start from modeling stage or interact with R/3?Responsibilities of an implementation projectFor ex, Lets say If its a fresh implementation of BI or for that matter you are implementing SAP.First and foremost will be your requireme</summary><published>2011-12-16T07:05:00Z</published><updated>2011-12-16T07:05:00Z</updated><author><name>SAP 沧海</name><uri>http://www.cnblogs.com/omygod/</uri></author><link rel="alternate" href="http://www.cnblogs.com/omygod/archive/2011/12/16/2290227.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/omygod/archive/2011/12/16/2290227.html"/><content type="html">&lt;p&gt;&lt;strong&gt;&lt;span style="color: #000000;"&gt;What type of activities we perform in IMPLEMENTATION project? Will we start from modeling stage or interact with R/3?&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000;"&gt;Responsibilities of an implementation project&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000;"&gt;For ex, Lets say If its a fresh implementation of BI or for that matter you are implementing SAP.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000;"&gt;First and foremost will be your requirements gathering from the client.&amp;nbsp; Depending upon the requirements you will creat a business blueprint of the project which is the entire process from the start to the end of an implementation.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000;"&gt;After the blue print phase sign off we start off with the realization phase where the actual development happens. In our example after installing the necessary softwares, patches for BI we need to discuss with the end users who are going to use the system for inputs like how they want a report to look like and what are the Key Performance Indicators(KPI) for the reports etc., basically its a question and answer session with the business users.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000;"&gt;After collecting those informations the development happens in the development servers.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000;"&gt;After the development comes to an end the same objects are tested in quality servers for any bugs, errors etc., When all the tests are done we move all the objects to the production environment and test it again whether everything works fine.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000;"&gt;The Go-Live of the project happens where the actually postings happen from the users and reports are generated based on those inputs which will be available as an analytical report for the management to take decisions.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000;"&gt;The responsibilites vary depending on the requirement. Initially the business analyst will interact with the end users/managers etc., then on the requirements the software consultants do the development, testers do the testing and finally the go-live happens.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000;"&gt;BW Data Architect Description:&lt;/span&gt; &lt;br /&gt;&lt;span style="color: #000000;"&gt;The BW Data Architect is responsible for the overall data design of the BW project. This includes the design of the:&amp;nbsp;&lt;/span&gt; &lt;br /&gt;&lt;span style="color: #000000;"&gt;BW InfoCubes (Basic Cubes, Multi-cubes, Remote cubes, and Aggregates) &amp;raquo; BW ODS Objects &amp;raquo; BW Datamarts &amp;raquo; Logical Models &amp;raquo; BW Process Models &amp;raquo; BW Enterprise Models&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000;"&gt;The BW Data Architect plays a critical role in the BW project and is the link between the end user's business requirements and the data architecture solution that will satisfy these requirements. All other activities in the BW project are contingent upon the data design being sound and flexible enough to satisfy evolving business requirements.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000;"&gt;Time Commitment&lt;/span&gt; &lt;br /&gt;&lt;span style="color: #000000;"&gt;&amp;ndash; the time which must be committed to this Role to ensure the project requirements are met Project Complexity Time Commitment Low If the BW project utilizes standard BW content and InfoCubes, this role can be satisfied by the BW Application Consultant.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000;"&gt;Medium&amp;nbsp;&lt;/span&gt; &lt;br /&gt;&lt;span style="color: #000000;"&gt;If the BW project requires enhancements to the standard BW content and InfoCubes and/or requires the integration of non-SAP data, this role may require a committed resource.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000;"&gt;High&amp;nbsp;&lt;/span&gt; &lt;br /&gt;&lt;span style="color: #000000;"&gt;If the BW project requires significant modification and enhancement to standard BW content and InfoCubes, it is highly recommended that an experienced resource be committed full-time to the project.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000;"&gt;Key Attributes&lt;/span&gt; &lt;br /&gt;&lt;span style="color: #000000;"&gt;The BW Data Architect must have:&lt;/span&gt; &lt;br /&gt;&lt;span style="color: #000000;"&gt;An understanding of the BW data architecture &amp;raquo; An understanding of multidimensional modeling &amp;raquo; An understanding of the differences between operational systems data modeling and data warehouse data modeling &amp;raquo; An understanding of the end user's data &amp;raquo; An understanding of the integration points of the data (e.g., customer number, invoice number) &amp;raquo; Excellent troubleshooting and analytical skills &amp;raquo; Excellent communication skills &amp;raquo; Technical competency in data modeling &amp;raquo; Multi-language skills, if an international implementation &amp;raquo; Working knowledge of the BW and R/3 application(s) &amp;raquo; Experience with Data Modeling application software (i.e., ERWIN, Oracle Designer, S-Designer, etc.)&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000;"&gt;Key Tasks&amp;nbsp;&lt;/span&gt; &lt;br /&gt;&lt;span style="color: #000000;"&gt;The BW Data Architect is responsible for capturing the business requirements for the BW project. This effort includes:&lt;/span&gt; &lt;br /&gt;&lt;span style="color: #000000;"&gt;Planning the business requirements gathering sessions and process &amp;raquo; Coordinating all business requirements gathering efforts with the BW Project Manager &amp;raquo; Facilitating the business requirements gathering sessions &amp;raquo; Capturing the information and producing the deliverables from the business requirements gathering sessions &amp;raquo; Understanding and documenting business definitions of data &amp;raquo; Developing the data model &amp;raquo; Ensuring integration of data from both SAP and non-SAP sources &amp;raquo; Fielding questions concerning the data content, definition and structure&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000;"&gt;This role should also address other critical data design issues such as:&lt;/span&gt; &lt;br /&gt;&lt;span style="color: #000000;"&gt;Granularity of data and the potential for multiple levels of granularity &amp;raquo; Use of degenerate dimensions &amp;raquo; InfoCube partitioning &amp;raquo; Need for aggregation at multiple levels &amp;raquo; Need for storing derived BW data &amp;raquo; Ensuring overall integrity of all BW Models &amp;raquo; Providing Data Administration development standards for business requirements analysis and BW enterprise modeling &amp;raquo; Provide strategic planning for data management &amp;raquo; Impact analysis of data change requirements As stated above, the BW Data Architect is responsible for the overall data design of the BW project.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000;"&gt;This includes the design of the:&lt;/span&gt; &lt;br /&gt;&lt;span style="color: #000000;"&gt;BW InfoCubes (Basic Cubes, Multi-cubes, Remote cubes, and Aggregates) &amp;raquo; BW ODS Objects &amp;raquo; BW Datamarts &amp;raquo; Logical Models &amp;raquo; BW Process Models &amp;raquo; BW Enterprise Models&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000;"&gt;BW Project Implementation and Rollout&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000;"&gt;Global IDs uses a modified version of the ASAP methodology to ensure a robust BW environment is implemented, tested, and delivered. The project milestones include the following:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000;"&gt;Blueprinting&lt;/span&gt; &lt;br /&gt;&lt;span style="color: #000000;"&gt;Realization&lt;/span&gt; &lt;br /&gt;&lt;span style="color: #000000;"&gt;Roll Out&lt;/span&gt; &lt;br /&gt;&lt;span style="color: #000000;"&gt;Post-Implementation Support&lt;/span&gt; &lt;br /&gt;&lt;span style="color: #000000;"&gt;Organizational Change Management&lt;/span&gt; &lt;br /&gt;&lt;span style="color: #000000;"&gt;BW Maintenance&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000;"&gt;*Phase 1: Upgrade Project Preparation -*&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000;"&gt;The purpose of this phase is to provide initial planning and preparation for your R/3 upgrade project. Although each upgrade project has unique objectives, scope and priorities, the steps in Phase 1 help identify and plan the primary topics that must be considered.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000;"&gt;*Phase 2: Business Blueprint -*&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000;"&gt;The purpose of this phase is to establish a common understanding in your company about how the new R/3 release will handle your current business processes after the R/3 upgrade.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000;"&gt;*Phase 3: Realization of DEV and QAS -*&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000;"&gt;The purpose of this phase is to perform the upgrade of all non-production R/3 Systems, which normally include development (DEV) and quality assurance&lt;/span&gt; &lt;br /&gt;&lt;span style="color: #000000;"&gt;(QAS) systems, and to ensure the quality of this upgrade process by comprehensive testing. You need to upgrade your DEV and QAS systems before performing the upgrade for your production system (PRD). Furthermore, you will develop your end user documentation and training in this phase.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000;"&gt;*Phase 4: Realization of Production -*&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000;"&gt;The purpose of this phase is to complete the final preparation for the upgrade of the production R/3 System, and end user training, if necessary.&amp;nbsp; On the successful completion of this phase, you are ready to run your business in your upgraded production R/3 System.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000;"&gt;*Phase 5: Go Live and Support -*&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000;"&gt;The purpose of this phase is the transition from your previous R/3 System to a newly upgraded and improved R/3 System. Be aware that you must set up an ongoing support organization to service your R/3 users, both during the first few days of your upgraded production operations, and on an ongoing basis.&lt;/span&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/omygod/aggbug/2290227.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/omygod/archive/2011/12/16/2290227.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/omygod/archive/2011/12/16/2290205.html</id><title type="text">SAP BW 系统管理员是一个什么样的角色,日常工作是什么,具体该掌握一些什么知识</title><summary type="text">What is the role of consultant has to play if the title is BW administrator? What is his day to day activity and which will be the main focus area for him in which he should be proficient?BW Administartor - is the person who provides Authorization access to different Roles, Profiles depending upon t</summary><published>2011-12-16T06:54:00Z</published><updated>2011-12-16T06:54:00Z</updated><author><name>SAP 沧海</name><uri>http://www.cnblogs.com/omygod/</uri></author><link rel="alternate" href="http://www.cnblogs.com/omygod/archive/2011/12/16/2290205.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/omygod/archive/2011/12/16/2290205.html"/><content type="html">&lt;p&gt;&lt;strong&gt;What is the role of consultant has to play if the title is BW administrator? What is his day to day activity and which will be the main focus area for him in which he should be proficient?&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;BW Administartor - is the person who provides Authorization access to different Roles, Profiles depending upon the requirement.&amp;nbsp;&lt;/p&gt;&lt;p&gt;For eg. There are two groups of people : Group A and Group B.&lt;/p&gt;&lt;p&gt;&amp;nbsp; Group A - Manager&lt;/p&gt;&lt;p&gt;&amp;nbsp; Group B - Developer&lt;/p&gt;&lt;p&gt;Now the Authorization or Access Rights for both the Groups are different.&lt;/p&gt;&lt;p&gt;So for doing this sort of activity.........we required Administrator.&lt;/p&gt;&lt;img src="http://www.cnblogs.com/omygod/aggbug/2290205.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/omygod/archive/2011/12/16/2290205.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/omygod/archive/2011/12/16/2290200.html</id><title type="text">BW Technical and Functional 的区别是什么</title><summary type="text">Difference Between BW Technical and FunctionalIn general Functional means, derive the funtional specification from the business requirement document. This job normally is done either by the business analyst or system analyst who has a very good knowledge of the business. In some large organizations </summary><published>2011-12-16T06:52:00Z</published><updated>2011-12-16T06:52:00Z</updated><author><name>SAP 沧海</name><uri>http://www.cnblogs.com/omygod/</uri></author><link rel="alternate" href="http://www.cnblogs.com/omygod/archive/2011/12/16/2290200.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/omygod/archive/2011/12/16/2290200.html"/><content type="html">&lt;p&gt;&lt;strong&gt;&lt;span style="color: #cc0000;"&gt;&lt;span style="font-size: x-small;"&gt;Difference Between BW Technical and Functional&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;In general Functional means, derive the funtional specification from the business requirement document. This job normally is done either by the business analyst or system analyst who has a very good knowledge of the business. In some large organizations there will be a business analyst as well as system analyst.&lt;/p&gt;&lt;p&gt;In any business requirement or need for new reports or queries originates with the business user. This requirement will be recorded after discussion by the business analyst. A system analyst analyses these requirements and generates functional specification document.&amp;nbsp; In the case of BW it could be also called logical design in DATA MODELING.&lt;/p&gt;&lt;p&gt;After review this logical desing will be translated to physical design . This process defines all the required dimensions, key figures, master data, etc.&lt;/p&gt;&lt;p&gt;Once this process is approved and signed off by the requester(users), then conversion of this into practically usable tasks using the SAP BW software. This is called Technical. The whole process of creating an InfoProvider, InfoObjects, InforSources, Source system, etc falls under the Technical domain.&lt;/p&gt;&lt;img src="http://www.cnblogs.com/omygod/aggbug/2290200.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/omygod/archive/2011/12/16/2290200.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/omygod/archive/2011/12/16/2290188.html</id><title type="text">SAP BW中采购的业务报表有哪些</title><summary type="text">Give details of any standard BI report that are relevant to Purchasing?Answer: For any Reports you just go to RSRREPDIR table and execute it and see the cube wise/module wise reports. Eg: Give cube = 0PUR* then execute it will display all reports. Then take COMPUID goto RSZELTTXT table and give th..</summary><published>2011-12-16T06:46:00Z</published><updated>2011-12-16T06:46:00Z</updated><author><name>SAP 沧海</name><uri>http://www.cnblogs.com/omygod/</uri></author><link rel="alternate" href="http://www.cnblogs.com/omygod/archive/2011/12/16/2290188.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/omygod/archive/2011/12/16/2290188.html"/><content type="html">&lt;p&gt;&lt;strong&gt;Give details of any standard BI report that are relevant to Purchasing?&lt;/strong&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Answer: &lt;br /&gt;&amp;nbsp; &lt;br /&gt;For any Reports you just go to &lt;strong&gt;RSRREPDIR&lt;/strong&gt; table and execute it and see the cube wise/module wise reports. &lt;br /&gt;&amp;nbsp; &lt;br /&gt;Eg: Give cube = &lt;strong&gt;0PUR&lt;/strong&gt;* then execute it will display all reports. Then take COMPUID goto RSZELTTXT table and give this ID and get description. &lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;These are some of the BI standard reports for purchasing:&lt;/strong&gt; &lt;br /&gt;&amp;nbsp; &lt;br /&gt;Contract Details : Technical Name: 0SRCT_DS1_Q003 &lt;br /&gt;&amp;nbsp; &lt;br /&gt;Consolidated Purchase Order Value Analysis (Over Three Months) : Technical Name: 0BBP_C01_Q029 &lt;br /&gt;&amp;nbsp; &lt;br /&gt;ABC Analysis :Technical name: 0BBP_C01_Q041 &lt;br /&gt;&amp;nbsp; &lt;br /&gt;Procurement Values with/Without Contracts : Technical Name: 0BBP_C01_Q020 &lt;br /&gt;&amp;nbsp; &lt;br /&gt;Expiring Contracts : Technical Name: 0SRCT_DS1_Q004 &lt;br /&gt;&amp;nbsp; &lt;br /&gt;Quantity reliability :Technical Name: 0BBP_C01_Q011 &lt;br /&gt;&amp;nbsp; &lt;br /&gt;Procurement Values per Service Provider :Technical name: 0BBP_C01_Q019 &lt;br /&gt;&amp;nbsp; &lt;br /&gt;Delivery Delay of Last Confirmation :Technical Name: 0BBP_C01_Q012 &lt;br /&gt;&amp;nbsp; &lt;br /&gt;Procurement Card Use :Technical Name: 0BBP_C01_Q015 &lt;br /&gt;&amp;nbsp; &lt;br /&gt;Procurement Values per Vendor : Technical Name: 0BBP_C01_Q005 &lt;br /&gt;&amp;nbsp; &lt;br /&gt;Procurement Values per Product Category :Technical Name: 0BBP_C01_Q004&lt;/p&gt;&lt;img src="http://www.cnblogs.com/omygod/aggbug/2290188.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/omygod/archive/2011/12/16/2290188.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry></feed>
