Removing Key Figures during Execution

Hi, is there any way to remove any type of Key Figure, from the Key Figure structure during execution time?  If so, how about adding them into the Key Figure structure as well?
Ex.  I have Calculated KF A, and B.  I want to have a button on a Web Template that removes KF B from the entire KF structure.  When it does this action, the only Key Figure shown is KF A.
Any suggestions?  Is there even a function/method in a class to do that?  Even a hide function would work for me.
Thanks.
Message was edited by: Angel Henriquez

Hi,
for filtering, please have a look on
http://help.sap.com/saphelp_nw04/helpdata/en/59/edfe395dd76846e10000000a114084/frameset.htm
For an explanation how to get filter_iobjnm (the uid of the structure) and filter_value (the uid of the structure element) please see:
http://help.sap.com/saphelp_nw04/helpdata/en/76/80a1393e3a6942e10000000a11402f/frameset.htm.
To remove the filter just use the command remove_filter
http://help.sap.com/saphelp_nw04/helpdata/en/82/edfe395dd76846e10000000a114084/frameset.htm
Heike

Similar Messages

  • Two Key figures in Report Painter column?

    Dear Experts,
    We have some company codes with group currency setup and others without this. I have created a report painter report with table GLT0. I want ability to produce a consolidated report for all the company codes.
    However, when I define the report column, I can only select one basic key figure in the column viz. HSL - Local currency or KSL - Group currency for example. In my report I have selected HSL since majority of the company codes report on local currency.
    Is there a way that the program can be told to change the basic key figure during report execution to KSL - Grp Curr for select company codes only?
    Or is there a way to have two basic key figures in a report painter column? I know I sound foolish on this question. But still I ask this.
    Any thoughts, pls share with me. Thanks.
    Vishal Thakur

    You are right Sue. But unfortunately way back in the 90's when our company implemented SAP, those company codes did not activate the 2nd LC as USD. Thus, these companies only have figures updated in the 1st LC which is USD.
    Subsequently, we acquired new companies overseas and then for these co's we switched on the 2nd LC as USD with the 1st LC as the country specific currency.
    Vishal.

  • List key figures in navigation panel of web report

    Hi,
    I have the standard navigation panel on the left side of my web report that shows a list of the characteristics in rows and a list of free characteristics. Under the heading columns I can see the point key figures.
    Is there any possibility to list all the key figures that are included in the report so that I can use the drag and drop function for adding / removing key figures?

    Philipp,
    Since Key figures is a structure, you cant see all the key figures under that area. What you can do is, you can restrict the keyfigures in the WAD report itself based upon your selection.
    Hope it helps,
    Assign Points
    Thanks,
    Gattu

  • Behaviour of key figures when characteristic is removed

    Hi guys,
    in one query I have built it is a business requirement to use key figures where a summation doesn´t make sense and where it does. A summation doesn´t make sense when for example the current credit limit for the current month is necessary. I have also turn over where the summation makes sense for the current month.
    For the key figures where it doesn´t makes sense I am using the function "last value" because the last value of for example June 2011 is needed.
    It works only when the characteristic 0CalMonth is present in the query. When 0CalMonth is removed on those key figures a summation is done.
    For example:
    0Comp_Code 0020 0Customer 01 0CalMonth 05.2011 Credit limit 40000
    0Comp_Code 0020 0Customer 01 0CalMonth 06.2011 Credit limit 10000
    Result Credit limit 10000
    Removing of 0CalMonth
    0Comp_Code 0020 0Customer 01 Credit limit 40000
    0Comp_Code 0020 0Customer 01 Credit limit 10000
    Result Credit limit 50000
    My wish is to show the current value of 06.2011 even if 0CalMonth is removed:
    0Comp_Code 0020 0Customer 01 Credit limit 40000
    0Comp_Code 0020 0Customer 01 Credit limit 10000
    Result Credit limit 10000
    Is that possible when key figures are used in one query where summation and last value is needed?
    Does anybody know this problem and can provide a suggestion for a solution?
    Thank you in advance!
    Edited by: saplaz on Jun 20, 2011 3:08 PM

    Hi
    You can create new key figure for this & add it in a cube. In update rule for this key figure you can create the 'IF ELSE' formula as required based on the 2 different key figures. Or you can write routine also for this field.
    Thanks & Regards
    Sandeep

  • Remove scaling factor from key figure - still shows in Report !

    Hi all,
    A key figure we use somehow had its scaling factor set to 100.
    This was accidental, so I have changed the key figure to have no scaling factor and then activated it.
    The query that uses this key figure still sees it as having the 100 scaling factor however.  While this is the case, I cannot set it to no scaling factor as needed.
    I have tried adding this key figure to a new report and it still comes in with the incorrect scaling factor setting.
    So far I have tried,
    Changed the scaling factor on the key figure to none and activated.
    Regenerated the query through rsrt
    Removing the key figure from the query and then readding as well as adding the key figure to a entirely new report. Incorrect scaling setting still comes through in both cases.
    Checked table RSDIKYFPRO and RSDKYF - both of which have no scaling as their settings for this key figure.
    I know that I could created a restricted key figure in the query from the original and set the scaling factor to none to get around the problem, however I would like the query to see the settings in the key figure.
    Can anyone suggest how I can resolve this ?
    Many thanks,
    Blair

    Was there ever a solution to this problem? I, too, have noticed the same issue. The key figure properties (in my case, # of decimal places) is not inherited in the query, and the only solution was to change the kf properties directly in the query, which I shouldn't have to do. The selection of decimal places "from key figure (0)" does not work; I have to override this and select "0". Anyone seen any notes or anything to fix this?
    Thanks.
    Rachel

  • Removing Drill Down is not summing up the values for key figure

    Hi ,
    While analysing the data in BW report , I have encounter the problem in getting the correct data.
    BW report is showing two records for material , having different customer ie. customer1 & customer 2 .
    If i remove the customer from the Drill down , then values is not summed up , rather it is showing the values only for customer1
    Scenario:
    With  customer drill Down:
    Material    Customer   Key Figure1   Key Figure 2
    Mat1       Customer1     1000          2000
    MAt1       Customer2     3000          4000
    Without customer Drill Down
    Material  Key figure1  Key Figure2
    Mat1          3000          4000
    In the query designer there is restriction of customer on two characteristic in default value pane.
    The issue is happening for particular material , for other material , BW report is working fine.
    Please suggest , to resolve the issue.
    Regards,
    Sudheer

    Hi Sudheer,
    What properties are set on your key figures 1 & 2.  Could they be set to Min or Max.
    There may be an aggregation level set if they are calculated key figures that is worth checking.
    With regards
    Gill

  • How to remove EA in Quantity Key Figure

    Hi,
    I want to remove "EA" from the key figure  10EA (Billing Quantity in Sales Units).
    Can anybody help me please.
    Thanks&Regards,
    Rafi

    Is the EA a unit? whatever it is you could try and use the formula selection No Dimension NODIM(xxx) and this will return only the value.
    For more information on this you should search through the forums.

  • Problems when removing reference of a key-figure structure

    Dear All,
    While working in the query designer, when I remove the reference from a globally used key-figure structure (using the context menu of the structure) for some editing, the query output is then not the same as it use to be when the reference was not removed.
    Do we need to maintain any setting or activate/generate the KF structure once it is changed from its initial state (like in the above case I discussed).
    My Exact problem : -  I have a input ready key figure (for planning) that remains input ready when the query is executed without removing the reference from the structure, however when i remove the reference from the structure, it becomes non-input ready.
    Please suggest.

    Dear All,
    While working in the query designer, when I remove the reference from a globally used key-figure structure (using the context menu of the structure) for some editing, the query output is then not the same as it use to be when the reference was not removed.
    Do we need to maintain any setting or activate/generate the KF structure once it is changed from its initial state (like in the above case I discussed).
    My Exact problem : -  I have a input ready key figure (for planning) that remains input ready when the query is executed without removing the reference from the structure, however when i remove the reference from the structure, it becomes non-input ready.
    Please suggest.

  • Order of update rules execution of multiple key figures

    Can anyone explain the order in which update rules execute if I have 10 key figures and defined one update routine for each key figure?

    Hello GKR
    This is applicable for yupdate rule as well as transfer rule
    start routine executes first ( update rule/transfer routine)
    In update rule the rule which u have defined first, executes first...same in transfer rule..the rule which u define first in transfer rule window executes first...
    Thanks
    Tripple k

  • Key Figures getting added

    Hi All,
    We arein a process of migrating 3.x Transfer rules and update rules to NW2004s. We are following the standard procedure of migrating the objects such that transfer rules are migrated to a transformations and so do update rules.
    In on of the objects while running the loads after migrations the key figures are getting doubled. We were able to debug the standard code and figure out where addition is happening. Strange things is this is a standard SAP code generated in all the migrated objectsbut in this particular case it has generated some extra code which is adding up the key figures. I am pasting code below for your reference and will appreciate if someone can help us to resolve this.
    As mentioned above the below Read statement is standard in all the TRCS transformations which are migrated from update rules. This read statement fails with sy-subrc = 4 because  <_yth_TG_1>. is empty at this stage but during execution it executes the statement INSERT <_ys_TG_1> INTO TABLE <_yth_TG_1> which populates <_yth_TG_1>  and in turn makes the next read statement successful which is extra in this case. There is one more Read statement which is extra in this particular case and is adding up the key figures.
    =====  PUT groups to target
          IF skipseg_all IS INITIAL.
            READ TABLE <_yth_TG_1>
              WITH TABLE KEY
    here it is reading all the different characteristics and key figurs. eliminating this to cut short the lengthof message,
               ASSIGNING <_ys_TG_1>.
            G1_subrc = sy-subrc.
            G1_tabix = sy-tabix.
            IF G1_subrc = 0.
      aggregation SUM
              <_ys_TG_1>-POS_FRE = <_ys_TG_1>-POS_FRE + G1-POS_FRE.
              <_ys_TG_1>-POS_OCC = <_ys_TG_1>-POS_OCC + G1-POS_OCC.
              <_ys_TG_1>-POS_VAC = <_ys_TG_1>-POS_VAC + G1-POS_VAC.
              <_ys_TG_1>-/BIC/ZKMOSALRY = <_ys_TG_1>-/BIC/ZKMOSALRY + G1-/BIC/ZKMOSALRY.
              <_ys_TG_1>-/BIC/ZFILFTEFX = <_ys_TG_1>-/BIC/ZFILFTEFX + G1-/BIC/ZFILFTEFX.
              <_ys_TG_1>-/BIC/ZWRKFTEPX = <_ys_TG_1>-/BIC/ZWRKFTEPX + G1-/BIC/ZWRKFTEPX.
              ls_cross-insegid      = 1.
              ls_cross-inrecord     = l_recno_SC_1.
              ls_cross-outsegid     = 1.
              ls_cross-outrecord    = <_ys_TG_1>-record.
              CALL METHOD i_r_log->add_cross_tab
                EXPORTING
                  I_S_CROSSTAB = ls_cross.
            ELSE.
              ASSIGN rdsTG_1->*          to <_ys_TG_1>.
              CLEAR <_ys_TG_1>.
              MOVE-CORRESPONDING G1 TO <_ys_TG_1>.
              <_ys_TG_1>-requid    = l_requid.
              l_recno_TG_1          = l_recno_TG_1 + 1.
              ls_cross-insegid      = 1.
              ls_cross-inrecord     = l_recno_SC_1.
              ls_cross-outsegid     = 1.
              ls_cross-outrecord    = l_recno_TG_1.
              CALL METHOD i_r_log->add_cross_tab
                EXPORTING
                  I_S_CROSSTAB = ls_cross.
        Record# in target = sy-tabix - if sorting of table won't be changed
              <_ys_TG_1>-record     = l_recno_TG_1.
              INSERT <_ys_TG_1> INTO TABLE <_yth_TG_1>.
              IF sy-subrc <> 0.
                CALL METHOD cl_rsbm_log_step=>raise_step_failed_callstack.
              ENDIF.
            ENDIF.      "Read table
    This read statement is extra in this code and when this executes the sy-subrc becomes zero and then it adds up the key figures.
            READ TABLE <_yth_TG_1>
              WITH TABLE KEY
    **This also contains the characteristics and key figures which are being update as part of the transformations       
               ASSIGNING <_ys_TG_1>.
            G2_subrc = sy-subrc.
            G2_tabix = sy-tabix.
            IF G2_subrc = 0.
      aggregation SUM
              <_ys_TG_1>-POS_OCC = <_ys_TG_1>-POS_OCC + G2-POS_OCC.
              <_ys_TG_1>-POS_VAC = <_ys_TG_1>-POS_VAC + G2-POS_VAC.
              <_ys_TG_1>-POS_COUNT = <_ys_TG_1>-POS_COUNT + G2-POS_COUNT.
      aggregation MAX
              IF G2-POS_CTSPAN > <_ys_TG_1>-POS_CTSPAN.
                <_ys_TG_1>-POS_CTSPAN = G2-POS_CTSPAN.
              ENDIF.
              ls_cross-insegid      = 1.
              ls_cross-inrecord     = l_recno_SC_1.
              ls_cross-outsegid     = 1.
              ls_cross-outrecord    = <_ys_TG_1>-record.
              CALL METHOD i_r_log->add_cross_tab
                EXPORTING
                  I_S_CROSSTAB = ls_cross.
            ELSE.
              ASSIGN rdsTG_1->*          to <_ys_TG_1>.
              CLEAR <_ys_TG_1>.
              <_ys_TG_1>-CURRENCY = G1-CURRENCY.
              MOVE-CORRESPONDING G2 TO <_ys_TG_1>.
              <_ys_TG_1>-requid    = l_requid.
              l_recno_TG_1          = l_recno_TG_1 + 1.
              ls_cross-insegid      = 1.
              ls_cross-inrecord     = l_recno_SC_1.
              ls_cross-outsegid     = 1.
              ls_cross-outrecord    = l_recno_TG_1.
              CALL METHOD i_r_log->add_cross_tab
                EXPORTING
                  I_S_CROSSTAB = ls_cross.
        Record# in target = sy-tabix - if sorting of table won't be changed
              <_ys_TG_1>-record     = l_recno_TG_1.
              INSERT <_ys_TG_1> INTO TABLE <_yth_TG_1>.
              IF sy-subrc <> 0.
                CALL METHOD cl_rsbm_log_step=>raise_step_failed_callstack.
              ENDIF.
            ENDIF.      "Read table
    Thanks for looking into this and will appreciate your response on this.
    Regards
    Raman

    Have you tried the same thing by deleting the extra 'READ' statement?

  • Issue with Bex report - key Figures not populating correctly.

    Hi Experts,
    I am facing an issue with a Bex report. There are three key figures of data type DATE having "Dec - Counter or amount field with comma and sign" datatype. After executing the query, in the report, for some sales documents the key figure fields are coming as 'X' and rest others are coming correctly in the date format as mm\dd\yyyy.
    When i check in the cube, these key figures shows values in decimal format and not in date format. The conversion is happening during execution.
    Pleas show me some light on how to identify the cause of getting 'X' for some Sales documents in the report eventhough some are coming correctly.
    Thanks,
    Anamika
    Edited by: Anamika Soni on Mar 12, 2010 10:48 AM

    Hi,
    The infobject has been defined with datatype "DATE" only. It has also been mapped from datasource to infocube correctly as these key figures are populating correctly for some of the sales documents in the report. It is not like that for all the sales documents the key figures are not converting properly.
    Some Sales documents are not converting into the date fields but for some conversion happens properly in the BEx report. This is the issue.
    Please guide accordingly.
    Many thanks,
    Anamika

  • Building a new Cube Vs Restricted Key figure in Query - Performance issue

    Hi,
    I have a requirement to create  a OPEX restricted key figure in Query. The problem is that the key figure should be restricted to about 30 GL Accounts and almost 300 Cost centers.
    I do not know if this might cause performance issue in the query. At the moment, I am thinking of creating a new OPEX cube and load only those 30 GL Accounts, 300 cost  centers and Amount. and  include OPEX  in multiprovider in order to get OPEX
    amount in the report.
    whats the best solution - creating OPEX restricted key figure or OPEX cube ?
    thanks,
    Bhat

    I think you should go for cube as all the restrcited key figure are calculated at OLAP runtime so it will definitely affect the query performance.There are a lot of costcenter for which you have to restrict it so definitely during the runtime of query it will take a lot of time to fetch tha data from infoprovider.Its better that you create a cube with the restrictions and include it in MP.It will definitely save a lot of time during query execution
    Edited by: shyam agarwal on Feb 29, 2012 10:26 AM

  • Error: Action "Install_WatsonX86_Cpu32_Action" threw an exception during execution

    During install of SqlServer Express 2008 (also I tried Developer Edition 2008 R2 with same error) I have error:
    2014-05-01 17:13:52 Slp: Running Action: Install_WatsonX86_Cpu32_Action
    2014-05-01 17:13:52 Slp: Error: Action "Install_WatsonX86_Cpu32_Action" threw an exception during execution.
    2014-05-01 17:13:52 Slp: Microsoft.SqlServer.Setup.Chainer.Workflow.ActionExecutionException: C:\WINDOWS\Installer\7affd.msi ---> System.IO.FileNotFoundException: C:\WINDOWS\Installer\7affd.msi
    2014-05-01 17:13:52 Slp:    в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetSummaryInformationStringProperty(ServiceContainer context, String pathToMsi, SummaryInformationStreamPropertySet propertyId)
    2014-05-01 17:13:52 Slp:    в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetInstalledSummaryInformationStringProperty(ServiceContainer context, String productCode, SummaryInformationStreamPropertySet propertyId)
    2014-05-01 17:13:52 Slp:    в Microsoft.SqlServer.Configuration.SetupExtension.MsiInstallEngineActionBehavior.ModifyAction(String installedProductCode, String installedProductVersion, String pathOfPackageOnMedia, InstallAction pkgAction)
    2014-05-01 17:13:52 Slp:    в Microsoft.SqlServer.Configuration.SetupExtension.MSIInstallerEngine.InstallPackage(PackageId pkg, InstallAction pkgAction)
    2014-05-01 17:13:52 Slp:    в Microsoft.SqlServer.Configuration.MsiExtension.PackageInstallAction.Execute(String actionId, TextWriter errorStream)
    2014-05-01 17:13:52 Slp:    в Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
    2014-05-01 17:13:52 Slp:    в Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
    2014-05-01 17:13:52 Slp:    --- Конец трассировки внутреннего стека исключений ---
    2014-05-01 17:13:52 Slp:    в Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
    2014-05-01 17:13:52 Slp:    в Microsoft.SqlServer.Setup.Chainer.Workflow.ActionEngine.RunActionQueue()Error: Action "MsiTimingAction" threw an exception during execution.
    2014-05-01 17:13:52 Slp: Microsoft.SqlServer.Setup.Chainer.Workflow.ActionExecutionException: C:\WINDOWS\Installer\7affd.msi ---> System.IO.FileNotFoundException: C:\WINDOWS\Installer\7affd.msi
    2014-05-01 17:13:52 Slp:    в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetSummaryInformationStringProperty(ServiceContainer context, String pathToMsi, SummaryInformationStreamPropertySet propertyId)
    2014-05-01 17:13:52 Slp:    в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetInstalledSummaryInformationStringProperty(ServiceContainer context, String productCode, SummaryInformationStreamPropertySet propertyId)
    2014-05-01 17:13:52 Slp:    в Microsoft.SqlServer.Configuration.SetupExtension.MsiInstallEngineActionBehavior.ModifyAction(String installedProductCode, String installedProductVersion, String pathOfPackageOnMedia, InstallAction pkgAction)
    2014-05-01 17:13:52 Slp:    в Microsoft.SqlServer.Configuration.SetupExtension.MSIInstallerEngine.InstallPackage(PackageId pkg, InstallAction pkgAction)
    2014-05-01 17:13:52 Slp:    в Microsoft.SqlServer.Configuration.MsiExtension.PackageInstallAction.Execute(String actionId, TextWriter errorStream)
    2014-05-01 17:13:52 Slp:    в Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
    2014-05-01 17:13:52 Slp:    в Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
    2014-05-01 17:13:52 Slp:    --- Конец трассировки внутреннего стека исключений ---
    2014-05-01 17:13:52 Slp:    в Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
    2014-05-01 17:13:52 Slp: Received request to add the following file to Watson reporting: C:\Documents and Settings\me\Local Settings\Temp\tmp1C4.tmp
    2014-05-01 17:13:52 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
    2014-05-01 17:13:52 Slp: Inner exceptions are being indented
    2014-05-01 17:13:52 Slp:
    2014-05-01 17:13:52 Slp: Exception type: System.IO.FileNotFoundException
    2014-05-01 17:13:52 Slp:     Message:
    2014-05-01 17:13:52 Slp:         C:\WINDOWS\Installer\7affd.msi
    2014-05-01 17:13:52 Slp:     Stack:
    2014-05-01 17:13:52 Slp:         в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetSummaryInformationStringProperty(ServiceContainer context, String pathToMsi, SummaryInformationStreamPropertySet
    propertyId)
    2014-05-01 17:13:52 Slp:         в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetInstalledSummaryInformationStringProperty(ServiceContainer context, String productCode, SummaryInformationStreamPropertySet
    propertyId)
    2014-05-01 17:13:52 Slp:         в Microsoft.SqlServer.Configuration.SetupExtension.MsiInstallEngineActionBehavior.ModifyAction(String installedProductCode, String installedProductVersion, String pathOfPackageOnMedia,
    InstallAction pkgAction)
    2014-05-01 17:13:52 Slp:         в Microsoft.SqlServer.Configuration.SetupExtension.MSIInstallerEngine.InstallPackage(PackageId pkg, InstallAction pkgAction)
    2014-05-01 17:13:52 Slp:         в Microsoft.SqlServer.Configuration.MsiExtension.PackageInstallAction.Execute(String actionId, TextWriter errorStream)
    2014-05-01 17:13:52 Slp:         в Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
    2014-05-01 17:13:52 Slp:         в Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
    2014-05-01 17:13:56 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\Microsoft SQL Server to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_171325\Registry_SOFTWARE_Microsoft_Microsoft SQL Server.reg_
    2014-05-01 17:13:56 Slp: Sco: Unable to write hklm registry key SOFTWARE\Microsoft\Microsoft SQL Server to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_171325\Registry_SOFTWARE_Microsoft_Microsoft SQL Server.reg_, Win32 error
    2
    2014-05-01 17:13:56 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_171325\Registry_SOFTWARE_Microsoft_Windows_CurrentVersion_Uninstall.reg_
    2014-05-01 17:13:56 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\MSSQLServer to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_171325\Registry_SOFTWARE_Microsoft_MSSQLServer.reg_
    2014-05-01 17:13:56 Slp: Sco: Unable to write hklm registry key SOFTWARE\Microsoft\MSSQLServer to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_171325\Registry_SOFTWARE_Microsoft_MSSQLServer.reg_, Win32 error 2
    I checked C:\WINDOWS\Installer\ for "7affd.msi" - there is no such file. Also I checked same folder on Win7-64 machine and Notebook WinXP-Pro - there is no such file. I was able to install Express on both Win7-64 and Notebook, but not on this machine.
    I've tried searching for "7affd.msi" on internet without luck. Also I removed all Visual Studio Express 2010 and used any "Fix-It" utilities to check files and registry. And still have same error.
    How to fix it?

    Overall summary:
      Final result:                  Failed: see details below
      Exit code (Decimal):           -819060177
      Exit facility code:            1838
      Exit error code:               8751
      Exit message:                  C:\WINDOWS\Installer\7affd.msi
      Start time:                    2014-05-01 21:16:41
      End time:                      2014-05-01 21:17:00
      Requested action:              ComponentUpdate
      Log with failure:              C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_211629\Detail_ComponentUpdate.txt
      Exception help link:           http%3a%2f%2fgo.microsoft.com%2ffwlink%3fLinkId%3d20476%26ProdName%3dMicrosoft%2bSQL%2bServer%26EvtSrc%3dsetup.rll%26EvtID%3d50000%26ProdVer%3d10.0.1600.22%26EvtType%3d0xCF2E222F
    Machine Properties:
      Machine name:                  3R-XP
      Machine processor count:       4
      OS version:                    Windows XP
      OS service pack:               Service Pack 3
      OS region:                     Россия
      OS language:                   русский (Россия)
      OS architecture:               x86
      Process architecture:          32 Bit
      OS clustered:                  No
    Package properties:
      Description:                   SQL Server Database Services 2008
      SQLProductFamilyCode:          {628F8F38-600E-493D-9946-F4178F20A8A9}
      ProductName:                   SQL2008
      Type:                          RTM
      Version:                       10
      SPLevel:                       0
      Installation location:         j:\85c0db9df26d4ae0b40b522d393a\x86\setup\
      Installation edition:          EXPRESS
    User Input Settings:
      ACTION:                        ComponentUpdate
      CONFIGURATIONFILE:             
      HELP:                          False
      INDICATEPROGRESS:              False
      MEDIASOURCE:                   j:\85c0db9df26d4ae0b40b522d393a\
      PID:                           *****
      QUIET:                         False
      QUIETSIMPLE:                   False
      X86:                           False
      Configuration file:            C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_211629\ConfigurationFile.ini
    Detailed results:
    Rules with failures:
    Global rules:
    There are no scenario-specific rules.
    Rules report file:               C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_211629\SystemConfigurationCheck_Report.htm
    Exception summary:
    The following is an exception stack listing the exceptions in outermost to innermost order
    Inner exceptions are being indented
    Exception type: System.IO.FileNotFoundException
        Message:
            C:\WINDOWS\Installer\7affd.msi
        Data:
          DisableWatson = true
        Stack:
            в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetSummaryInformationStringProperty(ServiceContainer context, String pathToMsi, SummaryInformationStreamPropertySet propertyId)
            в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetInstalledSummaryInformationStringProperty(ServiceContainer context, String productCode, SummaryInformationStreamPropertySet propertyId)
            в Microsoft.SqlServer.Configuration.SetupExtension.MsiInstallEngineActionBehavior.ModifyAction(String installedProductCode, String installedProductVersion, String pathOfPackageOnMedia, InstallAction pkgAction)
            в Microsoft.SqlServer.Configuration.SetupExtension.MSIInstallerEngine.InstallPackage(PackageId pkg, InstallAction pkgAction)
            в Microsoft.SqlServer.Configuration.MsiExtension.PackageInstallAction.Execute(String actionId, TextWriter errorStream)
            в Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
            в Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)

  • Calculate total and average for same key figure

    Hi Experts,
    I have a requirement where I need to calculate total and average for same key figure no of employees.
    eg:                
    If I enter 03,2009 as Input the reuslt should give from financiual year starting to current month.
         11.2008      12.2008     1.2009     2.2009     3.2009        average
             11          10       12       10        10         10.6
             10         10       11       12        10         10.6
    total         21         20       23       22        20          21.2
    we have only one characteristic in rows... companycode.
    Waiting for your Inputs.
    Regards
    Prasad Nannuri

    no it will work for u
    you have to use variable on 0calmonth or fiscal period depending on what Time characteristic u are using.
    lets say that variable is zcalmonth
    it is based on 0calmonth for e.g.
    now u restrict keyfigure with this variable zcalmonth with time char. = 0CALMONTH
    copy and paste the restricted keyfigure
    now set offset for variable in  variable selection screen dialog box = -1
    repeat this until u want
    make this variable mandatory
    now at query execution user will select any value for month/year
    and u will see all 5 months in result set
    now there can be maximum 12 months in a year, so u end up creating only 12 restricted keyfigures.
    use YEAR in restricted keyfigure too, and restrict it with YEAR VARIABLE processing by CUSTOMER EXIT = CURRENT YEAR
    in this case it will automatically removes any additional values...
    for e.e.g
    YEAR = 2008 only
    User entered 6/2008
    so lets say ur financial year starts in  april 2007 and ends in april 2008
    so u expect to see
    4/08
    5/08
    6/08
    but u created 12 restricted keyfigures , so it will show upto
    4,5,6 months only

  • Computing 2 cummulated key figures

    Hi All,
    We receive a requirement to develop a report that would able to compute 2 cummulated key figures in BW. I was informed this was not able to be done in the normal BeX query formula as the cummulative values are computed during query execution.
    Example:
    Usages   Loss/Gain       %LOSS/GAIN (=SUM(Usages)*100/SUM(Loss/Gain))
    is there a way to do this in BeX or must this be done during back-end execution.

    Thanks Suman - but i think BeX is not able to handle 2 cummulated key figure values and calculate them in a formula correctly:
    The % Tol - is picking up cummulated values from Usages and Daily Gain/Loss - only way i can think of is to store this in the cube.
    Usages     % Tol     Daily Gain/Loss
    25,713     372             95,666
    32,584     -64.52     -133,278
    31,302     0.35              37,924
    29,915     0.56              362

Maybe you are looking for

  • Printhead issues with HP Officejet Pro X476dw MFP

    I have a HP Officejet Pro X476dw MFP at my home office that I use for when I work from home. The printer was purchased about 8 months ago but get very little usage as its just used by me a couple of days a week at most when I stay home and work. I fr

  • Family share invitation not sent

    I have followed the procedure to set up family share with my wife who has a Mac Book Pro running the latest OS. The invitation shows as sent on my iPhone but has not been received by my wife on her gmail address.

  • We have version mac os x 10.6.8

    We downloaded facetime on our imac and we got the icon on our dock and clicked on it and the box came up with our picture.  We entered our apple id that we've always used and it took forever and came back saying, could not sign in please check your n

  • "SyntaxError: unterminated literal string" message received when opening new window or tab

    I receive this message every time I open Firefox the first time online, and with each new window or tab I open after that. I don't receive the message more than once if I only work in the original window. Other than the usual updates that always go o

  • How do i determine if i am using 32 or 64 bit?

    I am having issues syncing my phone with i tunes, how do i determine if i am operating 32 or 64 bit?