Key Figure missing in update rules

Hi All,
A Key figure is missing in Update rule of ODS & Infocube.
But it is listed in infosource ( comm. & transfer structure) of ODS.
Why it is so . Any suggestions.
infosource->ODS_>infocube.
Please help me.
Edited by: anand k on Mar 24, 2008 12:16 PM

Hi,
I will give the process that I followed (as you specified) now:
1. I deleted the Source System Assignment for the Infosource.
2. Next went to Source Systems. Right click on source system and replicate it.
3. Select the InfoSoucre and assign the Data Source.
4. Here I automatically got the Field(ZZMBGBTR).
5. I added the field in the Communication Structure. and then assigned the Transfer Rules.  Next activated the InfoSource.NExt checked the InfoCube for the KeyFigure. That InfoObject ZQTY is available.
6. I activated the InfoCube. Right Click and select Create Update Rules. Still I didnt got that InfoObject.
Regards
Jay

Similar Messages

  • Key figure routine in update rules

    I have a Cube (X) that gets data from a ODS (A) but one of the key figures gets the data from another ODS (B) with a routine in update rules and I want to change it to ODS (C)
    A (All objects except one) - X (All objects except one)
    B (0DEB_CRE_LC) - X (0DEB_CRE_LC)
    select sum( DEB_CRE_LC )
             into RESULT
             from /BIC/AZDOC_SUB00
             where OI_EBELN EQ COMM_STRUCTURE-OI_EBELN
              and OI_EBELP EQ COMM_STRUCTURE-OI_EBELP
              and /BIC/ZCLASC_ID EQ COMM_STRUCTURE-/BIC/ZCLASC_ID
              and PSTNG_DATE LE l_datafim
              and PSTNG_DATE GE l_datainicio
              and /BIC/ZTPOPER = '9'.
    My problem is that my ODS (C) doesn't have 0DEB_CRE_LC and the values are divided in 2 key figures (D) & (E), I want to sum both key figures into 0DEB_CRE_LC of the cube.
    I tried a tip from a friend but didn't work, I'm lost (newbie), and apreciated some tips, it doesn't seem to sum anything
    data: result1 type /BIC/AZPUR_S0100-/BIC/ZSLIQ_VAL,
          result2 type /BIC/AZPUR_S0100-/BIC/ZSIVA_VAL.
    select sum( /BIC/ZSLIQ_VAL ) sum( /BIC/ZSIVA_VAL )
             into (RESULT1, RESULT2)
              from /BIC/AZPUR_S0100
               where OI_EBELN EQ COMM_STRUCTURE-OI_EBELN
                and OI_EBELP EQ COMM_STRUCTURE-OI_EBELP
                and /BIC/ZCLASC_ID EQ COMM_STRUCTURE-/BIC/ZCLASC_ID
                and PSTNG_DATE LE l_datafim
                and PSTNG_DATE GE l_datainicio.
      write result1.
      write result2.
    Many thankx

    data: result1 type /BIC/AZPUR_S0100-/BIC/ZSLIQ_VAL,
    result2 type /BIC/AZPUR_S0100-/BIC/ZSIVA_VAL.
    select sum( /BIC/ZSLIQ_VAL ) sum( /BIC/ZSIVA_VAL )
    into (RESULT1, RESULT2)
    from /BIC/AZPUR_S0100
    where OI_EBELN EQ COMM_STRUCTURE-OI_EBELN
    and OI_EBELP EQ COMM_STRUCTURE-OI_EBELP
    and /BIC/ZCLASC_ID EQ COMM_STRUCTURE-/BIC/ZCLASC_ID
    and PSTNG_DATE LE l_datafim
    and PSTNG_DATE GE l_datainicio.
    write result1.
    write result2.
    <u>RESULT = result1 + result2</u>
    I still have to test it, first i was getting syntax errors because I didn't put spaces right sorry

  • Some key figure are not update for movement type 101

    Dear All,
    I have done load for Inventory and now i am finding that for some material the with movement type 101 the key figures are not getting populated, for these materials the values in characteristics is getting populated fine.
    I have loaded the data according to stranded procedure in "How to Load...."
    I have checked the values of material in R3 and it is there.
    Example of the record::
    Material    Plant Movement type  Calender Day    quanity Base Unit
    10101      01       350                     01.02.2006     20             KG
    10101        01       101                     05.07.2006                      KG
    10101         01      101                      10.07.2006                      KG
    The Quantity is not appearing in second and third record.

    Hi,
    Please check whether you have set  ''Rule groups''  at transfermation level . There you can set the conditions like materials having movement type X can be updated to one Key Figure and material having movement type Y can be updated to another Key figure.
    Please check whether you have set this option at transfermation level.
    For example, may be in your case materials from different plants are updating to different key figure.
    Thanks,
    Edited by: kavitha nagandla on Feb 17, 2010 7:19 AM

  • Fields missing in Update rules

    I am creating snap shot DSO for inventory management and after that i created the update rules for it linking it to the info source 2LIS_03_BX. When i do this i am missing the info objects that i created to include in the DSO. How do i solve this issue as those info objects are very important and i have to create the routines for it.
    I have got the units for those fields and they are mapped but the info objects itself are missing.
    Thanks for any help in advance
    Naveen

    HI Naveen,
    Yes, you can include the missing infoobject in DSO. for that you need to follow bellow steps:
    a). Delete the data from DSO.
    b). you have to include the infoobject in DSO.
          Double click on  DSO>select chage mode->select keyfield /data field node--->right click select Infoobject Direct Input.
    c). Activate the DSO
    Brief Description about 2LIS_03_BX :
    The 2LIS_03_BX is used to extract an opening stock balance on a detailed level (material, plant, storage location and so on). At this moment, the opening stock is the operative stock in the source system. "At this moment" is the point in time at which the statistical setup ran for infosource 2LIS_03_BX.Loading the opening stock balance InfoSource 2LIS_03_BX into data target.In the InfoPackage, choose the upload mode u201CCreate opening balanceu201D.
    Regards,
    Suman.

  • Upgrade 4.6C to ECC 6.0 - Key figures missing in Treasury drill down report

    Hello experts,
    We have upgraded from SAP version 4.6C to ECC 6.0. Due to this fact, we have converted all the TR-TM and TR-LO master data and transaccional data, using TPM_MIGRATION.
    However, when we start the tests in the system, we have noticed that, in the transaction TRM3, in ECC 6.0 we do not have the same key figures that we had in 4.6C and, consequently, we had 3 reports in the 4.6C version that we do not have in ECC 6.0.
    When we access the t-code TRM3 in 4.6C we have 16 folders (16 key figures), and when we access the same t-code in ECC 6.0 we only have 10 folders (10 key figures). In order to create the missing reports we need the key figure "Securities: For a giving period". This key figure exists in the 4.6C but does not exist in the ECC 6.0.
    Do you have any idea about how can we transport the reports from the system 4.6C to ECC 6.0, or, alternatively, how can you create these reports in ECC 6.0?
    Thanks and regards,
    Filipe Neves

    Hi,
    DId you run SPAU check in your ECC6 this will be addressed there.
    Suresh

  • New Key figures and Macro updates

    Hi,
    Is there a way to ensure that a change in the data view design  by adding additional key figures and changing the positions of the key figures/macros DOES NOT result in changes in Macros already present. This seems a little ridiculuous when i compare this to spreahseet functions, where only fixed references in the cells  are impacted by changes in rows and columns, adding columns and deleting rows etc, else the formulas/macros in excel adjust automatically. The Macros in my planning are adjusted and deactivated after inserting some more key figures and shuffling some up and down to organize the book for some new functionalities. Is there a report/technique to reset the macros so that they work as intended with proper references as defined.
    Regards,
    AS

    Hi
    As Somnath says this is unfortunately the "normal" behaviour of the system. The macro workbench basically allocates a number to each key figure internally, so if new key figures are introduced, or even if you change the order of key figures in the data view, then this can affect the macro functionality.
    As long as the new key figure is introduced and placed at the end of the list in the data view then this will not normally affect the macro, it just needs re-activating.
    I find it frustrating when I have to re-order key figures in a data view then I have to check all macros are still working correctly and that the key figures used in the macro are the correct ones but unfortunately SAP will just say "as designed"!! 
    Regards
    Ian

  • Key figure issue

    I am loading some data from a flat file to a cube. The file does not supply base unit of measure and currency as a field. And I have that in my info source , because of that when I run the query I am seeing the symbol "ERR" next to the key figures.
    So I thought of writting a routine for the individual key figures in the update rules and the routine is :
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TABLES: ...
    DATA:   ...
    DATA: IN    TYPE F,
          OUT   TYPE F,
          DENOM TYPE F,
          NUMER TYPE F.
    DATA: DEB_CRED(2) TYPE C VALUE 'HK'.
    DATA: QUOT(1) TYPE C VALUE 'B'.
    constants: c_msgty_e value 'E'.
    $$ end of global - insert your declaration only before this line   -
    FORM compute_data_field
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
      USING    COMM_STRUCTURE LIKE /BIC/CSZSD_SALHIST_HDR
               RECORD_NO LIKE SY-TABIX
               RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING RESULT LIKE /BIC/VZSD_C03T-SUBTOT_2S
               UNIT LIKE /BIC/VZSD_C03T-STAT_CURR
               RETURNCODE LIKE SY-SUBRC
               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
    <b>* result value of the routine
      RESULT = COMM_STRUCTURE-SUBTOT_2S.
    result value of the unit
      UNIT = 'USD'.</b>* if the returncode is not equal zero, the result will not be updated
      RETURNCODE = 0.
    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.
    But now when I am loading the data , it is takin very long. I want move this code to the start routine. I have the same code for the key figures also.
    I know I can get rid of the error using "NO DIM " function in BEX but I do not want the users to do that .
    Thanks

    Hi Jimmy,
    You may in transfer rules just assign your currency to 'USD' constant. You can assign a constant to unit too (if you know it) - or assign a routine if you know the logic of the unit determination.
    Best regards,
    Eugene

  • Reports with only key figures?  How to layout?

    Hi anyone,
    Could you kindly advise?  I have a financial report which is about 20 key figures ex. Sales, Cash discounts, Revenue from operations, Gross Margin, Operating profit and Overheads % of sales... 
    For each of these areas I need to have 9 seperate numerical values:
    Actual value (by month)
    Last Year value (by month):
    Budget value (by month)
    Actual value ( year to date)
    % of sales (ytd)
    Last year value (ytd)
    Budget value (ytd)
    Full  yr value (full yr)
    Budget value (full yr)
    This can lead to 20keyfiguresX9timeperiods = 180 numbers in the report.  As I don't have any characteristics, it seems I'll end up with a very very long row..  Has anyone experience fixing this sort of issue?

    Hi
    Sorry for the earlier post for not explaining...
    There are two ways you can do.
    First way is meddling with the modelling....
    Create 9 infoobject charecterisitcs with CHAR TYPE NUM  and feed them with the key figures timeperiods thru update rule routine......Use this 9CHAR -> fed by kfs into Cube and you can use 2 structures...as far as the system is concerned you are using one structure of kf and one for chars.......
    Second way...if ur using BEx  you can think of Macros
    Regards
    N Ganesh

  • 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

  • ABAP Help on Update Rule Needed

    Hello.  I am trying to write a routine on an key figure in an update rule.  Basically, I am trying to load a custom key figure with either a 1 or a 0. 
    Here is the pseudocode:
    IF
    (((GI_DATE - ACT_GI_DTE) < 0) OR
      ((GI_DATE - ACT_GI_DTE) > 3)
    THEN
        NEW_KEY_FIGURE = 1
    ELSE
        NEW_KEY_FIGURE = 0
    ENDIF.
    Here is the code I currently have in the routine.  Any ideas on where I am going wrong here?  I am not an ABAP developer so please keep this in mind when responding.
    result value of the routine
      CLEAR RESULT.
    if the returncode is not equal zero, the result will not be updated
      IF COMM_STRUCTURE-GI_DATE - COMM_STRUCTURE-ACT_GI_DTE < 0 OR
         COMM_STRUCTURE-GI_DATE - COMM_STRUCTURE-ACT_GI_DTE > 3.
         COMM_STRUCTURE-NEW_KEY_FIGURE = 1.
      ELSE.
         COMM_STRUCTURE-NEW_KEY_FIGURE = 0.
      ENDIF.
      RESULT = COMM_STRUCTURE-NEW_KEY_FIGURE.
      RETURNCODE = 0.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    Thanks for any help you can give.

    Hi,
    I think you can not put "-" in if command, so code should be like this:
    data: datediff type n.
    result value of the routine
    CLEAR RESULT.
    clear datediff.
    detediff = COMM_STRUCTURE-GI_DATE - COMM_STRUCTURE-ACT_GI_DTE.
    IF datediff < 0 OR datediff > 3.
    Result = 1.
    ELSE.
    Result = 0.
    ENDIF.
    RETURNCODE = 0.
    if abort is not equal zero, the update process will be canceled
    ABORT = 0.
    Regards,
    Andrzej

  • DSO - Cube : Update Rule Error

    When trying to push data from an DSO to a ube, the request stays amber until finally short dumping.
    The update rule is activated and all key figures, characteristics and time characteristics are filled correctly from the DSO.
    The error message in the monitor of the request is:
    <i>Update Rules (15199 => 0 records) : Errors Occurred</i>
    How do I see the exact error description of what caused the update rule not to transfer any records? I can't seem to find much information in the monitor of what went wrong.
    Thanks in advance,
    Matt

    There is a characteristic called 'Reporting Week' that uses some routine to convert the a document  'created on' date in the week/year format (e.g 01.2008).
    Code of this routine is below. All other characteristics or key figures in this update rule are matched with source fields.
    fill the internal table "MONITOR", to make monitor ent *ries
    result value of the routine
    DATA: i_per(3) type n,
    i_year(4) type n.
    CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
    EXPORTING
    I_DATE = COMM_STRUCTURE-createdon
    I_PERIV = 'ZW'
    IMPORTING
    E_BUPER = i_per
    E_GJAHR = i_year
    EXCEPTIONS
    INPUT_FALSE = 1
    T009_NOTFOUND = 2
    T009B_NOTFOUND = 3
    OTHERS = 4
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    concatenate i_year i_per+1(2) into RESULT.
    if the returncode is not equal zero, the result will not be updated
    RETURNCODE = 0.
    if abort is not equal zero, the update process will be canceled
    ABORT = 0.

  • Problem in changing 3.x update rule

    Hi gurus,
    I have a problem after upgrading from 3.x to 7.
    In an update rule, when I insert a constant into a characteristic field, the system displays this popup: "transfer the routine for this characteristic to all the key figures for this update rule?". After say yes, I would like to exit (with green flag) from update rule but it's impossible!
    The system displays me again the list of characteristics and then the previous popup.
    Can anyone help me?
    Best regards.
    Simone.
    Edited by: Simone.Pompei on Apr 28, 2011 5:40 PM

    Hi,
    Try different keyboard inputs
    - press <ENTER>
    - use F4 help
    - press F2 (check)
    press activate (F3). Works this?
    create a OSS message. Only SAP can help you.
    Sven

  • Return tables in Routines used in an Update Rule

    I previously had a routine configured as an update method in an Update Rule.  On the configuration screen where I specified the Routine name, I checked "Return Table". 
    Now I've deleted this Routine and I am using the Source Key Figure as the Update Method.  However the "Return Table" box is still checked and if I uncheck it, it goes back to "Checked" status as soon as i scroll to the next key figure and then back to the original key figure. 
    While this doesnt sound like too serious a problem, I think it's causing my Update rules to fail during activation with the message, The field "RESULT" is unknown, but there is a fiel rows 1698."  (SAP typo, not mine).
    Following the suggestions in the Help for this error do not work either.  When I try to choose Extras -> Display Activated Program, I receive a second message "Unable to find a tool to process the request".
    Can anyone help?

    Wardell,
    sounds like a bug to me. Open a message to SAP support to get a fix.
    Regards,
    Marc
    SAP NetWeaver RIG

  • Events Sales Information System - Key figures

    What key figure is updated in Net incoming orders 1 and Net incoming orders 2 as defined under update group 000001. I can understand Net incoming order and Gross incoming order.........

    Hi Sanjay,
    In order to separate both of the key figure groups the updating process is controlled via various update groups. Update group 000001 is assigned to the key figure group for incoming order information and update group 000002 to the group of returns key figures.
    Assigning the business transactions to a certain update of statistics data takes place in two steps.
    In the first step, you compile certain characteristics of the business transactions such as customer, material, document type into statistics groups. In the second step, you assign the statistics groups to the various update groups.
    In the special case incoming order/returns, all of the returns order types are assigned to statistics group 02 and all other order types to statistics group 01. These different statistics groups are assigned to different update groups and thus key figure groups.
    You can assign an update group to certain business transactions using the Customizing function in Sales
    The two types of key figure groups used in the Sales Information System are invoice values and credit memo values. These key figure groups are differentiated by the different update groups (000001/000002).
    Assigning certain types of invoices to the update group 000001 and types of credit memos to update group 000002 is done automatically by the types of orders belonging to them.
    Just go through the following very useful link below:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/c1/3756d5449a11d188fe0000e8322f96/frameset.htm
    Hope it helps...

  • ABAP needed: New Value/Old Value in Update Rules

    Hi all
    I'm updating some attributes in IObj by ABAP routine. Is it possible to get not only new value of attribute but the old one to compare them?
    Is it possible to get others attribute old and new values?
    I'll illustrate it with example.
    Say, IObj has 3 attributes:
    0ACC_GRP
    0DT_FROM
    0DT_TO
    if NEW value of 0ACC_GRP <> OLD value of 0ACC_GRP then
    new 0DT_FROM = SYSDAT
    new 0DT_TO = old 0DT_FROM
    else
    new 0DT_FROM = old 0DT_FROM
    new 0DT_TO = old 0DT_TO

    My case quite simple I guess.
    I got 0CUSTOMER infoobject and appended it with several time-dep attributes. After it my Update rules were deactvated.  I got error message with prompt to fill out FROM_DATE, TO_DATE as key fields in every attribute (time-dependable and none time-dependable) while was trying re-activate Update Rules.
    So, what's wrong with that? What I supposed to do with all those to/from date key fields  in my Update Rules??
    Edited by: Gediminas Berzanskis on Jul 2, 2008 3:44 PM

Maybe you are looking for

  • What are the Gold, Platinum and Silver certification ?

    Hi All, I was just curious to know if we have only Gold and Silver certification in Japan or also in other countries. Is it the company that get's the title Gold, Platinum and Silver partner or is it the candidate that did pass the OCM? What are the

  • Clearing customer credit memo

    Hi All, I have an issue regarding customer open item. We have the following documents created. 1) Invoice created to the Customer in one company code 2) Payment has been received by the customer in one company code, and the invoice and the payment go

  • What's wrong with adobe this days?

    Guys, I'm just having lot of problems but A LOT, there is always a problem when I have to edit something... I'll explain it to you... First of all I can't edit my flles from dxtory x264 you have to pay like 300 pounds well, there is a thread already

  • Deferred config

    D/ friends, When we post Excise Invoice of Capital Goods, 50% of the duty goes to CENVAT Clearing A/c & rest 50% goes to CENVAT On Hold A/c (Cnvt Deferred A/c). My question is that where do we config that 50% of the duty shd go to Cnvt Deferred A/c i

  • I cannot save photos from a webpage with a right click. Why not?

    I cannot save photos from any webpage using a right click on Firefox, so I must open Internet Explorer to do that, yet my friend can do it on FF with his computer. Why is that? == This happened == Every time Firefox opened == I installed firefox