Which Meta Chain is used ?
Hi Experts,
If a Chain's Scheduling Options in Start Variant is "Start Using Meta Chain or API"
I want to know which meta chain is used to start this local chain, could you pls let me know the way to do so?
Thanks in advance!
Hi,
Using API:
>When the selection options according to your requirement are not available, you should go for API and write code to suit your requirements.. .
Using MetaChain:
> You can also trigger the start of a process chain using a metachain
> If you start the start process using a metachain, it is not scheduled after you have activated the related process chain. The process chain is only started when the metachain, to which it is linked, is running.
Please Refer:
http://sap-help.nestle.com/sap_nw2004s/helpdata/EN/01/15843b74f7be0fe10000000a114084/frameset.htm
And to find out which meta chain has been linked with this start process:
> Goto planning view of the chain
> Select start proces, right click to open context menu
> Click display all jobs
> In the list of jobs displayed, select one
> click step
> select the program/command displayed
> from menu select goto-> Variant
and there you may find the name of the metachain
(But in case if it is a program(API) which is triggering this chain, the varaint in step will show again this chain name only)
Hope this helps....
Cheers,
Habeeb
Similar Messages
-
Which process chain type used when scheduling from 3rd party
Do we use Local Process Chain or Meta Chain type used when triggering PC from 3rd Party scheduling tools like Redwood..
Any inputs...
Venkat.Hi Venkat,
Select "Start Using Meta Chain or API" for the start process when running a process chain from a third party scheduling software or when calling a process chain from within another process chain.
I also believe some third party scheduling software will also work if you set the start process to "Direct Scheduling" and set the start time to immediate but I would recommend just making it a Meta Chain for tracking purposes.
Thanks,
Damon Fahey -
Local process chain used in Meta chain
Hi,
Suppose there is a Local process chain (X), and in it has scheduling options "Start using meta chain or API" selected. How can I know which meta chain is using this local chain.
Something similar functionlity of "Where used list" which can give a list of meta chains where this local process chain (X) is used.
Thanks.Hi Lohana,
I think there no such functionality.
Local chains means just you are calling from some other chain. But that it self a process chain. You are just linking in the chain through Local mode.
Regards,
Kishore Reddy. -
Local Chain Multiple times in a Meta Chain
Hi,
I have a scenario in which I have to call the same local chain multiple times in a Meta Chain.
The system is not allowing me to add the same local chain in my meta chain more than two times.
System is throwing the below message:
Diagnosis
The link that you made between process CHAIN ZREBATE_LOAD and process CHAIN ZREBATE_LOAD is a reverse connection, because process CHAIN ZREBATE_LOAD already precedes CHAIN ZREBATE_LOAD in the chain.
System response
This kind of connection is not supported.
Procedure
Schedule a copy of process CHAIN ZREBATE_LOAD behind CHAIN ZREBATE_LOAD.
Can anyone tell if there is a way to call the same local chain multiple times in a meta chain WITHOUT making a copy of the local Chain?
I understand that if I make a copy of my local chain it will allow me to add it multiple times in the meta chain.
Useful tips will be awarded by points.
Thanks,
ATHi Siggi,
I did not know that promising points is against the rules..Sorry about that.
It is just that I see every other thread has that line at the bottom (unfortunately never saw anyone get a bashing on that)....will keep it in mind.
Well, coming to what I am trying to achieve...here is the scenario:
I have a chain where a table is being read and the data gets loaded for the quarter date in that table (table has quarter dates in it e.g.: 01012007 to 03312007). At one point the table has ONLY one entry for one quarter.
Now, the requirement is to load data data for two years (i.e. 8 quarters).
In order to automate, I have written a small program to update that table with the dates of next quarter. I have added this program as the last step in my chain.
Now, I have created a meta chain in which I want to call my local chain (8 times) so that all the quarters get loaded automaticaly.
I am able to call my local chain 2 times in the meta chain and it works exactly the way I want it to run. However, system is not letting me add my local chain more than 2 times.
I am getting the message that I mentioned in my thread.
I understand that if I make 8 copies of my local chain, the system will allow me to add those 8 chains in my meta chain.
My question is if there is a way to add a local chain multiple times (say 8 times) in the same meta chain WITHOUT making copies of the local chain.
Thanks very much.
AT -
How to identify the meta chain in which the Process Chain is used
Hi,
I had a Process Chain which is designed to Load Transaction Data.
This process chain is scheduled to start as a part of Meta Chain...
How can i locate that META chain in which this Process Chain is used
ThanksHi
There is no where used list for Process chain, but you can check it in table RSPCCHAIN.
Give details as below:
Version is 'A'.
Process Type is 'CHAIN'.
Process Variants = 'enter technical name of the local chain'.
now hit execute button.
You can see the list of process chains under Chain ID column.
Ravi -
How to find out which meta process chain a local chain is involved in
Hello experts,
i would like to know how a local process chain is started by a meta chain. I have a local chain running every day. It is involved in a meta chain. How can i find out the meta chain in which the local chain is involved.
I appreciate every help i get.
Thank you all in advance.
Kind regards,
AliHi everybody,
the question is answered.
Thanks and regards.
Ali -
How can we use meta chain in process chains
hi friends,
anyone tell me about meta chain in process chains and give me one example.
thanks,
sree
Please search the forum
Edited by: Pravender on Jun 28, 2010 8:04 PMDear Suman,
To initiate the mails we first need to have SMTP connection. To check the same go to so00 and try sending mails to ur ID. If is successful it states that u have the SMTP access.
To create mails to Process chains:
Right Click on the Process varient select the Create Message in the context menu.
Select the type of mail i.e for successful, Error, Anyways.
Then follow the screens.
Note: The recipient type should be Via Internet.
Hope this helps u.
Regards,
Kishore.Pulla -
Failed meta chain maintenance in Process chain in SAP BI
Hi all,
I have a Process chain having the meta chain of master data population.When successful , proceeds with the further steps in process chain. It has been scheduled in midnight.
After monitoring the PC , found the error in the master meta chain , so i repeat the step.
Here , after success of meta chain all steps gets running down the line till the end step in PC.
I do not want to re-run the steps below meta chain after repeat step.
Any Ideas to ignore the re-run ??Hi,
If your Process is still running(Yellow color status) then right click it and go to Schduled Jobs. On this you will go to Job Overview there you can press STOP.
Else go to the SM37, there you can go and select your process using your process ID and STOP it.
And if you want to kill the complete process chain then go for Remove from Schedule.
Different Ways to stop process chain
1)SM37 -->Kill Job
2)SM50/sm66- ->Kill process
3)RSPC>Job Log>Make the process RED forecefully.
4)RSPC>Process chain> main Menu"Remove from Scheduling" OR
5)se37-->RSPC_API_CHAIN_INTERRUPT
give RFC BW system name(technical) and process chain name(technical)
Steps 1 -3 stops the chain running in process
Steps 4-5 stops the chain AFTER the current job which is running is completed as sucessful or Failure by nature.
Hope this helps you. -
Hi All,
I have a requirement like ,the last local process chain(L) in the metachain should trigger only after the completion of all local chains above it and the other process chain(A) which is not included in this meta chain.For this I have created a metachain like ,
1.it has 4 local chains in it
2.AND process type
3.Last local chain(L)
In this last local chain(L) ,I have included event(this event is included at the end of the other process chain(A) which is not in this meta chain) in its direct scheduling.
When I tested this process chain,in a way that, first I scheduled the other process chain(A), and the metachain.so the last loacal chain(L) waited for all its above local chains to complete even though the other process chain(A) which has event programme completed first.
But when I tested vice versa, that is,first I scheduled the metachain,then this last loacal chain(L) didn't wait for that the other process chain(A) to complete.
Can you please let me know how to meet this condition using event.
Thanks AllHi,
As mentioned above, an event is used to trigger the process chain.
Just to give you an example,
Suppose that you dont want your daily process chain to get triggered on saturday.
In that case, you can write a program to check which day of the week it is, and return an event id through the program.
This program can be used in a new process chain, which will execute everyday.
This event id can then be used in the start variant of your process chain, using the option After Event.
Hence, your daily process chain will get triggered only if the Event id returns the day as Sunday to Friday.
It will not get triggered on Saturdays.
Hope this helps.... -
Local chain, Meta chain, and Remote chain
Hi,
Can any one explain me what exactly is the difference among the process chains?
Meta chain is a process chain that calls the other process chain
Local chain is the PC included in any other Process types?
Cannot differentiate Local and meta chaisn now !
same is the case with remote process chains
RajHi,
Metachain is a process chain, for which you determine this start condition, that is fixed to another process chain. The process chain is started directly by this metachain.If you start the start process using a metachain, it is not scheduled after you have activated the related process chain. The process chain is only started when the metachain, to which it is linked, is running. rocess chains can be scheduled as processes in additional process chains, which are known as meta chains. If the process chain you want to execute is in another system, use the process type Process Chain Remote, called remote process chain in the following. A remote process chain is a local process in the calling system that calls a process chain in this system, using a destination in another system, that is to be executed there. The remote process chain communicates with the other system and synchronously starts the executed process chain. After terminating the process chain in another system, this is reported back to the meta chain in the calling system. sing a remote process chain as the process of a metachain, you can schedule a process chain from another system in a process chain of the calling system.
Using a remote process chain as the process of a metachain, you can schedule a process chain from another system in a process chain of the calling system. In addition to remote process chains, you can also schedule local process chains as processes in a metachain. A local process chain consists of processes that are scheduled in the same system as the metachain. You schedule it as a process in the same system as the metachain. -
Copy process Chain with Meta chain
Hi experts,
how to copy the process chain with Meta chain, since the process chain which I planing to copy it hold meta chain and also local chain, I coping for change the technical name for the PC, is it possible to copy meta chain and local chain along with PC?
and plz breif me about meta chain and local chain why we have to use them and where we have to use them?
plz explain with scenario.
Thanks,Hi,
Once after the copy of the chains you need to change the start variant with the new one as the same start process can not be used in two process chains at the same time.
So Once after changing the start process for your MC and LC then you are good to go ahead to trigger the same.
If you trigger the MC then it will take care of trigerring the LC automatically.
In terms of changes in the process chain, you can get the last changed details in the log view but you can track the timestamp of changes from the process chain tables like (RSPC* and then press F4). But you can not track which process has been changed in this.
Thanks
Murali -
Regarding Meta chain and local chain
Hello Gurus,
I want to trigger the meta chain process. Please find metachain process:
Metachain:---
Start
Local chain 1
Local chain 2
Program1
Program2
Program3
Now error occured in Local chain 2 (last process is Create index which failed)
I created the index manually and manually killed the job.
Now I want to trigger the next process after the local chain 2 which is Program1. I tried using RSPC_PROCESS_FINISH
but not of use as its applicable to the next process trigger and not the process after local chain
Kindly let me know.
Regards,
SonuIn SE38: RSPC_PROCESS_FINISH
Provide the following details:
Logid:---
Chain:----
Type:---
Varaint:---
instance:---
State:---
LOGID: Get this from
RSPC->Open the process chain->we see Log ID in left pane
CHAIN: Specify your chain name
TYPE: we can get type details in RSPCPRROCESSLOG table from SE11
For eg: Info package use: Loading
For DTP: DTP_LOAD
VARIANT: Get these details from Right Click on variant-> Display Messages->Chain (tab)
INSTANCE: Get these details from Right Click on variant-> Display Messages->Chain (tab)
STATE: Select the required action to be done , for your case its green:
Execute the process (F8). And refresh the Process chain now we can able to see the variant skips and move to next instance.
-Ashwin
Edited by: ashwin kumar on May 11, 2010 2:19 PM -
Hello Gurus,
Could you kindly give me the difference between 'Direct' started process chains and API started meta chains?
Under what circumstances are they used?
I have created a chain using direct method.
There are jobs created for BI Process but they are all waiting for an event. I triggered the event but the batch job runtime error 'cancelled'. Seems like it is waiting for a predecessor event which I am not sure what it means since the predecessor is the start process.
Any advice would be appreciated.
Thanks.
sincerely,
Adette RosenthalHi Adette,
If you want the chain to run immediately, click change selections button that is next to the Direct schedule radio button. In the dialog box that appears click the Immediate button.save it.
Again click save button in the Maintain start Process window. Go back and save you process chain and activate it.
Now your Process chain will start immediately wnen you execute it.
Direct scheduling is the option to execute your process chain individually without waiting for any other chains.
Start using Meta chain is the start of your process chain is fixed to another Process chain.
Refer this link Administration Workbench->Administration->Process control->start process
http://help.sap.com/saphelp_bw320/helpdata/en/ad/6b023b6069d22ee10000000a11402f/frameset.htm
Regards,
Prema -
Removing Meta Chain from Schedule
Hi
I got a meta chain scheduled in BBD & BBQ...
Now for my testing purpose i want to remove them from schedule for a 3 nights and want to schedule them back to normal again
How can i do this and do i need to raise any transport request for this
Thanksu dont require any transport req for this..
Just remove from the schedule in RSPC using Meny Bar --> Process Chian --> remove from Schedule
And then reschedule the chain with the new time schedule which is after 3 days as per ur requirement..
For scheduling the chain --> double click on the Start process of the PC.
From Variant screen goto the scheduler screen where u can give ur Date and time with the proper periodicify and then save the settings and schedule the chain...
This will work for ur requirement..
Thanks
Assign points if this helps -
Unschedule Local Process chain from meta chain
Hi There,
We have a meta chain, in which there are several local chains one for each process area. Due to a transport I have to unschedule one local chain and let the other local chains run. Please let me know what is best way to do it?
Thanks,
RajuHi.
You can maintain the start variant of the local chain and switch it to Direct Scheduling. You can leave it in the "Master" chain and let that one run normally, however, your local chain will fail and no following chain will be triggered. So this approach could only be used if your local chain is a dead-end.
I would consider making a copy and delete the local chain. Then run this one. Make the copy either right in production, because it is an exception anyway, or in development and transport to prod. Switch to running the copy in either case and switch back to original chain and delete the copy (again either straight in prod or in dev and transport the deletion).
regards
Jacob
Maybe you are looking for
-
I have an issue with my macbook's screen. When I open up my macbook, everything is fine until I tilt my screen back to a comfortable/useable position. If I tilt the screen more than 80 degrees from my keyboard then the whole screen goes dark. It isn'
-
How to Schedule Java statistics job
Hi All, We have a installed a NW07 Portal system on one of the unix boxes.Now we would like to run the oracle statistics on the same. Since there is no ABAP stack, we can't schedule the same thru db13. Is there anyway we can run the same. Can I confi
-
My Creative Zen Micro is Freezing
. It starts and it will get to where you play the music and then it freezes. It won't let me do anything when it starts so I can't use the reboot or reload or format stuff. Ever since I got it I couldn't shut it off without taking the battery out. Co
-
Help with quality of exported files
The problem: I'm trying to get a good quality, 34 minute movie onto a DVD with chapter markers separating individual short films. This is supposed to be a compilation of 8 family movies, in addition to an introduction and credits at the end. Four mov
-
String parameter containing "&"
Hi I need to make a href containing a parameter: String value = "Cut & Paste"; <a href="edit.do?test=<%= value %>">test</a>The parameter does not work if the value contains "&". What do I do???? Best regards / theGrabber