Updating active records of ODS directly

Hi
I have an ODS which is loaded from 3 other ODS using export datasources. In the start routines of the updation   I am direclty updating a few columns of the active table of my ODS because the data package structure doesnt have these fields. Does this process have any adverse effects in BI??
I now have a requirement in which i have to insert new records into the ODS by comparing the ODS records and the reocrds in a Z table. I was thinking of updating the active table records directly in the start routine, but i am not sure if it is the right way.
Regards,
Sujai

Hi,
I think you should create a infosource containing the fields you want to update as well as the keyfields of the ods. Assign a dummy datasource to it (e.g. a flat file datasource with a dummy file containing just one record) and do everything you need in the start routine after you deleted the dummy row from the data package.
regards
Siggi

Similar Messages

  • Error on activation of data records from ODS object

    hi,
    Kindly help with my BW Problem, the error occured on the
    activation of ODS. The error says "<i>Request
    REQU_43MNOPW29W4F5M037J7OAFP52 in ODS ZPUR_O01 must have QM
    status green before it is activated</i>" and "<i>Activation of data
    records from ODS object ZPUR_O01 terminated</i>"
    I tried to check the data in the ODS Object by choosing
    <LS>Administrator Workbench > data targets > context menu on ODS
    Object ZPUR_O01 but the status are green and when i tried to
    activate it the logs says "<i>ODS object ZPUR_O01 was built
    incorrectly. Cannot update request
    REQU_43MODQ3GF69X17B71ZKQMN85I(20,154)
    ODS object ZPUR_O01 was built incorrectly. Cannot update request
    REQU_43MQ8A8F0L1US5COQTUUWX3BA(20,155)
    ODS object ZPUR_O01 was built incorrectly. Cannot update request
    REQU_43MQ8OQQTY21YQ37RMA1WMO06(20,156)
    Data to be activated successfully checked against archiving
    objects                                   
    Activation of data records from ODS object ZPUR_O01 terminated</i>"
    Please help me with this problem.

    Hi Jay
    U need to update these requests to ODS
    REQU_43MODQ3GF69X17B71ZKQMN85I(20,154)
    REQU_43MQ8A8F0L1US5COQTUUWX3BA(20,155)
    REQU_43MQ8OQQTY21YQ37RMA1WMO06(20,156)
    1) delete the current request
    2)Reconstruct the requests above three request
    3)and then Load the current reqest (REQU_43MNOPW29W4F5M037J7OAFP52)
    Then only u will be able to activate the ODS....
    This is an serialization issue...
    hope it helps
    regrds
    AK
    assign points if usefull

  • Error:Activation of data records from ODS object terminated

    Hi All
    i got error while loading the data "Activation of data records from ODS object terminated '
    could you please tell me procedure how can i solve this issue?
    regards
    vasu.

    - First check the Error Messages from the context menu of the activation step. Also check ST22 & SM21. This will tell you where the error is. Sometimes you might get duplicate records.
    - Next use the "Manage" context menu for the ODS in RSA1. Check if any of the previous records are red. If its red, it would mean that either load/activation has failed for previous request which needs to be corrected first b4 you correct the current one.
    - If al the above are OK, simply repeat the Activation step.
    Hope this helps.
    Regards
    Anujit Ghosh

  • ODS activation error"Activation of data records from ODS object terminated"

    Hi All,
    While activating ODS request I am getting following error
    "Activation of data records from ODS object KFI02O50 terminated ".
    data load is suceesful for ODS but during activation of the request it is giving error.
    I tried to change the status to green manually & then activated the request but still same problem.
    Also I tried to delete request & loaded again from PSA & then activated the request but still same problem
    If anybody has some solution please let me know.
    Thanks in advance
    Regards
    Sonal

    Hi Sonal,
              Sometimes when there is erroeneous records that time while activating the Request request get fails.To check this go to manage tab of the ODS there under log u can see the log icon click on that and check y activation got failed..
    Assign points if its helpful
    Regards,
    vid.

  • Updating a record on a certain date

    Hi,
    I have a little problem with updating a record on a certain
    date specified in the same table.
    OK so i have a table called 'users' and in that table i have
    the following fields:
    AdID
    Username
    AdStatus
    AdStartDate
    AdPeriod
    (and a few more but i've listed the important ones here)
    What i have done is, when a user places an AD, it inserts
    into the table the user's username, the ad status (e.g. Active,
    Suspended ect), the day on which the advert was placed, the period
    the ad has been placed for (e.g 6 months, 1 yr, 2yr ect).
    What i would like to do is to create an auntomatic function
    that checks the date in the table, and see if it is 6 months, 1yr,
    2yr old or whatever and if it is, update the status to suspended.
    Problem is, i dont know how :(
    I thought about adding a countdown script and when it reaches
    Zero, run a stored procedure but i dont know anything about them.
    Could somebody PLEASE help me this is driving me mad. I've
    been trying all kinds of ways but no luck. Anyone with the 'know
    how' that can point me in the right direction would be a BIG start.
    I am using ASP.VB and MYSQL 5.
    Thankyou in Advance,
    Adam

    muzicmistro wrote:
    > What i have done is, when a user places an AD, it
    inserts into the table the
    > user's username, the ad status (e.g. Active, Suspended
    ect), the day on which
    > the advert was placed, the period the ad has been placed
    for (e.g 6 months, 1
    > yr, 2yr ect).
    >
    > I am using ASP.VB and MYSQL 5.
    I can't help you with the ASP side of it, but since you're
    using MySQL,
    you could simplify your problem by adopting a different
    approach. Add an
    expiry_date column (DATETIME type) and use the MySQL
    DATE_ADD() function
    to insert the date on which the ad expires. If your minimum
    period is
    one month, you can simply use MONTH as the the period in
    DATE_ADD, and
    use a variable to change the number of months (e.g., 24 for 2
    years).
    INSERT INTO myTable (expiry_date, other_cols)
    VALUES(DATE_ADD(NOW(), INTERVAL x MONTH), other_vals)
    http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html
    Rather than have an active/expired column, just use the
    expiry_date and
    compare it with the current date. If it's greater, the ad is
    still
    active. If it's less, the ad has expired.
    David Powers
    Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    http://foundationphp.com/

  • Updating existing fields in ODS

    Experts,
    I would like to update existing fields in the ODS after doing some calculations if a new record that is being loaded meet a certain condition. In turn I would want to update the record being loaded with a value from the record in the ODS just updated. Can someone tell me a way without having to resort to writing a separate code in ABAP to do this in the transfer routines. Also if you could provide example code for such a routine.

    Hello Rue,
    Your code in start routine should look like this
    DATA: it_tab like <active table of ODS> occurs 0 with header line.
    select * from <active table of ODS>
            into corresponding fields of table it_tab.
    loop at DATA_PACKAGE.
      read table it_tab with key <field> = DATA_PACKAGE-<field>.                            
      if sy-subrc eq 0.
        <logic for processing data>.
      endif.
    endloop.
    If you need assistance in code for logic for processing data, please post the logic.
    Hope it helps.
    Regards,
    Praveen

  • Unique data record means you can't  update a record from ECC with same key.

    Unique data record means you can't  update a record from ECC with same key fileds right?
    Details: For example i have two requests Req1 and Req2 in DSO with unique data record setting checked. on day one Req1 has a filed quantity with value 10 in Active data table. On day two Req1 can not be overwitten from ECC with Req2 with the same key fields but different value 20 in the filed quantity because of the Unique data record settings. finally the delta load fails from ECC going to DSO because of this setting. is it right?
    I think we can only use unique record setting going from DSO to cube right?
    Please give me a simple scenario in which we can use this setting.
    I already search the threads and will assign points only to valuable information.
    Thanks in advance.
    York

    Hi Les,
    Unique Data Records:
    With the Unique Data Records indicator, you determine whether only unique data records are to be updated to the ODS object. This means that you cannot load a data record into the ODS object the key combination for which already exists in the system – otherwise a termination occurs. Only use this setting when you are sure that only unique data records are to be loaded into the ODS object (for example, single documents). A typical application of this is in the loading of mass data. It improves the load performance.
    Hope it Helps
    Srini

  • How to change records in ods.

    hi
    is it possible to change records in ods ?.   how ?
    tnx in advance
    mani

    Hi Mani,
    afaik, there is no way to change data in the ODS.
    What you could try, if you load data into this ODS via PSA, is to from ODS the request that you need to modify, edit the request in PSA and load it into ODS again (from PSA - Update Immediately menu option).
    Hope this helps. Cheers.
    /RB

  • Duplicate records in ODS change log

    Hi Experts,
    I have loaded records  from R/3 to ODS (psa and then data target).
    Records looks good in ODS active data.
    Then I did a delta load from ODS to InfoCube and I have recevied are the changed entries to Cube.
    Then, I checked the ODS and the Datamart status was Checked.
    But, when I did a delta load again after couple of days from ODS to InfoCube, I received some duplicate records. I have checked the Change Log of ODS and the duplicate records were there.
    I am not sure why my ODS is transporting entries from the ODS request for which there was a datamart status already checked.
    ( I cannot do selective deletion because there are about 1000 duplicate entries and in random order..).
    I beleive my best bet would be to:
    1. Delete both the delta load requests (the request with correct records and the request with duplicate records) from InfoCube.
    2. Remove datamart status from ODS
    3. Delta load from ODS to InfoCube
    Please let me know if this will solve the issue or I will still get the duplicate records in InfoCube?
    Also, do I need to Delete Change log data?

    Hi Ramesh,
    The entries in Active Data of ODS looks good. No duplicates.
    When i checked Change log,
    I had entries in ODS change log from two differnent requests.
    Request1 (Full repair request via PSA) in ODS (ODSR_xxxx1) has records the same as in R/3
    (eg., entry for DocumentA has keyfigure as value +$1000)
    Request2 (Delta Load via PSA) in ODS (ODSR_xxxx2) has two records with posive and negative keyfigues
    (eg, entries for DocumentA has keyfugure as value +$1000 and DocumentA has keyfugure as value -$1000)
    So, not sure if I should call these records as 'duplicates'.
    But, I see 3 entries in InfoCube for DocumentA with keyfigure values as +$1000, -$1000 and +$1000.
    I beleive the ODS change log should actually cancel the earlier +$1000 and load the new +$1000 entry.
    But, it seems to be not replacing the old one.
    I hope i am clear.

  • Process Chain: upload from PSA after activation of another ODS

    Hi gurus,
    i have a follow problem: for upload of ITM ODS i must before upload the HDR ODS. For the performance optimization of related process chain, the process:
    1) upload of HDR ODS from 2LIS_02_HDR
    2) upload of ITM ODS from 2LIS_02_ITM (ONLY PSA)
    are PARALLEL process.
    After activation of HDR ODS and upload of ITM PSA, with AND process, i upload data from ITM PSA to datatarget, but there is an process chain error:
    "No ods activation process can be in front of process PSA read and update data target in the chain" !!
    Could you help me?
    Thanks in advance!
    Bye!
    Ferdinando

    Hi,
    Have you tried this format.
    1. Upload HDR (PSA Only)
    1. Upload ITM (PSA Only)
    2. AND
    3. Update HDR (PSA to DT)
    4. Activate HDR
    5. Update ITM (PSA to DT)
    6. Activate ITM
    With Regards

  • Activation Error in ODS

    HI Gurus,
    I have a typical scenario.
    I am loading data into ODS.The data loads get completed but activation is failing.Giving no error.
    At the same time data is getting reportable, but when I check into the active data table, the number of records is 0.
    I tried to force it green so that I can carry out manual activation,but the status(both QM & Technical) is not changing.
    I tried deleting & loading the data again.NO success.Is it some BASIS issue?If yes, then plz let me now the probable solution.
    Plz help.

    Hi,
    when you go for manual activation
    Go to ODS Manage screen
    Click on activate button
    you will get the POPUP
    where you have the Button Job Overview
    Select that and look for the Job log
    try to find at which step it is getting failed
    if you can solve it
    Please past the Log here
    we will try to provide the solution
    Regards
    Hari

  • Updating detail record and getting multiple 'UNABLE TO INSERT RECORD' msgs

    Help! We have 2 datablocks, master and detail block with relation defined. Master is defined with view based on database joins; detail is view based on table.
    When I update the record in detail block, error message 'UNABLE TO INSERT RECORD' appears four times, then I get transaction complete: 5 records applied and saved, where the one record successfully updates. Why are we getting four records with insert errors and one record update? We don't want to work directly on the table, but why can't we use the view? please help.

    The UNABLE TO INSERT record will be accompanied by more information if you press the Display Error key. Your form commit processing should stop when it gets an error like this, the fact that it doesn't implies that somewhere in your code you are not checking for FORM_SUCCESS before continuing doing something else.
    This sounds quite involved, we would need to have more information about what records are queried and what's being changed on them to cause the commit.

  • Programmatic updating multiple records of a table in ADF

    Hi,
    I am using Jdeveloper : 10g 10.1.3.3
    Problem : I need to update multiple records in DB using ADF feature.
    The senario is like user is shown records of item consisting of item name, item code, category code, price etc. then user clicks "change category code" link availabe against each record. In next page user is shown current code and provided a text box to enter new code. Once i get this in my bean i need to update all records as:
    update item_info set category_code = :new_code where category_code = :current_code. Means to udate category code in all the records where category_code is :current_code.
    I have Entity and View Object for this table.
    How do i update multiple records using created view which is entity based?
    Have A Nice Time!
    Regards,
    Kevin

    In ADF you don't use update statement directly. This is done by the framework.
    You have to search for the records which match your condition category_code = :current_code using your VO based on the entity.
    Then iterate over the result set and change each row to your need setCategoryCode(newCode);
    When you commit the changes they are persist them in the DB.
    To see the changes in the UI you have to update the display using PPR or execute the query again.
    Timo

  • Update multiple records with update button???

    I was wondering if someone could explain how I can use the developer tool box to update multiple records at once.
    I have a repeat region with a title and a check box if the item is active. I would like to update all records of the table at once. I have see folks state the developer tool box can do this. However I am not sure how..
    I am using php with mysql dreamweaver cs3

    Hi Chris,
    that can be done with first creating an ADDT "dynamic list", means to apply ADDT´s "Dynamic List Wizard" to an empty page -- this list will provide checkboxes for all displayed records, and here´s where you can select the to-be-updated (or deleted) records.
    Besides creating the list, this wizard will also be creating a blank "form" php page in the same directory, which is by default "tied" to the created list -- you´ll just need to open this blank document with DW and apply ADDT´s "Create Dynamic Form Wizard" to it. However, this form will contain all required routines for single and multiple updates, depending on how many records you select in the list.
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Update data targets from ODS object automatically

    Hello experts,
    I have an ods (that has two delta loading every night) with the setting: "Update data targets from ODS object automatically". This ODS is source of only one other ODS.
    But we have a chain when there are the seguent steps: delta 1 --> ODS1,
    delta 2 --> ODS1; Activate ODS1; delta --> ODS2; Activate ODS2.
    The setting "Update data targets...automatically" could create some problems?
    I think this because it is happened that in delta loading of ODS2, some records have only the key filled, and all the data fields blank; then, if I make a full repair of these records, all data are correctly filled.
    Could be this the cause?
    Help me..it is urgent..
    Thanks,
    Vito

    Hi Vito,
    To have better control of processes when ods gets data from multiple sources and supply it forward to ODS and cube ...we generally deactivate the flag "update data automatically".
    And Process chains looks like ..
    From source 1,2,3 update data into ODS 1.
    Activate Data ODS1
    Initiate delta from ODS1 to ODS2.
    Activate data ODS2.
    We did face some problem of blank records with only key filled and later deactivated the checbox "Update data into data targets automatically" and it resovled lots of issues.
    Hope that helps.
    Regards
    Mr Kapadia
    Assigning points is the way to say thanks in SDN.

