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

Similar Messages

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

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

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

  • How to delete requests in PSA using Process chains

    Hi All,
    Can anyone explain me how to delete all the requests in PSA using Process chains.
    This is what I did...
    1. use Process type 'Deletion of Requests from PSA'
    2. Settings:
    Object Type - PSA table
    Object Name - <Datasource name>          
    Older than - 0 (Zero) days
    These settings doesn't work. Can you please let me know exact settings to use for deleting all the requests in PSA of a datasource.

    Hello Praveen,
    That's what I thought too. But if I use '1' one day, what if I need to run it twice same day? So this doen't work for my requirement.
    Any other suggestions?
    Thanks.

  • How to stop the data loads through process chains

    hi,
    I want to stop all the data loads to BI through Process chains where load happens periodic.
    kindly suggest how can I proceed.

    Hi,
    Goto RSPC find your PC and double click on START then change the timings, i.e. give starting date is 01.01.9999 like that Save and ACtivate the PC, it won't start till 01.01.9999.
    Thanks
    Reddy

  • How to delete  old schedule time of process chain after changing

    I am try to change the schedule time of process chain on production but after changed the old schedule is still working (i.e. every day on 7 am I want change it to 6 am only) ,one process scheduled two time.
    I want only last changed. How to remove the older one?
    Thanks

    hmm wierd...one more thing check if this process chain get trigger by anyother process chain by some abap program or any.
    Check the table rspcchain to know if it has any meta chain or not. IF not follow the below steps :
    make your process chain trigger based upon the event. Follow the below step.
    1.SM64 ---> Create event -
    > come to your process chain -> maintain the start variant -> event base---> give that event name here.Now we will be require to create the job which will trigger this event for  this.
    2.Let us take the below PC as example;
    ZL_TD_HCM_004 -- This PC is running after event u2018START_ZL_TD_HCM_004u2019
    3.Go to T Code: SM36 Here we define the Background job which will be available in SM37 after saving it.
    4.It will ask for ABAP Program to be entered. Give it as Z_START_BI_EVENT and Select Variant from the list. (Based on Process chain, you can select it)
    5.Then select Start Conditions and give the start time of process chain. and select periodicity.
    6.Save the newly created job in SM36.It will be now available in SM37.
    This should solve your problem now .. have  fingure crossed
    Thanks,
    Deepak
    Edited by: Deepak Machal on Dec 14, 2011 8:20 AM

  • How to use master locks in a process chain with planning sequence

    Hi,
    when I start a process chain which contains a planning sequence there is no master lock set. The chain stops and I get the message "Data in InfoProvider XYZ is locked by user TIMMAY". What can i do to enable the master locks?
    Thanks for your help!

    Hello,
    When a planning sequence is triggered via process chain system first first tries to set a normal lock and if this is possible, these selections are stored as master locks and then the normal locks are released.
    In your case if some data is already locked by another user the lock conflict will occur in teh first step only where system tries to create a normal lock before creating master locks.
    If Administrator wants to trigger the process chain he should ask other users to come out of the planning layouts so that all the locks are released and then trigger the chain and after this the system will set the master locks. Packaging in planning sequence process type won't help in setting master locks even if the data is locked by other user.
    Also, after master locks are deleted in RSPLSE, the transaction data remains protected by normal data locks during runtime. Nevertheless, without master locks it is no longer guaranteed that parts of planning sequences can be carried out without encountering lock conflicts with other users.
    Regards,
    Deepti

  • 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

  • How to delete selective data in a cube

    Hi all,
    Can any one tell me, how to delete selective data in a cube. For example if i want to delete data corresponding particular Matrial Id  or particular Customer ID (say C400) ? And even deleting the data based on particular Request numer.?
    Sandy.

    Hi,
    RSMO > Infocube > Manage > contents tab > selective deletion
    Then define your selections for deletions (Matrial Id or particular Customer ID (say C400)).
    Request based deletions can be done directly from Request tab.
    Thanks,
    JituK

  • How to delete timesheet data in MAM 2.5?

    Hello experts,
    I need to find a way how to delete timesheet data (Mam010Item090) from the MI Client (SP18) running MAM 2.5. The task seemed to be quite straightforward however for some reason all the notifications are staying in IN_SYNC state which prevents me from deleting them.
    Anyone knows why they stay in this state, possibly what to do to change their state?
    Any help would be greatly appreciated.
    Regards,
    Frank

    Hi,
    1. MAM010Item090 is notification long text, not timesheet. So there is some confusion on what exactly you want to delete.
    2. Records in DB have three statuses: G - global, which means data was synhronised with the backend, L - local, data was created on the device but not synchronised to the backend yet, S- In-sync, synchronisation process in Mobile Infrastructure is always asynchronous which means that there are always 2 requests for data exchange to process one data update transaction. When first request was sent from the device to the middleware but no response received yet - data record will be in status in-Sync.
    Data can stay in status "S" for multiple reasons. Some examples: when data change request (BAPI) was executed it ended with ABEND or didn't provide a proper response, device DB got corrupted (exception thrown while synchronising), mobileID has some qeues in status "I-Waiting", etc.
    There is no universal solution on how to fix the situation: it might be a client reset, or SyncBo got deactivated (and that caused I-Waiting situation), etc.
    And standard MAM has no such object as timesheet. Did you mean time confirmation?
    Regards,
    Larissa Limarova

  • How to delete the data from partition table

    Hi all,
    Am very new to partition concepts in oracle..
    here my question is how to delete the data from partition table.
    is the below query will work ?
    delete from table1 partition (P_2008_1212)
    we have define range partition ...
    or help me how to delete the data from partition table.
    Thanks
    Sree

    874823 wrote:
    delete from table1 partition (P_2008_1212)This approach is wrong - as Andre pointed, this is not how partition tables should be used.
    Oracle supports different structures for data and indexes. A table can be a hash table or index organised table. It can have B+tree index. It can have bitmap indexes. It can be partitioned. Etc.
    How the table implements its structure is a physical design consideration.
    Application code should only deal with the logical data structure. How that data structure is physically implemented has no bearing on application. Does your application need to know what the indexes are and the names of the indexes,in order to use a table? Obviously not. So why then does your application need to know that the table is partitioned?
    When your application code starts referring directly to physical partitions, it needs to know HOW the table is partitioned. It needs to know WHAT partitions to use. It needs to know the names of the partitions. Etc.
    And why? All this means is increased complexity in application code as this code now needs to know and understand the physical data structure. This app code is now more complex, has more moving parts, will have more bugs, and will be more complex to maintain.
    Oracle can take an app SQL and it can determine (based on the predicates of the SQL), which partitions to use and not use for executing that SQL. All done totally transparently. The app does not need to know that the table is even partitioned.
    This is a crucial concept to understand and get right.

  • How to delete aggreagetd data in a cube without deleting the Aggregates?

    Hi Experts,
    How to delete aggreagetd data in a cube without deleting the Aggregates?
    Regards
    Alok Kashyap

    Hi,
    You can deactivate the aggregate. The data will be deleted but structure will remain.
    If you switch off the aggregates it wont be identified by the OLAP processor. report will fetch the data directly from the cube. Switching off the aggreagte won't delete any data,but temporarly the aggregate will not be availbale as if it is not built on the info cube. No reporting is not possible on swtiched off aggregates. The definition of the aggregate is not deleted.
    You can temporarily switch off an aggregate to check if you need to use it. An aggregate that is switched off is not used when a query is executed.This aggregate will be having data from the previous load's. If the aggregate is switched off means it wont be available for reporting but data can be rolled up into it.
    If u deactivate the aggregates the data will be deleted from the aggregates and the aggregate structure will remain the same.
    The system deletes all the data and database tables of an aggregate. The definition of the aggregate is not deleted.
    Later when you need those aggregate once again you have to create it from scratch.
    Hope this helps.
    Thanks,
    JituK

Maybe you are looking for