Approach to deleting master data from BW

Hi Gurus,
   Is there a way to quicly delete master data from BW? Since the master data object have dependencies with ither objects its taking me forever to go and delete it one by one...i go to the where used list ..delete the contents of the object in the where used list and then some back to delete the contents of the intial object..
kindly let me know if there is a faster way of  doing it...
Thanks,
Nip

Hi,
You can use reports:
RSDRD_DELETE_FACTS
and
RSDMD_DEL_BACKGROUND
Pls chk this links on the same topic:
Delete Unused Master Data
Re: Cleanup of Master Data
Re: Could not delete master data
Hope it helps.
Regards
CSM Reddy

Similar Messages

  • How to delete master data from InfoObject

    Hello,
    Can anyone give me an advice for the following problem :
    160 employees have been deleted from R/3 but still exist in BW.
    I am searching a way to delete them in BW but I have the following problem :
    - selective deletion in InfoCubes and ODS is OK
    - when I try to delete them in 0EMPLOYEE , I received the message
    "master data xxxxxxxx (SID xxxxxxxx) is used in BI0/QPERSON and therefore can't be deleted.
    The reason is that 0PERSON is an attribute of 0EMPLOYEE and vice versa.
    No records in R/3 exist for those employee.
    Any idea how can I delete them in BW in 0EMPLOYEE and 0PERSON ?
    Thanks for your help,
    IE

    Hi Ingrid,
    1. delete the data from all infocubes and ODS's, where the infoobject is available.
    then the masterdata isn't in use. all SID's should be deleted from the dimension tables.
    Now you can delete the masterdata with the AdminWorkbench.
    2. delete the employees from 0EMPLOYEE.
    3. delete the employees from 0PERSON.
    you can also try the function: archive.
    Sven

  • Problem deleting Master Data from an InfoObject

    Hello Everyone,
    We have 0MATERIAL infoobject. There was no Master data in the infoobject. Then, i manually entered the data into the InfoObject. After a day, i tried to delete the Master data to load it from R/3. When i tried to delete the Master data from the InfoObject, it shows errors and does not allow me to delete the data. Say, i entered 2 into material column of a record, the error appears like 'Master Data 0000002' (SID   25) is being used in /BI0/DOSH21' and cannot be deleted'. could someone please help me with this. This is a bit urgent. Let me know if you need more information.
    Thanks.

    Hi Sachin:
    Your only hope is if R/3 has the Correct Master Data, it will overwrite your Master Data. But remember for this, the KEYS have to be same because the KEYS can never be deleted in your case.
    E.g., MATERIAL, LOC (is an attribute)
    You inserted:
            000000002, TEXAS
    If, in R/3 there is infact a material with  key 000000002, FLORIDA. THis will overwrite your Record.
    If R/3 doesn't have 000000002, there is not much you can do now.
    Ram Chamarty

  • DELETING Master Data from 0Material

    Guys I am trying to Delete Data from 0Material, but when I run the FM RSATREE_PSA_DELETE_BATCH and check on T-Code 'slg1' it says the following,
    <b>"Master data 070-310-0 (SID 652) is used in ZCONSIGNED_INVENTORY_BYMONTH and, therefore, not deleted."</b>
    I have never come across where a query will be blocking data. The only thing that comes to mind is that it could be restricted by the data from the cube, and that is making it block the data.
    Having said that, when I try to open the query , it is all greyed out. And I have also tried deleting the query by T-code "rszdelete", but it comes back with the following message
    "Query object EU3SUSBZ4KR0Z75SUZRNBDSX0 is blocked. Deletion has been cancelled."
    any ideas!!!

    Hi,
    no you just can't "clear" these table unless you want to screw your datawarehouse....
    the first message means that the material with SID 7 is used in a hierachy of 0MATERIAL ==> adjust the hierarchy first.
    the second message indicates that the material with SID 5316 is used in the ICube 0RT_C07 and you CANNOT delete master data if it is used in other objects.
    First run RSRV for this dimension in order to see if the DIMID is really used by the fact table. Perform the following test "Entries Not Used in the Dimension of an InfoCube " with your cube and dim.
    if the DIMID is not used then "correct" the error; you'll then be able to delete your SID.
    If the DIMID is used then you'll have to delete your cube data if you really want to delete this material; otherwise you'll have to keep it.
    Finally rerun you master data deletion.
    hope this helps...
    Olivier.
    Edited by: Olivier Cora on Jul 31, 2008 9:07 AM

  • Deletion of huge master data from Admin console

    Dear All
    we are using EPM 10 of SP16. By mistake we have loaded wrong md to one of the dimension.
    we are trying to delete master data from a dimension with specific filter on one of the property.
    we are getting the errror  repeatedly...
    "An exception of type 'CX_SY_CONVERSION_CODEPAGE' occurred, that was not caught anywhere in the call hierarchy. It was not handled locally or declared using a RAISING clause."
    "Unhandled Error (HTTP Status:500): Error #1009"
    Steps followed.
    1. Deleted small small amounts of MD [ 100 to 200 at a time]. and then processed. It went fine. but the deleted members came back.
    2. 'CX_SY_CONVERSION_CODEPAGE'  exception while processing dimension : Followed this note and refreshed dimension cache. Even after which we are getting above error and all the deleted md has come back.;
    There are nearly 50,000 records needs to be deleted asap.
    Can somebody please help us...
    thanks
    Prasad

    Hi Prasad,
    I think you have to follow this note, for large volume of master data, 1672453 - BPC 10 NW Unhandled Error (HTTP Status: 500) Error #1009. Unable to Save or Process Master Data
    Regards
         Roberto

  • Re: delete master data

    Hi All,
    How to delete master data. I tried delete master data from the context menu of infoobject.
    But it says some of master data not delted. I deleted all the transaction data exist for that master data.
    But still  i am not able to delete the master data.
    Pls provide me the solution.
    Regards,
    Anand

    1.Ideal way is right click and delete master data .
    2.Also you may right click > maintain master data->execute-->select all >click on delete icon>SAVE
    3.You may use func module SUBST_DELETE_TABLE_CONTENT.
    Kindly check  where used list of that infobject in transport connection , delete data from dependent infoproviders and then try deleting master data.
    Edited by: Neetika Sharma on Jun 22, 2010 9:43 AM

  • How to delete master data of materials from sap tables

    how to delete master data of materials from sap tables...its needed now.
    i know its not recommended but still we need to do this. give me the best possible approach.
    regards,
    suneetha

    Hi,
    I would suggest you not to write your own code to delete the entries.
    BAPI_MATERIAL_DELETE, this would mark all materials selected for deletion. But still the material would exist in SAP.
    Another solution: Delete a material manually and in another session execute the transaction SM04. This would display the tables which get locked when you do the operation, Then you can write your own code to delete the material numbers from all the related tables.
    Regards
    Subramanian

  • Delete mass master data from db

    Hello All,
    actually we need to delete several millions of master data from database tables. The only problem is, that a simple "delete from db_table where group_id = 'A' does not work.
    Is there any possibility to cluster a delete?
    Thank You!
    Goliad001

    Hi ,
    try create program (se38) and schedule in background,
    remark * I_T_CHAVL =, i haven't fix the code if i_t_chavl used, but tested the program done well.
    hope this helps.
    REPORT Z_DEL_MASTER.
    tables : RSDIOBJ.
    select-options:
    s_iobj for RSDIOBJ-IOBJNM.
    start-of-selection.
    loop at s_iobj.
    call function 'RSDMD_DEL_MASTER_DATA'
    exporting
    I_IOBJNM = s_iobj-low
    I_FLG_DELETE_ALL = 'X'
    I_FLG_DELETE_SIDS = 'X'
    I_FLG_DELETE_SIDS_ASK
    I_FLG_DELETE_TEXTS = 'X'
    I_T_CHAVL =
    I_FLG_DIALOG = ''
    I_FLG_FORCE_DELETE = 'X'.
    I_FLG_SIMULATION = ''
    I_WITHOUT_PROTOCOL = ''
    endloop
    You can use this instead of direct SQL.
    Thanks and Regards,
    MuraliManohar

  • Problem with deleting old master Data from 0Material

    Hello, we try to delete the master data from 0Material.
    But we get the message that some data are used and can not be deleted.
    We can see the error message in slg1:
    "Master data 000000000100000007 (SID                                                   7) is used in /BI0/HMATERIAL; is not deleted"
    "Master data R23188 (SID                                                5316) is used in /BI0/D0RT_C071; is not deleted"
    Can we just clear these tables? Is it enough for resolving the problem?
    Thank You.

    Hi,
    no you just can't "clear" these table unless you want to screw your datawarehouse....
    the first message means that the material with SID 7 is used in a hierachy of 0MATERIAL ==> adjust the hierarchy first.
    the second message indicates that the material with SID 5316 is used in the ICube 0RT_C07 and you CANNOT delete master data if it is used in other objects.
    First run RSRV for this dimension in order to see if the DIMID is really used by the fact table. Perform the following test "Entries Not Used in the Dimension of an InfoCube " with your cube and dim.
    if the DIMID is not used then "correct" the error; you'll then be able to delete your SID.
    If the DIMID is used then you'll have to delete your cube data if you really want to delete this material; otherwise you'll have to keep it.
    Finally rerun you master data deletion.
    hope this helps...
    Olivier.
    Edited by: Olivier Cora on Jul 31, 2008 9:07 AM

  • Error while deleting master data (Message no. RSDMD118)

    Dear all,
    I am performing a test to create and delete new Company Codes in Consolidation Workbench.
    Creation of new Company Codes went on successfully but deleting them give me the following error message upon saving:
    Error while deleting master data
    Message no. RSDMD118
    Since they are new Company Codes, they have not been used and stored in any BW cubes. Any idea on why BCS prevents me from deleting them?
    Appreciate assistance to troubleshoot and resolve this error.
    Thank you.

    Thank you both for your replies.
    I am sure those are not the case here as I deleted the Company immediately after creating it.
    Just to make sure, I performed "Where-Used List" again and BCS confirmed that it is not being used anywhere:
    Use of: Company UAT1 UAT Company 1
    Number of Uses Found: 0 
    However, the same error message was displayed again after I tried to delete the Company and save the configuration. Still can't find any solid reason behind this.

  • Delete Master Data - with or without sids

    Hi
    i am working on 0customer_attr
    now when i right click and see master data it has 100 records
    the same in r3 has 85 records.
    so i thought i will try to delete master data and then load again.
    so i right cick on 0customer and choose Delete master data.
    now if i go back and see data for 0customer it still exists.
    q1. what is the approach to delete and reload master data so between r3 and bw synchronization exists ???
    q2. should i select with SIDS or without SIDS ???
    how to rectify this error.
    thank

    Hi,
    Q1..how can i find which transaction data is using those records ?
    Doubleclick on the Master data IO. In the right pane you will find "Where-Used List" option. Click on that. It will give you the entire list of BW objects(DSO, Cube etc) in which your Master data IO is used.
    q2. How can i delete transaction data
    Right click on the Data targets(DSO, Cube etc) in which your master data IO is used, select the option Delete Data.
    (or) Right click on the Data targets(DSO, Cube)>Manage>Select the Request-->Delete
    q3. i dont see anything in psa,, it is master data so is that why there is no psa ??
    Though it is a Master data, you should have loaded the data via DS so PSA will be there. It is possible that you might have deleted the PSA data.
    Do one thing, delete all the Transactional Data(follow Q2 ans), then delete Master Data contents. Then do the loading again.
    Hope it helps!
    Regards,
    Pavan

  • How to delete the data from partition table

    Hi all,
    Am very new to partition concepts in oracle..
    here my question is how to delete the data from partition table.
    is the below query will work ?
    delete from table1 partition (P_2008_1212)
    we have define range partition ...
    or help me how to delete the data from partition table.
    Thanks
    Sree

    874823 wrote:
    delete from table1 partition (P_2008_1212)This approach is wrong - as Andre pointed, this is not how partition tables should be used.
    Oracle supports different structures for data and indexes. A table can be a hash table or index organised table. It can have B+tree index. It can have bitmap indexes. It can be partitioned. Etc.
    How the table implements its structure is a physical design consideration.
    Application code should only deal with the logical data structure. How that data structure is physically implemented has no bearing on application. Does your application need to know what the indexes are and the names of the indexes,in order to use a table? Obviously not. So why then does your application need to know that the table is partitioned?
    When your application code starts referring directly to physical partitions, it needs to know HOW the table is partitioned. It needs to know WHAT partitions to use. It needs to know the names of the partitions. Etc.
    And why? All this means is increased complexity in application code as this code now needs to know and understand the physical data structure. This app code is now more complex, has more moving parts, will have more bugs, and will be more complex to maintain.
    Oracle can take an app SQL and it can determine (based on the predicates of the SQL), which partitions to use and not use for executing that SQL. All done totally transparently. The app does not need to know that the table is even partitioned.
    This is a crucial concept to understand and get right.

  • Deleting master data after loading transactional data using flat file

    Dear All,
    I have loaded transaction data  into an infocube using a flat file . While loading DTP i have checked the  option "load  transactional data with out master data exists" . So transactional data is loaded even if no master data is there in BW.
    While loading the flat file, I made a mistake for DIVISION Characteristic  where original master data value is '04000' , but i loaded the transactional data with value '4000' .Then i later realized after seeing the data from the infocube and deleted the request. then i reloaded data with value '04000'. Till now every thing is fine.
    But when I see the master data for DIVISION , i can see a new entry  with value '4000'.
    My question is how to delete the entry value '4000' from DIVISION. I tried deleting manually this entry from 'maintaining masterdata' , but it is not allowing me to do so .
    I have also checked if any transactional data exists for that value '4000' , as i said earlier I have deleted the transactional data with that values. even tried to delete the entries from the master data table, but i donot see a option to delete entries there.
    Please suggest me on this.
    Regards,
    Veera

    Hi,
    Goto RSA1 right click on the Info object and select Delete Master data. This will delete the master data unused existing in the table.
    If this master data is not used any where else just delete the master data completely with SID option.
    If even this doesnt work you can delete the complete table entire in SE14. But this will wipe out the entire table. Be sure if you wanna do this.
    Hope this helps
    Akhan.

  • How to extract HRM master data from R/3 into LDIF file?

    Recently I have been asked to provide an extract from our R/3 system
    with some Human Resource master data. The extract has to be in the LDIF
    format (LDAP data interchange format). It is needed to import into a
    DirX metahub solution from Siemens.
    How can this be done most easily?
    (does SAP provide tools, can XI do this?) or do we have to write a
    customized abap to do this?
    Thanks in advance
    Kind regards
    Alex Veen

    Hi Satish,
    As per SAP Standard also the best way is to delete whole data from the cube and then load the data from set up tables as you have enhanced the data source.
    After data source enhancement it is supported to load normally because you don't get any historical data for that field.
    Best way is to take down time from the users, normally we do in weekends/non-business hours.
    Then fill the set-up tables; if the data is of huge volume you can adopt parallel mechanism like:
    1. Load set-up tables by yearly basis as a background job.
    2. Load set-up tables by yearly basis with posting periods from jan 1st to 31st dec of any year basis as a background job.
    This can make your self easier and faster for load of set-up tables. After filling up set-up tables. You can unlock all users as there is no worries of postings.
    Then after you can load all the data into BI first into PSA and then into Cube.
    Regards,
    Ravi Kanth.

  • Deletion of Data from Infoprovider  after upgradation of source system

    HI All,
    In our project  source system is upgraded from 4.7 to ecc 6.
    I have kept the same logical name and changed the RFC connection so that it points to new source system.
    Now do i need to delete all data before uploading data from source system or it will be fine as source system name is same.
    If i need to delete data ,can u help me how to delete master data especially Hierarchy data. do we need to Delete Hierarchy and recreate it.
    Please help em to resolve this issue

    Hi,
    It depends on your requirements whether you have to keep the history or not.
    If you  delete the data from your info providers, you have to reload everything from scratch.
    If you want to delete the data from all
    1. first delete the data in data targets such as cubes, DSO's or ODS then
    2. master data
    use these programs to delete from se38
    -> rsdrd_delete_facts - for Cubes and DSO or ODS
    -> rsdmd_del_background - for master data in background
    -> rsdmd_del_master_data_texts - for master data right away
    manage your master data info objetcs after the deletion, if you still find them....
    go to se14 and delete individually each and every table such as attributes, texts, sids, hierarchy.
    hope it helps you better.
    But I dont recommend you to delete try to load full repair options for all yur loads

Maybe you are looking for

  • Reg: Proxy error while fetching data from RFC's

    Hi All, I am fetching data from RFC's. When the data is in bulk I am getting an error like: Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request POST /webdynpro/dispatcher/sa

  • How to upload a new photo onto dreamweaver to upload to existing site

    how do I upload a new photo in dreamweaver and insert it into an existibg website with pre existing file name/directories for photos that have been deleted because stock has been sold

  • Problem burning dvd

    Okay, so our racing season is about to begin, so Im ready to start making videos again.  However, my computer is not cooperating. I don't actually think this is an Encore problem I think its a hardware problem, but I didn't know where else to ask so

  • Table in design view not displaying properly

    I put in a table at 100% width - to house a spry menu.  It shows up fine in all browsers and in live mode, but in dreamweaver design view the table and menu display off to the right - outside of the workspace. It's a pain!  How do I fix this?

  • Connection to FullHD LCD through VGA

    I have connected my X200s to a Philips LCD TV before by VGA (TV resolution 1300something x whatever)  but I am wondering if Full HD would be too much (1920x1080px) and if the image quality will be good enough to make it worth buying. I have searched