Master Data Selective Deletion

Hi,
Is it possible to delete master data selectively?
SE14 or DB02 can be of help?
Regards

Hi,
Please have a look at the below points:.
1.You can only delete the master data record if there is no transaction data exist
for the master data that you need to delete . otherwise you wont be able
to delete the master data.
2.While loading we load the master data first followed by transactional data,
but deletion is opposite ie first transactional data and then master data.
3.You need to find it out where it is used by just go to info object and
where used list it will give you all the detail about that info object.
4.When you manually go to info object right click and delete it will ask fro two
thing one is with Sid or without Sid,i think delete with "with Sid",
while doing this you will get some message that some of the master data is
not deleted. Then just ignore this warning as this is due to still some transactional data exist.
5.You need to again find it out So,then goto tcode SLG1-- enter Object: RSDMD and
Subobject: MD_DEL and User: ur userID and F8 and go to next screen  expand it and
double click  it will give information about what all objects using the
Sid of master data.
6.After getting the list of object you need to delete the corresponding
particular data from the various objects.
7.Use Tcode RSRV -> Tests in Transaction RSRV -> All Elementary Tests -> Transaction Data -> Entries Not Used in the dimension of an InfoCube (Dbl Click)From the right side window, expand u201CEntries Not Used in the Dimension of an InfoCubeu201D Node &Enter InfoCube (like 0SD_C01), click u201CTransfer Now, click u201CExecuteu201D (Toolbar)u2026 and the results displayed in the right side window..Now, click u201CCorrect erroru201D (Toolbar)
Hope this is helpful.
Also give it a try like go to maintainace of master data and select the row that you want
to delete and in the above select the delete button and save it.
Thanks,
Saveen kumar

