Self Update Rule

Hi all:
       I have a problem in self update rule loading.Actually i have ODS ZOMS001 and for this i have
two update rules.One update rule is 2LIS_02_SCN and other update rule is 8ZOMS001(Self update rule).During initialise for SCN it takes 3 min and for self update rule 8ZOMS001 it takes 3 mins.During Delta loading for self update rule 8ZOMS001 ,even if i have 1 records(in delta) it takes whole records in ODS and timing goes for 20 mins.But it update only one record in ODS.
      Anyone suggest how can i go for delta records only for self update rule.How can i will minimize the time sequence for self update rule delta loading?.
This issue stops my proj.Pls give me input.
Thanks in advance.
Rgds
MSK.

Hello,
You should also take note that your delta will be a continous loop of changes...since you are updating itself, the loop to itself will produce changes and will continually create change records....so you will always get the same changes..
For instance,
Init.
First delta from 2LIS_02_SCN. (Change log updated)
That delta goes to itself. (Change log updated)
Second delta from 2LIS_02_SCN. (Change log updated)
That delta goes to itself, with changes from first delta to itself and second delta...)
This continually gets bigger and bigger....
It is  a continous loop that you will never get out of...
Be careful in this situation.

Similar Messages

  • Time consuming problem in Self update rule

    Hi all:
         We have time consuming problem in self update rule.I have ODS ZOMS001,for this we created self update rule.In process chain we include this self update rule and during delta update,it takes 20 to 25 mins even if there is two records or 10000 records.In delta for this self update rule,it takes the whole records in ODS
        EX: If i have 10000 records during initialise and 10 records in Delta update...For the delta self update rule it takes 100010 records..But it only update delta records values.
    we have to reduce the total time consuming for this self update during delta..
    Waiting for your inputs.
    It would be helpful for your valuable reply.
    Rgds
    MSK

    I think retransporting is the only option available to you. You cannot modify anything in your production system.
    IF you have a chance to speak with basis people,ask them to open the system status to modifiable for few minutes.
    and make necessary changes in production and bring it back to normal (This is not a best practise in all situations).
    hope this helps.
    Praveen

  • Feasibility of update rule logic

    I have the following scenario:
    I have a DSO which stores a number of records and stores a value for a revenue KPI.  This DSO mainly stores item data and we now would like to include the records which are in the header DSO but not the item DSO and give them a zero revenue.
    Is it best that I select all the data from the header DSO as part of the start routine logic or is there a better way in which I can collect the missing records?
    Thanks

    Hi,
    Looking up the item DSO will be too much performance oriented and may result in long time for loading.
    Do a look up on header DSO while loading the item DSO and select the records from the header which are not equal to the records in the delta package...and then populate them in the item DSO with the flag.
    But this may require you to reload the whole data in the item DSO again...may be you can do this by creating a self update rule to the item DSO and run it for once to maintain the history
    schedule the delta daily from the data source to manage the changes.
    Thanks
    Ajeet

  • Activating SIS structure error while maintaining update rules

    Hi Experts
    please reply <removed by moderator>
    i am trying to activate self defined SIS structure but at the time of creating maintain update rule in transaction MC24 i am getting error
    please guide what i am missing
    DDIC structure S990 for info structure S990 not active in Data Dictionary
    Message no. M2464
    Diagnosis
    It is not possible to maintain the updating procedure since DDIC structure S990, which belongs to info structure S990, is not active.
    The info structure has probably been saved but not generated.
    Procedure
    The info structure must be generated.
    Regards
    Abhi
    Message was edited by: Manish Kumar

    Hi ,
    Just check whether update rules has any routines or fomula, or constant.
    If so collect that in a request and transport it.
    Assign points if it is helpful.
    Thanks
    Shanba

  • Error while Activating update rule in BW

    Hi,
    I am getting an ABAP dump while activating an update rule. The rule is from DSO to cube.
    "MESSAGE_TYPE_X" " "    
    "%_T020N1" or "%_T020N1"
    "INSTANTIATE"           
    I have added some new fields in a DSO. The rule is from DSO to cube. While activating it, I am getting this ABAP dump. There are few other rules from this DSO to other DSO which got activated but this one is causing dump.
    Any ideas/suggestions on this would be really helpful.
    Thanks,
    Naveen

    Hi
    Check if your Cube , DSO and UR's are active. If not reactivate them. Ideally you could recreate the UR's and check the status by running the extraction.
    I would also recommend to use elimination method to check if any particular field is creating an issue. While recreating the UR's , create them for a few fields - active - check extraction - this will also let you know if the issue is within any oif the rules.
    Cheers
    Umesh

  • Self Updating Report of Open Sales Orders (Maybe Crystal )

    I want a self updating report of Open Sales Order. I want it to refresh constantly. I know that it could be an alarm but it would be executed every # minutes and dont want to. Any ideas ? I dont know Crystal Reports enough but is it posible ?

    Hi ,
    If I were you , I will not be crazy looking at my sales order in every 1 minutes ..I would train my users to check at least 15 minutes.
    I understand what u are trying to do;you  want that customer will see the latest open SO created ..but 15 minutes is good enough time .
    I think you have to check if database size grows up big time ..so far no report has come to me from my clients for this set up .
    make sure you  are not saving an alert into database
    If you are using multiple alerts , I will atleast monitor my database for a while to see i encounter performance issue ..
    So far for one alert at every 15 minutes ..i think u should be fine ..
    Hope this helps
    Bishal

  • Error while Transporting Update Rules.

    hi xperts,
       I am getting Error while Transporting the Update rules,i already transported the INFOCUBE,INFOPACKAGE EVERYTHING.
        Start of the after-import method for object type R3TR ROUT (Delete Mode)
    Errors occurred during post-handling RS_AFTER_IMPORT for ROUT L
    The errors affect the following components:
        BW-WHM (Warehouse Management)
    Is the  error,I didn't change any thing in the Cube or changes to Update rules.
    Can anybody Help me?.
       thanking you,
                                   with regards,
                                   Narendra.

    Hi,
    Are you still facuing the issue ?
    No need to worry about the routines, once you save the update rules if there is any routines in it it will be saved in the same request. If you want to check the routines you can check in the transport connections. Transfer the update rule to the right hand side of the screen and you can see all the routines that belong to the UR.
    If you know the technical names of the routines you can check in the TADIR table.
    Have you transported the info-sources for this update rules ? why not you again capture the info-source and the update rule in a single request and transport again.
    Hope it helps.
    Thanks,
    Soumya

  • Simple creation of Update Rule from BW Data Source

    Hi guys,
       Pertaining standard SAP Business Content extractors
       I am referring to <b>InfoCube : 0PA_C01(Headcount and Personnel Actions)</b>
       I am attempting to<u> create </u>an <b>Update Rule</b> from <b>Info Source : 0HR_PA_PA_1(Headcount)</b>
       This <b>Info Source : 0HR_PA_PA_1(Headcount)</b> is connected to <b>BW Data Source</b>(Not R/3!) 0HR_PA_PA_1
       I have created an Info Package for this Info Source and managed to get 15 records{In Contrast to my 68800 Records from Info Source : 0HR_PA_0(Employee)}
       So, when I create an Update Rule to Connect <b>Info Cube: 0PA_C01(Headcount and Personnel Actions)</b> to <b>Info Source to Info Source : 0HR_PA_PA_1(Headcount)</b>, I get the following error
    ERROR : <b>IC=0PA_C01 IS=0HR_PA_PA_1 error when checking the update rules</b>
      Could you please also advice, why do I only get 15 records for Data Source 0HR_PA_PA_1 ?
      P/S : I am on BW 3.5

    Hey Rohini,
       This <b>Data Source: 0HR_PA_PA_1(Headcount)</b> is tricky to me because it`s a BW Data Source.
       Exact Error Message is as follows :-
      "<b>Error Message : RSAU461
        IC=0PA_C01 IS=0HR_PA_PA_1 error when checking the update rules</b> "
       My Exact Problem is that I don`t see any values for the following fields in my Info Cube : 0PA_C01(Headcount and Personnel Actions)
      Country;
      Country Code;
      Gender;
      Nationality;
      Language;
      Postal Code;
      Region;
      Position;
      Job;
      Payroll Area;
      Payroll Group;
      Pay Scale's;
      Pay Grade's
      This is because, this information is supplied by InfoSource : 0HR_PA_PA_1
      But I don`t have an Update Rule for this InfoSource in my InfoCube : 0PA_C01
      So, that's why I am attempting to create this additional Update Rule
    <i>  And also, could someone enlighten me why would SAP not include such a standard Update Rule when they have already idenfied those needed fields in a Cube ? This is suppose to be a STANDARD workable Business Content right ?</i>
      P/S: I have applied Note : 336229

  • Error in activating  the update rules

    Hi All
    I am getting an error while activating Business Content update rules.
    I have activate Cube and corresponding InfoCube and was trying to select update rule for the Cube and installing it.
    It however gives an error saying Update Rules (Technical Name) are not found.
    Anyone encountered this in the past.
    If yes let me know the remedy
    Regards
    PB

    Hi P B,
    This might be a long shot, but I still want to see if I can be of any assistance:
    Have you encountered SAP note 789272 and SAP note 787875?
    They should be contained in SP 19 for BW 310, and your errors do resemble those we encountered, albeit using a different version of BW. These notes are relevant for both mine and your version.
    Otherwise, I'll gladly have a look at your error messages you can send over here.
    Best Regards,
    Daniel

  • Error in activation of update rules.

    Hi,
    I get an error - 'IC=0PP_C02 IS=2LIS_04_P_MATNR error when checking the update rules' while activating the update rules in BI content. Rest all the data flow is activated except update rules.
    Can anyone throw some light on this?
    Thanks & Regards,
    Manisha

    Hi ,
    Check the update rule.
    In that there are two routines.
    In the first one Goods being processed & 2nd one as well , there is syntax err.
    /BI0/APP_O010 doest exist.
    Mostly it is fetching some data from some dso in this routine.
    So it should be activated.
    Then update rules will be activated.
    Regards,
    Devina

  • Using an internal table from a strt rountine in an update rule

    I created a start routine and i now want to take the value from the internal table and set my result to it in my update rule.  I try that and it says it isn't a header table but I defined it this way.  here is the code
    DATA: T_BILL_DATA LIKE STANDARD TABLE OF /BIC/AZBIL_O5300,
       Ls_data like line of T_BILL_DATA.
    $$ end of global - insert your declaration only before this line   -
    FORM compute_key_field
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
      USING    COMM_STRUCTURE LIKE /BIC/CS2LIS_12_VCSCL
               RECORD_NO LIKE SY-TABIX
               RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING RESULT LIKE /BIC/VZSD_C51T-SALESORG
               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
    result value of the routine
      READ TABLE T_BILL_DATA WITH KEY
      DOC_NUMBER = COMM_STRUCTURE-DOC_NUMBER
      S_ORD_ITEM = COMM_STRUCTURE-S_ORD_ITEM
      REFER_DOC =  COMM_STRUCTURE-DELIV_NUMB
      REFER_ITM =  COMM_STRUCTURE-DELIV_ITEM
      BINARY SEARCH.
      RESULT = T_BILL_DATA-SALESORG.

    Hi LMM,
    The definition is not correct, your table doesn't have header line.
    try this,
    DATA: T_BILL_DATA LIKE STANDARD TABLE OF /BIC/AZBIL_O5300 with header line.
    Hope it helps.
    Thanks,
    Soumya

  • Start Routine in Update Rule

    I want to replace all '# ' values showing up in a report with  space. For this I plan to write a Start Routine in the Update Rules which should scan all the data coming in into the cube and replace all  null or '' with space.
    What is the best way to write this routine. It should check all data in all the fields of the data load coming in.
    Thanks

    Hi,
         The space is shown as # in the BW Reports, to confirm check the value in the cube for this field, so
          you need to change that to some other character like X or Y or explain your end users that SAP
          designates a space as # and it will be displayed that way in the reports.
    Regards,
    Raj

  • Can you help me interpret the following lines in UPDATE rule?

    Hi,
    Can you help me interpret the following lines in UPDATE rule?
    1. What is the role of role of u201CCHANGING RESULT.u201D and u201CCHANGING lc_local_value.u201D?
    2. What is the role of the CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY', in particular the Exporting and Importing parts?
    3. Can I say that u201CCOMM_STRUCTURE-ORDER_VALu201D in the subroutine is passed to u201Clc_document_valueu201D in the u201CFORM loc_curr_convertu201D; and further passed to u201Cforeign_amountu201D in the u201CCALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'u201D?
    4. Finally, what becomes of my original u201CActual Goods receipt quantityu201D( 0GR_QTY ) which I am writing the routine for? I donu2019t see any where in the code that it is being referred to? Do any of these codes affect the value of 0GR_QTY?
    5. Also, if there are 3 different subroutines in the INCLUDE and I am making the change described in #4 above, how do I know which of the 3 subroutines to call?
    ===============================
    ===============================
    So I am reviewing a transfer routine in for u201CActual Goods receipt quantityu201D and routine an INCLUDE statement: INCLUDE RS_BCT_MM_UPDATE_RULES.
    The update rule also includes the following properties to run the following subroutine in the Include:
    IF u2026..
    perFORM LOC_CURR_CONVERT
               USING    COMM_STRUCTURE-ORDER_VAL
                        COMM_STRUCTURE-DOC_DATE
                        COMM_STRUCTURE-ORDER_CURR
                        COMM_STRUCTURE-LOC_CURRCY
                        COMM_STRUCTURE-EXCHG_RATE
               CHANGING RESULT.
    I verified in the INCLUDE (RS_BCT_MM_UPDATE_RULES) and the subroutine is as follows:
    FORM loc_curr_convert
      USING    lc_document_value
               lc_date
               lc_document_currency
               value(lc_local_currency)
               lc_rate
      CHANGING lc_local_value.
    conversion of lc_rate from floating-point to decimal. Necessary for *
    call of CONVERT_TO_LOCAL_CURRENCY.
    data lc_rate_dec type p decimals 5.
    lc_rate_dec = lc_rate.
      IF lc_document_currency = lc_local_currency
      no conversion necessary -> Main case 1
        AND NOT ( lc_document_currency IS INITIAL
               OR lc_local_currency IS INITIAL ) .
        lc_local_value = lc_document_value.
      ELSEIF NOT ( lc_document_currency IS INITIAL
      OR lc_local_currency IS INITIAL OR lc_date IS INITIAL ) .
      conversion necessary with lc_date -> Normally not possible
        CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
          EXPORTING
            date                 = lc_date
            foreign_amount       = lc_document_value
            foreign_currency     = lc_document_currency
            local_currency       = lc_local_currency
            rate                 = lc_rate_dec
          IMPORTING
          EXCHANGE_RATE        =
            local_amount         = lc_local_value
          EXCEPTIONS
            NO_RATE_FOUND        = 1
            OVERFLOW             = 2
            NO_FACTORS_FOUND     = 3
            NO_SPREAD_FOUND      = 4
            DERIVED_2_TIMES      = 5.
        IF sy-subrc NE 0.
      message a802 with lc_date lc_document_currency lc_local_currency
                        sy-subrc.
        ENDIF.
      ELSE.
      if conversion not possible -> assign target values
        lc_local_value = lc_document_value.
        lc_local_currency = lc_document_currency.
      ENDIF.
    ENDFORM.

    HI,
    Thanks so much the explanations.
    I just verified again on our dev system and the update rule for 0GR_QTY (Actual goods receipt quantity) include the following:
        perFORM QUANTITY_CONVERT
           USING    COMM_STRUCTURE-CPQUAOU
                    COMM_STRUCTURE-po_UNIT
                    COMM_STRUCTURE-base_uom
                    COMM_STRUCTURE-numerator
                    COMM_STRUCTURE-denomintr
           CHANGING RESULT
    Now, in the include, I also found:
    FORM QUANTITY_CONVERT
      USING    QC_SOURCE_VALUE
               QC_SOURCE_UNIT
               VALUE(QC_TARGET_UNIT)
               QC_UMREZ
               QC_UMREN
      CHANGING QC_TARGET_VALUE.
    i.  Does it mean it actually does quantity conversion?
    ii. If you have access to the INCLUDE I will appreciate some hints on what the subroutine QUANTITY_CONVERT is doing. It does not appear do to be saying anything about quantity conversion; but it is supposed to be doing something with the parameters being passed from the update routine.
    iii. In your response to #5, after all the computation in the INCLUDE, what comes back to the Update rule  i.e. what comes back to become the value of 0GR_QTY?
    Is it the u201CRESULT.u201D in the update rule or u201CQC_TARGET_VALUE.u201D in the subroutine in the INCLUDE.
    iv. So, am to create an Update rule for 0PSTNG_DATE and the source is BUDAT; and I need to write a routine using the include INCLUDE RS_BCT_MM_UPDATE_RULES.
    I looked through the INCLUDE and identified all the subroutines in this INCLUDE as follows:
    QUANTITY_CONVERT
    LOC_CURR_CONVERT
    GET_WEEK
    WEEK_DAY
    QUARTER_DAY
    --Does it mean that to use this subroutine, I can only use the USING parameters of one of these listed subroutines?
    --Also, does it mean that because 0PSTNG_DATE is a date, I can only use one of
    GET_WEEK
    WEEK_DAY
    QUARTER_DAY
    --Or, are there other includes to be used for 0PSTNG_DATE
    Thanks

  • Can not view update rules on production BW server

    This can be quite a time-consuming problem as I can't always tell if the latest update rules are successfully transported to production. 
    Most every where else in production I can choose to DISPLAY however this is not the case with update rules only.
    Is this a typical setting for most companies?  Can I turn off this setting so I can at least DISPLAY the update rules?

    hi,
    as far as I know you can only see any rules (transfer, update etc.) in BW in change mode.
    if you know where to change this setting (i.e. to see rules) - do it
    you only have to remember to change it on dev and transport.
    Regards,
    Andrzej
    ps. work around would be to debugg it with simulate data package processing, how to do this?
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/advanced sap bw data transformation
    page 12
    Message was edited by: Andrzej Krysiuk

  • 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

Maybe you are looking for

  • I want to recreate my iTunes library

    I have my Library [folders and everything] on an external drive and backed up.  I consolidated my music etc. and now items which were available - and after spotlight check still are - are not 'found' and there are too many to Locate to handle it that

  • Prevent Insertion of Author Name in Save as PDF

    The standard Print dialogue box features a button/menu "PDF" with a "Save as PDF" choice. By default, the user account's full name is inserted in the Author field when using this option. (I shall not comment on Apple's wisdom -- or lack thereof -- in

  • Want to add text to mail body of  BACS Remittance Advice

    Hi Experts, Blelow is the requirement. User is sending the remittance advice to vendors, user wants to include a u2018fixedu2019 text also in that mail. User is sending remittance advice to vendor in PDF format which is attached in a mail, I need to

  • JDBC  odbc performance issue...

    I know this is not the right place to post this memo but some of you are very nice and have deep knowledge of what i am going to ask.... I have a java programme which call a stored procedure using oracle callable ( OracleCallableStatement ) slowConn.

  • I downloaded QuickTime 7 on my windows computer, and already have purchased the code for QuickTime Pro. how do i install it?

    i recently downloaded quicktime 7, before then i had quicktime 6 i believe, itunes updates it frequently, anyways, i purchased the QuickTime Pro to flip some videos i had. i have the Pro code, i just need to know where to use it, Cheers!