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

Similar Messages

  • 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

  • How to load delta to 2 target ODS 's from a single ODS using process chains

    Hi BW Gurus
    I am having a current ODS based on 2LIS_02_SCL, deltas also are working fine for it.
    our  requirement was based to have 2 target ODS on this existing ODS by using export generate datasource.
    I have to build a process chain that should enable us to load delta in our target ODS.
    Earlier manually for DEV purposes ,i was using the Update data into data targets from the source ODS, this was enabling us to load deltas. But to automate this process we will require a process chain.
    Finally , is there any process type in process chain for " Export generate Datasource".
    please suggest a good methodology for this scenario.
    Thanks in advance.

    Hi Ashfaq,
       Loading from ODS to CUBE is same as loading from datasource to ODS only.
    1. Create export datasource.
    2. Create update rules from ODS(export datasouce) to CUBE.
    3. Create infopackages(if you dont want to use generated once).
    4. include infopackage in process chain to load fromODS to CUBE.
        Intialize first manually and change settings in process chain infopackage to "Delta".
    5. You can append/enhance existing process chain(loading from datasource to ODS).
    Hope it Helps
    Srini

  • Deletion of changelog data using process chain

    Hi All,
             I have a requirement where i have to delete the changelog data for particular set of data using process chain.we have an option of deleting the entire data from changelog but how to delete only a particular set of data?????

    If you are on BI 7 than,
    Choose "Deletion of Requests from the Change Log" from process category Further BI Processes by double-clicking.
    Create a new process variant and in the variant maintenance screen select Type of Object as Change Log Table
    Under Name of object select DSO name
    Specify the requests that need to be deleted by determining the days or dates. You also have the option to specify whether you only want to delete successfully updated requests, and/or only incorrect requests that are no longer updated in an InfoProvider.

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

  • Error while loading Masterdata Txt using process chains

    Hi Guru's
                  I am loading the masterdata texts for infoobject 0material, i am getting the following error:
    "0MATERIAL : Data record 24 ('1215619 E '): version '1215619 ' is not valid     "
    Points assured.
    Thanks in advance.
    Peddinti

    Hi Jr,
            The data i am loading is a content data.i got the same error for all the records of 0Material info object.
    regds,
    Zakir Peddinti

  • Delete some hierarchies using process chain?

    Hello,
    I wonder if there is anyway to delete some hierarchies from InfoObjects using process chain.
    For example:
    - In the product InfoObject, there are 5 existing hierarchies which are HIER1, HIER2, HIER3, HIER4, HIER5.
    - In the process chain, there is a schedule to load product hierarchy every week.
    - The requirements is to delete HIER5 before loading HIER5 into the product InfoObject again and would like to add this process in the process chain as well.
    The final solution that we think it might help is by writing in ABAP.I'm not sure if there any alternative way to serve this requirement without using ABAP program?
    Any suggestion would be sincerely appreciate.
    -WJ-

    Closed without solution!

  • Data load Error using Process chain

    Hi,
    In NW2004s when I schedule delta loads for 2LIS_11_VAITM using process chains, when there is zero delta, the manage screens of the infocubes show green light with zero records correctly whereas the process chain log display shows red. The details of the process monitor show zero records. Is this right? I assume that even if there is zero delta, the log must show green and all the subsequent processes like activation of ODS, deleting of PSA, construction of indexes must be carried out. Please confirm. Is this a bug?
    Thanks.
    Param

    Hi Victor,
    Can you please advice how you solved issue as we are having similar issue where it works fine when loaded manually but throws communication error when process chain runs, following is error message..
    Communication error: call FM RSSDK_DATA_REMOTE_GET
    Thanks in advance for your help!!
    Sandeep

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

  • Loading from flat file to dso using process chains

    hi,
    i am using BI7.0
    i am new to  process chains
    can anyone  explain how to load data from flat file to dso using process chains(i have created all the objects created) preffered if explained with an example

    You can find a lot info if you can searh SDN.
    Metachain
    Steps for Metachain :
    1. Start ( In this variant set ur schedule times for this metachain )
    2.Local Process Chain 1 ( Say its a master data process chain - Get into the start variant of this chain ( Sub chain - like any other chain ) and check the second radio button " Start using metachain or API " )
    3.Local Process Chain 2 ( Say its a transaction data process chain do the same as in step 2 )
    Steps for Process Chains in BI 7.0 for a Cube.
    1. Start
    2. Execute Infopackage
    3. Delete Indexes for Cube
    4.Execute DTP
    5. Create Indexes for Cube
    For DSO
    1. Start
    2. Execute Infopackage
    3. Execute DTP
    5. Activate DSO
    For an IO
    1. Start
    2.Execute infopackage
    3.Execute DTP
    4.Attribute Change Run
    Data to Cube thru a DSO
    1. Start
    2. Execute Infopackage ( loads till psa )
    3.Execute DTP ( to load DSO frm PSA )
    4.Activate DSO
    5.Delete Indexes for Cube
    6.Execute DTP ( to load Cube frm DSO )
    7.Create Indexes for Cube
    3.X
    Master loading ( Attr, Text, Hierarchies )
    Steps :
    1.Start
    2. Execute Infopackage ( say if you are loading 2 IO's just have them all parallel )
    3.You might want to load in seq - Attributes - Texts - Hierarchies
    4.And ( Connecting all Infopackages )
    5.Attribute Change Run ( add all relevant IO's ).
    Start
    Infopackge1A(Attr)|Infopackge2A(Attr)
    Infopackge1B(Txts)|Infopackge2B(Txts)
    /_____________________|
    Infopackge1C(Txts)______|
    \_____________________|
    ___________________|
    __\___________________|
    ___\__________________|
    ______ And Processer_ ( Connect Infopackge1C & Infopackge2B )
    __________|__________
    Attribute Change Run ( Add Infobject 1 & Infoobject 2 to this variant )
    1. Start
    2. Delete Indexes for Cube
    3. Execute Infopackage
    4.Create Indexes for Cube
    For DSO
    1. Start
    2. Execute Infopackage
    3. Activate DSO
    For an IO
    1.Start
    2.Execute infopackage
    3.Attribute Change Run
    Data to Cube thru a DSO
    1. Start
    2. Execute Infopackage
    3.Activate DSO
    4.Delete Indexes for Cube
    5.Execute Infopackage
    6.Create Indexes for Cube
    Some Links
    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

  • 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

  • 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

  • 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

  • HOW TO LOAD R/3 DATA INTO SAP BI USING PROCESS CHAINS?

    Hi,
    Can we load R/3 data into BI using process chains?... I loaded data from R/3 into Infocube using generic extraction using view... took 2 tables EBKN and EBAN and ceated view.
    In PSA I can find all the 2388 records but when I load into datatarget in transferred tab there are 2388 records but in added colum i could find only 2096.....
    I deleted the request and want to load through process chains....... but  how to do ?????? without flat file ...can we laod using process chains?
    I appreciate any inputs.......
    Regards,
    Prasanthi.

    did you even bother looking at the links in my previous posts???
    read the docs...try yourself...if you encounter specific issues, you can post them on the forum...
    if you're really expecting somebody to post a step by step for process chain, i think you can wait a long, long time...

  • Need help in triggering the Data stream load  using process chain

    Hi Guru's
    is it possible to trigger a data stream load using process chain?
    Any help is highly appreciated.
    Thanks
    Indiran

    Hi Indiran and welcome aboard!
    Don't think this is possible. SAP BW & SAP SEM-BCS are rather independent systems. Though, BCS lives on top of BI-BW stack, it even may have master data different from those in BW.
    Process chains, AFAIK, is completely the BW's feature. Certainly, you may use PCc on BW side, loading ODS/DSO and cubes involved in BCS data model.
    The main con here is the lost transparency -- you don't control everything from the consolidation monitor.
    The pro side is also rather obvious for me. Since, very often there is a huge difference between data quality at the data source and in the BCS totals cube, I need to make a lot of data transformation. Not only some data calculations or cleaning, but also transformation of data model: key figure model -> account model. It's much more easier to do in BW, for me.
    I even call the ODS/cubes/routines involved in such transformation as intermediate layer, the layer between data source and SEM-BCS.
    And this layer lives rather independently from BCS.
    Hope this helps.

Maybe you are looking for