WHAT IS PROCEDURE TO UPDATE DATA INTO DATA TARGETS?

Hi,
Experts,
WHAT IS PROCEDURE TO UPDATE DATA INTO DATA TARGETS?
FULL and DELTA.
Thnx&regds,
prerna

Hi...........
For both BW 3.X and BI 7.0........replicate the datasource in the BW side and activate it.............if require create Generic datasource and replicate it........
In BW 3.X.....
1) Create infosource
2) Create transfer rules and update rules
3) Create an infopackage...............with update mode full update( Update tab),in the Processing tab you can make it PSA and then into data targets........only data targets..........or PSA and data targets parallely...............
For Delta load..........1),2) is same...........
3) then you have to create a full Upload IP...........and you have to run it first..........
4) Then you have run a init IP without data transfer to det the init flag
5) then run Delta IP........
Init and delta upload will be always without selection......
BI 7.0 :
1) Create an infopackage and load data till PSA..............
2) create transformation between PSA and data targets.....
3) The create a DTP and load data to the target.............depending on your requirements you DTP can be full or delta..........
Check the following links :
http://help.sap.com/saphelp_nw2004s/helpdata/en/43/02c52ce87e2c9ce10000000a1553f6/frameset.htm
http://help.sap.com/search/highlightContent.jsp
http://help.sap.com/search/highlightContent.jsp
http://help.sap.com/saphelp_nw70/helpdata/EN/b9/2d9778476b11d4b2b40050da4c74dc/frameset.htm
Hope this helps you......
Regards,
Debjani..........
Edited by: Debjani  Mukherjee on Sep 14, 2008 1:43 PM

