Process chain requirement

An ABAP program is required to be written that will run after successful completion of a process chain.
The ABAP program will trigger an event IF the current day is equal to the first day of Fiscal period.
If true, the event will then trigger another process chain.
Need help how to implement this.

Hi Raj,
1. At the end the first process chain, add a Process type for the ABAP program.
2. Select "ABAP Program" from General Services for the above process type.
3. In the process type Maintenance screen give the ABAP "Program Name" that you have created to trigger the event. You can also give a variant name in "Program Variant" (Optional).
4. After this ABAP program process type, you can add your second process chain.
Regards
Nageswara
Edited by: Nageswara Reddy on Jan 13, 2009 6:49 AM

Similar Messages

  • Process Chain  Issue Help needed!!!!!!!!!

    Hi all,
    Please help me in creating process chains, Requirement is
    Process Chain1
    Infosource --> ODS1 (Delta Load) From ODS1 --> Cube 1 (Delta Load)
    Process Chain 2
    from same above ODS1 --> ODS2(Full Load) and ODS2 --> Cube2(full Load)
    What is the sequential flow?
    I created the chain 1 as
    Delete Index(Cube) > Infopacakge from Infosource to ODS1> Activate ODS1 > Update ODS1-> Generate Index(Cube).
    For Chain 2
    Delete Index(Cube) > Infopacakge from Infosource to ODS1> Activate ODS1 > Update ODS1->Activate ODS2 > Update ODS2> Generate Index(Cube).
    My question is for Chain1 from ODS1 it should be Delta and for chain2 from ODS1 it should be full load,
    i have chacked the ODS1(8ODS1) infopackages the full load infopackage data target is ODS2 and Delta Load data Target is Cube1.
    Thanks in Advance,
    Sudha.

    Below..i believe is a better design for the process chains..
    Chain 1
    Start variant> Infopacakge from Infosource to ODS1> Activate ODS1 --> Delete Index(Cube) >Update ODS1-> Generate Index(Cube).
    (drop cube indexes just before cube gets loaded)
    Chain 2
    Start variant> <b>Infopacakge from Infosource to ODS1> Activate ODS1</b> > Update ODS1->Activate ODS2--> Delete Index(Cube) > Update ODS2> Generate Index(Cube).
    (i think we can remove 2 steps(in bold)..right?ODS1 already got loaded in first chain..just we need to keep dependency that 2nd chain runs after the 1st chain has run)..
    U can have a 3rd chain..a meta chain like..
    start variantchain 1chain 2..
    (for both chain 1 and chain 2..i mean the local chains...set start variant parameter as 'start using meta chain or API)..
    doing so..chain 2 will kick off only after chain 1 is successfully run..
    (also check if the process type 'further update from ODS to data targets..allows you to choose data targets..and choose full/delta..i doubt it..
    if it doesnt allow..then place the infopackage steps instead of this 'further update' process..i have done this earlier..)
    Vishvesh
    Message was edited by:
            Vishvesh Bahirat

  • To find the time required by the process chain to complete

    Hi Experts,
    I am calulating the average time required by the process chain to compete.
    Is there any way to find the time required by the process chain to complete..
    Thanks in advance.
    Regards,
    Ashwin

    Hi,
    There is a Tool provided by SAP to do the Process Chain Analysis.
    It is basically a ABAP Program /SSA/BWT which provides the following BW Tools:
    a)Process Chain Analysis : this tool is used to perform the Runtime analysis of the Process Chains. The analysis can be performed not only at Process Chain level but also at the Process Type level.
    b)Detailed Request Analysis
    c)Aggregate Toolset
    d)Infoprovider BPPO Analysis
    So you can go through the program and analyse the runtime of your Process Chains.
    Regards,
    Abhishek
    Edited by: Abhishek Dutta on Aug 13, 2008 7:13 AM

  • 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

  • Data Load Requirement through Process Chain

    Hello All,
    I have implemented an area through a custom data source and following is my data load requirement through Process Chain. Request you to kindly help me for the same.
    1. The design is an InfoCube and updated using a Transformation through the custom data source.
    2. For the entire year 2008 I want a single request to be loaded. So it gets loaded into the PSA and then into the Infocube through a (Delta) DTP.
    3. Now, I have created an InfoPackage (Full Update) with year as 2009 in the selection. Tht is I want tht hencforth the data load should be for the year 2009.
    4. Hence, the Infopackage will run to bring the 2009 data into PSA and I run the (Delta) DTP to update the same in the Cube.
    5. Now, what i require is everyday the InfoPackage (Full Update) with 2009 should run and bring data into PSA. and the same should be updated in the InfoCube after deleting the 2009 request already present keeping 2008 request loaded previously intact.
    I hope the above is nt confusing.
    Please let me know if i can elaborate the same.
    Thank you.
    Regards,
    Kunal Gandhi

    Hi,
    Please go through the links.
    http://help.sap.com/saphelp_nw04/Helpdata/EN/21/15843b74f7be0fe10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/Helpdata/EN/f8/e5603801be792de10000009b38f842/frameset.htm
    http://help.sap.com/saphelp_nw04/Helpdata/EN/b0/078f3b0e8d4762e10000000a11402f/frameset.htm
    These may help you in designing the process chain as required.
    Regards,
    Sunil
    Edited by: sunil kumar on Apr 17, 2009 6:20 PM

  • Require Q1 2012 data via Process chain

    Hi ,
    I want to trigger a process chain daily which will get only Q1 2012 data.
    Is it possible via sm36 tcode.
    how can i achieve it.
    please suggest.
    Thanks.

    You can give selection at infopackage level.
    1>Either you can use standard variable.
    2>You can write a routine.
    Please find the sample code for previous month load :-
       data: l_month(2) type c,
            l_month_prev(2) type c.
              l_month = sy-datum+4(2).
              l_month_prev = l_month - 01.
            l_t_range-low = l_month_prev.
            l_t_range-high = l_month_prev.
            l_t_range-sign = 'I'.
            l_t_range-option = 'BT'.
                modify l_t_range index l_idx.
    Regards,
    Saveen Kumar

  • Process chain name required for a infopackage

    Hi,
    Is there a table in BW that stores the process chain name and IP's in it. We need to find the names of process chains based on the Info package names.
    Regards,
    Adarsh Mhatre

    Hi Adarsh
    Check these tables
    Tables for Process Chain logs
    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
    RSPCPROCESSLOG----
    Logs for the Chain Runs
    RSPCRUNVARIABLES----
    Variables for Process Chains for Runtime
    RSPC_MONITOR----
    Monitor individual process chains
    Regards
    Jagadish

  • Help me to Create this Process Chain

    Hi Gurus,
    We have 3 Process chains,
    1) Region 1
    2) Region 2
    3) Region 3
    These three process chains were start at differt times and end time will depends upon the load of data. Now i want to do some manual calculations after the successful execution of this chains. So i have written three ABAP programs to do that calculations for 3 chains.
    My scenerio is to create a new chain only so I have created a new chain with Start variant -> Decision variant -> 3 Program variants (For 3 chains)
    Now i want to write the condition in decision variant to attach the respective program variants below it. ie,
    Start -> Decision (Condition for successful execution of Chain Region 1) -> Program Variant 1
                 Decision (Condition for successful execution of Chain Region 2) -> Program Variant 2
                 Decision (Condition for successful execution of Chain Region 3) -> Program Variant 3
    So i don know what exact logic to write in Decision variant...Please help me here...
    Thanks & Regards,
    Balaji.S
    Edited by: sbalajigupta85 on Aug 26, 2010 7:47 AM

    HAI ,
    A process chain is a sequence of processes that are scheduled to wait in the background for an event. Some of these processes trigger a separate event that can, in turn, start other processes. It looks similar to a flow chart. You define the list of Infopackages / DTPs that is needed to load the data, say delta or Full load. Then you schedule the Process chain as hourly, daily, monthly, etc, depending on the requirement 
    process chains for which info providers ?? i mean to say... for cube or? DSO?
    ok now below i explained for DSO... try it out it will work.. 100%
    Step 1: Go to RSPC transaction. Click on Create. Give Process chain name and Description.  
    Step 2:  Give the Start process name and description and click on Enter  
    Note: Each process chain should start with a Start Process  
    Step 3: The next screen will show the Scheduling options.  
    There are two options:
    Direct Scheduling:
    Start Using Meta Chain or API  
    In my example I have chosen Direct Scheduling as I am processing only one chain i.e DSO. Click on u201CChange Selectionsu201D  
    In the below screen shot, you can give the scheduling details i.e the Immediate, Date& time etc. and click on SAVE  
    The Screen shot below indicates that we have started the process. 
    Step 4:
    Click on the icon process types as shown in the below figure. You will get a list of options.
    In my example I am scheduling for DSO. To process we need to have InfoPackage, DTPu2019s for the corresponding DSO
    Open the tree Load Process and Post Processing, We need to drag and drop u201CExecute InfoPackageu201D  
    Step 5: Once you drag and drop the u201CExecute infopackageu201D we get the below Popup. We need to keyin the Infopackage name. To do this click on F4 and chose your Infopackage and click on ENTER
    Step 6: Save + Activate and Execute the Process.

  • Urgent : Download file from Application Server via Process Chain.

    Hi Experts,
    My requirement is to download the file from Application Server to local work station using an ABAP Program .
    I want including the above ABAP program in a process chain to execute  the program daily,
    I tried to use ARCHIVFILE_SERVER_TO_CLIENT and GUI_DOWNLOAD but unfortunately both the above FM doesn't support to run through Process chain.
    Can any one of you help me to send the code which selects a file from application server, downloads to local system and deletes it.
    Thank you very much for spending your precious time in this regard.

    Hi Sailekha,
    Regarding your case ..
    I suggest you to create the program where it run this function: WS_DOWNLOAD.
    After it, the program is run by your process chain.
    Hopefully it can help you a lot.
    Regards,
    Niel.
    thanks for the points you choose to assign.

  • Process chain questions

    Hai  All,
               I designed a process chain with data flow like this:
    R/3>ODS1>ODS2>Cube.
    The process chain sequence is:
    Start>>Load data>>activate ODS1 data>>load data to ODS2>>activate ODS2 data>>delete index>>load data to cube.
               My process chain is working and the data loads are good. But I am getting warning messages for all three variants "activate ODS1 data>>load data to ODS2>>activate ODS2 data>>"
    The message for the two activation variants is as follows:
    A type "Update ODS Object Data (Further Update)" process has to follow process "Activate ODS Object Data" var.ACTIVATEZMONDET in the chain
    Message no. RSMPC016
    The message for the loading variant is as follows:
    A type "Activate ODS Object Data" process cannot precede process "Execute InfoPackage" var. ZPAK_3YF4Q8R0RSHTDJH74WZOAXBC6 in thechain
    Message no. RSMPC013
               The version I am working on is BW 3.5. My question is it ok to have these warning messages or do I need to do anything else?
    Thank you.

    Hi Visu,
    If you data loads are running fine, you can ignore the warning messages. The system tries to warn you in case it suspects that a process is missing from the chain of events required...but there are more than one ways to achieve a load. If the data volume to be loaded to the cube is not very high, like it is just a daily delta, you can even go ahead and remove the index deletion process.
    Hope this helps...

  • Process chain and Infopackage?

    Hi,
    I am creating the process chain in that I am completely delting the data contents from the Cube and then I am loading data(this is our requirment).There is an error
    A type "Complete Deletion of Data Target Contents" process cannot follow process "Execute InfoPackage" var.ZPAK_11VS7H4SRVUOPFQDDJO9V7SSG in the chain
    Please help me to resolve this.
    <removed by moderator>
    Thanks,
    Vasu.
    Edited by: Siegfried Szameitat on Jan 26, 2009 1:23 PM

    Hi Vasu
    It seems that BW doesn't want to have an Infopackage and then a Deletion, it may consider that you can't do it even if the loading is not the same.
    You should add another step between, like Indexes for your infocube ...
    Kind Regards
    Mickael

  • Process chain on a particular day and multiple times

    i have a requirement to run a process chain 2 times on saturday (one at 3pm and another at 8 pm) for a particular process chain only  !!
    how do i do this ?? some one please help....

    Here's one idea:
    Create an ABAP program that calls the RSPC_API_CHAIN_START Function Module. In this program, create a selection screen that has the same selection criteria as this Function Module. When you have tested the program and ensures that it works properly, create a variant for that program, for the selection selection screen criteria, and save that. After you have transported the program and variant throughout your landscape, schedule two separate jobs in tcode SM36 of your production environment. One as a weekly periodic job that is scheduled to start on a Saturday @ 3:00 PM and another weekly periodic job that is scheduled to start on a Saturday @ 8:00 PM.

  • Email to be sent on execution of Process chain

    Hi,
    I have a requirement as follows.
    On successful execution of process chain an email must be sent to a group of users.
    I have made a distribution list using Tcode SO23 and included the message in the last step of process chain. But no messsge is being sent even on successful execution of process chain.
    Can anyone throw light on this?
    Regards,
    Manisha

    Hi Manisha,
    You can create the Message alert for process chain as follows.
         1. Goto change mode of Process Chain
         2. Right click on the particular Process step/Process chain and choose Create Message.
         3. Choose the Actions (Sucessful / Failure/Always) for which you want to aler the users
         4. Choose the New variant and define the Variant Name and Message header and enter
         5. Create the message and the save the variant and activate the process chain.
    Once you triggere the process chain, according the message typr, the users will be alerted.
    Regards,
    Gowrisankar Nk

  • Reporting Agent and Process chain

    Hi All,
    We have requirement where every day we need to print some BW reports.
    For this we have created reporting agent. But when we execute reports manually through reporting agent it works fine. But if we include reporting agent in process chain it does not work.
    Is there something which we should take care of when we include reporting agent in Process chain? We are on version 3.1.
    Thanks and Regards,
    Samir Attar

    Check out the following links:
    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/19683495-0501-0010-4381-b31db6ece1e9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b0afcd90-0201-0010-b297-9184845346ca
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e0a7cd90-0201-0010-49a1-d730a56895f4
    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/9936e790-0201-0010-f185-89d0377639db
    Hope it helps.
    Regards

  • Trigger Process chains only once in a day

    Hi All,
    I have a requirement where a process chain triggers on arrival of some files.Now I want this chain to trigger only once in a day even if file arrives before the start of next day.How can i acheive this.
    Reagrds,
    Raj

    Hi,
    Please use below:
    REPORT  ZCHECKPCNEW.
    TABLES : RSPCLOGCHAIN.
    DATA : IT_TAB TYPE TABLE OF RSPCLOGCHAIN,
           WA_TAB TYPE RSPCLOGCHAIN.
    FIELD-SYMBOLS <FS> LIKE LINE OF IT_TAB.
    PARAMETERS :LV_CHAIN TYPE RSPCLOGCHAIN-CHAIN_ID.
    SELECT * FROM RSPCLOGCHAIN INTO TABLE IT_TAB
    WHERE CHAIN_ID  = LV_CHAIN
    AND DATUM = SY-DATUM.
    SORT IT_TAB DESCENDING BY DATUM ZEIT.
    READ TABLE IT_TAB INDEX 1 ASSIGNING <FS>.
    IF SY-SUBRC = 0.
      IF <FS>-ZEIT < SY-UZEIT.
      MESSAGE E000(SABAPDOCU) WITH 'Error'.
      ELSE.
      MESSAGE I162(00) WITH 'Successful'.
      ENDIF.
    ELSE.
    MESSAGE I162(00) WITH 'Successful'.
    ENDIF.
    -Vikram