Similar Messages

  • Error in DTP (The master data is deleted in the Background)

    Hi,
    while loading the data  to Data target (0chrt_acct_attr) through DTP...... I got the Error "  The master data is deleted in the Background". Plz advice me it is an urgent issue.

    Does the log in SLG1 say any more details?
    Use RSDMD as Object & MD_DEL as Sub Obj. Leave the other field to *.
    Is it happening for 1 specific object or for all? What type of data (attr or text)?

  • E-Recruiting Master Data physically deleted in ECC but how to delete in BI

    Hello,
      I'm sure this problem has been encountered by others and I'm wondering what to do about it. E-Recruiting is mostly made up of master data. The InfoSets are built on master data. The issue I'm having is that a requisition can be physically deleted in the ECC 6.0 system but it remains in BI 7.0 never knowing that is has been deleted. This poses a problem for reporting. We may be reporting on things that have been deleted in the source system. I am considering totally deleting all of the data prior to the load daily. The business content loads are all full loads. There is a step available for the process chain for deleting DSO and InfoCube data but not master data. What has anyone else done about this?
    Thanks for any insight,
    Diane Merrill

    An alternaitve approach to deleting master data:
    - Add a navigational attribute to the requisition master data 'deleted' value Yes(x) / No (blank)
    - Before loading master data from e-recruitment set 'delete' to true (x) for all records
    (to do this create an export datasource from requisitions and feed this back to update requistions)
    - Load data from e-recruitment and for every record loaded mark the deleted attribute to false (blank)
    After this has been carried out all requisitions still in e-recruitment will have a value blank for the 'deleted' attribute and all requisitions no longer present in e-recruitment are marked with an 'X'.  You can then exclude with a query restriction deleted requisitions.

  • ARCHIVING MASTER DATA or DELETE

    Hellow Masters,
    I need to do "archive" or "delete" of some Master data already marked for deletion, how i do it... A friend say something about tcode "Sara", this the right path, somebody know ?
    Thank's once more,

    Hello there,
    It depends on whether you simply want these objects to be locked and not used or whether you want to achieve an actual archiving of this data. If you are ok with the first option, go to processing the rental object (RECN, REBDRO, REBDBE, REBDPR, etc.) and then from menu Edit - Change Status - Archive - Set Deletion Flag. Thus, these objects will have DLFL status set.
    If you want to archive the objects, refer to the steps described in the following link:
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/fb/1cb1897a90e54a8a2e075781aff4c5/content.htm
    Hope this helps!
    KR,
    Severina

  • Master data text deletion-urgent pls

    Hello
    Is there any other way to delete the master data text from the text table other than deleting from SE11 or SE16?
    the delete option is greyed out in SE16 and SE11.
    Is there any other way to delete the entries without affecting other objects?
    Regards
    Sri
    Points will be assigned

    Hello
    I have no authorization to SE14,SE16,SE11.
    This is the problem i face.
    Also as lakshman said when i delete the entry or record from
    Master data text it asks how to delete with or with out sids.
    Iam afraiding to delete because of data volume of transaction data.
    Suggestins please.
    Thanks for the helps

  • Master Data row delete problem

    Hi.
    I have an UDO(master data with details) form, I use code below to remove single detail line and to keep row numbering correct, for which UserDatasource is used, "row" is a currently selected matrix row number.
    form.DataSources.DBDataSources.Item("@MYDETAILS").RemoveRecord(row - 1);
    for (int i = row - 1; i < form.DataSources.DBDataSources.Item("@MYDETAILS").Size; i++)
             form.DataSources.UserDataSources.Item("udsRowNo").Value = (i + 1).ToString();
             form.DataSources.DBDataSources.Item("@MYDETAILS").Offset = i;
             matrix.SetLineData(i + 1);
    matrix.DeleteRow(matrix.RowCount);
    if (form.Mode == BoFormMode.fm_OK_MODE) form.Mode = BoFormMode.fm_UPDATE_MODE;
    This code work fine, but when datasource(so matrix too) contains just one line and after RemoveRecord(row-1) form.DataSources.DBDataSources.Item("@MYDETAILS").Size returns 0, after forms Update (Update button click)  form.DataSources.DBDataSources.Item("@MYDETAILS").Size again returns 1.
    Can anybody help me?
    Thanks.
    Edited by: Rui Pereira on Dec 23, 2008 11:23 AM

    hi
    try this code
    oDBDataSource.Clear();
                            oMatrix.DeleteRow(i);
                            oMatrix.FlushToDataSource();
    may be it helps you
    rajesh saini

  • Loading Master Data - Select the 'right' attributes

    Hello everybody,
    hopefully some expert can answer my question.
    I want to load Master Data for the InfoObject 0CRM_PROD.
    When I look at the tree beneath the 0CRM_PROD attributes following DataSources are listed:
    - 0CRM_PRODUCT_ATTR
    - 0CRM_PROD_ATTR (obsolete)
    - 0CRM_PR_MAT_ATTR
    - 0CRM_PR_REST_IN_ATTR
    - 0CRM_TR_CONTROL_ATTR
    - 0PRODUCT_ATTR (obsolete)
    - 0PRODUCT_GENERAL_ATTR
    - 0PRODUCT_STATUS_ATTR
    - 0PR_BASE_UNIT_ATTR
    - 0PR_COMMERCIAL_ATTR
    - 0PR_IL_PROREF_ATTR
    - 0PR_PROD_VAR_ATTR
    - 0PR_PURCHASE_CATEG_ATTR
    - 0PR_SALES_CATEG_ATTR
    Now my question is which attributes for 0CRM_PROD do I have to load?
    Are any of them mandatory or basic attributes?
    And how do the attributes 0CRM_PRODUCT_ATTR and 0PRODUCT_ATTR differ from each other?
    Thanks in advance!
    Chris

    Hello,
    The BW DataSources used in CRM 4.0 for the SAP product are replaced with new DataSources.
    Please see the Note 673053 - SAP product: New DataSources in PI_BASIS 2004_1_640
    Just for Reference
    [Integration of SAP Products in SAP BW|http://help.sap.com/saphelp_nw04/helpdata/en/f8/580f40763f1e07e10000000a1550b0/content.htm]
    Thanks
    Chandran

  • How to Delete permanently an entry from an Infoobject - Master Data

    Hi All,
    I want to delete a entry = 014 in Infoobject = data provider since it is no more needed. **
    When I go to this Infoobject-> Maintain master data anddelete it, a message Pop’s up
    When I Check using Tcode  SLG1, I see
    When I check in SID table of the Infoobject, I see below.
    How do I delete it? Please help.
    **I need to delete it since we no more required this and we have created a new data provider (286) instead of this and the old one still appears in the reports :| with no data.

    Hi,
    fallow the below steps while delete the master data.
    RSA1 --> find your Info object --> right click --> maintain master data
    Select rows you want to delete and click 'Delete' icon. Then SAVE.
    If system prompt you message "some master data cannot be deleted"
    Then goto tcode SLG1 --> enter Object: RSDMD and Subobject: MD_DEL and User: your userID and press F8.
    In the next screen Expand node and double click 'Problem class additional information'
    This will give you which ever objects using SIDs of this master data.
    You should delete this SID according to that list.
    find the below doc.
    http://scn.sap.com/docs/DOC-39857  
    Thanks,
    Phani.

  • Delete unused master data of a characteristic in BW7.30

    Hi
    I try to delete some master data entries in a characteristic.
    Unfortunately I got an error message:
    Lock of master data attributes deletion is set.
    Then BW 7.30 set an entry for the characteristic in the table RSMASD (Lock Table for Master Data Deletion) and I canu2019t delete the master data.
    I try to delete the master data via a job (maintain master data) and manually (select the wrong master data in the table -> delete and save the table), but I get the same error message above.
    I also delete all open lock entries in SM12 and try again, but wonu2019t solve the issue.
    Can someone explain me why BW 7.30 set the master data lock and how I can delete the unused master date of this characteristic?
    Best regards
    Tobias

    Anyone with a solution for this? We have the exact same problem.
    Can the record in RSMASD be deleted?
    I created a new InfoObject and inserted a new masterdata text record. Then I tried to delete it immediatly, and i got the same error. If the object is in RSMASD, it gives a shortdump in ST22. If there's no record in RSMASD, then it gives a error (Lock not set...)
    Category               ABAP Programming Error
    Runtime Errors         SAPSQL_KEYS_NOT_CONVERTIBLE
    ABAP Program           CL_RSDMDD_DELETE==============CP
    Application Component  BW-WHM-DBA
    Date and Time          31.07.2013 15:13:50
    Short text
         Inconvertible key at an Open SQL work area operation.
    What happened?
         Error in the ABAP Application Program
         The current ABAP program "CL_RSDMDD_DELETE==============CP" had to be
          terminated because it has
         come across a statement that unfortunately cannot be executed.
    Error analysis
        In the Open SQL work area operation used, the work area in the key part
        must be convertible to a database table.
        For Unicode semantics this means the Unicode fragment views must
        correspond in length to the databse key.
        In non-Unicode systems, both structures must be flat for the length of
        the database key, with the exception of string components. This means
        that the key parts may not contain either references or internal tables.
        In this case the key of the database table has a width of 14 bytes.
    Thanks.

  • Unable to delete the Master Data

    Hello Gurus--
    How to delete the unused MD for an Infoobject,.
    Unused MData were in A version in M,P and text tables.
    Thru the program "RSDMD_DEL_PARALLELIZER" and "RSDMD_DEL_BACKGROUND"  The MD hadn't got deleted.
    Scheduled the above programs and checked the logs in SLG1 for both used and unused MD,.
    The logs says that
    a) Checked,.and I confirm that the unused MD is not present in any targets.
    b) MD deletion hadn't happened for my unused MD.
    --> The MD is in A version in the M,P, Text tables, if it is in M version  these data can be deleted,,
    Checked for the same in all the forums .
    Couldn't able to find the same.
    Very very Ungent sirs' !!!
    Regards
    Vishwa.

    Infoobject --> right clikc --> maintain master data
    Select rows u wanted to delete and click 'Delete' icon. And SAVE.
    If system prompt u 'some master data cannot be deleted' .. continue with this message.
    then goto tcode SLG1-- enter Object: RSDMD and Subobject: MD_DEL and User: ur userID and F8
    In the next screen Expand node and dbl click 'Problem class additional information'
    This will give u which ever objects using SIDs of this master data.
    U should delete this SID according to that list.
    Then U should delete particular data from DSO/Cubes.
    Once data deleted from cube, then
    Use Tcode RSRV -> Tests in Transaction RSRV -> All Elementary Tests -> Transaction Data -> Entries Not Used in the dimension of an InfoCube (Dbl Click)
    From the right side window, expand u201CEntries Not Used in the Dimension of an InfoCubeu201D Node &
    Enter InfoCube (like 0SD_C01), click u201CTransferu201D
    Now, click u201CExecuteu201D (Toolbar)u2026 and the results displayed in the right side window..
    Now, click u201CCorrect erroru201D (Toolbar)
    Delecion of the master data

  • Master Data Deletion / Function Module RSDMD_DEL_MASTER_DATA

    I need to develop an automated way of deleting some data from 0employee master data InfoObject. The data we need to delete from the InfoObject is held in a separate ODS.
    I believe the only automated way is to create an ABAP program which uses the function module RSDMD_DEL_MASTER_DATA.
    Can anyone please advise what FM RSDMD_DEL_MASTER_DATA is designed to do.
    I'm also not an ABAP'er so I'm unsure how to code what I need. Can anyone help me with this?
    Many thanks,
    Mark.

    Hi,
    if you need to delete master data selectively, then use the mentionned function module: RSDMD_DEL_MASTER_DATA
    check this thread:
    Re: delete master data
    from which you'll get the code:
    TYPES: ly_CHAVL         type RSCHAVL.
    DATA:  gt_CHAVL_DEL    type table of ly_CHAVL.
    DATA: lv_chavl LIKE RSGENERAL-CHAVL.
    SELECT DISTINCT <IOBJ_ID>
    INTO TABLE gt_chavl_del
    FROM /BIC/Z<ODSNAME>
    WHERE .....
    "the above will fill your inttable.
        CALL FUNCTION 'RSDMD_DEL_MASTER_DATA'
          EXPORTING
            I_IOBJNM                    = 'IOBJ'
    *       I_FLG_DELETE_ALL            = ' '
            I_FLG_DELETE_SIDS           = 'X'
    *       I_FLG_DELETE_SIDS_ASK       = ' '
            I_FLG_DELETE_TEXTS          = 'X'
            I_T_CHAVL                   = gt_CHAVL_DEL
            I_FLG_DIALOG                = ' '.
    *       I_FLG_FORCE_DELETE          = ' '
    *       I_FLG_SIMULATION            = ' '
    *       I_WITHOUT_PROTOCOL          = ' '
    *     IMPORTING
    *       E_RESULT                    =
    *       E_T_SIDVAL_USED             =
    *       E_T_PROTOCOL                =
    *       E_T_ULIST_DIM               =
    *       E_T_ULIST_ATR_NAV           =
    *       E_T_ULIST_HIE               =
    *       E_T_ULIST_HIE_NODE          =
    *       E_T_ULIST_QUERY             =
    *       E_PROT_OBJECT               =
    *       E_PROT_SUBOBJECT            =
    *       E_PROT_EXTNUM               =
    *     EXCEPTIONS
    *       ILLEGAL_INPUT               = 1
    *       IOBJ_ERROR                  = 2
    *       SID_ERROR                   = 3
    *       PROGRAM_ERROR               = 4
    *       ENQUEUED                    = 5
    *       QUEUE_ERROR                 = 6
    *       NO_CHKTAB                   = 7
    *       CHKTAB_NOT_GENERATED        = 8
    *       NO_AUTHORITY                = 9
    *       RSDPW_ERROR                 = 10
    *       OTHERS                      = 11
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    let me know should you need further assistance...
    hope this helps...
    Olivier.
    Message was edited by:
            Olivier Cora

  • Master data deletion - Issues

    Hi Experts,
    0WBS_ELEMT info object data was populated through 3.x transformation, my client has loaded 400+ incorrect data which appear now when selecting the master data during reporting. At this stage not intending to delete entire data set as the volume is huge, In parallel there is a process chain run happens. Following are the issues:
    1. Deletion of one record takes nearly 15 minutes.
    2. Used the program RSDMDD_DELETE_BATCH which will delete the data selectively.
    3. Timeout errors occurred due to wp_run time was set 600 seconds --> Basis to increase the time.
    Please advise is there any other way we can easily delete the erroneous data without impacting the system in large?
    Kind regards,
    Las.

    Hi,
    check the with the your source team modify the in source side.
    before deleting the master data first delete the transaction data with reference master data.
    be aware the deleting the master data.
    please look at the doc it will help.
    BW 7.30: Different ways to delete Master data
    Thanks,
    Phani.

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

  • Deleted cost centre master data log

    Hello,
    Does anyone know if there is a way/report to see which cost centre master data was deleted, i.e. something like a log file?
    I found a report that can show change documents, but it does not include deleted cost centres.
    Thanks in advance!
    René

    Hi,
    Refer Note: 1090861  KS02: Change documents for time periods deleted/Create
    regards
    Waman

  • Delta enabled master data - Deletion of data sets

    Hello,
    is it possible to automatically delete a certain data set of a master data bearing InfoObject which is delta enabled ? Does a delta load for master data InfoObjects  allow to fully delete a certain data set?
    Example:
    Delta Master InfoObject: Z_Test
    Attributes: Z_Name, Z_Region, ....
    Data sets:
    (1) 12345, Name1, Region1, ....
    (2) 23456, Name2, Region2, ....   (this data set should be completely deleted)
    (3) 34567, Name3, Region3, ...
    Expected result:
    (1) 12345
    (2) 34567
    I just want to know whether the deletion can be performed through a delta data load or not?
    Thanks in Advance.
    Marco

    Hi Marco,
    Welcome to SDN!!
    You can goto RSA1 -> Info-object -> maintain master data and delete the unwanted records and loads the ones you need. If the no. of records are more then you may need to write an ABAP program. But before all this deletion make sure the master data is not used in any other Data target.
    Bye
    Dinesh

Maybe you are looking for

  • ODSM installation failing on Solaris Sparc

    Hi Guys, we are trying to install ODSM on a Solaris server (Solaris Sparc 11). However the installer is throwing the following error while creating domain - [2013-01-10T15:50:52.888-06:00] [as] [TRACE] [] [oracle.as.provisioning] [tid: 12] [ecid: 000

  • Imac Intel based shutting down

    Hi, I'm having problems with my imac. it will turn off by it self after a few minutes of usage. And after it turn of, it will take a long time until I can turn it back on. I'm sure it a hardware issue because it happens even if I use windows with boo

  • ABAP loop inside eCATT

    Hello Colleagues, I want to read multiple values from a table and display for which i going thru an loop . But to display it is becoming an problem can you kindly see the code below . Am trying to store the table fields in an table as mentioend below

  • Config port channel across different type of media

    Please help with the question if we could config port channel across different media type such as Gigabit and Ethernet 10/100 ports ? thanks in advance.

  • ITunes freezes when trying to restore ipod

    Hi guys At the moment whenever i plug my ipod in itunes says it is in recovery mode and needs to be restored. Once i restore it and the ipod resets though, itunes freezes completely and wont shut down from task manager. To open it again I need to res