Similar Messages

  • Using CRUD procedures to update data and ref cursors to return data

    Hi:
    I am currently evaluating Apex 3.x to replace an existing app that uses lots of procedures to update and return data.
    1. Is it possible to return data from a function that returns a cursor (or from a procedure that has an input/output ref cursor parameter for that matter) ? Example: Let's say I have the following function in a package:
    function get_data return sys_refcursor
    is
    l_cursor sys_refcursor;
    begin
    open l_cursor for select sysdate as field from sys.dual;
    return l_cursor;
    end;
    Can I add a page with a table that is populated based on this function? Based on my research it is not possible, but I want an APEX expert to confirm it
    2. The old application uses CRUD procedures to update date, that is for each table there are 3 procedures, insert update and delete. Question: is it possible to channel all the update, inserts and deletes through these procedures? Furthermore, in lots of cases I use sequences to populate the primary keys, and the new value is returned as output parameter. Can I retrieve the output value and use it maybe in the next page I am branching to?
    In the samples that I've seen the same form is used for insert and update. How do I distinguish between the two modes?
    3. Can you please point me to some samples that show how to do 1 & 2. The standard samples that I've seen use the automatic row processing.
    4. Could you please recommend some good books about Apex or HTML db? I found the documentation unintuitive. It is hard to picture quickly how things tie together by reading this documention. I wish the documentation was more task oriented and presented 'how to...' implement generic patterns used in web apps.
    Thank you in advance

    Hi guys
    Check out the last 2 posts in this thread for ideas on how to implement 1.
    Report on user data from LDAP
    Varad

  • Process Chain : Read PSA and Update Data Target in BI 7.0

    Hello Experts,
    In my Process Chain I have a variant Execute Infopackage to load the data only into PSA. then I have next variant as *Read PSA and Update Data Target*. my data target was a Master Data table Hierarchy
    In the variant " Read PSA and Update Data Target". the selection Parameters were
    PSA.Table : 0GLACCEXT_T011_HIER_BA1
    Selection Object Type : same Infopackage in Varaint Execute Infopackage
    the Error message was Variant doesnot contain a valid combination request/data target
    I checked the PSA-Table using RSA1OLD Transaction then I find four PSA Tables:
    0GLACCEXT_T011_HIER_BA1
    0GLACCEXT_T011_HIER_BA2
    0GLACCEXT_T011_HIER_BA3
    0GLACCEXT_T011_HIER_BA4
    All the requests are linked to PSA Table *0GLACCEXT_T011_HIER_BA4*.
    I can't understand why there exists four PSA Tables?
    I try to link the PSA-table 0GLACCEXT_T011_HIER_BA4 in the variant *Read PSA and Update Data Target and try to save it it raises short dump.
    If I select 0GLACCEXT_T011_HIER_BA1 in the varaint I shouldn't face any problems.?
    but the process chain raises an Error message Variant doesnot contain a valid combination request/data target with this variant.
    How shall I handle this issue?
    Please carify me the issues as soon as possible.
    thanks in advance
    Regards
    sailekha

    Hello,
    In the Variant Read PSA and Update Data Target I have to select  the PSA Tabelle Name from the preselection list in the System it shows me all the four PSA Tables that I mentioned.
    I can select any one of them. So I trieed with all the four PSA Tables in the list but I can selct only the XXXX......BA1 table  then only I can save and  include it in the PC. If I select the remaining tables BA2, BA3, BA4.........while I try to save the Variant it raises short dump.
    I checked the PSA using the Transaction  RSA1OLD under PSA...... I find 4 PSA Tables( I don't know whether they are PSA Tables or not but in the Variant it states that they are PSA Tables) in which all the requests are attached to BA4. only.
    I observed that ony for Hierarchies I find four PSA tables for remaining one only one PSA table was available.
    I totally confused how to handle this situation. any suggestions......... please help me to resolve this problem.
    Thanks & Regards

  • BW 3.5 - Update to PSA only / Read PSA and Update Data Target

    Hi Folks,
    I am planning to use on a  BW 3.5 data source and infopackage that loads to PSA only (as the source system job runs quite long and we would run other prepration loads in parallel before pushed to final cube). And then later in the process chain the process Read PSA and Update Data Target to load the data to final cube.
    As we plan to run the process chain 3 times a day I was wondering if the Read PSA and Update Data Target always takes only the latest request loaded to the PSA (as it is always the same infopackage) or do we have to delete the PSA request at the end of each process chain run so that not the next run will load the PSA request again as it is still in the PSA?
    Thanks for all replies in advance,
    Axel

    You are loading the Delta till the PSA, multiple times a day, and after each update to the PSA you will send the data to the Cube.
    Once its there in the PSA, you are performing further tasks & then updating the cube multiple times (once after each delta)
    Well, the 1st load to the cube should be OK.
    But, from the next load onwards, it would pick up all the requests from the PSA & you will have wrong values in the Cube.
    Because, i think, while using 'Read PSA & Update the Target', you can't set it for a FULL or a DELTA load.
    It will bring in everything that exists in the PSA.
    I would advice you to clean the PSA before the starting next Delta.
    But, there is a counter argument.
    If the data mart sign is reflected in the PSA for the request that has been loaded into the cube, then the next time the system will pick up the request which does not have a data mart symbol.
    You can always give this a try in your Dev system.
    Edited by: Vishal Sanghvi on Apr 1, 2011 1:58 PM

  • 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.

  • What are all the Standard Data targets&Data source for Warehouse management

    Hi,
    What are all the Standard Data targets & Data source for Warehouse management.
    Thanks,
    Ahmed.

    HI,
    the master data
    1.equipment data --IE01
    2.All functional locatiions -IL01
    3.Maintainnace work centers - IR01
    4.Task list data - IA05
    4.Schedule maintanence plan
    6.Strategies
    7.Measuring points
    8.Characters for calibration
    9.Equipemnt BOM
    10.Material BOM
    Regards,
    Anddra

  • What are all the Standard Data targets&Data source for Transportation Manag

    Hi,
    What are all the Standard Data targets & Data source for Transportation Management.
    Thanks,
    Ahmed.

    HI,
    the master data
    1.equipment data --IE01
    2.All functional locatiions -IL01
    3.Maintainnace work centers - IR01
    4.Task list data - IA05
    4.Schedule maintanence plan
    6.Strategies
    7.Measuring points
    8.Characters for calibration
    9.Equipemnt BOM
    10.Material BOM
    Regards,
    Anddra

  • InfoPackage don't update Data Target

    I Have a general problem that InfoPacjage didn't update any data target especially InfoCube
    I am using the Data Flow 3X
    When I am using DTP instead I succesfuly update data target
    I need to know why InfoPackage didn't update data target?
    Edited by: Mohamed Anas on May 29, 2011 9:36 PM

    hi Mohamed,
    Make sure your infopackage data target is not PSA only, there are multiple selection like PSA, Direct to Data Target.. sequencially and paralller. If that is not the issue, is your datasource emmulated DS? or it is 3.X? make sure you use the correct datasource type.. you can change that in rsds tc. Still that is not the issue, then tell us if  you are getting any error? is it specific to one datasource or to others as well? try to do it in background instead of dialog. Hope that helps.
    thanks.
    Wond

  • Update data targets from ODS

    Hi Friends,
    I have question regarding how to update data further from ODS.
    I have ODS1 and ODS2.
    ODS1 is having deltas updated from ODSA.
    ODS2 is a new ODS and now needs to be updated from ODSA.
    I have reviewed the help already.
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/749bbb595511d4b2bc0050da4c74dc/content.htm
    I want to initially update the ODS2 with <u>selection conditions</u> from ODSA.
    After that I want to load delta from ODSA to ODS2 by automating the process in process chain.
    Please help me know, What is the optimum solution and what are the steps need to be executed.
    Thanks,
    John.

    Anil,
    I am just repeating the procedure to cinfirm that I understand it properly.
    1. Go to scheduler, Initialization option make the status of the overall request red.
    2. when it asks for update the QM status to all data targets, select no.
    3.and then delete the init. request from Scheduler.
    By doing this we just deleting the initialization selection and the request in the subsequent data targets are still green and they contain data.
    After that Init. without data transfer will do the work.
    Please confirm,
    I really appreciate your input on this.
    Thanks.

  • How to find what planning sequences/functions update data in a cube?

    Hi, Experts:
    We have a real time cube being updated by planning sequences/functions. How can I find what planning sequences/functions are updating this cube?
    Thanks,
    Jenny

    Hi,
      You can go the transaction code: rsa1 and then select "Meta data Repository" option on the left side.
    You can use Meta data repository to view the dependent objects for a infocube or any other BW object.
    In your case, you can select "Infocube" option on the left side and then go on selecting your infocube.
    Now you will get all dependent objects created on this infocube, which will include your plannign functions also.
    Refer top the following link for more details on "Meta data Repository",
    http://help.sap.com/saphelp_nw04/helpdata/en/4e/ea683c25e9096de10000000a114084/frameset.htm
    Regards,
    Balajee

  • Dynamic Page that calls DB procedure to update data gets PLS222 or PLS306

    This seems a bit odd to me: I'm getting either "procedure no in scope" (when I call a procedure with the right args) or "wrong # or type of arguments" (when I call it with the wrong ones, so it is checking the procedure) in a dynamic page.<P>
    I'm trying to build a dynamic page that will display data and checkboxes (basically to get around the multi-select limitations -- management has told me that the "fake" md form is not acceptable)<P>
    So I build the page, it displays the data just fine exactly as we want it to:<P>
    <HTML><FORM><ORACLE>declare
    p_mdoc_user portal.wwv_utl_api_types.vc_arr;
    p_mdoc_user_seq portal.wwv_utl_api_types.vc_arr;
    p_seg_id portal.wwv_utl_api_types.vc_arr;
    p_cb portal.wwv_utl_api_types.vc_arr;
    p_action varchar2(20):='Save Changes';
    begin
    htp.p('Select your segments');
    htp.p('< p>');
    htp.p('<table border=2 cellpadding=2 cellspacing=0>');
    htp.tablerowopen;
    htp.tableheader('Seg#');
    htp.tableheader('Included');
    htp.tablerowclose;
    for r1 in (select seg_id, build_seg
    from web.mdoc_create_seg
    where mdoc_user = :mdoc_user
    and mdoc_user_seq = :mdoc_user_seq)
    loop
    htp.p('<input_type="hidden" name="p_mdoc_user" value='||:mdoc_user||'>');
    htp.p('<input_type="hidden" name="p_mdoc_user_seq" value='||:mdoc_user_seq||'>');
    htp.p('<input_type="hidden" name="p_seg_id" value='||to_char(r1.seg_id)||'>');
    htp.p('<tr><td>');
    htp.p(r1.seg_id);
    htp.p('</td><td>');
    if r1.build_seg='TRUE' then
    htp.p('<input type="checkbox" name="p_cb" value="Y" checked>');
    else
    htp.p('<input type="checkbox" name="p_cb" value="Y">');
    end if;
    htp.p('</td></tr>');
    end loop;
    htp.p('</table>');
    htp.p('< p>');
    /*note, this is where I'm putting in a procedure call to update*/
    end;
    </ORACLE></FORM></HTML><P>
    so then I try to add the procedure call (where the sql*plus comment is above)<P>
    htp.p('<input type="button" value="Save Changes" onclick='||
    mdoc_seg_create_choice_p(
    p_mdoc_user,
    p_mdoc_user_seq,
    p_seg_id,
    p_cb)
    ||'>');<P>
    When I try to run as portlet, I get pls 222 not in scope. <but>
    When I take a value out (say remove the last ",p_cb") - I get pls 306 wrong number or type of args to call.<P>
    I've granted the procedure and its underlying tables to portal/public/and portal_public, even though I'm building the dynamic page under a DB provider that is the same as the schema I wrote the procedure in.<P>
    I've tried specifying the schema, using a public synonym, and putting it in a package: same thing occurs, either I get pls 00222 not in scope when I call it with the right columns, or if I purposefully leave one out I get PLS 00306 wrong # or type of args.<P>
    Any ideas?
    -Mike

    Hi guys
    Check out the last 2 posts in this thread for ideas on how to implement 1.
    Report on user data from LDAP
    Varad

  • How do I update/insert into a target table, rows after date X

    Hi all
    I have a mapping from source table A to target table B. Identical table structure.
    Target table A updates rows and inserts rows daily. Every week I want to synchronize this with table B.
    I have CREATION_DATE and LAST_UPDATE_DATE on both tables. I want to pass in a parameter to this mapping of date X which tells the mapping:
    "if CREATION_DATE is past X then do an insert of this row in B, if LAST_UPDATE_DATE is past X then do an update of this row in B"
    Please can you help me work out how to map this correctly as I am new to OWB.
    Many thanks
    Adi

    Hi,
    You can achieve this by -
    1. Create a control table, say Control_Table, with structure
    Map Name, last_load_date. Populate this table with the mappings that synchronizes your Table B.
    2. Alter mapping, that loads Table B to use the above control table to get all the records from Table A, you have to join Table A and Control_Table with the condition -
    Control_Table.Map_Name = < mapping name>
    AND ( TableA.Creation_Date > Control_Table.last_load_date
    OR TableA.Last_Update_Date > Control_Table.last_load_date )
    3. Then use UPDATE/INSERT on the Table B based on the Keys. This should take care of INSERT ( if not present) / UPDATE (if the row already exists).
    4. Schedule the mapping to run on weekly basis.
    5. You have to maintain the Control_Table to keep changing the values for Last_Load_Date to pick the data since the last time Table B is synchronized.
    HTH
    Mahesh

  • Datastore: Update data automatically functionality

    Hi Experts,
    I have a datastore object DSO1(target) that is fed from another datastore Object DSO2(source).
    The source DSO (dso2) is fed from table in R/3 via an infopackage and DTP (BI 7.0 model).
    The target DSO (dso1) gets data from the source via an update rule (BW3.5).
    I checked the following settings on DSO2 (source)
    <b>"Update data automatically"
    "activate data automatically" </b>
    <b>When i run a manual load on DSO2 (source) the request that is loaded gets updated automatically into the target - DSO1 and gets activated automatically - as expected
    </b>
    However <b>when I run a process chain </b>which uses the same infopackage and DTP to load a similar request into the source-DSO2 the corresponding request <u><b>DOES NOT</b></b></u> <b>get updated automatically</b>. I have to rt click on DSO2 and trigger an update via "Update data in 3.x data target" to load the request.
    Can anyone please tell me why the request would update for manual loads and not loads via process chain.
    I used the process type "Update Data Store Object Data (Further Update) " to update the data but i don't want to do this because we are planning to keep the target ODS1 in a different process chain.
    I can schedule an infopackage in the other process chain to load data from source DSO but it is extremely important that every time a request gets loaded into source DSO it gets updated into the target DSO. This is because of certain delta issues we are having when we try to load multiple requests from source into target at a time.
    "Get data by request" on a 7.0 DTP won't work either since every execution of DTP gets only one request at a time. If we want to load multiple requests we need to execute DTP multiple times (cannot be automated!).
    Helpful answers will be rewarded.
    MM<u></u>

    Hi,
    I guess you could create a Metachain and create the dependency between the 2 process chain. The you'll also be able to include the variant that you need in the metachain itself.
    Hope this helps.
    Thanks,
    Ashish

  • Sp L records are coming to the PSA and not updating in the data target

    Special Ledger records are coming to the PSA and not updating in the data target in the month end and the info package is failing - because of that we are doing manual updating from PSA to the data target -
    Can so one can tell the reasons why this is happening? And give the solutions to it?

    Hi Sankar,
    If your Infopackage uses Only PSA and Update subsequently in Data Target on the Processing tab, then you will need to add a process for Read PSA and Update Data Target in your process chain, after the Infopackage load process. Then it will take data from the PSA and load to the data target.
    Hope this helps...

  • Error while loading the data from PSA to Data Target

    Hi to all,
         I'm spacing some error while loading the data to data target.
    Error :  Record 1 :Value 'Kuldeep Puri Milan Joshi ' (hex. '004B0075006C0064006500650070002000500075007200690
    Details:
    Requests (messages): Everything OK
    Extraction (messages): Everything OK
    Transfer (IDocs and TRFC): Errors occurred
          Request IDoc : Application document posted
          Info IDoc 2 : Application document posted
          Info IDoc 1 : Application document posted
          Info IDoc 4 : Application document posted
          Info IDoc 3 : Application document posted
          Data Package 1 : arrived in BW ; Processing : Data records for package 1 selected in PSA - 1 er
    Processing (data packet): Errors occurred
          Update PSA ( 2462  Records posted ) : No errors
          Transfer Rules ( 2462  -> 2462  Records ) : No errors
          Update rules ( 2462  -> 2462  Records ) : No errors
          Update ( 0 new / 0 changed ) : Errors occurred
          Processing end : Errors occurred
    I'm totally new to this issue. please help to solve this error.
    Regards,
    Saran

    Hi,
    I think you are facing an invalid character issue.
    This issue can be resolved by correcting the error records in PSA and updating it into the target. For that the first step should be to identify if all the records are there in PSA. You can find out this from checking the Details tab in RSMO, Job log , PSA > sorting records based on status,etc. Once its confirmed force the request to red and delete the particular request from the target cube. Then go to PSA and edit the incorrect records (correcting or blanking out the invalid entries for particular field InfoObject for the incorrect record) and save it. Once all the incorrect records are edited go to RSA1>PSA find the particular request and update to target manually (right click on PSA request > Start update immediately).
    I will add the step by step procedure to edit PSA data and update into target (request based).
    In your case the error message says Error : Record 1 :Value 'Kuldeep Puri Milan Joshi '. You just need to conver this to Capital letter in PSA and reload.
    Edit the field to KULDEEP PURI MILAN JOSHI in PSA and push it to target.
    Identifying incorrect records.
    System wont show all the incorrect records at the first time itself. You need to search the PSA table manually to find all the incorrect records.
    1. First see RSMO > Details > Expand upate rules / processing tabs and you will find some of the error records.
    2. Then you can go to PSA and filter using the status of records. Filter all the red requests. This may also wont show the entire incorrect records.
    3. Then you can go to PSA and filter using the incorrect records based on the particular field.
    4. If this also doesnt work out go to PSA and sort (not filter) the records based on the particular field with incorrect values and it will show all the records. Note down the record numbers and then edit them one by one.
    If you want to confirm find the PSA table and search manually."
    Also Run the report RS_ERRORLOG_EXAMPLE,By this report you can display all incorrected records of the data & you can also find whether the error occured in PSA or in TRANSFER RULES.
    Steps to resolve this
    1. Force the request to red in RSMO > Status tab.
    2. Delete the request from target.
    3. Come to RSMO > top right you can see PSA maintenace button > click and go to PSA .
    4.Edit the record
    5. Save PSA data.
    6. Got to RSA15 > Search by request name > Right click > update the request from PSA to target.
    Refer how to Modify PSA Data
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40890eda-1b99-2a10-2d8b-a18b9108fc38
    This should solve your problem for now.
    As a long term you can apply some user exit in source system side or change your update rules to ensure that this field is getting blanked out before getting loaded in cube or add that particular char to permitted character list in BW.
    RSKC --> type ALL_CAPITAL --> F8 (Execute)
    OR
    Go to SE38 and execute the program RSKC_ALLOWED_CHAR_MAINTAIN and give ALL_CAPITAL or the char you want to add.
    Check the table RSALLOWEDCHAR. It should contain ALL_CAPITAL or the char you have entered.
    Refer
    /people/sap.user72/blog/2006/07/23/invalid-characters-in-sap-bw-3x-myths-and-reality-part-2
    /people/sap.user72/blog/2006/07/08/invalid-characters-in-sap-bw-3x-myths-and-reality-part-1
    /people/aaron.wang3/blog/2007/09/03/steps-of-including-one-special-characters-into-permitted-ones-in-bi
    http://help.sap.com/saphelp_nw04/helpdata/en/64/e90da7a60f11d2a97100a0c9449261/frameset.htm
    For adding Other characters
    OSS note #173241 – “Allowed characters in the BW System”
    Thanks,
    JituK
    Edited by: Jitu Krishna on Mar 22, 2008 1:52 PM

Maybe you are looking for

  • Cannot delete message from Trash

    Hi I have more than 10,000 deleted messages under Trash, in a folder named "on my mac". When I try to empty that folder o just empy the whole Trash, Mail crashes due to the high volume. I would like to delete those messages from the Finder, but I can

  • How to Modify Data in a Servlet Response

    Hi.. I have a servlet that upon receving an http request from client sends some data to the client browser, but i want to modify the data that is being sent to the client and resend it somehow (like its a kind of bypassing...without sending the origi

  • Can't Install Proper Version

    I downloaded the correct version for my OSX processor.  When I tried to install it, a dialogue box came up saying I couldn't because "devices with PowerPC are no longer supported."  It instructed me to download a version for PowerPC, but that's not w

  • How to install java in iPhone3G

    some websites need java applet to run, i need to install java in iphone in order to use that website. please help me thanks

  • ITunes error messge, error writing to file?

    I have used my iTunes (I think Version 7 - but I can't open it to verify. Right-clicking the desktop shortcut indicates it was last modified / updated on June 5, 2009) for a while now. Today when I go to open it (both via desktop shortcut and via sta