Process Chain Logic Please

Hello BI experts,
  Iam making a Process chain where I need to load the data in to 2 DSOs (say B1 & B2) from DSO A  . I have created Transformation and DTP between A - B1  and A - B2 . DSO B1 is required for the year of 2007 and B2 for 2008. Can any one let me know how to schedule this in Process chain ? Do I need to use ABAP Code for this, if so please let me know the sample code how to do this...
Thanks in advance

I want to do the following
Check if LOad Date (SYSDATE) lies between TOO9B - BDATJ (20007) & TOO9B - POPER (01 TO 12)
Then use DTP to load the the "2007 order cube"
Else
Check if LOad Date (SYSDATE) lies between TOO9B - BDATJ (20008) & TOO9B - POPER (01 TO 12)
Then use DTP to load the the "2008 order cube"
Please help me with logic or any standard functionaility that can resolve the above
RANGES: IT_TCODE FOR TOO9B - BDATJ
IT_TCODE-SIGN = 'I'
IT_TCODE-OPTION = 'EQ'
IT_TCODE-LOW = ''2007"
APPEND IT_TCODE.
IT_TCODE-SIGN = 'I'
IT_TCODE-OPTION = 'EQ'
IT_TCODE-LOW = '01'
APPEND IT_TCODE.
IT_TCODE-SIGN = 'I'
IT_TCODE-OPTION = 'EQ'
IT_TCODE-LOW = '12
APPEND IT_TCODE.

