RSDMD_DEL_BACKGROUND

How do I delete multiple infoObjects in one step with RSDMD_DEL_BACKGROUND. As I see it we must create a variant for each infoObject. Is it possible to specify all objects for deletion in one single deletion list? e.g.. like process chain step complete deletion of data target contents.

if went throught the program and in fact, it generates a program per infoobject, hence you can't use it for a range of infoobjects.
copying the program to change the parameter to a range is also almost impossible as many FM with only one infoobject are used.
what you can do, is create a program with a range as select option for the infobject. within the program you loop over the range and per infoobject you call the program RSDMD_DEL_BACKGROUND (make sure you fill all the selection criteria).
as such you need to schedule one single job, this should give a solution to your probleM
M.

Similar Messages

  • 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 the data in P,Q and S table

    Hi All,
    I want to delete the data in /BIO/PCOSTCENTER, /BIO/QCOSTCENTER AND /BIO/SCOSTCENTER. Since we have transported the costcenter infoobject from 3.0B to BI 7. But the 3.0B doesnot contain the ALPHA conversion. So we need to delete the infoobject and install from BI content.
    When I am trying to activate the BI 7 obj, It is giving the error message the above tables are containing the data.
    Pls suggest how to delete them and activate the 0COSTCENTER with BI 7 version.
    Points will be awarded.
    Thanks
    Sathiya

    Program RSDMD_DEL_BACKGROUND is the appropriate choice to delete master data.   You should be able to search OSS notes on te pgm to get a little more info on it.
    It insures referential integrity by checking all InfoProviders to make sure a master data value for that InfoObject does not exist in any InfoProviders.  This might not be an issue in your case if you are dealing with a newly activated object that you have don't have in any Infoproviders, but is the only the best way to delete master data.

  • Time out (more than 24 hours) deleting master data.

    We are trying to delete the 0CUST_SALES = ´000000000#´ but we are not able to do it because if we delete and try to save in rsa1>infoobject->choose the characteristic->'master data maintenance', there will be a time out error. We tried than using the program RSDMD_DEL_BACKGROUND but it would take more than
    72 hours and we wouldn’t be able to do any load for the cubes that contains the 0CUST_SALES. And also there is several aggregates with 0CUST_SALES 
    Do you know any other way around to delete this 0CUST_SALES = ´000000000#´?
    Look forward for a suggestion....
    Rubens

    Hi Rubens:
    Do you want to delete only that record (0000000#) from 0CUST_SALES.iF SO, GO TO rsdmd and select that record and delete. if t doesnt work you might want to try SE14. Bu please be advised that, when you this Tcode spl care shd be taken as you will be wiping everything from the tables.
    Assign points if helpful
    kalyan

  • Master data problem

    Hi BW Experts,
           We have a Sales Organization Infoobject. It contains 16 records in Source system(R/3). And when i extracted the data from Source System to BW, in PSA iam getting the same records as well as in data target (Infoobject) it shows 16 records.
            But the problem is one extra Sales Organization has come into picture which is not there in R/3. Only that Sales Organization number is coming. It does not have any attributes.
    Please see the structure
    R/3 DATA
    Sale Comp CustInterC Cou FY Curre Curre
    0001 0001            DE  K4 EUR   EUR
    1001 1000            IN  V3 INR   INR
    1000 1000            IN  V3 INR   INR
    1101 1100            IN  V3 INR   INR
    1100 1100            IN  V3 INR   INR
    1200 1200            IN  V3 INR   INR
    1300 1300            IN  V3 INR   INR
    1400 1400            IN  V3 INR   INR
    1500 1500            IN  V3 INR   INR
    1600 1600            IN  V3 INR   INR
    1700 1700            IN  V3 INR   INR
    2100 2100            IN  V3 INR   INR
    2200 2200            IN  V3 INR   INR
    2300 2300            IN  V3 INR   INR
    2400 2400            IN  V3 INR   INR
    5100 5100            US  V3 USD   INR
    PSA DATA                              
    Data Rec.     Sales Orga     Statist. c     Company co     CustNrInte     Country     Currency     Fiscal Yea
    1     1     EUR     1          DE     EUR     K4
    3     1000     INR     1000          IN     INR     V3
    2     1001     INR     1000          IN     INR     V3
    5     1100     INR     1100          IN     INR     V3
    4     1101     INR     1100          IN     INR     V3
    6     1200     INR     1200          IN     INR     V3
    7     1300     INR     1300          IN     INR     V3
    8     1400     INR     1400          IN     INR     V3
    9     1500     INR     1500          IN     INR     V3
    10     1600     INR     1600          IN     INR     V3
    11     1700     INR     1700          IN     INR     V3
    12     2100     INR     2100          IN     INR     V3
    13     2200     INR     2200          IN     INR     V3
    14     2300     INR     2300          IN     INR     V3
    15     2400     INR     2400          IN     INR     V3
    16     5100     INR     5100          US     USD     V3
    DATA TARGET (0SALESORG_ATTR)
    Sales Orga     L     Company co     Country     Currency     Fiscal Yea     CustNrInte     Statist. c
    1     EN     1     DE     EUR     K4          EUR
    1000     EN     1000     IN     INR     V3          INR
    1001     EN     1000     IN     INR     V3          INR
    1100     EN     1100     IN     INR     V3          INR
    1101     EN     1100     IN     INR     V3          INR
    1200     EN     1200     IN     INR     V3          INR
    1300     EN     1300     IN     INR     V3          INR
    1301                                   
    1400     EN     1400     IN     INR     V3          INR
    1500     EN     1500     IN     INR     V3          INR
    1600     EN     1600     IN     INR     V3          INR
    1700     EN     1700     IN     INR     V3          INR
    2100     EN     2100     IN     INR     V3          INR
    2200     EN     2200     IN     INR     V3          INR
    2300     EN     2300     IN     INR     V3          INR
    2400     EN     2400     IN     INR     V3          INR
    5100     EN     5100     US     USD     V3          INR
    This is the data.
    Please give me the reply.
    Thanks in advance.
    Regards,
    Anjali

    Hi,
    most likely the ID 1301 has been created automatically by the system (or maually by a user); meaning another IObj may have 0SALESORG as Attr with value 1301 and/or an InfoProvider (cube/ODS) may have data posted with 0SALESORG = 1301.
    I suggest to perform a master data deletion with program RSDMD_DEL_BACKGROUND (SE38) or directly by right_clicking the IObj 0SALESORG.
    The system will then try to delete all Master Data ID (MDIDs): those which aren't used will be deleted and those which are used won't and will be reported in the deletion protocol.
    You will then have to see the protocol in SLG1:
    Object          RSDMD  
    Subobject       MD_DEL 
    and see in which object your MDID 1301 is used; You'll have to check then how it has been posted there.
    If you want to delete it from 0SALESORG you'll have first to delete it from the object where it is used.
    hope this helps...
    Olivier.
    Message was edited by:
            Olivier Cora

  • 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

  • DataLoad-Problem after adding Nav-Attribute to InfoObject

    hi there,
    i added a navigational attribute, which i newly created, to an existing infoobject, which had already data loads.
    i activated the infoobject and modified the transformationrule to fill the new attribute of the infoobject.
    after i activated the transformationrule, i started the infopackage to fill the new attribute.
    after the load has finished, i i started a master-data-changerun.
    but when i let me show the data in the infoobject, i view only the SID of the infoobject. all other attributes are empty.
    i am not using a startroutine in the transformationrule.
    when i debug the transformationrule, i can see all values (SIDs and attributes of the infoobject).
    i tried the RSRV transaction to check the masterdata of the infoobject, but it shows no errors.
    what can i do, to repair the infoobject?
    i'm using BI 7.0.
    regards,
    philipp

    Hi,
    First step is the check the data insde P table ( example /BIC/PXXX which will be there in the in master data and text tab)
    if you find the data for newely added attributes then it works fine.
    or else
    Delete the master data
    programs for individual IinfoObject  master data deletion:
    RSDMD_DEL_BACKGROUND or RSDMD_DEL_MASTER_DATA_TEXTS
    then delete the transformation and recreate the transformation followed by DTP once again
    activate all atributes individually once again
    load data to the infoobject and check it.
    you should be able to relove the problem
    santosh

  • Request deletion from Manage-Master data infoobjects

    Hi All,
    I have a master data infoobject, for which i have created a process chain for deleting the data. I am deleting the P and S table in a program.
    When i run this chain data is getting deleted from the tables, but i see the request (green/red/yellow) in the manage section of the infoobject. I want to delete those entries as well from the manage section.
    Any inputs ?
    Regards,
    Sandeep

    Hi,
    to delete those entries you will have to delete the entries from standard SAP tables...all the tables begining with RSREQ stores the information about the requests...but you may not have authorization for that...
    did you tried RSDMD_DEL_BACKGROUND or RSDMD_DEL_MASTER_DATA_TEXTS function modules....you can use in the program and use at as a ABAP variant in the process chain.
    Thanks
    Ajeet

  • Selective erase Master data in BACKGROUND

    Hi guru!!!
    I have to erase some wrong master data records of a infoobject very used ( 0CUST_SALES).
    When i try to do it in mantenance of the infoobject, selecting the wrong record and deleting them, the system do it in dialogue and i have a Runtime ERROR.
    To avoid this runtime error i want to do it in BACKGROUND.
    Can somebody tell me if it's possible erase some record ( not all ) of Master data Infoobject in BACKGROUND???
    Thank you very much!!!!
    Bye

    Hi,
    You can not delete master data if that infoobject is included/used by any infoprovider.
    make sure that master data records has no transaction data exists then only u can delet
    You can goto--> maintain master data of that infoobject and select the particular record and delete it selectively.
    Use program - RSDMD_DEL_BACKGROUND in SE38 and give the variants for ur infoobject
    Thanks

  • Deletion of data objects from already not existed source system

    Hello, Everybody,
    In BI 7 i had QASCLNT<b>500</b> source system and have been created datasource with transformation. Later QASCLNT<b>500</b> was deleted or changed (i don't know very well) to QASCLNT<b><i>300</i></b>, but old datasource with transformation is still in new system. When i try to delete these objects i get a message - "Source system QASCLNT<b>500</b> does not exist".
    Could you give me a suggestion how can i delete that datasourse and transformation?
    Thanks in advance.
    Best Regards,
    Arunas Stonys

    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

  • 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

  • Too many rows in the "I" table

    I have 12.5 million rows in /BI0/IACCOUNT.  This is causing poor performance when using hierarchies.  I'm running <b>RSDMD_DEL_BACKGROUND</b> to clean it up.  The first time I ran it, it ran for <b>7 days</b> before I cancelled it.  Then I ran it with the P_NOPROT "no logging" option, which is supposed to be faster, but it has been running for <b>4 days</b> with no end in sight.
    Why does it run so long?  Even if it deletes 12 million rows, it should take much less than a day.  What are my options?

    The link posted should give you pointers.
    Did you test and compare both your queries in the mean time?
    Do you know and understand what to do?
    If not, then explore {message:id=9360003} from the SQL and PL/SQL FAQ or update your thread with your questions/doubts or close it.

  • Master data/text of characteristic 0MATERIAL already deleted

    Dear BW Experts:
                    I'm getting this error message when I tried an extraction into an infocube.
    "Master data/text of characteristic 0MATERIAL already deleted"
    Before the extraction, I've loaded the characteristic 0MATERIAL succesfully.
    Can anyone help me? any clues?
    Thanks in advance.

    Hi All,
      We have also received the "Master Data has been deleted" error message. If you delete (or try to delete) the master data for a characterstic, you will get this error message for the next transaction data load. Just mark the failed request to red and back it out from the data targets and then try loading the data again, this time you will not get any error message.
      It will only give that error message for the first load after the deletion of master data.
      Now coming to the second point. How to delete the master data?
      As all of you know, we delete the master data by selecting delete master data from the context menu of an infoobject. This deletes all the master data records that are not currently being used in any of the infoproviders, hierarchies etc. In the system log (transaction SLG1), it will show what are all the records that got deleted and if a record is not deleted it will let you know where that master data is being used.
      Now the problem with deleteing master data in this way is, this runs in dialogue mode and if the no of infoproviders and data volume in those infoproviders is huge it will take very long long time to complete you will get a time out message. There is a function module "RSDMD_DEL_MASTER_DATA" , to run this in background you need to create a ABAP program and migrate it all the way to Production and run it in production.
    Luckily, there is a SAP delivered ABAP program which we can use to delete master data. That program is "RSDMD_DEL_BACKGROUND", run this program in back ground with the input parameters as mentioned below.
    P_IOBJNM - Infoobject name.
    P_CHABNM - Infoobject name.
    P_DELSID - X
    P_DELTXT - X
    P_OBJ  - RSDMD
    P_SUB  - MD_DEL
    P_EXT - MDDEL_Infoobject name_BG
    You can verify in system log, which records got dleted and which are not deleted.

  • 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

  • Delete SID & Text/Master Data in Production

    Hi,
         I need to delete the SID (/BI0/SREGION) , Text/Master (/BI0/TREGION) data directly in production. Could anyone assist me..?
    Thanks in advance.

    Hi,
    use program RSDMD_DEL_BACKGROUND (SE38)
    enter the following paramters in the selection screen and schedule it in the background.
    P_IOBJNM                          0REGION               
    P_CHABNM                          0REGION               
    P_DELSID (checked if you want to delete SIDs)
    P_DELTXT (checked if you want to delete texts)                                               
    P_OBJ                             RSDMD                
    P_SUB                             MD_DEL               
    P_EXT                             0REGION               
    P_NOPROT (unchecked) 
    This program will delete all values (MDIDs, SIDs, TEXTs) not used (no posted in any other BW object).
    You can analyze the correponding log (in particular why a certain ID wasn't used and where used) with transaction SLG1 (RSDMD, MD_DEL. 0REGION as entered above).
    The program could run a while since it will scan all the objects using 0REGION.
    hope this helps...
    Olivier.

Maybe you are looking for

  • NI-4552 w/2 FFTs and 2 Analog channels?

    I am trying to use the DSA library with VB6 to capture two FFTs (channels 0 and 1) while still capturing raw audio on channels 2 and 3. Is this possible? If so, can someone clarify the steps to do this, or point me toward one of the examples that sho

  • Stored procedure not found when creating a new recordset binding in Dreamweaver CS6 with ColdFusion Server 11

    Stored procedure not found when creating a new recordset binding in Dreamweaver CS6 with ColdFusion Server 11.  I can see the tables and views in the database tab, but no stored procedures.  If I connect to a data source created in ColdFusion Server

  • PC iweb published site appears pixelated

    I am using both Mac and PC, and when I make an iweb website, it does not appear the same on firefox or explorer, when viewed on PC. Even when I select a simple font like Verdana, the font appears pixelated on the PC browser. Can anyone please advise

  • MacBook Hinge Squeak

    Hi, I got my macbook about a week and a half ago, and a few days ago, the hinge started squeaking really badly. I uploaded a video of it to youtube at http://www.youtube.com/watch?v=Bj-F-Y3z9cg. Is this something I could return my macbook about or am

  • Unresolved external symbol _sqlcxt

    hello i was trying to compile Pro*C program on windows 7 professional 64 bit with visual studio, and I get the following error while linking library. Please help! envionment: windows 7 professional 64 bit Oracle Database 11g Release 2 Client (11.2.0.