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!

Similar Messages

  • 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

  • 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

  • Delete DSO data for current month on a daily basis.

    Hi Gurus,
    We have a requirement where we have to delete the data in the BW DSO's for the Current Month every day before loading data into it. The reason for this is that in R3 they delete data for the current month in addition to adding new records and changing existing records. Since we do a Full load in BW, the deleted records in R3 will still exist in the BW DSO, hence the need for deletion.
    We can't delete ALL the data in the DSO as we use the BW DSO for Archiving purpose and the R3 table at any point of time will have just 3 months of data, while BW will have historical data.
    I know there is a process to delete DSO contents in the Process Chain, but can it be set up to just delete the current months data??
    Thanks
    Arvind

    Hi Arvind,
    The program RSDRD_DELETE_FACTS or transaction DELETE_FACTS will help you in deleting the records. Execute the program and select the option 'Generate Selection Program'. It will create a Z program , you can then dynamically select the current month in the Variant and assign the Z program and the variant in ABAP step of the process chain.
    Hope this helps with your requirement.
    Regards,
    BINETWEAVER2004s

  • 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

  • Delete Request in Process Chain - still need to delete indexes?

    I have a cube here that is a full load every day.  In the process chain I delete the 1 request (because there's only one request in the cube at any time) and then I reload using a full load.
    My question is that with a normal load into a cube I delete indexes and then load and then recreate indexes.  Now with my cube since I am deleting the contents of the cube do I need to add the delete indexes process in the chain? 
    Do the indexes get deleted when the data is deleted?

    Hello,
    Yes, when you delete the content of the InfoCube the Index associated with also gets deleted. So in the process chain Delete Content -> Load Data -> Create Index will be enough.
    Thanks
    Chandran

  • Automatic evaluation of yellow requests in process chains

    Dear All,
    I am running my load processes using process chains. I would like to monitor my process chains automatically using a custom program. Thus, I would like to stop any long running loads and proceed to the next load in that chain.
    I am using the Function Module RSPC_PROCESS_FINISH to set the status of that particular request (or instance) to 'R' in the table RSPCPROCESSLOG. This then triggers the next step in that process chain but it does not terminate this particular loading... Therefore in the monitor for this loading, the traffic light would still be Yellow and I would like to change this Red.
    Could you please suggest some function module or any way in which i can automate this?
    The standard sap job SAP_CCMS_MONI_BATCH_DP (Note 708480) also suffices my requirement but there are some locking issue because of which other process chains and applications are affected.
    Awaiting your suggestions...
    Regards,
    Amit

    Hello Sunitha,
    I am not clear of your requirement.
    If you have to delete the Init load everytime then on the first place why do u want to do an Init.
    Do a Full load instead and delete it everyday in the Process Chain or in the InfoPackage mark the checkbox for the same.
    Using a Init u can Load the data once and can start the Delta load which will fetch the data from the day Init was done. This is done to avoid big loads everyday instead bring in the small data with only changed records.
    Hope this helps
    Regards
    Rohit

  • Incorrect data after activating the request through Process chain.

    Dear SDN chaps.
    Today morning. I encountered a strange issue in DSO..
    I have DSO which is updating from the AL11(application server) flat file.
    While i am loading it to PSA there were no issues and after loading it to the DSO there is no issue and its passing through the routine and the data is populating properly in NEW data Table .But after successful activation of  the request through process i am getting the wrong records in active data table.
    Then i deleted the request and reran it manually i mean triggered the DTP and ran the manual activation surprisingly accurate records are coming through manual process..
    I am just wondering why it is not working through process chain and why it is showing incorrect records through process chain execution and how it is showing accurate records through manual uploading process..'
    Could some one please help to come out from this..By the way mine is SAP BI 7 SP20 &SP05 for BW 7.01
    Thanks
    K M R
      

    Hi Pra
    Thanks for your response..
    We are doing PSA deletion and then we are uploading the data to PSA as well as DSO.
    Now the issue is not in the part of loading we are facing the issue in Actiation of request if i am executing the activation through process chain it is sucess but the values are incorrect. If i am doing the manual activation it sucess with correct data.
    Even i tried with a new chain but still i am facing the issue.
    Surprise thing is in new data table the data is perfect in both the ways like manual upate and Process chain update only during activation i am getting incorrect record in the active data table..
    Appreciate your help on this....
    Thanks
    K M R
    Edited by: K M R on Jul 9, 2010 11:09 AM

  • Delete Overlapping Request in Process Chain

    Hi,
    I’m working on Process chain to upload data from four source cubes to one target cube. Process chain has been configured as after the <b>Data Transfer Process’s</b> successful execution, system looks for overlapping data requests and deletes them. Chain seems doing the required functionality but the only thing going wrong is when it comes to deletion of overlapping requests, it randomly delete few and leave others. The status of undeleted ones switched to <b>erroneous</b> and this prevents newly generated data requests available for reporting.
    Regards,
    Shabbar

    Hi,
    Thanks for your replies. For deletion I’m using <b>Same or More Comprehensive</b> option because I just want to delete the corresponding request with the same selection.
    There are four requests need to be created with every run and it should delete the corresponding four. But I don’t know what’s going wrong, why and how it picks up a few out of four for deletion and left the rest with erroneous status.
    Hope this would make the problem statement clear, if you require any further information, please let me know.
    Regards,
    Shabbar

  • Unable to delete the request through process chain

    Hi,
    We included program in a info package to delete the request based on snapshot date. its working fine when we ran info package manually but its not working when the infopackage is included in the process chain.
    Kindly update us how to work on this.
    Thanks & regards
    Bharathi

    Hi Bharathi,
    There are two options in delete request process of chain:
    one is to use deletion seletion from Infocube .....infopackage settings
    and second one is to set new in chain....
    you should try first option...
    Thanks
    Arun Purohit

  • Delete request in Process chain in BI 70

    Hi Experts,
    I have a load request for the past 12 months in a cube. Since the data can be changed retroactively in the source during 12 months, I have to delete the previous request and load a new one every month. We used to do that in 3.1 by using Process type "Delete Overlapping request" in combination with the InfoPackage, but it does not work in 2004s.
    What are the right parameters that we should use in the DTP, the InfoPackage and Process Type?
    Currently, DTP is Delta, InfoPackage is Full, Process Type is "Delete Overlapping Request" (InfoSource and dataSource are the same. But the previous request does not get deleted.
    Thanks,
    JL

    Hello Jean-Luc,
    As it looks for me the problem ist that "Delete Overlapping Request" is working only with Full DTPs but not with Deltas in 7.0.
    (check note 1147766 herefore).
    According to note 1336410 it is possible again. But then you need to set flag 'Only Get Delta Once' in your Delta DTP.
    If you need this see if you are able to implement note 1336410.
    Hope this helps you.
    Kind regards
    Klaus Weippert

  • 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 Init flag in a  process chain, before processing the init

    Hi,
    At the end of the week i need to re-execute the init request from ODS1 to ODS2.
    Therefore, i have to delete the init flag first and the requests in the CUBE1, everything automatically in the process chain.
    The schedule must be as follow :
    1. Delete init flag on ODS1
    2. Delete all request from ODS1 in the CUBE1
    3. Load an regular INIT request from ODS1 to CUBE1.
    Notes :
    I cannont clear all the CUBE1 content, as i have other datasource than ODS1.
    CUBE1 is the only one data-target of ODS1.
    Any suggestion, as there is no process in the process chain to "Delete Init Flag".
    Best regards,
    Ludovic

    Hi
    Ad.1
    start code----
    DATA: v_count TYPE i,
    p_dsourc LIKE roosprmsc-oltpsource,
    p_rlogsy LIKE roosprmsc-rlogsys.
    p_dsourc = 'your source'. *"8E2_ODS1"
    p_rlogsy = 'your system'. *"BP100"
    SELECT COUNT(*) FROM rssdlinit INTO v_count
    WHERE oltpsource = p_dsourc
    AND logsys = p_rlogsy.
    IF sy-subrc NE 0. "MesgTyp E end the program abnormally
    MESSAGE e508(db6) WITH 'x' 'x' 'in DSource and/or LogSys'.
    EXIT.
    ENDIF.
    Call delete function
    CALL FUNCTION 'RSS1_QUEUE_DELETED_IN_OLTP'
    EXPORTING
    i_oltpsource = p_dsourc "OLTP-Source
    i_logsys = p_rlogsy "LogSys (Myself or Remote)
    EXCEPTIONS
    failed = 1
    OTHERS = 2.
    IF sy-subrc <> 0.
    MESSAGE e508(db6) WITH 'x' 'x' '===> No sucess <==='.
    ENDIF.
    ---end code
    Ad.2
    See RSA1-> Infosources -> select your Infopackage -> Change ->
    Data targets -> Automatic Loading of Similar.. -> Delete existing Request
    Ad. 3
    Create Infopackage with init
    Regards
    PWnuk

  • 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 delete the error stack in process chain?

    Hi all,
    we just want to do the following:
    - we are loading in FULL daily to our datatarget (data is versionized by 0calday)
    - we want to use the error-stack in order to analyze wrong data
    --> but we now encounter the problem that, if data has once been added to the error stack and has not been handled yet, all data from the next daily load will be sorted out as records with this key do already exist in the error-stack. But that's exactly what we want to avoid.
    with other words: how can we delete the records in the error stack by a report by e.g. using this in a process chain?
    Thanks in advance,
    Best regards,
    bivision
    Edited by: bivision2009 on Jul 6, 2010 12:25 PM

    Dbl click that DTP.... From menu... Extras -> Setting for Error Stack
    Here U can see error stack table name /BIC/B0001234000.
    Using SE38, create simple program "Delete from /BIC/B0001234000"
    In the process chain, add process type "ABAP Program" to add above deletion statement.

Maybe you are looking for