Maybe you are looking for

  • How can i change or add new default optiom in su01 tab

    Dear Experts , here oe End user Required some Requirments in SU01 -> Default tab su01 --> Default tab -->Decimal Notation having different styles (1,234,567,89) but my END user wants like 12,34,56,789 this format how can we get this type ...is it pos

  • How do you import a non iphoto pic into imovie?

    There seems to be no way of getting a photo into iMovie except by placing it in iPhoto first. This is cumbersome if all your doing is pulling something from a drive. There is no File, Import like there is for movies. If you drag and drop the photo fr

  • DragStart and DragComplete on a list scrollbar thumb- is it possible to add a listener to these events?

    can't seem to find the actual Element to: addEventListener(DragEvent.DRAG_COMPLETE, callback) in a List component.It seems there should be a way to write something like: myList.scroller.thumb.addEventListener(...) Any ideas? thank you -b

  • Buffer(sort) operator

    Hi, i'm trying to understand what "buffer sort" operation is in the following explain plan: 0 SELECT STATEMENT -1 MERGE JOIN CARTESIAN --2 TABLE ACCESS FULL PLAYS --3 BUFFER SORT ---4 TABLE ACCESS FULL MOVIE In Oracle 9i DataBase Performance Guide an

  • Outgoing payment file generation formatting issue

    Hi Everyone, I have implemente a custom outgoing formatting method to generate an .txt payment file for external system. The file in generated in AL11 directory but has hashes(#) after every character. Are there any config setting that im missing? Ap