How to automate selective deletion of ods in process chain

Hi,
How can we automate selective deletion of ods in Process chain. I tried with the proceedure. Using T-code "delete_fact" I gave selection parameters and Name of the program and saved this as variant and gave the same program and variant in Process cahin. But it is not deleting data. So plz guide me whether I have missed anything in this proceedure.

Hi purushottam,
                       you have to give to program variants in the process chain for data deletion to take place. in the first program variant include the rsdrd_delete_facts as program name and in the program variant give a variant for your infoprovider selection.
Now again select another program variant and include the name of the program which you get after selecting the infoprovider name and  the generate selection program  option in the "program for deleting selected entries from the data target" screen " and press execute.
again give another variant for your field selection.
now try execute the process chain.

Similar Messages

  • How to do selective delete of the GL a/c, BA and Co Code from the BWrequest

    Hi,
    How to do selective delete of the GL a/c, BA and Co Code from the BW request ??
    Regards,
    Vivek

    Cube or DSO?
    Cube - manage - notedown the req number - selective deletion - enter req number at REQ ID and give the selection parameters as you need(GL a/c, BA and Co Code ) and execute.
    For DSo you can't do selective deletion on request id basis

  • ABAP Routine for Deleting and creating index for ODS in Process chains

    Any pointers for the ABAP Routine code for deleting and creating index for ODS in Process chains.

    Hi Sachin,
    find the following ABAP code to delete ODS ondex.
    data : v_ods type RSDODSOBJECT.
    move 'ODSname' to v_ods .
    CALL FUNCTION 'RSSM_PROCESS_ODS_DROP_INDEXES'
      EXPORTING
        I_ODS = v_ods.
    To create index:
    data : v_ods type RSDODSOBJECT.
    move 'ODSname' to v_ods .
    CALL FUNCTION 'RSSM_PROCESS_ODS_CREA_INDEXES'
      EXPORTING
        I_ODS = v_ods.
    hope it helps....
    regards,
    Raju

  • 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 implement an abap program in a process chain

    Hi,
    I have an ABAP Program which uploads data into a table.
    Now I want to implement this abap program in a process chain.
    Please could anyone tell me how this can be done.
    Thanks & Regards,
    Sushanth H.S.

    Hi,
    A process chain is a background task for processing data into a BW instance .
    I want to know how to integrate an abap program into the process chain.
    Regards,
    Sushanth H.S.

  • Load data from PSA to ODS in Process Chain

    Hi All,
    I want to load the data from PSA to ODS. I am using 3.5 Version. I have created the Info Package to load the data from R/3 to ODS.
    I just want to load data in the following Condition
    1. Need to load data from R/3 to PSA.
    2. Need to load data from PSA to ODS.
    I need to include this two Info Packages in Process Chain.
    I dont find any option to load PSA to ODS through Process Chain..
    Pls Suggest.
    Thanks,
    Ram.

    Hi Ram,
             You can keep the settings in the infopackage to load data from R/3 to PSA (by giving the settings as PSA and then into datatargets). Specify the option Update in all data targets for which the Rule Exist unde rthe Data Targets Tab.
    Then in Process Chian, there is an option by the name REad PSA and Update Datatarget under the node Load Process and Post-Processing in the Process Types.
    In the varaint, specify the infopackage name and save the varinat and uise it in the PC.
    Regards
    Sunil

  • How i run that delta infopackage in my process chain

    Hello Sir,
    i have a delta infopackage which sciduled in a process chain but it does not pick any delta i have to manualy run repair full infopackage dally and then delta comes in to picture my target is a dso so it does't have any problem.
    the datasourse is costamize
    delta pointer is cal day
    my question is how i run that delta infopackage in my process chain
    Thanks...

    Hi
    IS the process type "delta infopackage " is executing in the process chain or not? Plz once check in SM37 Tcode . and Why r u running the repair full request infopackage . If u miss any delta records then only u have to run the repair full request . If delta records are not extracted then better to manually extract the delta infopackage.
    Plz once check in SM37 Tcode whether the execute infopackage process step is running or not? or any error has occured in that PC.
    Thanx & Regards,
    RaviChandra

  • How to insert Info spoke /Open hub in process chain

    Hi,
    How can I include Info spoke in my process chain.
    Thanks

    Hi,
    Including InfoSpokes in Process Chains:(IMP Link):
    http://help.sap.com/saphelp_nw04/helpdata/en/59/90070982d5524b931ae16d613ac04a/content.htm
    Complete Open Hub Information:
    http://gassems.com/SAP%20Reources/Open%20Hub%20Service.pdf
    Regards
    Ram.
    Edited by: Ramakanth Deepak Gandepalli on Dec 10, 2009 10:49 AM

  • How to schedule system defined info package in process chain?

    Hi
    How to schedule the system defined infopackage in process chain?
    Regards
    Saddy

    Hi Saddy,
    Hope the following links will give u a clear idea about process chains and clear ur doubts.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/events/sap-teched-03/using%20process%20chains%20in%20sap%20business%20information%20warehouse
    Business Intelligence Old Forum (Read Only Archive)
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/c08b3baaa59649e10000000a11402f/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8da0cd90-0201-0010-2d9a-abab69f10045
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/19683495-0501-0010-4381-b31db6ece1e9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/36693695-0501-0010-698a-a015c6aac9e1
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9936e790-0201-0010-f185-89d0377639db
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/263de690-0201-0010-bc9f-b65b3e7ba11c
    /people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
    ****Assign Points if Helpful****
    Regards,
    Ravikanth.

  • How to find a metachain name from local process chain id or name

    how to find a metachain name from local process chain id or name

    Hi Dwarakanath,
    Please post your query in the correct topic space in SCN.  For help, see this document:
    Find Topic Spaces on SCN (Forums)
    Thanks,
    Kristen

  • How to automate the deletion of existing request

    Hi ,
    I want to delete the existing old requests under Cube . How to automate this process .
    Please can anybody help me .

    Hi,
    This code deletes <b>all</b> requests seuential from one particular cube determined by parameter I_Cube. Please create a variant with name of desired cube
    and a batch job processing this variant.
    REPORT  Z_DELETE_REQ_FROM_IC.
    DATA: I_T_RSICCONT TYPE TABLE OF RSICCONT.
    DATA: WA_RSICCONT  TYPE RSICCONT.
    PARAMETERS : I_CUBE TYPE RSINFOCUBE .
    IF I_CUBE IS INITIAL.
      EXIT.
    ENDIF.
    SELECT * FROM RSICCONT INTO TABLE I_T_RSICCONT WHERE
             ICUBE = I_CUBE.
    LOOP AT I_T_RSICCONT INTO WA_RSICCONT.
      CALL FUNCTION 'RSSM_DELETE_REQUEST'
        EXPORTING
          REQUEST                    = WA_RSICCONT-RNR
          INFOCUBE                   = WA_RSICCONT-ICUBE
        EXCEPTIONS
          REQUEST_NOT_IN_CUBE        = 1
          INFOCUBE_NOT_FOUND         = 2
          REQUEST_ALREADY_AGGREGATED = 3
          REQUEST_ALREADY_COMDENSED  = 4
          OTHERS                     = 5.
      IF SY-SUBRC <> 0.
    open for error-handling
      ENDIF.
    ENDLOOP.
    Please use it carefully 
    Regards
    Joe

  • Selectively deleting load from ODS using Process Chain

    Hi All,
    I have a requirement in which I have to delete the last load of the current month if any and leave the load of the last month untouched which has to be done using process chain.
    I will try to elaborate the condition required like say we have a data for June in the ODS already (date 10) and when the load for July will come it will not touch the June data but on 2 July the load of first July will be deleted without touching the load from June 10. (The PC will run for the first 10 days of the month).
    How can this be implemented, There seems to be some FM for this but are there any other method by which the same can be implemented without much use of ABAP.
    Any relevant suggestion would be awarded points
    Regards,
    Samved

    Hi Bhanu,
    Thanks for the reply.
    I tried to generate the program but that can be used for selective deletion from the ODS i think soo.
    But my requirement is basically to delete the complete request from the ODS and not any selective deletion and at the same time I cannot use the complete deletion option as that will delete the request from the last month also.
    Are there any optioin at the level of Info package which can be used for these type of deletion.
    Regards,
    Samved

  • How to recover selectively deleted data in Transaction cube ?

    hi Experts,
    We load data in transaction cube from manual entry layout, flat file source as well and then subsequently to basic cube.
    <b>Selective deletion has been done in transactin cube and corresponding basic cube without giving proper selection condition.</b> Therefore all the actual data for the month was deleted.
    <i><b>How can we recover all the months data ??</b></i>
    Its highly importantto recover the data as soon as possible. Quick reply will be really appreciated.
    Thanks in advance,
    Somenath

    Hello
    How r u ?
    Is there any ODS or PSA inbetween, If yes then you can load the Data from them again. Otherwise you have to load the data again.
    Best Regards....
    Sankar Kumar
    +91 98403 47141

  • Selective deletion of ODS  Job cancelled if number of selections exceed 300

    Folks,
    I am doing a selective deletion of some duplicate records in the ODS. I have identified 8000 records to be deleted and each records has a unique Key.
    In the delete options for selective deletion, I enter all the 8000 key values from a notepad and run the job in background, the job gets cancelled immediately giving an ABAP/4 exception raised error and giving a short dump. The short dump doesnt help much as well. However the job runs fine only for a maximum of 300 or so records.
    I wanted to know if anyone has faced the same error, or is there a limit to the number of entries we can put put on the selection screen or is there a limit on the number of lines we can delete on an ODS using selective deletion?
    Any help appreciated.
    Thanks
    Raju

    Anoop,
    I have tried Importing from text file, copy from clipboard also and scheduled the job in background. The max i could go was 300 selections only.
    My scenario is the ODS has only one key called BWODSKEY. So each selection I am using in selective deletion corresponds to one record on the ODS to be deleted.
    Thanks
    Raju

  • Selective Deletion From Cube and ODS using Process chain

    Hi all,
    is there any way that i can include selective deletion in a process chain, there is no stand process types for selective deletion, I need to delete the closed items from cube and ods and i need to schedule this??? any ideas?
    Thanks,
    Shetty.

    Shetty,
    You can delete Data from this using One custom Program. You need to use either RSDRD_SEL_DELETION(function module ) or RSDRD_BUILD_REPORT_FOR_BATCH(Function Module). there is a parameter in above  functioen modules I_THX_SEL which needs to be populated using selections.
    or
    You need to schedule the Background job from Manage screen on Monthly Basis(Provided that selection should be fixed in every month).
    I will update the thread with psudo code.
    all the best.
    Regards,
    Nagesh Ganisetti.
    Message was edited by:
            Nagesh Ganisetti

Maybe you are looking for