OBR2 to delete Master data (GL/AP/AR) company code only.

Hi Expert,
With reference to the subject of this topic, the Tcode of OBR2 can only be used to delete GL/AP/AR master data created (without any posting yet) in general and company code level.
If the master data (My case is vendor and customer) created using XD01 and XK01, which has Contact person information stored.  I can't use the OBR2 to delete the customer/vendor created with sales/purchase information.
Kindly advise whether there is any other Tcode can delete the customer/vendor created with sales/purchase information?
Thanks and regards,
sbmel

HI Sap Gurus.,
i tried with OBR2 T code
Given range of GL Accounts and i put for those as deletion flag in FS00
choosen Check box only general master data in Chart of Accounts
and
In Program Control
Selected below check box
Deletion per deletion flag only
GL account Detail log
And I Deselcted Company code Productive check box in SPRO.
But the GLs are not deleted.
Some help me please in this regard
Cheers.,
Manoj Kumar Pedada

Similar Messages

  • How to archive data belonging to a company code only?

    HI,
    I would like to archive and backup the data related to a company code only. Does sap have a function which can allow me to do this? Please advise.

    Hi Raja,
    I guess you will have to eloborate about your requirements and purpose.
    Assuming you are talking about archiving financial accounting documents, yes data belonging to a particular company code can be archived. You will have to use data archiving for this. Before even archiving, you will have to do proper customizing related to archiving.
    Have a look at this links to get a better idea:
    Link:[http://help.sap.com/saphelp_erp60_sp/helpdata/en/6d/56a06a463411d189000000e8323d3a/frameset.htm]
    Link:[http://help.sap.com/saphelp_erp60_sp/helpdata/en/29/b6963457889b37e10000009b38f83b/frameset.htm]
    I am not sure to have understood the 'backup' part.
    Hope this helps,
    Naveen

  • 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

  • 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

  • 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

Maybe you are looking for