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.

Similar Messages

  • Programming logic for this scenario

    hi all,
    kindly help me with this scenario:
    i have a internal table with fields like this (among others)
    OBJEK                        ATINN         CHAR                                  CHARG            CHAR1
    000000000000000031 0000000188  Batchnumber: WEEK NO. 9  0000000052
    000000000000000031 0000000189  Visualinspection: OK            0000000052
    now wht i need to do is for SAME batch number i need to concatenate the values of CHAR into CHAR1.
    that is to say that CHAR1 shud have the value "Batchnumber: WEEK NO. 9 Visualinspection: OK"
    ive right now done it using 2 different internal tables and concatenating the values. want to know if theres an easier and simpler way.
    any pointers guys??
    pk

    solved it myself
    thanks to sujatha reddy's post in the following thread:
    Re: at end of  statement
    pk
    Edited by: prashanth kishan on Jul 11, 2008 9:19 AM

  • Require Fox-code logic for this scenario

    Hi folks,
    I have a multi-planning area consisting of one budget-planning cube and one actual cube. I am tryig to create a planning function using a Fox formula where-in  i need to map each Liquidity item in Actual cube with multiple fund centres in Budget cube and finaly save the data in budget cube.
    Can anyone please provide Fox- code for the above scenario?
    thanks in advance
    regards
    Peter

    Hi,
    What is the problem with the FOX?. Please provide more detail about what you want to do.

  • 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

  • Process Chain Assining for another source sytem

    Hi Experts,
    I have a quick question on process chain assining for another source sytem.
    For Example. I have a Process chain with 10 Infiopackages. Letz say that Infopackage was assinged to one source system.
    Now I wanna a create a new process chain which shoud be the replica of the existing process chain. I wanna to load the data for the same info packages thru another sources system. Can we do this or else we have to reassign the data source for new source system for every infosources.. Is this Possible.
    Kindly guide me if there is any nother solution for this.
    Warm Regards,
    Aluri

    Hi..
    ABAP routines are in place at infopack level or at the Transformation level?
    If its there at the Transformation level then there wont be any issues for ur redesigning..
    if its there at the IP level then u need to copy those things in ur new IP as per the requirement and change the things accordingly..
    and then design the process chain..
    Assign points if this helps..
    Thanks

  • Stopping Process Chain schedule for just one day...

    Hi,
    Our source systems and BI are getting a patch upgrade during this weekend and I need to stop all the Process Chains schedule for Friday night/ Saturday morning. Is there a simple way I can stop all the Process Chains from executing just for tomorrow instead of manually removing each PC from schedule and again putting them back on schedule on Saturday?
    Thanks,
    Sri.

    Hi
    You can reschedule them instead of de-schedule and schedule back.
    1)open your process chain in rspc1
    2) goto planning mode
    3) right click on start --> display schedule job
    4) select the job --> in menu bar --> click on first one from left --> change
    here change the dates as per your requirement and save the job.
    If you have any event based chains which are going to start after time based chains gets complete, no need to de-schedule as we are not going get trigger from time based chains.
    I don't think so we have any program to de-schedule all the chains at a time.
    Regards,
    Venkatesh

  • Need inputs from u for this scenario?

    Hi all,
    I have one scenario I need all inputs from u all.
    My scenario is like this.
    I will get data from online transactions I need to collect all the day transaction into one folder and upload them into SAP system at one particular time.
    Which are the best adapters for this scenario.
    If I have standard IDOC I will go with IDOC adapter at receiver side if not proxy.
    But collecting all the data into one folder and schedule the process at particular time.
    How to do this and what are the adapter I can use.
    Thanks and Regards,
    Phani Kumar.

    Hi,
    I hope for online transactions and for tracking it and saving you can write a java script where you can prepare a XML file to get all transactions for particular order and always append it to the end of that xml file. At end of the day you will have a complete transaction list in the XML you are creating. You can use the file name as you desired but i will prefer datewise name.after the completion of that Transaction recording step, put it in some In folder from where your XI system willo take input.
    Now this is file to Idoc scenario or whatever you want to use to post data to SAP Systems. The sechdule this scenario to run in the night or your desired time. After processing the XML file put that file\ to some other complete folder , not to get it again.
    For collection of transactions you can also use databases. Then you scenario will be JDBC to IDOC or the thing you want to post data in SAP system.
    Hope this will help you.
    Regards
    Aashish Sinha
    PS : reward pints if helpful

  • Reg : To view process chain flow for a cube

    HI Experts,
    I need to view process chain flow for a particular cube of sales distribution.Can you please tell me stps to perform .

    Hi,
    If the cube is already loaded then you can just to the infopackages which are loading it and in the infopackages you have option in the "schedule" tab to see which process chain it is loading.
    if not then you will have to identify which data source is loading to the cube and check for the infopackge.
    and I think the DTP will be in the same chain  as well.
    For DTP it is alreday mentioned by the others.
    Thanks
    Ajeet

  • Help required specifying Transation attributes for this scenario

    Hi ,
    I am trying to create/update rows in a database using BMP and CMP beans.
    A business method ( Method1 )in session bean calls a non-business method ( Method2) in the same session bean which inturn calls an EntityBean ( EB1-BMP) . EB1 can throw a certain business exception upon which , the Method1 in the session bean calls another EntityBean in a loop( EB2-CMP).
    The problem is that , when the EB1 throws the business exception, i am getting an exception ( part of the stack trace attached below ).
    Could any please explain what should be the transaction attributes to be specified for this scenario.
    Using RequiresNew for the EntityBeans would not work ( or would it ?? ) because the entity bean is being called in a loop and the commit or rollback should happen for all the methods.
    I feel the problem should be solved by specifying the transaction attribute for Method2 ( non business method in session bean ) as Required, but i guess this is not possible.
    How exactly will the transaction behave in this scenario, is the exception caused because EB1 has thrown an exception and i am trying to continue the transaction.
    Could someone please suggest a solution or workaround for this problem.
    Regards,
    Harsha
    ---- Begin backtrace for nested exception
    java.lang.IllegalStateException
    at com.ibm.ws.Transaction.JTA.TransactionImpl.enlistResource(TransactionImpl.java:1694)
    javax.ejb.EJBException: nested exception is: com.ibm.ws.ejbpersistence.utilpm.PersistenceManagerException: PMGR6022E: Error using adapter to create or execute an Interaction. com.ibm.ws.rsadapter.cci.WSInteractionImpl@28d16547
    .

    tryout business method ( Method1 )in session bean with transaction as RequiresNew.
    catch exception in Method2 originated from EB1-BMP
    make the method in EB2-CMP as Required/Mandatory
    I have made a guess here so just tryout and let me know if works.
    Its recommend that not to use both BMP's and CMPs in your application. Have any one either.

  • Logic for this comparision of character type operands.

    Source field name: ZDCNFG
    Target Info Objects:
    ZDVD59
    ZDVD10
    ZDVD14
    ZDVD18
    ZDVD25
    ZDVD50
    Scenario1: If ZDCNFG = 2(10). 2 is quantity and 10 in brackets is part number (DVD format). So I will have to update the quantity respective field as shown below.
    ZDVD59: 0
    ZDVD10: 2 -->updated 10 part
    ZDVD14: 0
    ZDVD18: 0
    ZDVD25: 0
    ZDVD50: 0
    Scenario2: If ZDCNFG: 2(25)3(50)
    ZDVD59: 0
    ZDVD10: 0
    ZDVD14: 0
    ZDVD18: 0
    ZDVD25: 2 --> Updated
    ZDVD50: 3 --> Updated
    Scenario3: If ZDCNFG: 2(5)3(9) ---This is exceptional case. If we have 5 and 9 then add and assign 5 to ZDVD59 rest all are 0.
    ZDVD59: 5  Sum of DVD5 and DVD9
    ZDVD10: 0
    ZDVD14: 0
    ZDVD18: 0
    ZDVD25: 0
    ZDVD50: 0
    Quantity is the value which is out side the brackets. For e.g. in 10(5), 10 is the quantity.
    Can any one give me a logic for this.
    I was trying with CA  CS etc..but no charm.
    Thanks
    Kiran

    Kiran,
    This should work
    parameters: zdcnfg(50).
    data: zdvd59(3),
    zdvd10(3),
    zdvd14(3),
    zdvd18(3),
    zdvd25(3),
    zdvd50(3),
    rcnt type i,
    roff type i,
    temp type i.
    data: static(50).
    start-of-selection.
      static = zdcnfg.
      replace all occurrences of '(5)' in zdcnfg with '+' replacement count rcnt.
      if rcnt ge 1.
        zdcnfg = static.
        do rcnt times.
          replace first occurrence of '(5)' in zdcnfg with '+' replacement offset roff.
          temp = roff - 1.
          add zdcnfg+temp(1) to zdvd59.
        enddo.
      endif.
      zdcnfg = static.
      clear: roff, rcnt, temp.
      replace all occurrences of '(9)' in zdcnfg with '+' replacement count rcnt.
      if rcnt ge 1.
        zdcnfg = static.
        do rcnt times.
          replace first occurrence of '(9)' in zdcnfg with '+' replacement offset roff.
          temp = roff - 1.
          add zdcnfg+temp(1) to zdvd59.
        enddo.
      endif.
        zdcnfg = static.
      clear: roff, rcnt, temp.
      replace all occurrences of '(10)' in zdcnfg with '+' replacement count rcnt.
      if rcnt ge 1.
        zdcnfg = static.
        do rcnt times.
          replace first occurrence of '(10)' in zdcnfg with '+' replacement offset roff.
          temp = roff - 1.
          add zdcnfg+temp(1) to zdvd10.
        enddo.
      endif.
        zdcnfg = static.
      clear: roff, rcnt, temp.
      replace all occurrences of '(14)' in zdcnfg with '+' replacement count rcnt.
      if rcnt ge 1.
        zdcnfg = static.
        do rcnt times.
          replace first occurrence of '(14)' in zdcnfg with '+' replacement offset roff.
          temp = roff - 1.
          add zdcnfg+temp(1) to zdvd14.
        enddo.
      endif.
        zdcnfg = static.
      clear: roff, rcnt, temp.
      replace all occurrences of '(18)' in zdcnfg with '+' replacement count rcnt.
      if rcnt ge 1.
        zdcnfg = static.
        do rcnt times.
          replace first occurrence of '(18)' in zdcnfg with '+' replacement offset roff.
          temp = roff - 1.
          add zdcnfg+temp(1) to zdvd18.
        enddo.
      endif.
        zdcnfg = static.
      clear: roff, rcnt, temp.
      replace all occurrences of '(25)' in zdcnfg with '+' replacement count rcnt.
      if rcnt ge 1.
        zdcnfg = static.
        do rcnt times.
          replace first occurrence of '(25)' in zdcnfg with '+' replacement offset roff.
          temp = roff - 1.
          add zdcnfg+temp(1) to zdvd25.
        enddo.
      endif.
        zdcnfg = static.
      clear: roff, rcnt, temp.
      replace all occurrences of '(50)' in zdcnfg with '+' replacement count rcnt.
      if rcnt ge 1.
        zdcnfg = static.
        do rcnt times.
          replace first occurrence of '(50)' in zdcnfg with '+' replacement offset roff.
          temp = roff - 1.
          add zdcnfg+temp(1) to zdvd50.
        enddo.
      endif.

  • Need the Logic for this Prg issue Pls

    Hi Friends,
    i have an urgent requirement..
    i am develop the report that is :
    Based on Selction Critirea kunnr(knvv-kunnr)
    i want Delete the
             Internet mail (SMTP) address FROM ADR6-MTP_ADDR
    AND Teletex number FROM ADR4-TTX_NUMBER..
    USING TABLES ARE KNVV , ADR6 AND ADR4.
    please how to Write the LOGIC For this Program .
    help me.. it is an urgent.. anyone.
    regards,

    Hi Alchermi,
    thanks for your reply soon.
    based on selction kunnr .. i want deete the ADR4-TTX_NUMBER..and ADR6-SMTP_ADDR From these 2 tables
    for these 2 fields..
    kunnr from knvv, selection field..
    below fields want be DELETED..
    ttx-number from adr4,
    smtp_addr from adr6.
    it is an urgent. help me .
    regards,

  • Logic for this senerio -- UDF

    Hi XI Gurus,
                          I hav to create a UDF.This is an IDOC - XI - FILE seerio. In  this senerio is I have an IDOc whose 7th segment contains a field. This field can store values in between 0 - 9. On the other hand I have a file structure in my left hand side from Messge mapping prespective , which contains 9 similar sized fields.
    Now the logic is if the field in the segment of the idoc has value say '3', then the file structure in the left hand side would have 3 in the field no 3 and all other fields 1, 2, 4, 5, 6, 7, 8, 9 would be zero.
    Can u guys suggest some logic for this???
    Thanks in advance !
    Poits would be rewarded.
    Arnab

    Hi Mohd,
    Select the Queue option for getting individual nodes
    public void test(String[] a,ResultList result,Container container){
    if (a<i> == 7) { //This is for selecting the node
    for(i=0;i<10;i++){  //This is for collecting the correct value
    ifIi==3){
    write what ever u have to done
    else{
    write the exceptional condition
    Dont to Reward points if this helps
    Regards
    Pragathi.

  • What’s the best practice for this scenario?

    Hi,
    My users want the ability to change the WHERE and/or ORDER BY clause at runtime. They may define user preferences on each screen ( which is bind to a view object). They want to see the same records based on WHERE/ORDER BY defined on the last visit. That is why I keep the users preferences and load the screen based on that, using :
    View.setWhereClause(...);
    View.setOrderByClause(...);
    View.executeQuery();
    This works good when only one user working with the application but faced low performance when more than one user working with the application.
    What are the points to increase the performance and what is the best practice for this scenario?
    Thanks for your help in advance.

    Sung,
    I am talking only about 2 users in my testing. I am sure i missed something but could not recognize that.
    This page is my custom query page including a tag to instantiate app module in stateful mode at the top <jbo:ApplicationModule..> and a tag to instantiate data source <jbo:Datasource...> and release tag at the bottom <jbo:ReleasePageResources..> and some java code in the middle(body). The java code constructed the query statement and then fires the query to set the view object based on the query statement using the above methods.
    So, I am facing very slow performance(speed) when two clients load this page at the same time. Looks like the entire application locks for others when one client load this page and fire the query. i realized the battle neck is where executeQuery() is executing.
    what do you think.
    Thanks in advance for your comments.

  • Oracle features available for this scenario

    What is the best methos for replcating oracle database from a production database with every 15 min interval..
    what are the oracle features available for this scenario
    Thanks
    Shiju

    orashiju wrote:
    What is the best methos for replcating oracle database from a production database with every 15 min interval..
    what are the oracle features available for this scenario
    Thanks
    ShijuIs there any specific reason to open a new thread for the same discussion that you have started here,
    Please suggest a suitable method
    Aman....

  • How to create a process type/variant for this in Process Chain

    i
    I created a Selective Delete Variant (Delete_Facts) with some data selection upon which data to be deleted, to be used in Process chain.
    My requirment is
    I need to include that in the process chain in a such a way that that variant should be executed only on FIRST DAY of every month.
    (First day of every month Selective deletion on data tardet will be performed....rest of the days no selective deletion is performed)
    Please advise how can i achieve this
    Thanks in advance

    Hi,
    You can probably create a seperate chain containing this variant alone, and schedule it to run on the first of every month.
    This can be done by right clicking on the start variant, and selecting the option periodic, and giving the periodic value, where you have values "hourly","daily", "weekly", "monthly", otherperiod.  Another try can be to click on the arrow at the top beside "At Operation Mode" and d specify a factory calendar. I am not much sure of this option.
    another option is that you can try using the procecc type "Decision Between Multiple Alternatives " and check if calendar day is first of the month then execute your variant, or else execute the other normal steps. You can get more info on this functionality from BI-ExpertOnline.
    Hope this helps.
    Thanks,
    Tintu

Maybe you are looking for

  • Default pdf Viewer does not work correctly

    On this pdf, page 1 will not display, but displays fine in IE and Chrome. If you download the pdf, it displays just fine. So the issue is definitely FireFox, here is the url: http://www.powergatellc.com/pdfs/SNP-G12.pdf On this pdf, the Firefox has a

  • How I upgrade iPad 1software to iOS 6.0

    I can not down load Facebook  linkeden all ask for iOS 6

  • IBook G4 - 14 Inch Battery Bay

    Hello, I got a new hard drive put in my iBook, and whoever was fiddling around with it somehow made it so my battery sits very loosely in the bay. Does anyone perhaps know how to make it sit firmly again? Thanks!

  • Error 19 when starting photomerge

    Hi I've encountered a problem when trying to use the Photomerge automate tool. The error message I receive is not really helpful in describing the problem. It says "error 19: bad argument: invalid resource format" and then (to me) random mumbo jumbo.

  • Monitoring EV Metrics (SPI, CPI) with Thresholds

    I am trying to research what options I have to report WBS elements with SPI / CPI outside the designated threshold values. Is there anyway in which I can report only the WBS elements I should be concerned about, along with EV fields (PV, EV, AC, Budg