Cannot delete master data because it is in use by a query

Hi, all.
I am trying to delete some master data and it is in use by a query according to SLG1. Is there a good way to delete the master data content without deleting the query?
Thanks,
Jonathan.

Hi, Pavan.
The master data is not used anywhere else since I have already cleared all the cubes and DSO. The only thing the SLG1 is complaining is the query.
Actually, the reason I am doing this is because the data on the system is kind of old. After we refresh the source system with production data, we are trying to repopulate all the cubes again. I am wondering if we actually need to delete all the master data. Doesn't re-initializing the master data will do the job? If that is the case, is there any reason to delete the master data?
Thanks,
Jonathan.

Similar Messages

  • Cannot delete Master Data on 0MATERIAL...

    "Cannot delete Master Data on 0MATERIAL...... some records still in use"
    Hi, I am facing an issue where I would like to delete ALL 0MATERIAL records and load them again but I am getting the above message.
    Would very much appreciate any feedback.
    thks,
    Alex

    Guys, thank you all.
    That went smooth.
    When I executed the SLG1 log it showed me was still data in some InfoProviders.
    SOLVED DOING
    a-  Deleting data from such infoproviders (from log).
    b- Trying again to delte 0MATERIAL data.
    c- Error again.
    d- SLG1
    e- Identify form SLG1
    a- delete content from Cube/DSO/Object...
    b- trying again to delete 0MATERIAL...
    Until all data got deleted and I was allowed to delete 0MATERIAL data.
    First, delete the master data from the places where it is still being used (for example, in InfoCubes, as an attribute, in a hierarchy). Refer to the application log: Transaction slg1, object RSDMD, sub-object MD_DEL. The application log contains a list showing you whether the master data has been deleted or if it is still in use, and if so where it is being used. The list is complete only when you confirm that you want to delete all the master data that is in use.
    (Which I think Srinivas mentioned already)
    QUESTION: I though when we delete Request we delete data from Cube (or DSO...) though as per SLG1 log was showing some cubes contained data.
    Has this to to with E and F table ?
    thks

  • 'Error occurred when deleting master data (RSDMD118)'

    Helo Gurus,
    When I tried to delete master data prior to the reload, its giving an error message 'Error occurred when deleting master data'. RSDMD 118.
    We are currently working in BW 3.1. We checked for SAP notes for the same. But not Able to find any. So please help me to sort it out the problem as early as possible.

    Hi Mathew,
    Are you sure that those master data are not used in any infoproviders? As far as I know you cannot delete master data if that is used in infocubes or DSOs.
    You can also try transaction SLG1 with:
       Object = RSDMD
       Subobject = MD_DEL
    and click on "Execute", this might give you the reason why data cannot be deleted.
    Regards,
    Csaba

  • 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

  • How to delete Master Data transferred from ECC to APO via CIF

    Hi, all
    I'm connecting SCM 5.1 with ECC 6.0 via CIF.
    When activating Integration Model in ECC, the following error occurred;
       "Location 0001 of type 1001 (BSG 592BUSGP) already exists in APO"
    This is because Location 0001 was already transferred from different ECC client via CIF, and not cleared.
    I'm now trying to initialise master data transferred from ECC to APO via CIF, but in vain.
    I suppose I have to first delete all master data CIFed from ECC in APO, or have to execute initialisation of APO master data with ECC data in ECC.
    Please tell me how to do this.
    For details, please read the followings;
    I connected APO client with ECC client 590.
    I transferred Plant and Material Master from ECC to APO via CIF.
    After that, I wanted to change ECC client from 590 to the other.
    I created the other client (592) by client-copying from 590 with SAP_ALL copy profile.
    I deactivated Integration Model in ECC 590, and activated the same in ECC 592.
    Here, I faced the problem.
    The initial data transfer failed due to the duplicate of data.
    Now I'm wondering how I can initialise master data in APO and transfer initial data from ECC.
    Due to testing purposes, I have to change ECC clients from one to the other this time, but I cannot initialise master data in APO and cannot tansfer initial data from different ECC client.
    thanks in advance,
    Hozy

    Hi all,
    Thank you very much indeed for lots of your replies.
    Thanks to all of your advices, I'm getting to understand what to do.
    Well, I'll say I have to create one more client for testing with other ECC clients or I have to rebuild the client by client-copying from 001 and implementing all transportation requests, for marking del flags to each master data and running del programme sound like tough work, and sound like odd ..
    Then, I've got next issue here.
    In SCM-APO, I use BI objects, and , if I have to create several clients for testing, I have to set up clients where you can use both BI objects and CIFed master data.
    I suppose I have to change 'BWMANDT' in RSADMINA and make RSA1 accessable in other SCM clients and implement tests.
    Also, I have to register BI System for newly created SCM clients in RSA1-SourceSystem.
    Well, if you have any experiences on this kind of use, and if you have any advice on it, please give me any tips.
    Particulary, I'd appreciate very much if you give me advice on which way you have chosen; creating several clients or rebuilding the one client in SCM-APO when you use both BI objects, CIFed master data and Demand Planning.
    Thanks in advance.
    Hozy

  • Delete Master Data

    Hi all,
    is the normal rsa1 functionality the only possibility to delete a master data record? I've the problem of time out because I'm only able to start the process as dialoug.
    Thanks for help
    Andy

    Hi,
    could also be done with a little piece of abap in batch:
    e.g.:
    TABLES: /bic/pmasterdata,  "master data
            /bic/smasterdata.  "sid's
    * delete SID's
      DELETE FROM /bic/smasterdata.
    * delete master data
      DELETE FROM /bic/pmasterdata.
    /manfred

  • Deleting Master Data via Process Chain

    I am in the midst of creating a process chain and am able to create process for deleting ODS Contents, but am not able to do the same for Master Data. Is this possible?

    Firstly, why do you want to delete master data.
    You cannot delete master if the same is used across other transaction and master ( attr )data.
    You may use :
    Prg - > RSDMD_DEL_BACKGROUND
    FM - >RSDMD_DEL_MASTER_ DATA.
    To my knwldge you cannot delete MD using process chains.
    You can delete data in PSA periodically..is that you are looking for ?

  • 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

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

  • Deleting Master Data

    Hi All,
    I am trying to delete master data in a process chain.
    But its not working , the chin is executing but the function module RSDMD_DEL_MASTER_DATA is retuning the message " No master Data was Deleted".
    Please suggest how to fix this.
    Appreciate help,
    Deepthi

    Hi Deepthi
      Before deleting the master data.have look at transaction data like any dependency  data is there r not.If the the trans action data is present then u can just delete that thing then only u have the option of deleting the master data in case of process chains.if any let me know.If my answer is useful dont for get to assign points.
    Best regards
    RK
    Assigning is the only way of saying thanx in SDN*****

  • Deleting master data in a process chain via ABAP "RSDMD_DEL_BACKGROUND" ?

    I need to delete master data attributes in a process chain.
    Since there seems to be no predefined process type for this, I looked for an existing ABAP in the dictionary and found the ABAP report "RSDMD_DEL_BACKGROUND". I plan to call this ABAP in an ABAP-process-step in my process chain.
    Unfortunately, I'm not shure how to set the input parameters:
    report rsdmd_del_background .
    type-pools: rsd, rrsi, rsenq.
    parameters: p_iobjnm like rsdiobj-iobjnm obligatory,
                p_chabnm type rsd_s_cha_bas-chabasnm obligatory,
                p_delsid type rs_bool default 'X',
                p_deltxt type rs_bool,
                p_obj    like balhdri-object,
                p_sub    like balhdri-subobject,
                p_ext    like balhdri-extnumber,
                p_noprot type rs_bool.
    Can anybody help me, with the settings needed or point out another way to achieve the deletion of master data attributes in a process chain?
    Thanks in advance, Frank.

    Hi Frank,
    as I already suggested in a previous thread, try to look at the FM 'RSDMD_DEL_MASTER_DATA'(in the pgm LRSDMDU12)...but pay attention to the other elements that the system certainly checks in order to complete this type of process !
    Hope it helps.
    Bye,
    Roberto

  • How to delete master data via process chain

    Hi All,
    I have to delete master data before loading it again via a process chain.
    In the process chain I chose the process " complete deletion of the data target content" but here I did not find infoobject as the data target option to delete the data.
    Please suggest how to solve this.
    Thanks,
    Harini

    Hi Harini,
    P_CHABNM - It is for the reference characteristic.
    I think if you dont have a ref characteristic then give the info-object name.
    This is what I fetched fom help.
    Reference characteristic
    The reference characteristic has the technical properties of a characteristic such as data type and length, as well as the master data (attributes, texts and hierarchies). The characteristic itself also has buinesses semantics.  Several characteristics can refer to the same reference  characteristic. Such characteristics automatically have the same technical properties and master data.
    Example:
    The characteristics sender cost center and receiver cost center use the reference characteristiccost center and with it the same values and the same texts.
    Bye
    Dinesh

  • 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

  • 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

Maybe you are looking for

  • I have few muse projects how can I  integrate them in an another muse website which I have just created?

    i have few muse projects how can I  integrate them in an another muse website which I have just created? How can I make link between  HTML document inside muse. The Html document   (saved on my desktop )is another web project  done with css3 and Html

  • Flash 10.1 makes Flash Lite redundant?

    Hi everyone. I've been researching ways to create content for mobile devices. It seems Flash Lite is a really good option to make both rich applications (stand-alone and internet) for mobile phones specifically. Flash Lite is what I am developing wit

  • How can we create Query by using SQVI

    Hi Frendz, I need to generate a report by using SQVI hw can i do that, i want each step wise( I dont know how to do that even begining also), Pl send reply ASAP. Thanks Babu Rao

  • Authentication Policy ISE with External RADIUS Server

    Hi All, I would like to authenticate client by using External RADIUS. Once I create authentication policy using the new compound condition (wireless dot1x + Radius Username Matches "domainB\") I would like to forward the user authentication who make

  • Cannot find components in the par file

    Hi All, I have a problem with a par file. I created a new project by importing an existing par file from portal. This par file has 2 components. I could find the names of two components in portalapp.xml but could not find the .java classes (or any co