Updaterules

hi,
  can anyone explain all UPDATE rules in bw3.5 PLZ WHAT IS USE OF ALL UPDATE RULES
Please search the forum bedore posting a thread
Edited by: Pravender on Aug 6, 2010 11:27 AM

Hi.
Follow the documentation:
Update Rules  (Definition, Use and Structure)
http://help.sap.com/saphelp_nw70/helpdata/en/3f/0e503c3c0d563de10000000a114084/content.htm
Regards,
Sinara

Similar Messages

  • UpdateRules are in inactive state

    Hi Experts,
          I have created a cube A with copy of cube B.
          Cube B contains 3 Update Rules.
          I have created same update rules to A, which contains cube B. and then transported these UpdateRules from development to Quality. But found them in inactive state and when i check STMS i find no transport error(import to Q is succesful).
    thanks and regards
    srihari

    Hi
    I think, you have not transfered the datasource for the cube A to Quality system. Please go to source sytem(RSA13) select the BW Source system, check for data mart application component, in that check whether the datasource for cube A is there or not, it will 8<techn name> of the Cube A. You must have the data source in the Quality system. If it not there, then prabably you have resend it along with the update rules.
    Also, check with this funtion module. goto Tcode se38 and selec the following program and execute.
    RS_COMSTRU_ACTIVATE_ALL
    This program is to activate the communication structure. It may work..
    Thanks
    Vijay

  • Can anyone explain me "  How to debug updaterules?"

    Can anyone explain me "  How to debug updaterules?"

    Hi ALI,
    Transfer rules and Update rules are the main areas within a BW system where the BW professional can transform your transaction system data into the required format for what ever InfoObject / InfoProvider is being updated.
    Quite often when ABAP is used as part of your transfer and update rules there is a need to debug the code to ensure you don’t introduce any problems into your production environment.
    When data is loaded into a BW system the a background process is used. This means you can not run the data load in debug mode as you would most other programs. What you need to do is run the load program in Simulation mode.
    The first step to take is set a breakpoint in you coded Update/Transfer rule. This can be achieved by:
    •     Setting a breakpoint within the generated program once the rule has been activated.
    •     Locate the code manually during your debug session and setting a break-point.
    •     Hard code a breakpoint in the rule as shown below:
    o     if sy-uname = 'MYUSERID'.
    &#61607;     break.
    o     endif.
    My preferred method is the first option. I try not to hard code breakpoints (second option) as I sometimes forget to remove the code once I have finished debugging and the third option takes I find take too long.
    To set a break-point in the activated code you have to find the activated program and then search for your code that you want to debug. Follow these 4 steps (Update Rule):
    1, View the code for the Update Rule.
    2, Locate the code that you want to debug and remember some content that will identify the code that you need to debug.
    3, Come back out of the code and activate your Update rule. Once activated, select “Display Activated program from the Extra’s menu.
    4, Search for the code that you located in step 2 and set the break-point.
    Once your beak-point has been set you then need to run the update/transfer rule in simulation mode. To achieve this you must have already loaded data into the PSA. Follow these steps:
    1, Navigate to the PSA under the Monitoring section with transaction RSA1. Find the PSA Request that you want to debug and select the ‘Simulate/Cancel update’ option from the right mouse click menu.
    2, The screen will then show the details tab of the InfoPackage Monitor for the specific request. Right-click on a selected Data-Packet and select Simulate.
    3, Select the appropriate ‘Activate Debugging’ option for your rule (Update/transfer). Select the radio button to determine the number of records that you want to process in you debugging session and select the ‘Perform Simulation’ button.
    4, Select the Data Packets, Number of Records and then the continue button.
    5, The update process will start and your screen will show the debug window. Press ‘F8’ to run through your program. It will then stop at the breakpoint you set earlier.
    Regards]
    Anil

  • Executing order of routines in UpdateRule

    Hi,
    I'm just about to write some routines in my UpdateRule, In the routines I'll use some global variables that are set in the code. Now, my question is if the KFs or CHR-routines are run first when the UpdateRule is executed in the loading procedure?
    Thankful for answers,
    Best Regards
    /Daniel
    Thankful for answers,
    Best Regards
    /Daniel

    My experience have been different... I have had two routines written for Characteristics lets say nr 1 and 10 (counting from above and down in the update rule).
    In nr 1 the global variable ZINT is set to '100', in the routine for CHR nr 10 I can use ZINT's value ('100') in the code. Obviously the routine for CHR nr 1 is executed before nr 10. Now, my question is if I have one routine written for a KF and one for a CHR - which one is executed first.
    Thanks for your thoughts
    Best Regards
    /Daniel

  • Testing transfer and updaterules

    Hi gurus,
    can anyone explain me  how do we test our  transfer and updaterules.....
    Thanks in advance...
    S Ram

    Dear Shiva,
    You have to Put a Break point in the Rules if you have used any routines, you can put a break point with the following statement.. BREAK-POINT. and then load the data through PSA , then you can goto Monitor -- > Details --> Datapackage --> Right click > Simulate Update> Activate the debugging in Transfer rules -->Select the simulation records ...then it takes you to the debugging screen..press F7 Twice and you reach your break point..from there F5..thats it..
    Thanks,
    Krishna
    *Assgning points is a way of sayin Thanks in SDN

  • Flat file load - filename in updaterule/transferrule

    Hi there
    I am working on a solution where i need to use a part of the file name to include it in the transfer structure or update rule. The filename contains a date which is to be used as a version concept.
    Is there a table where i can select this information during loadtime?
    Chris

    hi Chris,
    this is the 'how to' get the table name :
    go to any infopackage with flat file upload, tab 'external data', cursor position on the box contains file path, press F1, will come out 'performance assistant' screen, click on 'technical info', in the next screen, see for Field Data : 'Transparent tabl' and 'Field name'. there table RSLDPSEL and field name FILENAME.
    in this case, the table is transparent table(straight forward), if not transparent table then may take more effort or even unable to get the where the data filled.
    with se16 view table RSLDPSEL, get another info LOGDPID may be neeeded, LOGDPID = Infopackge technical name.
    since the file path name may contains "\", in your routine you may need abap statement "SPLIT AT \" to get the file name only.
    can consider to make such name convention for file name and date always take current date (sy-datum) then can simplify the procedure ?

  • SUBROUTINE IN UPDATERULE

    Hi All of u,
       I have issue in update rule, when i'm using code with subrotines getting error, we can't use subroutine with perform and form statements.
    i would appriciate, anybody give reply.

    Hi Ravi,
    what you can do is, in the global part of your routine, put a statement like
    INCLUDE Z_INCLUDE.
    In this Z_INCLUDE, you can have lots of forms to be called in each routine of your update rules ( but navigation by clicking on the perform statement is not available for this). Another option is to call a fm or a method. But for the method I think you will have to do almost the same as for the subroutines.
    One another option I can think of is doing a
    PERFORM routine IN PROGRAM zabap IF FOUND.
    As for a fm you need to pass all necessary parameters.
    regards
    Siggi

  • Re:Error in Updaterules(I didnt get the right answer)

    Hi Guys,
    I am loading the data into the PurchasingData cube 0PUR_C01 by using Business Content.I am not getting the recorgds into the cube where it was showing empty values.in Monitor all the recods has been loded successfully.In Details tabstrip it was showing the message like this:
    Update PSA ( 20306 Records posted ) : No errors
    Transfer rules ( 20306 -> 20306 Records ) : No errors
    Update rules ( 20306 -> 0 Records ) : No errors
    InfoCubes to be updated: 1 Cube(s)
    InfoCube 0PUR_C01 will be updated
    Start of update-rule processing for InfoProvider 0PUR_C01
    End of update-rule processing for InfoProvider 0PUR_C01
    Pl provide me the solution to solve this problem.
    Thanks,
    Chinnu

    Hi,
    Check in your PSA whether you got the data records..if yes...then
    try to look into your update rules..may there could one or more udate rules
    are in inactive state..
    Try doing these following and reload..
    1. go to your info source and replicate
    2. then open the info source and activate
    3. go your update rules, open and activate
    4. try reloading the data again.
    hope it helps..
    Thanks=points.

  • Multiple instances of a Singleton-Object by updaterule ?

    Hi folks,
    I'm trying to load > 1 Mio. records from an ODS into another InfoProvider. Every record gets some keyfigures out of a very very expensive table-join.
    I tried creating this join in an ABAP-Singleton-Object to reduce uploading-time.
    This object holds a private-static attribute 'instance' as a reference to a instance of the object and a public-static 'getInstance()'-method, which returns the 'instance'-value. This method is standard-Singleton-like designed.
    Then I created a process-chain with:
    - an ABAP-process, which calls the 'getInstance()'-method
      of this Singleton.
      At the first pass this method calls the constructor and
      after that a private method, which creates the join and
      holds the result in an internal table.
      So the constructor is empty.
    - after that the data should be transfered (by an Info-
      Package) from the ODS to the other InfoProvider. In some
      fields of the update-rule and in the startroutine of
      the rule the 'getInstance()'-method of the Singleton is
      been called and by this reference to the only (so I
      thought) instance some other methods should return a
      calculated value out of the join.
    So theory .... the startroutine is been called for multiple datapackages (no problem) --- but for every package in the startroutine the 'getInstance()'-method calls the constructor, so I get multiple instances of a Singleton.
    The time-gap between the package-calls is > 10 secs., so the static-attribute should been set immediately in the first pass of the 'getInstance()', since the constructor is empty.
        Any ideas ???
        Bye Ralf

    -/-

  • Updaterule creation

    Hi,
    Can i create 5 update rules on an same ODS using the same infosource , b'cos on each update rule i need to map only few things(KF's).or should i create 5 infosouces to 5 update rules.
    i am loading 5 flatfiles using the same struture.
    Thanks In advance
    Regards
    KKumar

    i read your other thread now i got where your coming from... yes you do need to cread 5 infosourse since your data is diff... ideally you could also create diff ods's for this and combine them in one infoset... does tht make sense... cause the limitations in ods is tht you can have only 16 keys, which work on overwright, the rest you have to place in the data fields... which dont work on overwright... so i sugges if you want to make full use of ods then have multiple ones and them join them using infosets and do reporting on tht

  • Merge data in ODS

    Hey Folks!
    I'm trying to merge data from two InfoSources into one ODS with updaterules. But it doesn't work.
    Here is a short description what I want to do:
    InfoSource A:
    <b>CustID_|_ProduktID_|_Status </b>
    815____|__4711____|__viewed
    915____|__4812____|__orderd
    InfoSource B:
    <b>CustID_|_ProduktID_|_Info</b>
    815____|__4711___|__Msg1
    915____|__4812___|__Msg2
    <b>
    ODS (the result I want!!!)
    CustID_|_ProduktID_|_Status_|_Info
    815____|__4711___|__viewed___|_Msg1
    915____|__4812___|__ordered___|_Msg2
    </b>
    If I load first InfoSource A and then B I get the following result: 
    CustID__|__ProduktID__|__Status__|__Info
    815_____|__4711_______|__viewed___|__ 
    915_____|__4812_______|__ordered__|__  
    815_____|__4711_______|___________|__Msg1
    915_____|__4812_______|___________|__Msg2
    How can I merge the data so that I have only one record for similar CustID and ProduktID??
    I have two updaterules, for each InfoSource one. With the first upadteRule I update the DataFields CustID, ProduktID and Status of the ODS
    With the second updaterule I update CustID, ProduktID and Info. I got the Information that I overwrite fields that updated by another rule.
    But thats what I want, if CustID and ProduktID equals the records in the ODS, just update the field Status or Info.
    Thanks for your help!
    Stephan

    Hi,
    Just make sure that
    CustID and ProduktID
    are defined as key fields and
    Status and Info
    are defined as data fields
    and in the Settings of ODS mark the checkbox
    Unique data records
    You should get the desired result.
    Hope it helps.
    Cheers
    Anurag

  • Data issue in DSO

    Hi Experts,
    I have 2 DSO's, the first ODS gets data from r/3 and and the second DSO gets dats from 1st DSO.
    The key fields and datafields in first DSO is as below.
                      Key Fields                                                                Data Filed
    ZMST_NO, ZLOG_NO, ZCH_ON and ZCH_AT.                                  ZMSSTAT
    The key fields and data field in second DSO are as below.
      Key Fields                                                                                Data Filed
    ZMST_NO, 0CALMONTH, 0CALQUARTER and 0CALYEAR               ZMSSTAT
    I have the correct data in 1st DSO as in r/3. Please see the below data.
    ZMST_NO ,   ZLOG_NO,    ZCH_ON,       ZCH_AT.                          ZMSSTAT
    903027         15024           10.02.2009     10:05:28                               35
    903027         15029           10.02.2009     15:23:47                               50
    The key fields of 2nd DSO are mapped as below at the updaterule.
    ZMST_NO to ZMST_NO,
    0CALMONTH to ZCH_ON,
    0CALQUARTER to ZCH_ON and
    0CALYEAR to ZCH_ON.             
    When I check the data in 2nd DSO, I get the below record(which shows the wrong status as 35 which was the status at 10:05:28 on 10.02.2009 )
    ZMST_NO     0CALMONTH      0CALQUARTER          0CALYEAR               ZMSSTAT
    903027        200902                20091                        2009                             35
    But I should have the latest status (i.e 50) of the record as below ( which is the latest status, which was the status at 15:23:47 on 10.02.2009 )
    ZMST_NO     0CALMONTH      0CALQUARTER          0CALYEAR               ZMSSTAT
    903027        200902                20091                        2009                             50
    There are no routines at updaterules. Please suggest me why the status is shown as 35 instead of 50.
    Please through some light on this.
    Thanks in advance.
    Saravanan.

    Hi,
    The order is as below.
    ZMST_NO , ZLOG_NO, ZCH_ON, ZCH_AT. ZMSSTAT
    903027 15024 10.02.2009 10:05:28 35
    903027 15029 10.02.2009 15:23:47 50
    First record has record number as 12845 and the second has 12846. This is the order of records when loading from R/3 to 1st DSO. I dont have PSA between 1st and 2nd DSO's. But I see the data record number as 47567 in change log table of 2nd DSO for the record with status 35.
    I have written  wrong earlier ... i have checked now  if records of same key comes in the same request only one will go the other will be overwritten... this can't be checked in change log...........
    only one record out of two will go to new table ... and when activated that only will go to the active and change log......
    But records of same key in different request come then u can check in change log..........
    As you said u are getting status 35 once u have loaded this to dso before activation check for this record
    if you find Status 35 it means it has overwritten the record with status 50.
    Regards
    vamsi
    Edited by: vamsi talluri on May 22, 2009 10:54 AM

  • Activating Update Rules in BW Production Systems? How

    Hi all...
    How do we activate Update rules in Production systems?
    As we dont have the activate button high lighted in update rules.
    Urgent.
    Thansk in Advance.

    Hi,
    Since the production system is not chnagable you will will not get the activate button. you can only see the updaterules in display mode.
    You should activate the update rule in the Dev environment and capture the same in a transportable request and transport the same to Production environment.
    If it is very urgent and the transport from Dev would take time. You can as the basis to open the productyion client from tcode scc4, once the procuction client is open you will be able to activate the update rules in production system itself.
    assign points if useful
    regards
    Venkata Devaraj

  • How to track the blocked POs in 2LIS_02_SCL extractor

    Hi Gurus,
                  We have field ROCANCEL in 2LIS_02_SCL extractor which sets to X and R for cancelled and deleted records. On ECC side we either delete the PO (at Item level) or block the PO.
    For deleted POs the ROCANCEL flag is setting to R and we are OK with this but how can we track the blocked orders?
    The business requirement is to report on blocked orders too.
    Thanks,
    Anil

    Hi,
    In Bw thre is always confusion about following Dates.
    Posting Date (0PSTNG_DATE)
    Schedule Line Delivery Date (0SCL_DELDAT)
    Statistics Date (0STAT_DATE)
    So ask Functional Consultants and Business USers and Identify the corretc Date in ECC and then Change the Mapping In UPdate Rules in BW. i.e. What date USer is wanting and accordingly we nee dtgo change the mapping in UPdate Rules in Time Char Tab in UpdateRules.
    Thanks
    Reddy

  • Open order qty & values

    I am using tye datasrc 2lis_11_v_itm for loading oen order qty & open porder values in to cube 0sd_c03
    When I compare these values with va05 eneter sold to party & sale org,document date  selct open sales orders & execute
    Then in that report I am checking the fields Netwr_Ak ,Wmeng
    But the values are not matching I am using the std updaterules  & I didnot change

    in the update rules of 2LIS_11_V_ITM when i check  particular routine tme chars Calendar Year/Month is mapped to Date on which the record was created where as for other updare rules like 2LIS_11_VAITM ,2LIS_13_VDITMCalendar Year/Month is mapped to Update Date Statistics
    Is it bacuse of this its not displaying the correct values

Maybe you are looking for

  • Can not open database control in oracle 11g r2, listener issues

    Hi, I installed Oracle 11g r2 database on my laptop for testing. at beginning everything was fine and working. 2 days later i am unable to run oracle database control.. i get page not found! I tried all the tricks and read almost 200 pages from oracl

  • BDC: How to enter data in Table control (With wizard) using scrolling?

    Using BDC, I am trying to enter the data in the table control (with wizard). I want to know what is the specific command to scroll down in table control (With Wizard). While recording I am getting these steps: SAPLCKBASCR1     0202     X             

  • Where should i visit to get my photos in icloud storage

    where should i visit to get my photos in icloud storage and how can i sync all my camera roll on icloud as backup effectively.

  • Problem in sizing sga

    Dear All, We are using Oracle 10g R2 on windows 2003.Our sga_max_size=2000m and sga_target=800m.We have enabled ASM. I got an alert message in enterprize manger which says virtual memory paging is happening and its impact is 100%. Now,Is this problem

  • Create an executable

    Hi Do somebody knows how to create an executable with java j2sdk1.4.1_01 ? Thanks