Update rule problem('No keyfigure is set to update')

Hi
Iam trying to create one more update rule on a cube which is having already update rule and connected to datasource.
But iam unable to create on it. It was giving an error i.e
'No keyfigure is set to update'. And iam unable to see the keyfigures of second cube as it was showing only First cubes keyfigures. What can be the problem.
Could u plz tell me how to rectify it.
Regards
AJay

Hello Ajay,
Did you ensure that you are assigning the correct Infosource or the ODS object while creating another set of update rules. Key figures, by default are set to no update. So you need to map the key figures with source key figures or you can compute a specific key figure with a formula or a routine.
Hope this helps.
Kind Regards,
Shravan

Similar Messages

  • Update rule problem - validation of "sales/cost w/ tax" keyfigure

    BW Gurus,
        Hi to all, i have this update rule problem at "sales/cost w/tax" keyfigure here is the senario.
        Our Goverment mandatory implemented an additional 2% tax from the original 10%, this will affect our report on sales, and also the BW "sales/cost w/ tax" key figure.
        My question is How can I validated the effectivity of the new tax? i have tax 10% from previous sales and 12% on the current sales. What "date field" can I use to validated this. I am using /BIC/CS2LIS_13_VDITM stucture to get the data i need.
    Thanks in Advance
    Joven

    Hi,
    Till to day how are extracting the data for tax(original 10%) is it available directly in 2LIS_13_VDITM ?
    Usually all taxes( condition types) can be extracted by the data source 2LIS_13_VDKON.Discuss with SD team, they may give the condition type used for different taxes.
    With rgds,
    Anil Kumar sharma .P

  • Update Rule problem

    Hi frndz,
    I have one query regarding update rule.
    i want to ask you the question that while defining the routine on particular keyfigure is it requierd to maintain the sequence of the field as it is in cube.
    Like i am facing a starnge problem i have just now updated system to 3.5 now my problem is i have a master data material in that i have wriiten few update rule on specific fields,now when i am loading the data in material master data few of the material having the value others dont have.
    i think some problem lies in update rule i have checked correctly every thing is fine with the update rule,
    can any one suggest me why its behaving strangely.

    i have tried that but no where i am getting the problem.
    like after debugging i got the value correctly till the PSA but its not going correctly in data target.

  • Master Data lookup in Update Rule problem

    Hi all,
    I am currently having a problem loading data to an InfoCube using flat files.
    The architecture is as follows:
    1) The source of the data is a flat file
    2) The data is loaded thru an Update Rule and is of type Full-Update
    3) The Update Rules determines the Profit Center using the Master Data of the WBS-Element
    4) The data is written in an InfoCube
    This solution however does not always work as planned. In the following situation a problem occurs:
    1) The flat file contains WBS-element RD.00753.02.01, which has a Profit Center attribute value 8060
    2) When I load the flat file, the PC value 8060 is written into the row in the InfoCube, which is correct
    3) Then I change the master data of the WBS-element by setting the Profit Center attribute value to 8068
    4) I run the Attribute Change Run
    5) Then i load a flat file again, which also contains WBS-element RD.00753.02.01
    6) The master data attribute value should now write the value 8068 into the InfoCube. HOWEVER, this is when the evil occurs. BW does not write a PC value of 8068, but it write the value 8060. This is wrong.
    Why does BW not take the newest version of the Master Data to performe the attribute value look-up? Or why doesn't BW write the correct Profit Center into the cube?
    Thanks,
    Onno

    Hi Ricardo,
    The debug via PSA simulation of the update indicates that the CORRECT Profit Center value is to be written into the InfoCube.
    However, if I check the contents of the cube (after the load has finished) using the request-id the WRONG Profit Center value is shown. This indicates that the correct Master Data is used, however the update of the Cube is wrong. Why does this happen. the load is of type full-update, so should add a new row in the cube using the value in the data from the UR.
    Onno

  • Update rule problem - while data load

    Hi friends,
    I got the following error while doing initialisation for 2lis_02_sgr.
    "ABORT was set in the customer routine 9998
    Error 1 in the update "
    In the forum i searched for this error and this error is something related to the start routine in my update rule.
    But i dont know whats wrong with my routine.
    Im giving the start routine below,pls go through this and give me your suggestions..
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TABLES: ...
    <i>TABLES /bic/AZMM_PUR100 .
    DATA:  T_PUR1 LIKE /bic/AZMM_PUR100 OCCURS 0 WITH HEADER LINE.</i>
    $$ end of global - insert your declaration only before this line   -
    The follow definition is new in the BW3.x
    TYPES:
      BEGIN OF DATA_PACKAGE_STRUCTURE.
         INCLUDE STRUCTURE /BIC/CS2LIS_02_SGR.
    TYPES:
         RECNO   LIKE sy-tabix,
      END OF DATA_PACKAGE_STRUCTURE.
    DATA:
      DATA_PACKAGE TYPE STANDARD TABLE OF DATA_PACKAGE_STRUCTURE
           WITH HEADER LINE
           WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
    FORM startup
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
               MONITOR_RECNO STRUCTURE RSMONITORS " monitoring with record n
               DATA_PACKAGE STRUCTURE DATA_PACKAGE
      USING    RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal tables "MONITOR" and/or "MONITOR_RECNO",
    to make monitor entries
    if abort is not equal zero, the update process will be canceled
      CLEAR: T_PUR1[] ,
             T_PUR1,
             ABORT.
      SELECT * INTO TABLE T_PUR1 FROM /bic/AZMM_PUR100.
      IF SY-SUBRC EQ 0.
        SORT T_PUR1 BY DOC_DATE
                       DOC_ITEM
                        DOC_NUM.
      ELSE.
        MONITOR-msgid = sy-msgid.
        MONITOR-msgty = sy-msgty.
        MONITOR-msgno = sy-msgno.
        MONITOR-msgv1 = sy-msgv1.
        MONITOR-msgv2 = sy-msgv2.
        MONITOR-msgv3 = sy-msgv3.
        MONITOR-msgv4 = sy-msgv4.
        append MONITOR.
      if abort is not equal zero, the update process will be canceled
             ABORT = 1.
      ENDIF.
       ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    ENDFORM.
    Thanks & Regards
    Ragu

    thanks gimmo and a.h.p,
    i have done the correction as you said,pls verify that.
    And also kindly explain me what is the reason for this start routine,what exactly it does???
    CLEAR: T_PUR1[] ,
             T_PUR1,
             ABORT.
      SELECT * INTO TABLE T_PUR1 FROM /bic/AZMM_PUR100.
      IF SY-SUBRC EQ 0.
        SORT T_PUR1 BY DOC_DATE
                       DOC_ITEM
                        DOC_NUM.
    abort = 0.    (  added  abort = 0 as per your suggestion )
      ELSE.
        MONITOR-msgid = sy-msgid.
        MONITOR-msgty = sy-msgty.
        MONITOR-msgno = sy-msgno.
        MONITOR-msgv1 = sy-msgv1.
        MONITOR-msgv2 = sy-msgv2.
        MONITOR-msgv3 = sy-msgv3.
        MONITOR-msgv4 = sy-msgv4.
        append MONITOR.
      if abort is not equal zero, the update process will be canceled
             ABORT = 1.
    exit. ( added exit as per your suggestion )
      ENDIF.
       ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    ENDFORM.
    Thanks & Regards
    ragu

  • Update rule problem for date in Prod

    My scenario is like this:-
    ODS 2 is loaded from ODS 1, in ODS 1 there is a data field calendar day (DATS, time characteristic) and there is a data field posting date (DATS, characteristic) in ODS 2. In the update rule, the posting date is updated from calendar day by a formula source. 
    The problem is the posting date data field is updated into ODS 2 correctly in development box but it is not updated (blank) in production box.  I can't figure out what is the cause, hopefully someone can give me some help.  Thanks.
    Cheers!
    Cecil

    The only different is the development system is having this part of code in the update rules program compare to production system.  Do I need to compile the update rules formula manually?
    *This ABAP Code was generated automatically          *
    *Formula Calculator                                  *
    *Generated :2008:09:12-10:47
    *User: XXX
    *Calculation:
    result = COMM_STRUCTURE-CALDAY.
      ENDCATCH.
      if sy-subrc <> 0.
        perform error_message using 'RSAU' 'E' '507'
                'ROUTINE_0004' g_s_is-recno
                rs_c_false rs_c_false g_s_is-recno
                changing c_abort.
      endif.
    Cheers!

  • Update Rule Problem for conversion char values

    Hi all,
    I need to implement the following logic into the update rule:
    data: ch1(10) type c,
    ch(8) type c.
    ch = ch1.
    The value in ch1 can be only characters or only numbers. I am facing problem in converting this, as characters are left aligned and the numbers are right-aligned.
    Please guide.
    Thanks

    Another example can be:
    data: ch1(10) type c,
    ch(8) type c,
    ln type n.
    ch1 = '0000000010'.
    condense ch1.
    ch = ch1.
    write:/ ch1, '-----', ch.
    In this case, we get only 0 in ch field.
    Thanks,

  • Update rule problem - Urgent pls???

    Hi friends,
    Below is the code i used in my start routine of the update rule.
    Here im sorting the values and then for calday field im filling with the value if it is empty.
    eg:
    rec1>ord001>25.06.2006-->val1
    rec2>ord001>          -->val1
    in the second record im filling with date of the previous record.
    This logic is working fine.If i give any one order number.
    If i load all the values,it is not updating.
    I think this rule is not getting applied for all the datapackets..(something like that-any problem with looping???)
    Awaiting for your valuable suggestion asap..
    Thanks&Regards
    Ragu
    $$ begin of global - insert your declaration only below this line  -
    TABLES: /BIC/AZPP_O200.
    DATA:   zpp02 like /bic/azpp_O200 occurs 0 with header line,
            mcalday like sy-datum.
    Clear : ZPP02[],
              ZPP02,
              mcalday.
      SORT DATA_PACKAGE BY PRODORDER ASCENDING
                           COMPONENT ASCENDING
                           CALDAY    DESCENDING.
    Loop At DATA_PACKAGE.
             if DATA_PACKAGE-CALDAY ne '00000000'.
                mCalDay = DATA_PACKAGE-CalDay.
             else.
                DATA_PACKAGE-CALDAY = mCALDAY.
                MODIFY DATA_PACKAGE INDEX SY-TABIX.
                clear : mCalday.
             endif.
          EndLoop.

    I think that the metter happens when the first record is in a datapackage and the second in next one.
    In that case you have the matter.
    The only way you can do this right is managing data directly in PSA table befor loading.
    Also if you have two record with DATA_PACKAGE-CALDAY = '00000000' the secon is filled with '' because fo the clear.
    Hope it helps.
    Regards

  • Update rule problem in stock

    Hi
    I am working with inventory managemnt.I am facing few issues in update rules like:-
    1.I am not able to find coressponding source info objects for the customized one .
    2.I am not able to find the some of the charactertics mapped to their info objects in the charactertics tab in the key figures.
    3. I some how activate the update rule, but it is not showing data in the cube contents while the request is there.
    thanx in advance.

    The only different is the development system is having this part of code in the update rules program compare to production system.  Do I need to compile the update rules formula manually?
    *This ABAP Code was generated automatically          *
    *Formula Calculator                                  *
    *Generated :2008:09:12-10:47
    *User: XXX
    *Calculation:
    result = COMM_STRUCTURE-CALDAY.
      ENDCATCH.
      if sy-subrc <> 0.
        perform error_message using 'RSAU' 'E' '507'
                'ROUTINE_0004' g_s_is-recno
                rs_c_false rs_c_false g_s_is-recno
                changing c_abort.
      endif.
    Cheers!

  • Instaling the update rules problem

    Hi iam Installing  the std update rules.  like 0sd_co3 2lis_13_vdhdr by selctig grouping as before and instaling. its showing an error as>
    IC=0SD_C03 IS=2LIS_01_S263ERROR WHEN CHECKING THE UPDATE RULES ..
    CAN U PLS HELP ME FOR THE SAME. HOW TO INSTAL IT AS  I HAVE TO ISTAL AND ACTIVATE THE FEW MORE UPDATE RULES AS IAM GETING ERROR FOR ALL .ITS 3.5
    PLS DO IT ASAP

    Try to  activate your update rules btween 8ZSL_DS01 and ODS and cube.
    It seems your Datamart is not working properly for the datamart data source 8ZSL_DS01 and try to regenerate datamart
    Or lese try to load earch one at time and see the result
    Edited by: Prasad B on Aug 29, 2008 4:41 PM

  • An update rule question - Filter out categories within an update rule

    Hi All,
    I am trying to filter out some categories within the update rule and I appreciate any help with points.
    Here is the scenario:
    My category field is Z_CAT and I want to delete all the categories except 'A' 'B' and 'C'.
    I tried couple routines but non of them worked fine so far.
    Regards,
    Mike

    HI Mike,
    One is that is suggested by my friends
    Instead of a Hardcore filter based on your requirement In the DTP you can filter the data .
    In the DTP ,Se;ect that object in the Filter and select the Criteria as Not Equal to A B and C and then Extract the data.
    The advantage is that even if u want to filter or add one category say "D" the it is posiible at the DTP level whereas at the Routnie level u have to make changes and collect them i a request and  then u have to transport it.
    So decide based on ur requirement.
    Rgds
    SVU123
    Edited by: svu123 on Mar 25, 2009 7:19 PM

  • Record in DSO Active Table different from result of Update Rule Simulation

    Hi,
    I have a problem with the update of a particular Data Field for certain records via an Update Routine in 3.x Update Rules, from a Source DSO to one Target DSO.
    The DSO Key is the same in the Source DSO and the Target DSO. The Update Routine for the particular (target) Key Figure performs a calculation based on a number of COMM_STRUCTURE Data Fields and gives the Result. For this specific record, the Result being written to the target DSO is 0.00 (It is an 'Amount' Key Figure).
    Based on the Update Routine (which I have run through functionally), this is the incorrect result.
    However, I have run Simulation for this record and the correct result is simulated into the Data Target. I have also run the simulation with Debugging on the Update Rules. Each component/step of the Update Routine is processed correctly, eventually giving the correct result.
    I have tried to re-perform the load and I continually get the same result. This is occurring for a number of records being updated, but not all. Some records where the result of this Data Field is being calculated correctly are 'identical' in all important areas to the problem records.
    The problem records all appear to be in the same Data Package, however that Data Package also contains records being processed correctly.
    Based on the Simulation/Debugging it appears that the Update Routine is correct, however if anyone is willing to have a stab at this I am happy to send you the code.
    Also, a short time ago, we took a copy back from our Production system to our QA system. As a result, this record exists in the QA system as well. I have performed the load there and the record is processed correctly. The Production and QA systems are in line.
    Thanks and Regards,
    Tom

    Hi Ramesh,
    Thanks for posting a response. This is an Update Routine rather than a Start Routine.
    Also, in answer to the Sudhi's reply/post, Yes, the Update Type has been set to Overwrite.
    The problem is actually only present in Production.  Changes was made through our landscape some time ago (this is not my development).
    These changes have been tested through QA and were working. It is only when a reload has taken place in production that this issue has been occurred. A reload has then taken place in QA and has worked successfully.

  • Update rule

    BW needs 6 decimal places - The Group and Legal costs that are sent to BW from R/3 contain as many as 6 decimal places.  As cost fields, the Group and Legal Costs are stored in BW as currencies and therefore have only 2 decimal places.  The two objects are going to need to be changed to be floating point numbers and then the update rules , I want to know what this update rule will do to populate group and legal cost. please tell me how to write update rule to populate the field group and legal cost
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TABLES: ...      DATA:   /BIC/AZCOPC_O200.
    DATA:   WS_ZLGL_COST(16) decimals 4 TYPE P,
             WS_ZGRP_COST(16) decimals 4 TYPE P.
    DATA: ZPRICE_AVG LIKE /BIC/AZCOPC_O100-PRICE_AVG.
    DATA: ZPRICE_STD LIKE /BIC/AZCOPC_O100-PRICE_STD.
    DATA: ZPRICE_VAL LIKE /BIC/AZCOPC_O100-PRICE_VAL.
    DATA: ZPRICE_VAL1 LIKE /BIC/AZCOPC_O100-PRICE_VAL.
    DATA: ZPRICE_VAL2 LIKE /BIC/AZCOPC_O100-PRICE_VAL.
    CLEAR WS_ZLGL_COST.
    CLEAR WS_ZGRP_COST.
    DATA:  i_/BIC/AZCOPC_O140 like /BIC/AZCOPC_O140.
    $$ end of global - insert your declaration only before this line   -
    FORM compute_data_field
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
               RESULT_TABLE STRUCTURE /BIC/AZCOPC_O100
      USING    COMM_STRUCTURE LIKE /BIC/CS0CO_PC_ACT_05
               RECORD_NO LIKE SY-TABIX
               RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
               ICUBE_VALUES LIKE /BIC/AZCOPC_O100
      CHANGING RETURNCODE LIKE SY-SUBRC  "Do not use!
               ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal table "MONITOR", to make monitor entries
    result value of the routine
      RESULT = ws_zgrp_cost.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    ENDFORM.

    Soniya,
    I don't understand why you need to write the update rules to make the 2 decimal key figure to 6 decimal key figure. Also, if the keyfigure is only 2 decimal type how will you change the properties of the key figure via the update rule?
    All you need to do is change the properties of the data element/domain associated with the key figure and reactivate the key figure infoobject. Here are the steps.
    1) Display the key figure info object (e.g 0AMOUNT).
    2) Under the "additional properties" tab, you will see the data element. Double click on the data element, you will see the domain that was used to create the data element.
    3) In SE11, edit that domain and change from 2 decimal to 6 decimal. If it is a SAP object and you are not able to change it, create a new custom object exactly like the SAP object and select 6 decimal places and activate it.
    4) Now, in the data element make sure you are using the changed domain and activate the data element.
    5) Edit your Key Figure and reactivate it.
    From now on, this key figure will always have 6 decimal places instead of the 2. One thing to remember is if you change the domain from 2 to 6 decimals, all the data elements that are based on that domain may be impacted. So, I would recommend that you create a new Z*** domain and use that in the data element so that the other data elements are not impacted.
    Abdul

  • Missing Update Rules for 0IC_C03 in Business Content

    We had a problem with 0IC_C03,  so we decided to reload from Business Content and then migrate to 7.0 format again.
    However, when we try to gather all of the dependent objects for the InfoCube in Business Content, we only get one set of obsolete update rules (2LIS_40_S278), and the update rules for 2LIS_03_BX, 2LIS_03_BF, 2LIS_03_UM do not show up.  They do not appear under update rules, either.
    I know they were there at one point because I activated and migrated the cube once already.
    Can someone help us find our lost update rules?

    Hi Dan,
    There are no update rules deliverd with BI 7.0 for 0IC_C03. There are only
    transformations Delivered as part of the content. In the new release
    Transformation replace the update rules and the transfer rules.                                                                               
    You have the 3 data sources and the associated transformations to  
    upload data to the infoCube.                                                                               
    Transformations installed                                          
    TRCS 2LIS_03_BF_TR -> CUBE 0IC_C03                                 
    TRCS 2LIS_03_BX_TR -> CUBE 0IC_C03                                 
    TRCS 2LIS_03_UM_TR -> CUBE 0IC_C03                                                                               
    DataSources installed                                             
    2LIS_03_BF                                                        
    2LIS_03_UM                                                        
    2LIS_03_BX

  • Update rule 0CFM_C11 0CFM_MARKET_RATES: not executable

    Hi BI friends
    We would like to activate the BI content for update rule 0CFM_C11 ->  0CFM_MARKET_RATES.
    After selecting this update rule in BI content area of RSA1 and simulating the installation we get errors:
    Chararacteristic 0CFM_AC_REF is available in version M but not in version D
    Chararacteristic 0CFM_BOOK_S is available in version M but not in version D
    Chararacteristic 0CFM_BT_CT is available in version M but not in version D
    Chararacteristic 0CFM_BT_ID is available in version M but not in version D
    Chararacteristic 0CFM_FLO_TP is available in version M but not in version D
    Chararacteristic 0CFM_FL_NR is available in version M but not in version D
    All of the mentioned characteristics are in a active version.
    Where is the problem for installing this business content? How can we fix it?
    thanks for your help!
    BEOplanet

    Hi Andreas
    I have tried your proposal no. 1 via RSA1: no success. I am getting the same error message:
    Regarding your proposal no. 2 via FM RSDG_IOBC_REORG: How should I set the fields after executing the FM?
    I_OBJVERS                       A
    I_PROGRESS                      R
    I_IOBJTP                        *
    I_ALL_IOBJ                      R
    I_T_IOBJNM                         0 Einträge
    I_BYPASS_BUFFER                 R
    Thanks
    BEOplanet

Maybe you are looking for