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

Similar Messages

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

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

  • 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

  • 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

  • Delete Master Data using Process Chain?

    Hi Friends,
    How do I delete Master Data using Process Chain?
    Thanks,
    Pradeep

    Hi Bhanu,
    I am not sure why we would want to delete MD. But that is the task given to me. I actually know it is not possible. But is there a way to delete MD using chains?
    Thanks,
    Pradeep

  • 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

  • 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

    If I want to delete Master Data that has already loaded ,Do I need to select delete with SIDs  / without SIDs ?
    Please let me know the reason as well...
    thanks

    Hi,
    the best way is to delete with SIDs.
    Anyway, you can only delete master data if you have no data into the transactional data target (ODS or CUBE) where this master data is contained.
    Rgs
    Antonino

  • 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

Maybe you are looking for

  • Blackmagic Intensity Pro Card Not Recognized

    I've got a Mac Pro 1,1 running OS 10.7.3 and FCP 10.0.3. FCP X doesn't recognize the card. I have FCP 6.0.6 running under 10.6.8. FCP and the card get along A-OK. Anyone have any troubleshooting guidance?

  • Could my new Mac Pro be refurbished?

    The plastic inside the cover that is supposed to be there when you open it was not there. My Mac is not custom. Could this mean they sent me a refurbished Mac or a return?

  • External Table woes

    Hi all, I have an external table set up to read a text file and update two fields in a table via batch file that launches a SQL script (batch file is for sheduling in Windows task manager, can't use Enterprise Manager due to embedded license). It's a

  • AUTH FAILURE.problem

    I use the following command to install OC4J 10g standalone but got error how to fix it? I haven't installed J2SE SDK as i discover jdevstudio have it i configure global environment variable in right click my computer as JAVA_HOME = C:\jdevstudio10133

  • Copy the content of the text file not the file itself

    Hi I have a problem, I am converting .dat file to .txt file using powershell and there is no problem, but when i try to read that file using the software I am working with, it cant read the file. but when i copy and paste it manually to new file, it