Process chain for updating a cube with last month's data everyday.

Hi everybody,
I need a suggestion on designing the process chain. I have the cube Zxx_xx. I will explain my requirement with an example. Suppose I uploaded the cube with data up to 201103. Each night in May, I want to upload the cube with April's data. So each night the previous request should be deleted. When May finishes, this time, each night I need to upload the cube with May's data. I handled everything except deleting the data from PSA. I need the data loaded in the cube stay at PSA. In this case the request including data till 201103,  the request loaded for April, and finally in June, I need to see the request loaded for May. In the last step of the process chain I added the process for deleting PSA data choosing my infosource, but I have no option for deleting the requests where I have uploaded from same infopackage with same selections. Please help handling this situation.
thanks in advance.
Yasemin.

hi,
You can achieve this by loading the cube through two different DTP's.
DTP1 to have in the routine to pick data for month-2 i.e. in june it picks up April data.
DTP2 to restrict the month in routine to month-1 i.e. in june it picks up May data.
Now the design of process chain will be as follows:
process chain to have an step "Decision Between Multiple Alternatives "
in this decision step you can write formula to check if sy-datum is 01, first of every month.
if step: formula
( RIGHT( 2, Current Date ) = '01' )
On first of every month load for month-2 as well as month-1 and delete overlapping request for month-1. Variant described below.  DTP1, DTP2 and then Delete overlapping request step
Else part of Decision Between Multiple Alternatives will be executed for all other days
load only month-1 and delete overlapping request from cube. DTP2 and then Delete overlapping request step.
in the pc there is variant "Delete overlapping request"
in that choose variant type DTP, give the technical name of DTP2 and save it.
this way the whole data loading will be automated and you need not intervene to delete data manually,
regards,
Arvind.