Similar Messages

  • Error in Process chain( Urgent Please )

    error in Process chains:
    My Process Chain errors out in the step to activate the ODS after loading data inot it.
    The loading is correct and green. The Activation step errors out .
    Can u please explaing me the error messgae what it means & how to overcome the error & correct it ?
    I get message like this :
    Req. REQU_0WBTMPS7KTKP9BWTZ173XWX3Y, data package 000001 with status 2 in rsodsactreq missing in return
    Message no. RSMPC129
    Diagnosis
    Request REQU_0WBTMPS7KTKP9BWTZ173XWX3Y, data package 000001 with status &3 in table 'RSODSACTREQ' is passed to the return structure as correct.
    System response
    The return structure is corrected and the data package is marked as incorrect.
    Message was edited by:
            Chris Gokul

    Chris,
    Looks like a request has not got deleted properly from the table :
    Options that you could look at :
    1. Delete all the data from the ODS and load again ( if that is an option )
    2. There are some entries you need to delete from the RSODSACTREQ table- but for this the suggestion would be to raise an OSS note for SAP to look into the same - we had a similar issue and raised an OSS note for the same and then got some notes from sap.
    Also please mention your BI version and patch level.
    Arun

  • Process Chain Attributes - Please Help

    Hi SAP Experts,
             I would like some helpful advice on process chains.Could you all please suggest the process chain attributes.The data flow is as such -
    R/3 data-->4 Transaction ODS -> Final ODS-> Final Infocube
    Please suggest the attributes all the way from start variant.Do we need to include Create / Delete indexes.

    Hi Prathibha,
    This has been discussed many number of times.. u can search forum on how to create PC's.
    For ur reference:
    http://help.sap.com/saphelp_nw04s/helpdata/en/67/13843b74f7be0fe10000000a114084/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/87/13843b74f7be0fe10000000a114084/frameset.htm
    and for ur task u can use the Index Deletion and reccreation before and after load to Cube for the query performance..
    Anf for the low...
    u can use this flow:.. I hope that u are in 3.x version.
    Start process
    4 load processes for different ODS - parallel process
    4 activation process for 4 differenet ODS's.
    And process to combine all the 4 activation process
    Load process to final ODS
    Acivate final ODS process
    Delete index process for the Cube
    Load to Cube from ODs process
    Create Index for the Cube.
    this way u can design ur process chain.
    This is assuming that u are getting data from 4 different DS's. and u want the parallel process for the initial 4 ODS's.
    Do let us know if u need some more help..
    Thanks
    Assign points if this helps

  • Passing parameter to process chain - logical file name

    Hi,
    Is there a way to pass a parameter to a process chain? Iu2019m trying to define logical file name (via transaction FILE) allowing to point on physical files name containing a parameter to be defined at run time. Is it possible?
    Example, consider receiving file ending by a number representing its source system origin:
    Filename_1      (file coming from syst 1)
    Filename_2      (file coming from syst 2)
    As both file have the same structure I would like to specify a single datasource Filename_n and a single process chain in which I would set the parameter n at run time. Is there a way to implement that?
    I first thought about an Abap routine reading parameter in a table but than Filename_n canu2019t be treated in parallel u2026 Any other idea?
    Cheers,
    Benoit

    Hi Benoit,
    yes, it is possible to call the file paths with routine at infopackage.
    if you have only 2 file and file names are constant, then you can create 2 infopackages and keep thse two in process chain.
    Start
    I
    infopackage 1
    I
    Infopackage 2
    and from applcation sever, these files will be loaded.
    if upi have more files, you can write a routine at the selection of file path, in infopackage.
    Regards
    Daya Sagar

  • Process chain Logic for this scenario

    HI,
      We have a typical requirement that need to be implemented using a Process chain.
    We need to Load data from R/3 to PSA,
    then Load the data from the PSA into ODS1,
    then execute an ABAP program,
    then load the data from PSA into ODS2 (we cannot repull from R/3).
    Can some one provide me an Idea on how to implement this.  I am stuck with the idea on how to populate ODS2 from PSA after executing ABAP Program.
    Thanks In advance,

    Hi Krishnamohan,
    I hope i m getting ur problem right.I think u can implement the below steps easily :
    Step 1 : We need to Load data from R/3 to PSA,
    Step 2 : then Load the data from the PSA into ODS1,
    Step 3 : then execute an ABAP program,
    U have options avaialable for each of them in process chains.
    Now coming to your problem.
    Step 4 : then load the data from PSA into ODS2 (we cannot repull from R/3).
    i guess ur Abap program makes some changes in the Data of PSA which u then want to load in the ODS2.
    What u can do is create 2 infopackages and inside infopackages in the data targets tab select ODS1 in the first infopackage and uncheck ODS2 , likewise in the 2nd infopackage select ODS2 and  uncheck ODS1.
    U can execute the first infopackage in the process chain , then ur abap program and then
    In process chain and in Process types u have something called "Read PSA Data and Updata Data Target".
    select that process type , specify the 2nd infopackage name and get it executed.
    Hope it helps.
    Thanks and Regards,
    Parth.

  • Process Chain Logic

    Hi Experts,
    I have a scenario where I have 3 different cubes.e.g. lets say cube 1 holds data for current Month, cube 2 holds data for current year (2007) and cube 3 holds data for Next Year (2008).
    Data from DSO daily loads to Current Month Cube, at the end of each month data would be deleted from "Current Month Cube" and dumped to "Current Year Cube (2007)".
    In next year 2008, at the end of each month data would be deleted from "Current Month Cube" and dumped to "Next Year Cube (2008)".
    For the year 2009, (delete 2007 data and load 2009), and for the year 2010, (delete 2008 data and load 2010).
    This process should be automated i.e. which cube to load should be done auto.
    Any ideas would be highly appreciated.
    Thanks in advance,
    V

    You need to have several process chains running each with one data target and a scheduled date to run. You can make use of end of month end of year  and other date options but I would be concerned about the followings:
    What if a transaction posted with a back date? For example: you received your last transaction for December 31 and that night you promoted the data from all the respective next month and yearly cube but the next day some transaction shows up with posting date of december 30th (or so). The transaction would sit in the ODS and if not checked for exact date to promote would end up in the wrong cube.
    Without knowing exactly what kind of data we are dealing with it is hard to give out a fool proof advice. Considering that you already have clean data and there is no chance of back date posting, just create multiple process chains scheduled for each events and deleting the unnecessary data after successful data loads. The only thing is that you must have all those next year's cubes ready before hand.
    Let me know if you have certain special condition that you want to share.
    Thanks.
    Bilal

  • Hi Gurus , Please let me steps to transport process chain .

    Hi Gurus ,
    Please let me know the steps to transport the process chain , I have created created process chain in DEV for materila master data .  The infopackges I have used in the process chain are already available in PROD  ,used in the process chain. Please let me how collect the objects.
    Regards
    shekar reddy

    Hi Sriram,
      It would be really good that you collect everything in your transport request even if the changes are not made then also nothing will happen to your already existing info packages. In case if the changes were made to the selections in the info packages then they will be over written.
    You would need to make sure that the info package is not getting executed at the moment of transport.
    Also one more point that you would need to remember before transporting you r chain is that you should put the start variant of your chain to future date else sometimes once you transport the chain from development to quality the chain starts to run as soon as it is transported.
    Your source system mapping would be totally dependent on the system that you have used in the development for example. suppose you have a Acceptance system name ( *A system for your info package then the mapping should be as *A -> *P( Production system) in the logical system conversion in production system. Also make sure that there is only one entry of your source system in the mapping.
    also check the below PDF at SCN link. it would be really helpful for you:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50b1d20e-c1e8-2c10-d9b9-d48eb3a83d89?QuickLink=index&overridelayout=true
    Thanks

  • Error encountered while running a process chain

    Hi,
    Was wondering what's the cause of this error:
    <b>Invalid call sequence to interfaces when recording changes.</b>
    We keep on getting this error message when we try to activate and schedule our process chain.
    Please help. Thanks!

    We run into this problem every time we Activate/Schedule a Process Chain; doesn't really <i>affect</i> anything. The chain still runs as scheduled once you "OK" through the error messages.
    Seems to be some rogue message that comes up in  more Authorization-sensitive environments (Read: PRD)
    I have researched this to fruitless extents: no Notes exist, etc.
    Sorry I can't be of more help other than to say "<i>I feel your pain</i>"  :-D

  • Populate Databse Table through RSCRM_BAPI in Process chain

    Hi,
    I am using RSCRM_BAPI to extract a query output in a custom database table in BW 3.5. On the database table I have created a Data Source which will populate the end cube. I have to automate this flow through a Process Chain.
    Please let me know, how can I call RSCRM_BAPI through ABAP in a process variant to load the database table.
    Regards,
    Dibyendu

    Hi,
    Please go thorugh the below link:
    https://websmp205.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700004400232004E
    Rgds,
    Sonal

  • How to change the status of a process chain

    Hi,
    I went through Siegfried's blog and knew how to restart a process chain at a failed step which doesn't have "Repeat" option.
    But is there any other function module through which we can change the "Actual State" of the process chain, in siggi's method we can change only the "i_state" of a particular process but not the "Actual State"(refer to RSPCPROCESSLOG table) of the process chain.
    Please do give your suggestions if there is any way to change the "Actual State" of a process chain.
    Regards

    hey Vamshi,
    We can directly change the status of the process chain.
    there is a specific way to do it, you can go in se38 and change the status from one to another ...go to se38 .... type....rspcprocessmonitor*.........presss f4...
    you will get a standard program ..
    now go to this program ...and give the set of inputs .... like PID and all from RSPCPROCESSLOG table ..
    and in the state give the state you want and press f8.
    this should work.
    Assign points if it answers your queries.
    Thanks,
    Dennis

  • Process chain-parallel process

    How do we do parallel processing in Process chain? Please answer.

    This may mean 2 things.
    1. If you load data to same target from same source, you can do this in parallel; that means you can split the data in multiple info packages and load.
    2.Second is when you load multiple targets from multple sources.
    To what extent you can run jobs in parallel depends on factors such as available memory, no of jobs, frequency of loads,   and top it all, the business needs.
    Ravi Thothadri

  • How to activate the deleted Process chain

    Hello Experts,
    Unfortuantely we have deleted few process chain by in RSPC .But we are in need of this Process chain . Could you please let us know whether there is any possibilties to get back the deleted process chain .
    Please let us know where the deleted process chains are stored in the system.
    Many Thanks for your Help.
    Regards,
    Kumar

    Hi,
    you can restore it from a backup or in case the chain was transported from one of the target systems or the development system. No other way.
    regards
    Siggi

  • How to implement an abap program in a process chain

    Hi,
    I have an ABAP Program which uploads data into a table.
    Now I want to implement this abap program in a process chain.
    Please could anyone tell me how this can be done.
    Thanks & Regards,
    Sushanth H.S.

    Hi,
    A process chain is a background task for processing data into a BW instance .
    I want to know how to integrate an abap program into the process chain.
    Regards,
    Sushanth H.S.

  • List of Info Objects used in a process chain

    Hi,
    I have a master data process chain and in that process chain, close to about 50 Info objects are included. Rather than checking manually, I would like to know if there is any automated way to get the list of info objects used in a process chain.
    Please let me know if there is any table that gives this information.
    Thanks & Regards.

    following transparent tables store Process Chain related data... there you might get the information you are looking for..
    RSEVENTCHAIN       Event Chain Processing Event Table
    RSEVENTHEAD        Header for the event chain
    RSEVENTHEADT        Header for the event chain
    RSPCCHAIN     Process chain details
    RSPCCHAINATTR      Attributes for a Process Chain
    RSPCCHAINEVENTS      Multiple Events with Process Chains
    RSPCCHAINT      Texts for Chain
    RSPCCOMMANDLOG     System Command Execution Logs (Process Chains)
    RSPCLOGCHAIN      Cross-Table Log ID / Chain ID
    RSPCLOGS     Application Logs for the Process Chains
    RSPCPROCESSLOG     Logs for the Chain Runs
    RSPCRUNVARIABLES      Variables for Process Chains for Runtime
    RSPC_MONITOR     Monitor individual process chains
    Regards,
    Sharayu

  • Not able to include infopackage in process chain creation

    Hi Gurus,
    I'm creating a process chain. while including the infopackage its not allowing me to select the existing infopackage.
    i'm geitting the message "no data selected".
    First we had checked the maintain process types - if the loading process type is maintained or not, we could not find that particular process there we had created a new entry by taking the values from the table "RSPROCESSTYPES".
    Now its show in the maintain process types in RSPC  tcode.
    But still could not add the infopackage.
    any one please throw light on this.
    regards
    KP
    Edited by: KP on Sep 5, 2009 2:55 PM

    Hi,
    If your infopackage is active .. then you should be able to add in the process chain. Please check all the objects if they are active or not. secondly Execute Infopackage is the standard process type available - you dont need to activate the same. Also one rough estimate is to check with your authorizations.
    you can also refer to below link.
    http://help.sap.com/saphelp_nw04/helpdata/en/8f/c08b3baaa59649e10000000a11402f/frameset.htm
    hope this helps.
    Regards
    Raj

Maybe you are looking for