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

Similar Messages

  • Needs to delete one Master Data from main process chain in development syst

    Hi All,
    Can any one pls suggest how we can delete the master data load from main process chain in development system.
    In the main process chain nearly i am having 52 master data loads in that i required to delete one master data.
    Thnanks in Advance.
    karuna.

    Hi...
    1) go to RSPC1
    2) Give the technical name of the process chain
    3) in the top where we write tcode....there write COPY..and press enter...
    4) then remove the start process and the desired master data loads..
    5) create a new start process with a new variant..if you want to put ant condition you can put it there...
    6) then link the start process with the first process..
    7) activate your process chain...and schedule it as per your require...you can make it immediate run or can scedule it for a particular time...
    Or if you don't want to create anew process chain...then go to the design view of the PC and remove the desired load and again activate it...
    Hope this helps you...
    Regards,
    Debjani...
    Edited by: Debjani  Mukherjee on Sep 4, 2008 4:35 PM

  • How to delete InfoCube data in a Process Chain with restictions?

    Hi Friends!
    My process chain is a full update in the cube 
    I need delete the data everyday except  the last day in the month.
    How can I do this in 7.0 release?
    Thanks!

    Hi,
    Please use the option Delete of overlapp requests process type
    Take the following conditions as :
    1) Only delete request from same DTP
    3) Only Full DTP
    3) Only Delete DTP requests from same souce
    Selections are
    Overlapping
    Request date
    Is in the current month
    based on the month
    Hope this helps out
    Thanks
    PT
    Edited by: PT on Feb 23, 2010 7:18 PM

  • Master Data daily Load Process Chain Error..

    Hi All,
      I have a process chain which is used to extract master data for 6 infoobjects ,all the Attribute data is delta and all the Text Data is full , now my proess chain suddenly failed on 9/09/2010 and from that day even when i try 'Repeat'  the Start process is fine but the next process starts and then goes to 'RED' when i checked the error i saw the error message as 'Requesting the last delta for master data is not supported' . Can anyone help me with how to rectify this process chain when i check the IDocs i am seeing a error 'Code page not found' and also an error 'Update mode R is not supported by the extraction API'
    Can someone help please ...
    Thanks In Advance...

    Make sure your last delta was sussessfull or not?
    If not change the status of the failed load to red and try to reinti the load.
    This problem occurs when we tried to request repeat delta for master data extractors, For Master data datasources delta updated based on ALE Change pointers. So Repeat can't be done if any delta load ended with error.
    YOu need to reinitalize.
    For more detials plz check the below link
    http://wiki.sdn.sap.com/wiki/display/BI/UpdatemodeRisnot+supported
    Regards
    KP
    Edited by: prashanthk on Sep 13, 2010 3:53 PM

  • Master Data Loading in Process Chain

    Hello All
    I want to design process chain for Master data loading we have 8 modules in our project such as SD,MM,FI,CO,PP,QM,PM and LO how Design PC .Each Module one start varient and All Text,Attribaute and hierarchies  Loading parallel ofter one Attribute Change run this Approach is Right Please guide me
    and Module dependence are there ?
    Like First load SD then MM like please guide me
    Regards,
    Ravi

    Hi.......
    Welcome to SDN.........
    It is also possible to load like this:
    load attributes
    change run load texts in parallel
    because chnage run and texts don't disturb each other.
    If you want also to load hierarchies the following order is recommended:
    load attributes
    load hierarchies
    changerun
    texts at last or in parallel with changerun.
    And for loading diiffterent area...........first tell me which architecture you are using..........split or LSA........
    as per ur update u didnt mentioned the type of architecture wheather it split,or,LSA or some other thing which u are useing,
    if you use Split architecture the load ,GD,DP,FC from FC completion of master data COPA will start so Complusary load FC first ,,u can run simulateanously (GD,DP,FC)it will be no problemand have to cross check about configuration of ur server also ,later you can start pp,tp in case of HR it will be total independent so check when u want to load
    IN Case of LSA (layerd Scaleable architecture) first laod Masterdata .. which will same for all the Process areas (like 0costcenetr,0employee) later start the Trancation data which you feel which is important as per my knowledege go for FC in turn COPA because usually reports morely based on FC and COPA
    Hope this helps......
    Thanks==Points as per SDN........;)
    Regards,
    Debjani..........
    Edited by: Debjani  Mukherjee on Oct 22, 2008 4:03 PM

  • Master data activation by process chain

    hello all,
    As I have seen that we have to right mouse click and activate master data after loading so that we can report on it. Thats a essentila step right?
    How can we achieve that in process chain, when we run infopackage to load master data do we add some other variant to activate that data ?
    Thanks in advance

    Hi Raj,
    yes we can acheive this using process chains, create a variant on this , in the process chains screen on the left side, u can see "ATTRIBUTE CHANGE RUN" in "OTHER BW PROCESS"
    Regards
    Vijay

  • Delete dso data requests in process chain

    Hi Guys,
    I have a DSO which loads data for 1 year in FULL load for every 2 hours. The requests in DSO are increasing and data transferred is almost same. Is there any way to delete the overlapping request from same DTP to DSO?
    I know there is option of  'Delete Overlapping Requests from InfoCube' for Infocube. I tried to use it the same for DSO but could not find my DTP for the DSO.
    So is there any other process type exists for DSO? I know we can write a code as well but I am not an ABAP'er.
    Plz suggest <removed by moderator>.
    Thanks.
    Edited by: Siegfried Szameitat on Jul 20, 2010 5:34 PM

    Hi Siggi,
    Thanks for replying.
    What are these options in the Tcode delete_facts:
    1. Generate selection program
    2. Generate deletion program
    There is no documentation available. When I click Generate deletion program option and execute- A selection screen opens, I selected nothing and executed, got an alpha numeric report name on the tcode screen, How can I insert this report in process chain? is there any process type for this?
    I do not understand why SAP has not provided standard process type like available for Infocube.
    Appreciate your help. Thanks!

  • Running Process Chains via abap

    Hi all,
    I have scenario in loading text file to cube via chains using abap, here the step:
    Start from abap code to check the file, if exist run the Process chains
    <b>Process Chains</b>
    a. <b>start</b>
    b. <b>load data</b>  
    c. <b>updt from PSA</b>
    d. <b>program</b>  "move file to err folder if loading error
    e. <b>Attrbute Change</b>
    f. <b>program</b>  "move file to suc foled if loading successfull
    g. <b>program</b> check file is still exist
    it's looks like machine gun
    The problem is always create two job "loading" (sm37) each file after abap code for checking file run the event 4 chains. This happened makes loading process takes time event the file only 20 records.
    Why this happened? Please
    Any suggestion is highly appreciated would be thankful for all
    rgds
    supriatna

    you already raise the event after you checked the file successfully, right? And you already scheduled your process chain waiting for that event?!
    -> yes, it's done and works
    But what do you mean with 'each file have 2 jobs ...'
    - > after a file founded and run the chains and I check the job using (sm37-job overview) there are create two job for BI_PROCESS_TRIGGER, BI_PROCESS_PSAPROCESS, BI_PROCESS_LOADING, BI_PROCESS_ATTRIBCHAN
    is there time out ? no time out, stop by system
    I have put 10 files but some times the process only run 2,3,5 file after that the job is stop.
    here the message:
    Process ABAP, job count 15425901 should already have started
    System response
    The chain has been terminated.
    Procedure
    There are probably not enough background proceses in your system.
    Make sure that there are enough background processes, because parallel processes also run when process chains are processed.
    The repeat frequency of the start-process may be too short. Look into this.
    any suggestion on this problem ?
    thanks in advance
    supriatna

  • List of Process Chains via ABAP Class

    Anyone know if there is an ABAP Class that will return a table of the available process chains in the system?  I looked at CL_RSPC_CHAIN, but don't see how to get a list of what is out there.

    This works for me..  I would think you'd be able to do this with a class..  Thanks!  Anyone else know a way to do this with one of the classes?
    Thanks!

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

  • 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 in bi 7? through process chain

    Hi all,
    I can see millons of records for master data is getting loaded daily. Can anyone pls advise me how to delete the master data through the process chain?
    Thanks
    pooja

    Hi,
    If Cube/DSO then we can choose the option Delete the Contente of the DataTarget in Process Type in PC. But for Mater data you can see any FM is available and keep that FM in Program and Insert that Program in PC's
    RSDMDD_DELETE_MASTER_DATA
    RSDPW_MASTERDATA_DELETE
    See the above TWO FMs in SE37 and if it is working then keep in in one simple program and then call that Propgram in Process Chain
    Thanks
    Reddy
    Edited by: Surendra Reddy on Jun 30, 2010 7:19 AM

  • How to delete Master data using Process Chain

    I need to delete data in respective data targets such as Infocubes, DSO’s & Master data Infoobjects. It was fine with Infocubes & DSOs  using respective process type. But the issue is with Master data Infoobjects.
    Is there any process type by using which I can delete data in Master data Infoobjects using process chain?

    Murali,
    Master data object process type is not there because in BW, master data is conformed or is shared by other infoproviders. Due to this dependency, master data loading is a bit more complex. You need to drop all the data from all the infproviders which are using the master data you want to delete.
    -Saket

  • Deleting Master Data Requests in a Process Chain

    Hi All,
    I need to delete and reload master data in a process chain.  I created an ABAP program that uses the function module "RSDMD_DEL_MASTER_DATA" to delete the master data.  I invoke this program from my process chain, and this is working well.  My master data is being deleted nicely.
    Question, however.  I noticed that this does not delete the actual data request for that InfoObject.  If I manage that attribute, I still see the request appearing, eventhough I see no records when I select the option to maintain master data.
    Can anyone tell me how I can delete the requests for master data, and how this can be done through a process chain?
    Your assistance would be greatly appreciated.
    Thank you,
    John Stabile

    Hi John,
    I created a program giving the name of the master data object. Using this object, I found the request entries from rsiccont
    Then I check these found entries in rsbkrequest, so as to find the status is successful.
    rsbkrequest-tstate eq '2'.
    rsbkrequest-ustate eq '2'
    see the total code below.. you can copy paste the same
    *TABLES
    tables: rsiccont.
    *SELECTION SCREEN
    selection-screen begin of block a01 with frame title text-t01.
    select-options : s_icube  for  rsiccont-icube obligatory.
    parameter: p_num type i obligatory.
    parameter: p_test as checkbox.
    selection-screen end of block a01.
    *Internal Table Definition
    types: begin of t_rsiccont.
            include structure rsiccont.
    types: recno like sy-tabix,
           end  of t_rsiccont.
    data:  i_rsiccont type standard table of t_rsiccont with header line,
           i_rsiccont_ok type standard table of t_rsiccont with header line,
           i_rsbkrequest type standard table of rsbkrequest with header line.
    *Work areas
    data: wa_rsiccont  type t_rsiccont.
    *Variables
    data: lv_rnr   type rsiccont-rnr.
    *AT SELECTION SCREEN
    at selection-screen on s_icube.
      select single rnr
        into lv_rnr
        from rsiccont
        where icube in s_icube.
      if sy-subrc ne 0.
        message 'InfoCube not found' type 'E'.
      endif.
    *START-OF-SELECTION
    start-of-selection.
      select * up to p_num rows
        into table i_rsiccont
        from rsiccont
        where icube in s_icube.
      if sy-subrc eq 0.
        select *
          into table i_rsbkrequest
          from rsbkrequest
          for all entries in i_rsiccont
          where requid eq i_rsiccont-rnsidlast.
       if sy-subrc eq 0.
          loop at i_rsiccont.
            read table i_rsbkrequest with key requid = i_rsiccont-rnsidlast.
    *check if status is = 2.
            check sy-subrc eq 0.
            check i_rsbkrequest-tstate eq '2'.
            check i_rsbkrequest-ustate eq '2'.
    *actual mode -> delete the recrod!
            if p_test is initial.
              call function 'RSSM_PROCESS_REQUDEL_MDT'
                exporting
                  i_dta     = i_rsiccont-icube
                  i_request = i_rsiccont-rnr.
            endif.
            append i_rsiccont to i_rsiccont_ok.
          endloop.
        endif.
      endif.
    *display list of all request numbers deleted!
      write: 'List of delete request numbers'.
      uline.
      skip.
      loop at i_rsiccont_ok.
        write: i_rsiccont_ok-rnr.
        skip.
      endloop.
    =====================================================
    You may need to correct the formatting
    Edited by: Shailesh Khandarkar on Nov 11, 2009 7:42 AM
    Edited by: Shailesh Khandarkar on Nov 11, 2009 7:46 AM

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

Maybe you are looking for