To set delay in process chain using a program

Hi all,
We have a requirement in which the loads from nearly 15 sources (DSO) gets loaded into the Cube thro 15 process chains. The source gets loaded from the PI interface. So it might happen that simultaneously 10 loads will be started and reach the cube.
In the cube we have delete overlapping request, so its gives a deadlock when the chains try to delete the prev. request at the same time.
What we have planned is if we can write a program that will set a delay depending on the lock entries present for that particular cube. But still we are not sure how far this will help.
If anyone has faced a similar issue or can anyone suggest on this would be much appreciated.
Thanks
Merlin

I believe in each of your 15 local chains you have the load to Cube process.Why dont you take the load to the Cube out of the local chains and in the meta chain you could sequence the loads from the 15 ODSs so that you can have a parallel processing upto the ODSs ( assuming the rest of the local chain is used to fetch from R3 ) and then sequential to Cube.
I dont think writing a program will help much here.

Similar Messages

  • Trigger process chains using  ABAP program selection screen.

    Hi All
    I am loading flat files through process chains. My requirment is such that i need to create a ABAP selection screen so that user can load the flat file from his PC. when the user is loading the flat file i have to copy the file onto the application server folder and then display him the monitor errors/warnings (if any). when my data load is complete i need to archive the file with time stamp onto the application server folder.
    Please help me in this regard....
    thanks and regards
    sairam phani

    Hi,
    1. Using TA: AL11 create a folder in application server.
    2. There is a program to send the flat file to application server on r/3 side.
    Program Name:RC1TCG3Z.
    3. Regarding archiving...I have no idea.
    Regards,
    Vijay.

  • Fork in process chain using ABAP program

    Hello everyone.
    I need a fork in my chain. Depending on the values in some db table I will make a decision: do some process or skip and go further. The only solution I can see is using ABAP program. But unfortunately It doesn't return status. Any suggestion will be appreciated.

    Hi,
    You have few process to run after the abap program. So make all those process as a different chain, and at the end of the ABAP program include a function module to trigger this chain, based on your condition.
    If you like this idea, please revert for more information.
    Hope this helps.
    Thank you,

  • How to schedule a Process Chain using ABAP Program?

    Hi All,
    I want to schedule the activity of extracting data from the query to a flatfile.
    Currently we are schedulling it using the transaction rscrm_bapi.
    I need to know , how we can achieve the same using an abap program and not ( rscrm_bapi) in a process chain.
    Any help would be appreciated.
    Regards
    Purva

    Your problem will be solved if you use the Function Module "RSPC_API_CHAIN_GET_STATUS" instead of the function module "RSPC_API_CHAIN_GET_LOG".
    The function module "RSPC_API_CHAIN_GET_STATUS" gives you the STatus of the process chain, when you pass the Chain Name and the Log ID.
    If you get an output
    G or F - Report that the Chain is Successfully Completed.
    A - The chain is Currently running
    R or X - Report that the chain has ended with Errors.
    Sample code :
    REPORT Z_BW_GET_STATUS_PROZESSKETTE.
    TABLES rspclogchain.
    DATA: gt_rspclogchain LIKE rspclogchain OCCURS 0,
    wa_rspclogchain LIKE rspclogchain.
    DATA: gt_log LIKE rspc_s_msg OCCURS 0,
    wa_log LIKE rspc_s_msg,
    gt_status like RSPC_STATE.
    SELECT * FROM rspclogchain
    INTO CORRESPONDING FIELDS OF TABLE gt_rspclogchain
    WHERE datum = sy-datum
    AND chain_id = 'BD_C02_1D'.
    IF sy-subrc = 0.
    SORT gt_rspclogchain BY datum DESCENDING
    zeit DESCENDING.
    READ TABLE gt_rspclogchain
    INTO wa_rspclogchain INDEX 1.
    CALL FUNCTION 'RSPC_API_CHAIN_GET_STATUS'
    EXPORTING
    i_chain = wa_rspclogchain-chain_id
    i_logid = wa_rspclogchain-log_id
    IMPORTING
    E_STATUS = gt_status.
    IF gt_status = 'G' or gt_status = 'F'.
    WRITE :/ 'BD_C02_2D chain COMPLETED'.
    ELSE.
    WRITE :/ 'BD_CO2_2D chain is Running or Ended with Errors'.
    ENDIF.
    ELSE.
    WRITE :/ 'No chain BD_C02_2D started for today ! or keine Kette BD_C02_2D gestartet !'.
    ENDIF.
    I have just provided a sample code, you might have to edit or add necessary messages to the program.
    Regards,
    Ramya

  • How to find process chain using background job in sm37

    How to find process chain using background job in sm37

    Better is to select the job.
    Select (Define) Step (s) or F6.
    Select the line and Menu Goto>Variant.
    The variant contains the name of the CHAIN and its VARIANT.
    Success
    We faced an old job and via job monitoring we were informed about a cancelled job every 'interval'.
    We noticed that the related chain was deleted but still the job was scheduled each interval again and was cancelled because an event was missing
    We could not find the scheduled job via SM37.
    Via view V_OP, view over tbtco abd tbtcp, we find the related entry.
    We delete these entries via function BP_JOB_DELETE....
    Edited by: Jack Otten on Jul 9, 2010 2:50 PM

  • How-to trigger a process chain using ABAP?

    Does anybody know how to trigger a process chain using ABAP code?
    Any help would be appreciated!
    Thanks
    Ioan

    Hi Ioan,
    try this in your ABAP:
        CALL FUNCTION 'BP_EVENT_RAISE'
          EXPORTING
            eventid         = 'Your Event'
            eventparm       = 'START'
            target_instance = ' '
          EXCEPTIONS
            OTHERS          = 01.
    and schedule your process chain, waiting for 'Your Event'.
    regards
    Siggi

  • Trigger Process chain using ABAP code

    Hi All,
    As per my knowledge there are 2 ways to trigger a process chain using ABAP code :
    1) Using FM ‘RSPC_API_CHAIN_START’ and passing process chain name as the parameter
    2)Using FM 'BP_EVENT_RAISE' and passing process event as the parameter, which you can create using SM62 transaction.
    I would like to know which one is better to use, in terms of advantage and disadvantage.
    Thanks,
    Praveena

    Hi praveena,
    check these links ..u .may get some help
    Process Chain
    Process Chain
    How to run a Process Chain
    Process chain-parallel process
    Regards
    BILL

  • Finding Process Chain using the Request Number

    Hello,
    I am new to BI and currently monitoring Process Chains.
    I am scheduling a process chain which runs 3 times in a day.
    When i see the infocube there are four requests in the infocube, that means one more request apart from my three.
    The other reuqest is also being exeuted by user ALEREMOTE which means even it is being triggered by some other process chain.
    Can i please know how to find out the other process chain using the request number or so.
    Thanks in Advance.
    Bharathi.

    Hi,
    Goto each request and navigate to Infopackge screen and there you ll be able to find the process chain maintenance button. Click on that button, there you ll come to know what are all the process chain have been used for the single or multiple IPs.
    Check one by one Request Infopak.
    Thanks
    Sathish

  • Trigger process chain in ABAP program

    Hi Experts,
    We have a requirement to trigger the process chain from an ABAP program. I used the function module RSPC_API_CHAIN_START to trigger the process by passing the process chain name in 'I_CHAIN' and it worked. However, the client wants to trigger this using batch user name as few planners do not have authorization when they executed the custom transaction.
    Based on the return code of the function module I am capturing the status for tracking.
    Please suggest if there is any alternate solution to pass the user name while triggering a process chain in an abap program.
    Thanks and Regards,
    Pavithra

    hi Chintai,
    in bw side, you create a abap program to trigger an event in r/3,
    and include this abap program in your process chain, the abap program like
    CALL FUNCTION 'BP_EVENT_RAISE'
    EXPORTING
    eventid = 'ZRUNJOB_DEL'
    and in r/3 schedule the program to delete previous data with 'after event',
    the event name is same as raise by bw process chain, in this sample ZRUNJOB_DEL.
    hope this helps.

  • How to process process chain in ABAP program

    Hi,buddy:
        If I want to start Process Chain in ABAP program,then which code or function can be used?
        Best Regards.
    Martin Xie

    Hi Martin,
    How-to trigger a process chain using ABAP?
    Hope it suffice,
    Cheers
    SRS

  • Set delay for process in process chain (BI7)

    Hi gurus.
    Can anybody advice me on how to set delay for a process in process chain in BI7
    Thanks in advance

    Hi,
    If you right-click on a process in the Process Chain, there should be an option called Debug Loop. Here you can enter the number of seconds to delay a process.
    The only difference between 3.5 and 7.0 is that Option Waiting Time in context menu of "any" process is replaced by Debug Loop.Here you can enter the # of seconds for which you want your process to be delayed.
    See below:
    Re: Start a Process Chain after every 15 mins
    Hope this helps.
    Regards
    CSM Reddy

  • How do you run a Process Chain using parrallel processing group

    Does anyone know the answer to the above question please?
    The problem i am getting is that currently the Process chain is running on the client server and is timing out!
    is there a config setting or some other setting that is needed to stop it from timing out?

    Hi Jas Matharu,
    Hope the following links will give u a clear idea about process chains and clear ur doubts.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/events/sap-teched-03/using%20process%20chains%20in%20sap%20business%20information%20warehouse
    Business Intelligence Old Forum (Read Only Archive)
    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
    /people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
    Siggi's weblogs for data load error and how to restart process chain
    /people/siegfried.szameitat/blog/2005/07/28/data-load-errors--basic-checks
    /people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
    ****Assign Points If Helpful****
    Regards,
    Ravikanth.

  • Starting process chains using RSPC_API_CHAIN_START(parallel execution of processes)

    Hi,
    We've got sap bw 3.5 installed.
    We are using API RSPC_API_CHAIN_START to start executing process chains.
    IF we are using param I_SYNCHRONOUS = 'X'  then if we have parallel processes in chains they are executing one by one.
    IF we are setting param I_SYNCHRONOUS = ''   then proccesses are executed in parallel. But I recieved all the prompts. For example for chosing background server.
    and others.
    Is there an opportunity to combine these 2 cases: not to have prompts and execute processes in parallel?
    Thanks for you help
    Andrey

    Hi,
    I tried without I_SYNCHRONOUS param, it works the same as I_SYNCHRONOUS = ''. I recieve all the promts.
    Thanks for you help.

  • Problem kicking off process chains using Tivoli Job Scheduling

    In our pre-production BW system testing,when the process chains are being kicked off through Tivoli,they are not working.
    We dont get issues when the chains are run directly in BW,without using Tivoli.
    The jobs with 'after event' RSPROCESS setting that kick off next node on each node's completion,are not leaving out a 'copy' after a scheduled run.
    So in the next run from Tivoli,the dependency job isnt there in scheduled status,which fails the chain.
    We tried manually copying the dependency jobs on the nodes.Doing this,chain does kick off from Tivoli.But again jobs dont leave copies and next run from
    Tivoli fails.We tried using 'periodic job' setting.This leaves copies of job.But then why is BW able to copy out and kick off jobs,while this isnt happening when kicked off through Tivoli.
    A node in the process chain is BLUE when it has a scheduled job ready in sm37,but turns GREY(no scheduled job is there in sm37),once the Tivoli kicks off chains after the manual copy.
    We suspect this either to be a authorization problem or an issue with how it works when kicked off through Tivoli.Process chain 'context' is somehow not created when it runs through Tivoli.
    Anyone seen such an issue before?Suggestions are welcome..
    cheers,
    Vishvesh

    Hi Manfred,
    The chain does get kicked off from Tivoli.
    But the job fails in Tivoli as..when it tries to hand over execution to the 1st local chain in the 'meta chain' the required job isnt there in scheduled status,with the 'after event' RSPROCESS dependency set on it.
    cheers,
    Vishvesh

  • Report on process chains using SEM-BPS

    We are looking to develop a tool to:
    1. Monitor data loads at the process chain level
    2. Within in the same tool, enter error resolution /
       action steps for all failed loads
    3. Report out % of successful or failed loads, using the data captured by the tool.
    We have studied the BW Tables rspcchain, rspcchainattr, rspclogchain, rspcprocesslog, rspclogs, rseventchain and
    rspcchaint.
    We are considering the following options:
    1. Develop an ABAP report and allowing the process chain monitor to manually enter the error resolutions (Perhaps in a Z-Table)
    2. Create an InfoCube in BW using the above tables and then write a query, but we can not allow the user to enter error resolutions in the query.
    3. Create a transactional infocube in SEM-BPS using the above tables and use the input functionality of tansactional infocube to facilitate the error resolution report entry.
    Can anyone suggest any alternate solution, or has anyone encountered similar requirement on project?
    One more doubt to check: is there any way to create an infoobject with CHAR type to enter data with 1000 or more characters? Or is there any other alternative solution to it? The doubt is to take care of the text entry for the error resolution.
    Milind Vad

    Just some thoughts:
    Have you considered using document service in BW or even KM (Portal) technology rather than CHAR 1000+ fields? This would give you more flexibility also on the type of document.
    For loading there are monitors available (based on tables like RSMONMESS). If you are interested in loads only (and not other process types), maybe using information from the BW load monitor could be beneficial (like RSMONMESS) rather than the process chain stuff.
    Maybe it's even worth having an InfoObjekt with a resolution code that links to a document describing the resolution with a key and whenever there is a new solution available create a new key with a new document. That would be most beneficial for reporting (like how many times has this problem / resolution occurred and the like).
    Regards, Klaus

Maybe you are looking for

  • Ipod doesn't work on mac

    My ipod shuffle says I need to restore my ipod, but i can't, because I need the adminnistrator's name and password, but I can't get it from him, because were not supposed to download music. Can I get some help?

  • Right clicking to save photos from web source

    I am trying to save PICS from a web-site and I am stumped about the "right-click." What is the Mac substitute for this command? It is a subscription service so I can't send you the URL. If you'd like to save photos to your computer, simply hold the c

  • Timed out timed out

    Even when I'm composing my e mail it goes to timed out why? Come on Verizon are you that hard up for internet space? That's all I see now is timed out messages and don't get to use the time I need to write my e mails. I know what you think that there

  • Preserve crossfade when burning a CD

    Is there any way to burn a playlist in iTunes and preserve crossfading tunes? I'd like to burn a disc on which the songs overlap by a few seconds. If not in iTunes, how else to do this? Thanks. BC

  • They can't open the links I send

    Why is it that a link that works for me won't work for the recipient, and what can I do about it? This doesn't happen all of the time, but it does happen often enough to make me look for the answer. As an example, I just sent a clip of a musical perf