Delete Requests (Except Compressed ones) in Cube in Process Chain's Routine

Hi all,
    We load an InfoCube on weekdays and we compress the Month-End load request. My request is to
keep the latest SEVEN requests and DELETE all other requests EXCEPT the Compressed requests.  I should not delete the COMPRESSED Requests. I want to accomplish it through ABAP Routine in a Process Chain
    In the below example, I should delete the Request Id's 2 & 3 only and keep Request Id's 1, 4 to 10.
Request Id---Compression Status
10----
9----
8----
7----
6----
5----
4----
3----
2----
1----
YES
I have looked on SDN and it says to use the Function Module RSSM_ICUBE_REQUEST_GET and RSSM_DELETE_REQUEST or run program RSDRD_DELETE_FACTS for sample code, but I didn't find anything for my requirement and could you PLEASE send the sample ABAP code for it.
  Thanks in advance.
Regards,
Venkat.

Hi,
http://help.sap.com/saphelp_nw04/helpdata/EN/f8/e5603801be792de10000009b38f842/content.htm
Automated Deletion of Infocube Request:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a7ba9523-0b01-0010-18ab-cf8b3b8c374a
Thanks
Hema

Similar Messages

  • Can you delete ODS indexes before loading each time in Process Chain

    Can you delete ODS indexes before loading eachin time in Process Chain and rebuild them just like a cube.And do you have to delete the indexes if its a daily refresh where data is deleted and a full update is done everyday.

    Hi,
    Are you using Secondary Indices on the ODS objects. I thought the Primary Index (which is also the Key Part of the ODS) is automatically updated during the Data Activation in the ODS. I am not sure if the Secondary Indicies are also automatically updated by the system.
    Naga

  • Delete request in ODS and Cube from process chain

    Hi Experts,
    I have the next situation:  I have a process that each month need to extract data with a selection criteria of fiscalperiod and fiscalyear, only I can maintain a data request with this selection. For this, I need a delete the old request when I am extracting new data with the same selection criteria, in ODS and Cube.
    Is it possible?
    Thank you very much for your collaboration.
    Regards,
    Jeysi

    Hi Jeysi,
    DSO works on 'Overwrite' principle.
    You need to check your data source.(The images your data source sends).
    Even if your updating the key figures using addition method, the data source will send you the correct images and correct delta to keep your DSO as a reflection of the latest image of your source system.
    Hence you would not require to delete a request with the same selection in the DSO.
    Moreover, if you have a cube at the downstream of the DSO, loading deltas from the DSO to cube would alone be sufficient and you would not need to use delete overlapping request.
    However, if you are loading full request to the cube from the data source with the selections of fiscal year and fiscal period , then yes you do require delete overlapping selections.
    In 3.x data flow, this was configured in infopackage in data target tab there is one column for automatic deletions, here you could set the conditions on which the overlapping request in the data target(cube) in this case should be deleted.
    In process chain, you can use , delete overlapping request from the process chain.under application node, load process and post processing.(This can be configured for both infopackages and DTP's)
    Hope this helps,
    Regards,
    Sunmit.

  • Process type "Delete overlapping request in cube " in process chain

    Hi
    can somebody suggest me where i need to place the process type "Delete overlapping request" for an infocube.
    Regards,

    Hi,
    When you use the corresponding process in the process
    chain maintenance screens to specify the conditions for
    automatic deletion, these conditions are applied to all
    the InfoCubes for the selected InfoPackages
    Overlapping: If you set this indicator, existing requests are also
    delete from the InfoCube if the selection criteria of the new request partially or wholly overlap the selection criteria of the request to be deleted
    Same or Comprehensive: If you set this indicator,
    requests are only deleted from the InfoCube if
    the selection conditions of the new request are
    the same as or more comprehensive than the selection
    conditions of the request to be deleted.
    Thanks
    Bhagesh

  • Problem with delete index of cube in process chain

    HI ,i have a problem with my process chain,here on process name as delet index is ther which has been turned to red.when iam going inside of that in Display message iam getting the msg as"Indexes for InfoCube SMS_C06 have been deleted successfully".
    since the process is in red next process is not been triggering,but i have to continue the process chain.
    can anybody put some light into it.its very urgent........

    Hi,
    I ran into the same situation with one of my process chain that is part of a metachain. The process chain has the Delete Index that turned red. But the messages show that the indexes on all the cubes were deleted sucessfully.
    As suggested, I did a repeat on the delete index variant, but no luck as it turned red again.
    Anyone aware familiar with this issue?
    Thanks,
    Briston

  • Error in generating/deleting the index of the cube in Process chain

    Hi All,
    I am getting an error in the process chain during the deletion/generation of index in the cube....
    error says: " Deleting/reconstructing indexes for InfoCube 0CSAL_C01 is not permitted "
    Need your input for the same.....
    Thanks & Regards,
    Anup

    Hi Anup,
    Try to analyse the error in the manage tab of that cube, and try to do the reconstruction of indexes manually.
    Good day!!!
    Regards
    Arun S

  • One of the APD Process Chains fails.

    Hi All,
    I have created two different process chain (PC1 and PC2 for example)which use program RSAN_PROCESS_EXECUTE  to execute the two diiferent APD (APD1 and APD2 for example) . PC1/PC2 executes APD1/APD2 respectively.Both the process chain have the same trigger event.
    The issues is that only one of the process runs successfully and the other fails at the program RSAN_PROCESS_EXECUTE
    For example if the PC1 runs PC2 fails at the program RSAN_PROCESS_EXECUTE and vice versa.
    The Error message it displays  is
    1) Job started     S     00     516
    2) Step 001 started (program RSPROCESS, variant &0000000155350, user ID ALEREMOTE)      S     00     550
    3) Spool request (number 0000030567) created without immediate output       S     SY     355
    4) Processing completed with errors. See spool list     E     RSAN_PR     22
    5) Job cancelled after system exception ERROR_MESSAGE     A     00     564
    Thanks
    Rajiv

    hi,
    To check the detailed error message for failure of APD, check in RSANWB, goto that APD and click on monitor.
    You will find the spool over there.
    Check the error message and let us know, so that we can try to help you out.
    It can be due to authorization issue or due to low memory.
    Regards
    Lavanya

  • 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

  • Loading from ODS to Cube in process chain

    Hi Experts,
    How can I do a full load from ODS to cube when using further processing in process chain? Your help is much appreciated.
    Thanks,
    Bill

    Hi,
    You can use a DTP for this.
    Create transformation between DSO and cube.
    Create DTP and run it.
    Loading data from one cube to another cube.
    Cube to cube data loading
    how to upload data from cube to cube
    Can we pull data from one cube to another cube
    Data Load Steps:
    Reading data from another cube
    Hope this helps.
    Thanks,
    JituK

  • Include Delete DM log files program in a BPC process chain

    Hi All,
    We are currently referring to a 'how-to' article which deletes the data manager log files stored at the backend. There is a custom program which does this job. This program can also be scheduled as a backend job to be run periodically as per the guide.
    Our requirement is bit different.
    What we need, is it possible to create a data manager package where this program can be run by the business user. We have tried creating a BPC process chain and included a BW process type 'ABAP Program' in it. In this we are calling the custom program and also used a variant based on which the program is expected to run.
    - Created a BPC process chain by including BPC process types 'Modify Dynamically' and at the end of the process chain 'BPC clear tables (with close_mode = 0)
    Is the above a workable solution? Though the package is successful from BPC excel, it is not doing the required job for us. How to make it work from a data manager package?
    Thanks

    Hi Ramya,
    if you want to see the result it should run first.
    after adding abap program to process chain, activate it.
    now right click on process chain start --> display variant --> change selection.
    check what is the start condition, if it is nto in immediate then comback
    click on edit --> change selection
    select immediate --> unchek the periodic values. and save. come back
    again click on save. come back.
    now schedule your process chain by clikc on clock symbol.
    after successfull completion of your process chain you can check in SE16
    Regards,
    Venkatesh

  • 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

  • H how to find  if the psa table is included in psa deletion process chain

    Hi all
    can anybody tell me .
    I have a psa table it's technical name is /BIC/B*
    h how to find  the  above psa table is included in psa deletion process chain or not
    please help me

    Hi
    Ope the PC in RSPC1 -->go to planning view of process chain
    in left side you will find different types of process types.
    under other BW process types folder -->you will find process type "Delete request from PSA"
    drag this into your process chain planning view and customize it based on your requirements.
    check the below article for step by step procedure
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a02ba9e7-bb6f-2c10-09b4-e86b9fcbad41?QuickLink=index&overridelayout=true
    Regards,
    Venkatesh

  • Help on how to delete request through sap BI api

    Hi my friends ,
    there ,i hava one question on how to delete the request using sap standard function?
    In my current project ,we want to enhance the  functionality to create one screen ,in this screen ,the user only select the request number which they want to delete ,and this action will trigger the process to delete all the request related to this number.
    for example: ods1(request 1)-->ods2(request 2)---->cube3(request 3).
    This 3 requests are in sequence.
    I want to delete request3 ,so the system will delete the corresponding request2 and request1 automaticly. All the user need to do is select request3.
    Now my team meet the bottleneck ,because we don't know the standard sap function ,this function can be use to delect request. We should not change the sap table because there are lots of tables related to the delete request action.
    Is there anyone know how to invoke the function to delete request?what/s the name of this function ?Is there some material on this function?
    Thanks a lot , i am online waiting for your kindly response.
    Thanks again.
    Jinwei

    To delete load request, just go to data target (ODS/CUBE), right click and click manage. Under Request tab, all the request and select the request and delete through delete icon.
    If you want to delete it automatically, you can do it in process chain. There are lots of functionality to delete data request wise, weekly/monthly basis. Ask your BI developer guy to implement the process.
    There is no need to touch the table to delete request.
    Hope this helps..

  • How to Delete Requests for Master Data Target

    In BW 7.0 (SP24) I'm struggling with a time dependent master data process chain load using BI 7 load methods (Transformation / DTP). The unique aspect of this is that we are required to start the process chain with an ABAP that deletes the master data. (RSDMDD_DELETE_BATCH). So a "Full" load is necessary. And we have to remove the previous PSA and Requests so that the DTP won't attempt to load (and ignore) the previous PSA.
    While deleting the previous PSA request is a straightforward operation in a process chain, there does not appear to be a function allowing us to delete the requests from a Master Data object. (info cube and OSD/DSO only).
    Does anyone know of an existing ABAP or Function Module that we can use to delete the existing requests from our object before we run our load processes ?
    Many thanks !

    Try the FM "RSDMD_DEL_MASTER_DATA".
    But before deleting the master data you have to make sure that this master data is not used anywhere i.e, delete all the transactional data first.
    U can also try RSDMD_DEL_PARALLELIZER

  • How to close an open request for a RealTime Cube in a Process Chain ?

    Hi,
    I've a real-time infocube, let´s call it C1RT. C1RT is connected to another standard Infocube C2 via a DTP.
    The users enter the planning data; it's stored  on C1RT. I wan't a process chain that loads data from C1RT to C2.
    What I've done yet and doesn't work is:
    Process chain PC1:
    Start->Change load mode from input ready to load ready for C1RT->Run DTP.
    I need to go to C1RT, right click, manage, click on the yellow ligth of the open request, and chage it to green, after this DTP transfers the data succesfully.
    I want to automate the yellow to green issue in PC1.
    Any ideas ?
    Best Regards,
    Miguel P.

    Hi,
    no report necessary.
    I had a similar problem lately.
    changing the cube in process chain is enough, but there are some settings to be made for the cube.
    Look it up at OSS note 1063466 .
    regards
    Cornelia

Maybe you are looking for

  • Validate data - business rules.

    Hi, We're using CDM Ruleframe to implement our business rules. As there was a need to bulk load a bunch of data, I disabled the business rules temporarily using the procedure disable_all_br. Is there a way to find out (afterwards) which of the record

  • Transport Controls (Playback) Not Working Premiere Pro CC 2014

    I've tried everything for the past couple of days and I can not seem to get my playback controls to work for Premiere Pro CC 2014. Help! Please!

  • Migration: Problem when migrating DataSource

    Hi, I'm trying to migrate an infocube from 3.x to 7.0, I created transformation and infosource ZIS_SS_TD_MG. When i'm trying to migrate DataSource then error displaying as " Activation of Objects with Type DataSource " Errors: The data object "L_S_DA

  • SIGSEGV in exception destruction

    Hi All, I'm facing a same problem which was reported earlier in this forum http://forum.sun.com/jive/thread.jspa?forumID=305&threadID=71170 Running on the machine SunOS hkxp0414 5.9 Generic_118558-11. However I'm not able to get in which patch this p

  • I lost the answers to my security question

    I would like to rest my secrity question to [email protected] i have lost them or i dont remember what the answers are to them