Similar Messages

  • Error in Process Chain for Delta pack

    Hi All,
    Here I am facing error in process chain for delta pack.
    Error:
         Last delta upload not yet completed. Cancel     I     
    Please send me the solution asap.
    Thanks

    Hi,
    This message means there may be a load triggered by the same infopackage that may be still running or may be still having yellow status. Go to the monitor screen from this IP itself and it will show the paricular request (it will be the latest one). See if that load is active and running. If its active try to find out if load is happening, if its happening you may let it progress. If its not active you need to force the status to red and delete from the target. Once this is done you can retrigger the load. If its a datamart load you may need to reset the data mart status before the triggering the load.
    Refer
    Last delta update is not yet completed
    Last delta update not yet completed-PC Chain Error
    Last Delta Not Yet Completed
    This is the same issue as yours.
    Thanks,
    JituK

  • Help required for Creation of process chain for Open hub destination(table)

    Hi Experts,
    I am working on creating process chain for the open hub destination which is targeting data transfer into Table. Which is then push to SAP PI.
    2.) Steps to create a process chain for OHD????? Not knowing and even after that
    3.) What are the steps for Pushing it to PI (I mean we have generated client proxy also) But need to know ABAP related to trigger process chain
    please need your expertise and knowledge. Well atleast with the point 2 I need BI experts help...
    Regards,
    [Gaurav Patwari|http://gauravpatwari.wordpress.com]

    Hi Gaurav,
    Creating Process chain for OHD.
    1. Go to RSPC-> Create a astart variant.
    2. Click on process typesin the menu. Fourth from the left. Under this go to LOAD PROCESSES AND POST PROCESSING option.
    3. The fifth option is "DATA EXPORT INTO EXTERNAL SYSTEMS". Click on that.
    4. Click on F4 and choose your infospoke name.
    5. Press the RIGHT button.(if it asks for variant, create a new variant in the same small window besideswritting bar).
    6. Join the START process and the 2nd process via dragging.
    7. Now add your required other processes.
    The general process chain processes are :
    1. Start.
    2. Delete Indexes (if data loaded to cube).
    3. Load process.
    4. Delete duplicate request (if it is a full load in cube).
    5. Create Indexes.
    Hope it helps.
    Preet

  • How to Create Process Chain for Remote Cube.

    Hi,
              I created Remote info cube, data from ECC, loaded Successfully, I want to create Process Chain for Reomte Cube, Please Help me.
    Thanks,
    Nandish Gowda

    Hi Nandish,
    After initialization, th next delta will come as per your delta nature, if it is 0calday: Then your next delta will come tomorrow only.
    If you are able to 7 records in RSA3, why not in PSA( Why it's only 5 records). Analyze this closely.
    Sometimes, RSA3 exactly doesn't match with PSA because, RSA3 works on update mode F.
    Regards,
    Suman

  • Creating a Process chain for hierarchy under 0Cust_Sales: Attrib? Text? too

    Hi,
    I have a standard hierarchy under 0Cust_Sales which I need to create a process chain for so that this hierarchy will be updated from R3 on a daily basis.
    What is normal to do in this case:
    Create a
    1. Create a process chain to load the Hierarchy under this 0Cust_Sales?
    Or,
    2. Create a process chain to load the Hierarchy and the Attrib?
    Or,
    3. Create a process chain to load the Hierarchy, the Attrib and Text?
    What is the pros and cons of each choice?
    Thanks

    Hi,
    Sorry for the confusion...yes I mean attributes by master data.
    Do you load with master data for 0cust_Sales separately, before loading the Attrib, Text and Hierarchy (in order)?
    attribute text and hieracrhy are the master data for 0cust_sales.
    You load attributes first and then text and then hierarchy.This is not a rule but for the better control and understanding.
    But keep a seperate chain for each along with the same grouping like all the attributes load together in same chain and text load together and hierarchy load together in other chains.
    Since attributes change frequently and you need to reload it everyday therefore keep it separate
    Hierachy may give you tough time with failures in process chains and will not change frequently so keep it separately in another chain.
    You need to use an attribte change run (change run) after any new master data is loaded.
    this is done to reallign the new SID'S created for the new master data object with that of cubes where they are used and affect these changes in the aggregates which are built on them.
    So better put it after the three chains have run or atleast after the master data chain has finished.
    Thanks
    Ajeet

  • Creating Process Chains for Infocube

    Hi All,
    I am trying to create a process chain for Vendor Evaluation(0PUR_C05).I created a start process and the "execute infopack" wich is delta load,so it prompted for "insert delete index" wich i created.Now,what to do next???
    the data flow is like this..
    infoapck(delta)->psa->infosource->infocube...
    is giving the selete index and rebuilding it mandatory??
    Please throw a light on this and help me out...
    Points will be rewarded..
    Regards,
    Manjari.

    Hi Manjari,
    How to do INIT?
    Go to Process Chain for Transaction Data.. and go to infopack you want to do INIT.
    Right click on that variant and click "Maintain Variant".
    Now if you have not yet loaded the cube using this Infopackage, you will find option Full update and Initialize data transfer in Update tab. If you have not loaded cube with any update, go to Initialize Data transfer and select the datatarget you want in Data Targets tab and check "Start immediately" in Scheduler tab and Execute.
    Now go to monitor screen and refresh it in times.
    Keep on monitoring in that screen until the requests become "Green".
    Once the requests are Green, come back to the Cube in RSA1 and check the data in Manage screen whether the data is populated fine or not.
    If the data is populated well, now go to Infopackage and in Update tab, change the Update technique to Delta. From now, you can have Delta upload using process chain.
    You will come to know whether the process chain is working properly or not by executing the process chain once. In your case, run the process chain only after you are done with INIT.
    If you have already loaded cube with Full load, follow the below process for INIT load...
    Go to Process Chain for Transaction Data.. and go to infopack and right click it. Click on Maintain Variant.
    InOrder to make it in INITIALISE DATA TRANSFER…goto... Menu>Scheduler>INITIALISATION OPTIONS FOR SOURCE SYSTEM..and click on it.
    You will get a popup with some requests in it. Select the requests and make them RED and delete all the requests and enter.
    And if u check in Update tab ,,for the update mode..it will be seen in INITIALISE DATA TRANSFER mode.
    Then move to DATA TARGETS tab and check the data target to which you want to load data.
    NOTE: If there is any data in the Cube, you want to do INIT, delete the data first (delete requests in Data target) and start INIT.
    Now move to "schedule" tab in Infopackage and check if the radio button is on START DATA LOAD IMMEDIATELY and click on the START button.
    Assign points if this helps u...
    Regards,
    KK.

  • Process Chain for Consolidation Functions

    Hi Team,
                  We have created a process chain for consolidation function as required by client, but we want the process chain to check the preceding  task status and only on successfully completion it should  proceed to next task. Is there a standard program or function module which does this, please update.
    Also we would like to pass dynamic permanent parameter values for the variants of task.
    Thanks in advance.
    Kind Regards
    Sridhar

    Hi Collet,
                 We have created a process chain  as  below:
    Period Initialization - Data Collection -LDS - Calculation of RE - Validation of RFD - Interunit Elimination -COI.
    I have created the Separate variants for  each of the above functions with program UCBATCH01.and the process chain is working fine.
    But we want the process chain to check the task status before it proceed to next task execution and stop if any error occurs in the task. Also we want the  dynamic selection of parameters from Permanent Parameters of Consolidation Monitor.
    Kind Regards
    sridhar

  • Process has no predecessor while creating process chains for Inventory

    Hi Experts,
    I have created process chain for Inventory and this inventory cube have compression also.so, i included compression of the infocube after create index.
    Here while i am checking the chain ,am getting the error called :  PROCESS HAS NO PREDECESSOR.
    Please give some inputs,what does it mean and how to solve.
    Thanks
    Lakshmi

    Hi Murali,
    Thanks for your reply.
    You mean to say that i should not include BX-IP,DTP in the list.as we know that this is only one time job.
    But in prodn system with out including BX in the list,how to initialise for the first time.
    So,first time we need to manually run the IP,DTP in prodn system.
    Plz let me know.
    Note:Murali, In the process chains list after create index,i dragged "COMPRESSION OF THE INFOCUBE" and i specified 0IC_C03 CUBE and continued.
    Along with compression of the infocube there is one more box has come into picture i.e SIGMA ADJUST(GENERATED FROM COMPRESSION ZPC_INV_0IC_C03_COMPRESSION) like that its came.
    Do we need to remove that or should i keep it in the list.
    Thanks
    LaxmanNaidu

  • Problem in creating process chains for CO

    Hi Friends,
                     I have a CO cube "0OPA_C11" getting data from Three datasources,
    those are 0CO_OM_OPA_6(supports delta), 0CO_OM_OPA_1(full only), 0CO_OM_OPA_2(full only), i have already created process chain to this cube using these three datasources, the chain is like this,
    1. delete indexes
    2.0CO_OM_OPA_6(supports delta
    3.0CO_OM_OPA_1(full only),
    4.0CO_OM_OPA_1(request overlapping)
    5.0CO_OM_OPA_2(full only),
    6.0CO_OM_OPA_2(request overlapping)
    7.create indexes
            Is it right? here the chain is running, after completion of that, in manage of cube, it is showing only the request for 0CO_OM_OPA_2(full only), the request which were there earlier like Init request and new delta request for .0CO_OM_OPA_6, full request for 0CO_OM_OPA_1 are getting deleted, it is showing the request only for 0CO_OM_OPA_2,
      the way how i created the process chain is right or wrong? can anybody give me the solution?
    Thanx in Advance
    BalajiReddy

    Hi Nick,
              Thanx for your reply, everthing is ok what you've asked me to check, i think there is certain scenario to create the process chains for the data targets, which are getting data from multiple datasources, which support delta's as well as full.
              I want that scenario, can you tell me? or can anybody tell me?
    The right points are assigned to the right answers.
    Thanx in advance
    balajireddy

  • Why won't my iMac print consistantly to my compatible HP 6500A? I've checked for updates and downloaded the lasted software...still can't print. All my other Mac devices find the printer but the iMac is hit and miss. I'm operating the Mac OS X Lion 10.7.

    Why won't my iMac print consistantly to my compatible HP 6500A? I've checked for updates and downloaded the lasted software...still can't print. All my other Mac devices find the printer but the iMac is hit and miss. I'm operating the Mac OS X Lion 10.7.

    When you say hit and miss do you mean sometimes you print a whole document with no problems, or do you mean each document has problems? This is from HP's website for your printer:
    Your sig says 10.6.7 but your message says 10.7. So if it's really Lion, this printer isn't officially supported. Elsewhere on HP's site it says updated drivers will be available on your Mac via Software Update. Have you run that recently?

  • 'Missing select' error for update statement using WITH clause

    Hi,
    I am getting the below error for update statement using WITH clause
    SQL Error: ORA-00928: missing SELECT keyword
      UPDATE A
      set A.col1 = 'val1'
         where
      A.col2 IN (
      WITH D AS
      SELECT col2 FROM
      (SELECT col2, MIN(datecol) col3 FROM DS
      WHERE <conditions>
        GROUP BY PATIENT) D2
      WHERE
      <conditions on A.col4 and D2.col3>

    Hi,
    The format of a query using WITH is:
    WITH  d  AS
        SELECT  ...  -- sub_query
    SELECT  ...   -- main query
    You don't have a main query.  The keyword FROM has to come immediately after the right ')' that ends the last WITH clause sub-query.
    That explains the problem based on what you posted.  I can't tell if the real problem is in the conditions that you didn't post.
    I hope this answers your question.
    If not, post a complete test script that people can run to re-create the problem and test their ideas.  Include a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables involved, and the results you want from that data.
    In the case of a DML operation (such as UPDATE) the sample data should show what the tables are like before the DML, and the results will be the contents of the changed table(s) after the DML.
    Explain, using specific examples, how you get those results from that data.
    Always say what version of Oracle you're using (e.g. 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002

  • HOW TO CREATE PROCESS CHAIN FOR PSA ARCHIVING

    SDN EXPERTS,
    i like to create process chain for archiving. but i dont see any event for archiving when i go to create a process chain for PSA archiving. please let me know.
    thanks

    Hi,
    In the below document on the 14th page it says it is not possible to archive the master data & PSA.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f47fec9f-0501-0010-ce84-8a7231715ae6
    As per my understanding..
    But one thing you can do is use another ODS and load the same data that you're loading to something else and try to archive that data(Only if you have transformations in the current CUBE/ODS).
    Correct me if i was wrong and eloborate your requirement.
    Regards, Siva

  • Process chains for loading data to target is not functioning

    Hi SAPians,
    Recently, we have upgraded the firmware on IBM P590 with the help of IBM on Saturday i.e. 06/12/2008 (The firmware of P5-590 was SF235_209. It was upgraded to SF240_XXX) and since then the process chains for loading data to targets are not functioning properly.  We have stopped all the SAP services, database services & OS services from our end and services have been rebooted after firmware upgrade.
    However, the problem with the process chains that load transaction data and hierarchies is solved but the chains that load master data are still not working as scheduled.
    We tried to load the master data manually, by running DTP to load data to an object analysis code (attributes) the request remained YELLOW. After refreshing it several times, the request turned into RED. The error message was - PROCESSING TERMINATED (screenshot 1 attached).
    To mitigate this we tried deleting the bad request and it prompted with the below message:
    "Cannot lock request DTPR_4C37TCZGDUDX1PXL38LVD9CLJ of table ZANLYSIS for deletion (Message no. RSMPC178)" (screenshot 2 attached)
    Please advise us how the bad request should be deleted?
    Regards,
    Soujanya

    Hi Sowjanya,
    Follow the below procedure to make yellow request to RED:
    Use SE37, to execute the function module RSBM_GUI_CHANGE_USTATE
    From the next screen, for I_REQUID enter that request ID and execute.
    From the next screen, select 'Status Erroneous' radiobutton and continue.
    This Function Module, change the status of request from Green / Yellow to RED.
    Once it is RED, you can manually delete that request...
    Releasing LocK
    Gott Transaction Code SM12 and release the lock.
    Hope It helps you.
    Regardss,
    Nagaraju.V

  • Updatable View issues:  cannot select FOR UPDATE from view with DI

    Hi All,
    I have a simple view XY and an instead of trigger on that to insert data into one table which is used in the my view. When I do insert statement on view XY it is working fine from sql but when i used same thing with page process of " Process Row of XY Automatic Row Processing (DML) " i am getting following error. I am using APEX 3.0 . Please help me.
    ORA-20001: Error in DML: p_rowid=xxxx, p_alt_rowid=abc, p_rowid2=, p_alt_rowid2=. ORA-02014: cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc.
    Thanks

    James,
    are you already on 3.0.1.00.07 or 3.0.1.00.08? Have a look at the release notes, it says something about a bug fix for some occurrences of ORA-02014.
    Also have a look at the new substitution value/item FSP_DML_LOCK_ROW which turns locking off if you set it to FALSE. See http://www.oracle.com/technology/products/database/application_express/html/3.0.1_readme.html#CHDIDIAF and also http://download-west.oracle.com/docs/cd/B32472_01/doc/appdev.300/b32471/advnc.htm#BCGFDAIJ
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://apexplugin.sourceforge.net/ New!

  • Delta and Full process chain for same master data target.

    Hi  Friends,
    Can I do full update and delta update through process chain for same master data target and from same source ?
    Regards
    shekar reddy

    Hi Sriram,
    why you want to load full and delta for same master data object?
    you can achieve this but make sure that you select repair full option for full load IP.
    you have this option in scheduler in menu bar
    Regards,
    Venkatesh

Maybe you are looking for

  • Audigy 2 platinum EX . Computer freeze probl

    Every time I try to intall my new soundcard the pc freezes after booting up. I'm running xp pro with service pack 2, and the pc has a pentium 4 , 2.4 Ghz processor. This is the third card I've had with the same result. The PCI slots take graphics, an

  • Qosmio G20: Merge partitions

    Hello, I have a Qosmio G20 with two 60 GB hard drives. The first drive has two equal partitions, C: and E:. I would like to delete E: and only have C:. I have tried with Partition Magic, and deleting E: is no problem, but I cannot extend C: Does anyb

  • Impact deletion flag set process order

    If i have "Set deletion flag for old process order" after the same any impact in Finance or production side. Chintan

  • Primary Surface Test Failed

    I recently purchased a brand new Lenovo T61 Notebook from Lenovo and downloaded the Lenovo System Toolbox.  After running the Diagnotics, the Primary Surface Test Failed under the category Video Nvidia Quadro.  The notebook was purchased with a Discr

  • Trial version does not download after I click on the download button.

    Trial version does not download after I click on the download button.