How to run remote process chain asynchronous?

Hi,
I have a situation where I would like to call a remote process chain asynchronous insted of the usual synchronous way.
The docs on http://help.sap.com/saphelp_nw04/helpdata/en/86/6ff03b166c8d66e10000000a11402f/content.htm
states that: <i>The remote process transfers the communication with the other system and <b>synchronously</b> starts the executed process chain</i>.
...but since I don't want it to be synchronous, I am looking for other ideas...
Best regards,
Christian Frier

I found that it did not work tried to trigger the event on a remote system.
If I call BP_EVENT_RAISE I can trigger an event and thereby start a process chain on my source system (local). If I specify TARGET_INSTANCE nothing seems to happen in the remote system...
Also I cannot call BP_EVENT_RAISE with RFC as it is not remote enabled.
It think the solution is to trigger a local chain that takes care of starting the remote chain. The net effect is that it is asynchronous.

Similar Messages

  • How to run the process chain immediately?

    Hi experts,
    I'm a beginner for this field, Suppose there is a process chain called "X" which is used to extract the data from SAP R3 side for the purpose of getting the data for BI query called "Q1". "X" has been schedule to run every day in the night in BI side and also there are jobs have been schedule in SAP R3 by using the T-code lbwe. (they also runs once per day in the night)
    According to above explanation, If I execute the BI Query today, I can view only up to yesterday data. Suppose I have updated  some data in the tables at SAP R3 side today. therefore immediately I want to see the changes when I execute the BI query...
    Can you explain me how can I do this? Please explain this in Step by step if you can.
    Thanks,
    Regards,
    Nimesha.

    HI ,
    If u want to schedule the PC immediately, then go to the change mode of the process chain and double click on the start process select immediate button so that the process chain will run immediately after scheduling the PC.
    What job would u like to run in R/3 ? Is it V3 to move the records from the queue delta / unserialized v3 update  to delta queue, if so then go to LBWE --->job control and do the setting there.
    Note: U may get one box for o/ p  device  then type LP01 or ask the BASIS TEAM  .
    Hope u  got it,
    Thanx &Regards,
    RaviChandra

  • How to Run the process chain

    Deal all,
    I have a doubt:
    How to exclude a process from a process chain which has a daily loads.
    Ex: We have a problem with 0FI_GL_4 data source and that problem will take more time to solve..but till that time  i want to run the remaining processes which are in the process chain (i.e meta chain). i mean to say is i have to exclude the Process which is in problem (0FI_GL_4) but remaining everything should go smooth.
    once the problem is rectified again i have to include the process which is in problem in the process chain.
    Please help me
    Regards
    Venu

    Hi Venu,
    U just bring the chain in Change Mode and then RightClick on that Process which u want to exclude and say delete.
    Once u are done with this Activate ur Process chain and schedule ur Process chain for the time which u want.
    Assign Points if this helps u.....
    Thanks,
    Nagesh.

  • How to run the process chain sucessfully

    HI ALL
    I have a process chain loading differnt infopackages and the problem is that when ever there is no data to load the chain stops there and i have to manually make the request green and start from the next step.
    Is there any process type which makes the yellow request green when there is no data and proceed to the next step.
    thanks

    Hi,
    I guess you need to do two settings in the request monitor. Open the monitor and goto 'Settings->Treatment of Requests'. In the following popup select the green light for requests with no data and for requests with warnings. As this is a global setting you only need to do that once. For the next loads it should then be fine for you.
    regards
    Siggi

  • Remote Process Chains Source Systems mapping issues

    Hi,
    We have a process chain in APO system, which upon success calls another process chain in BW.   We recently implemented SCM5/BI7, and taking the advantage of remote chains functionality to call the BW chain from APO.
    However, when we transported the APO process chain from DEV to QA, the source systems in the remote chain are still pointing to DEV systems.   We were expecting to see both APO and BW source systems getting switched from DEV to QA.
    We have already verified the logical mappings for Sources Systems are in place under RSA1 | Transport Connect | Conversion.   Also,  the source systems seem to map correctly for other objects like data sources etc..   Only issue is with the remote chain.
    Is there any other setting which need to be set to make it work.   Any help or guidance will be greatly appreciated.
    Thanks in advance,
    Ravi Chitluru.

    Ravi,
    I have a similar situation. Can you explain how to run process chains in APO which can gets data from BW cubes, which in turn gets data from R/3.
    In this equation R/3->BW->APO, what are the options like 1)run process chains in BW system to pull data from R/3 into BW and run process chains to load BW data into APO 2)run remote process chains to pull data from R/3 into APO(of course via BW).

  • HOW TO STOP THE PROCESS CHAIN WHICH IS RUNNING IN THE PRODUCTION?

    HI ALL,
    CAN ANYONE TELL ME HOW TO STOP THE PROCESS CHAIN WHICH IS RUNNING DAILY AT 5.00 PM. I NEED TO STOP THE PROCESS CHAIN FOR COUPLE OF DAYS AND THEN RESTART IT AGAIN.
    cAN ANYONE TELL ME THE PROCEDURE TO STOP THE ENTIRE PROCESS CHAIN RUNNING IN THE PRODUCTION.
    THANKS
    HARITHA

    Hi,
    First and foremost let me advice you to be very careful while doing this.
    For Rescheduling
    RSPC> chain > Goto > Planning view and
    click on Execution tab > select > Remove from Schedule and then in Maintain variant of start process reschedule for the day you require it to run.
    For terminating active chain
    You can start from SM37, find the process WID/PID then go to SM50 or SM51 and kill it. Once its done come back to RSMO and check the request, it should be red but again manually force to red and save by clicking on the total status button in the status tab. This shuld ensure that the process is killed properly.
    The next step will be to go to targets that you were loading and remove the red requests from those targets.
    Note: For source system loads you may have to check if the request is running in the source system and kill if needed and pull it again.
    But for BW datamart delta loads u may have reset the datamarts in case u are going to pull the delta again.
    Re: Kill a Job
    Re: Killing a process chain.
    Regards,
    JituK

  • How to stop a process chain when its running?

    Dear Experts,
    How to stop a process chain when its running? is it that a chain can be stoppend when we open an info package of that chain ?
    Thank you,
    Raj

    Hi,
    Goto the main menu process chain --> choose the remove from the Schudule...
    Regards
    sathis
    I hope it helps to u... please assign the points

  • How to run change run in process chain when it fails

    HI All,
    How to run  attribute change run in process chain when it fails. Give me the procedure with clear description. Is there is any difference with 3.x versions in running this.
    Thanks,
    Pratap Reddy

    Hi Pratap.
    If BI Accelerator is not being implemented by ur company, in that case if change run fails u'll proceed by 'Repeat' process option as usual we do in 3.x.
    If BIA is exists, in this scenario u can not repeat as we do in 3.x. U have to drop the indexes on cubes effecting that change run and run the change runs. Once it is finished recreate BIA Indexes on cubes.
    Warm Regards,
    Ramki

  • REG: Remote Process chain

    Hi Gurus,
    I've a requirement that:
    In SAP R/3 system user enters data for the planning and saves the data through a transaction code. Then i need to get the data into BI automatically, which ever the data user enters.
    Please tell me whether i can use the remote process chain, if yes, please tell how can i achieve this.
    or is there any other method to achieve this.
    Thanks in Advance
    Regards,
    Ravi kanth

    Hi Ravi......
    Remote Process chain is a different concept..........u don't need that.........
    Check this.........
    http://help.sap.com/saphelp_nw04/helpdata/en/86/6ff03b166c8d66e10000000a11402f/frameset.htm
    Look ..........what u need to do is to simply schedule a process chain.........which will automatically load data from R/3 to the BI.........When users enter data............they will be saved in some table..........either u can use Standard datasource .........if available..........otherwise u create Generic datasource(RSO2)..........and schedule the load........
    To automate the Process..........either u create an Event based chain..........or a Time based chain......
    To schedule a Event based process chain....
    1) First create an Event in SM62...
    2) Then Create a Job in SM36......In the first screen give the Job name >> Enter >> Then in the ABAP Program name : BTC_EVENT_RAISE...and in the varian name give the Event name that u hav created...save it and come out..
    3) Then scedule the Job for a particular time ............for this ..click on the Start Condition tab >> Date/Time.....here give the date on which for the first time this job is going to run and the time...as per ur requirement......Click on Periodic Values tab....there give how frequent u want the job to run....Daily..Weekly...or Monthly...
    When this job will run ....it will raise the Event....Now Maintain this event as the Start condition of the First Process chain.......To do this............open the chain in Planning mode..........u can open the chain using the tcode : RSPC1 >> Right click on the Start process >> Display Variant >> Click on After Event..........there u maintain the event name...........So whenever this job will run...it will raise the event...and this event in turn will trigger the chain...........
    To Schedule a Time based process chain.......
    Open the chain in Planning mode..........u>> Right click on the Start process >> Display Variant >> Click on Date/Time..............here give the date on which for the first time this job is going to run and the time...as per ur requirement......Click on Periodic Values tab....there give how frequent u want the job to run....Daily..Weekly...or Monthly...
    Hope this helps.......
    Regards,
    Debjani.......

  • How to stop the process chain showing status as yellow but no process step

    Dear Friends,
    How to stop the process chain showing status as yellow but no process step is running in that process chain.
    We have manually triggered the process chain for sales it finished successfully till load data but the next step is create index and DB statistics. Both of this steps are in unscheduled position only and no background job for this.
    Please guide me.
    Thanking you in advance.
    Regards,
    Shubhangi

    Hi,
      At times even I have faced this situation.  During those times, running the Function module RSPC_PROCESS_FINISH by passing the right parameters came to my rescue.
    Regards,
    Raj

  • How to test the process chains

    hi sap gurus,
    Can anybody tell me how to test the Process chains before i load real time data,i run process chains every morning 6.15 am,before that i want to test every process is linked to another.
    thanks in advance.

    Hi,
    Scheduling the process is the only way to check whether it is running fine or not. The process chains should be checked first in the Dev server and then in the QA server before transported to Prod.
    You can also check the process chain using the "check" button to see if the processes are in the proper sequence or not.
    There is a "log" button to keep track of the progress of the chain
    suresh

  • Authorizations setting for running the process chain

    Hai
    Iam planning to run the process chain for loading the data into ODS. But i dont have authorization for it.
    so what are the authorizations i need to run the process chain in my system. And how can i set all those authorizations to my user-id.  I have all authorization rights .
    Pls let me knw
    kumar

    Hi,
    Authorizations for Process Chains
    Use
    You use authorization checks in process chain maintenance to lock the process chain, and the processes of the chain, against actions by unauthorized users.
    ·        You control whether a user is allowed to perform specific activities.
    ·        You control whether a user is allowed to schedule the processes in a chain.
    The authorization check for the processes in a chain runs when the system performs the check. This takes place upon scheduling or during synchronous execution. The check is performed in display mode. The check is performed for each user that schedules the chain; it is not performed for the user who executes the chain. The user who executes the chain is usually the BI background user. The BI background user automatically has the required authorizations for executing all BI process types. In attribute maintenance for the process chain, you can determine the user who is to execute the process chain.
    See also: Display/Maintenance of Process Chain Attributes ®  Execution User.
    Features
    For the administration processes that are bundled in a process chain, you require authorization for authorization object S_RS_ADMWB.
    To work with process chains, you require authorization for authorization object S_RS_PC. You use this authorization object to determine whether process chains can be displayed, changed or executed, and whether logs can be deleted. You can use the name of the process chain as the basis for the restriction, or restrict authorizations to chains using the application components to which they are assigned.
    Display/Maintain Process Chain Attributes
    Use
    You can display technical attributes, display or create documentation for a process chain, and determine the response of process chains during execution.
    Features
    You can display or maintain the following attributes for a process chain:
    Process Chain ® Attribute ® ...
    Information
    Description
    ( Rename)
    You can change the name of the process chain.
    Display Components
    Display components are the evaluation criterion in the process chain maintenance. Assigning the process chains to display components makes it easier to access the chain you want.
    To create a new display component, choose Assign Display Components in the input help window and assign a technical name and description for the display component in the Display Grouping dialog box that appears.
    Documents
    You can create and display documents for a process chain.
    For more information, see Documents.
    Last Changed By
    Displays the technical attributes of the process chain:
    ·        When it was last changed and who by
    ·        When it was last activated and who by
    ·        Object directory entry
    Evaluation of Process Status
    If you set this indicator, all the incorrect processes in this chain and in the overall status of the run are evaluated as successful; if you have scheduled a successor process upon error or always.
    The indicator is relevant when using metachains: Errors in the processes of the subchains can be evaluated as “unimportant” for the metachain run. The subchain is evaluated as successful, despite errors in such processes of the subchain. If, in the metachain, the successor of the subchain is scheduled upon success, the metachain run continues despite errors in “unimportant” processes of the subchain.
    Mailing and alerting are not affected by this indicator and are still triggered for incorrect processes if they have an upon error successor.
    Polling Indicator
    With this indicator you can control the response of the main process for distributed processes. Distributed processes, such as the load process, are characterized as having different work processes involved in specific tasks.
    With the polling indicator you determine whether the main process needs to be kept until the actual process has ended.
    By selecting the indicator:
    -         A high level of process security is guaranteed, and
    -         External scheduling tools can be provided with the status of the distributed processes.
    However, the system uses more resources; and a background process is required.
    Monitoring
    With the indicator in the dialog box Remove Chain from Automatic Monitoring?, you can specify that a process chain be removed from the automatic monitoring using CCMS.
    By default CCMS switches on the automatic process chain monitoring.
    For more information about the CCMS context Process Chains, see the section BW Monitor in CCMS.
    Alerting
    You can send alerts using alert management when errors occur in a process chain.
    For more information, see Send Alerts for Process Chains.
    Background Server
    You can specify here on which server or server group all of the jobs of a chain are scheduled. If you do not make an entry, the background management distributes the jobs between the available servers.
    Processing Client
    If you use process chains in a client-dependent application, you can determine here in which client the chain is to be used. You can only display, edit, schedule or execute the chain in this client.
    If you do not maintain this attribute, you can display, edit, schedule or execute the process chain in all clients.
    Process variants of type General Services that are contained in a process chain with this attribute set will only be displayed in the specified client.
    This attribute is transported. You can change it by specifying an import client during import. You must create a destination to the client set here in the target system for the import post processing (transaction RSTPRFC)  The chain is activated after import and scheduled, if necessary, in this client.
    Execution User
    In the standard setting a BI background user executes the process chain (BWREMOTE).
    You can change the default setting so that you can see the user that executes the process chain and therefore the processes, in the Job Overview. You can select the current dialog user who schedules the process chain job, or specify a different user.
    The setting is transported.
    The BI background user has all the necessary authorizations to execute all BI process types. Other users must assign themselves these authorizations so that authorization errors do not occur during processing.
    Job Priority
    You use this attribute to set the job priority for all of the jobs in a process chain.
    Hareesh

  • How to Notify if Process Chain DOES NOT complete?

    How do I use Process Chains to notify me if the end process of a chain DOES NOT run by a certain time? Example: Chain starts at 6PM every night, always finishes by 7:30. If it doesn't complete by 8:00, I want to be notified. I can spawn an event on completion of the chain, but the 8PM job has to notify me ONLY IF this event is not active. How to do that?

    Well you can make the ABAP process type send message
    RSPC>from main menu Settings>Maintain process types
    change mode -->select process type "ABAP" and change "possible events" to "Process ends successful or Incorrect" save it.
    come out of process chain and goto the process chain maintenance again.
    In regards to your question of 18 steps ,as i said you only need this ABAP process type once at the END of the Process chain to SET the flag status = X.
    Another Process chain runs at 8.00 with only one process type ABAP process type to check the status in table if empty or X and send message accordingly,
    Fyip - table  RSPROCESSLOG and FM - RSPC_PROCESS_FINISH also available at your disposal to get some leads.
    You can wait until some one has better solution and implemented it before,i just put my thoughts in to it,its not imperative for you.
    I leave the thoughts with you.
    Hope it Helps
    Chetan
    @CP..

  • How to debug completed Process chain

    Hi Experts,
    Can you please let me know how to debug completed Process chain.
    In my Process Chain, we have one ABAP step to update Z-Table entries.
    But it was updated wrong entry into Z-Table.
    Now i want to debug ABAP step in Process chain which was completed successfully (This is Monthly load).
    I have tried to debug the back ground job but it throws an error message in middle of the debugging.
    Could you please tell me how to debug ABAP step in completed Process Chain.
    Thanks
    Shaik

    http://help.sap.com/saphelp_nw04s/helpdata/en/8f/c08b3baaa59649e10000000a11402f/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0afcd90-0201-0010-b297-9184845346ca
    http://help.sap.com/saphelp_nw70/helpdata/en/21/15843b74f7be0fe10000000a114084/frameset.htm
    /people/vishvesh.bahirat/blog/2006/11/29/bw-process-chain-design
    http://help.sap.com/saphelp_nw70/helpdata/en/21/15843b74f7be0fe10000000a114084/frameset.htm
    1.Go to RSPC to view all the chains.
    2.There click on any chain which you want to run/view.
    3.Click on the log view(shift+F1) to view all the previous runs of the chain and whether they have failed or successful(here you can select 1 day,week ,month etc in the display range)
    4.If you want to modify the chain /add a process type /change the variant then click (Ctrl+F9) and do the changes.
    Even you can change the start variant in change mode for manual scheduling>right click on start process typeselect display variant--now select start Direct Scheduling/ API or Metachain
    under direct scheuling option you can trigger it by setting start immediately /Date-time/After job/event whatever you want to do
    Else you can make it part of a Metachain consisting of different such small local process chains.
    Now Click on Schedule (F8) to run this chain manually.
    5.For Monitoring use Tcodes SM37/RSPCM/SM50
    Also you can use BWCCMS.
    I usually prefer sm37 to view all the background jobs but SM50 is also useful.
    6.debug loop can be used to debug a process chain.(you have to specify here the gap between one event been triggered and the next subsequent process starting)
    to capture process in debugger go to SM37(job overview) or to SM50(process overview)
    Hope this would help you.

  • How to know the process chain start time and end time

    Hi Experts,
                   How to know the process chain start time  and end time .
    Thanks in advance
    Regards
    Gutti
    Edited by: guttireddy on Feb 23, 2012 11:30 PM

    Hi Reddy,
    You may find the run time of a PC using below steps.
    1. Call SE38 > /SSA/BWT > Execute  > Enter your PC , choose the date and time > Execute. Here Run-time of a PC is displayed. (or)
    2. Call RSPC1 > Enter your PC > Execute > Goto Log view > Right click on the start Variant > Displaying Messages > Note down the start time in Chain Tab. Now Right click on the last Process type of the PC > Displaying Messages > Note down the End time in Chain Tab. The Difference b/w start time and end time gives the Run-time of your PC.
    Hope this helps.
    Regards
    Sai

Maybe you are looking for

  • Sony Wega connection

    I have kv34xbr910 (Wega) cathode tube with hd. There is a dvi port on the set. Sony says this is not intended for computer hookup. The other connections available are component(rgb). What is the best hookup I can make with the dvi on my macbook pro(e

  • How to play the pdf embedded video on firefox

    I embed video into pdf quite often, if I want everyone with Acrobat reader version earlier than 9 (6,7,8) can open it, I have to chose "Create legacy multimedia content..." when I embed the video. The problem is, when I make the pdf with Mac, usually

  • ABAP field symbols and PERL reference variables to unnamed arrays.

    Rob - Please do NOT delete this post even though it contains this link: ABAP field symbols and PERL reference variables to unnamed arrays. to a question I posted in the Scripting Languages forum. It's a question that should be of interest to ABAP pro

  • Advertised application will not be installed because it might be unsafe

    I need some help with group policy assigned software. We had an old version of software that was made part of our computer image and the company that made the software decided to rebrand it and require a new install. We wanted to push the new softwar

  • Info record screen layout issue

    hi, In my system, "valid to" field set as required and display option in ME11. how / where to change / control the this field option? Reg mrs