Maybe you are looking for

  • SAP dispatcher status is stopped in Console how can i start it

    Hi All Help me out *SAP dispatcher status is stopped in Console how can i start it Dispatcher turns green to yellow suddenly and status changes to stopped and all WP elemets shows status as ended. Alert from Syslog  : SAP Basis System: Message server

  • Nano Error Message

    Thank you all for the post, I finally got 5.0 Fixed due to all of your efforts as well as a 2 hour phone call with Apple. Apparently we have one free call with each Ipod. However, although the software is working, I am having a problem transftering a

  • Which solution should I adopt? Applet or Java Web Start?

    Hi, I am developing a web application which should print cards through a printer in the client side. I would like to use a web start aplication to execute JNI calls in client side, but I am considering a possible solution the use of an Applet aplicat

  • Might have a virus help me!!!

    My iPod has an app that I can not delete no matter what I do and it isn't downloaded all the way so its weird. Ever science I downloaded it my iPod has been acting really glitchy and weird. I synced it with my computer and now my computer is acting w

  • Can't find the constructor

    i have the following code   static java.lang.Comparable [] d;   //a constructor to fill up the d array   sortingClass(java.lang.Comparable data[]) {     d = data;   int findLargest() {     java.lang.Comparable largestSoFar = d[0];     int where = 0;