Triggering process chains
HI,
What is the difference btn the jobs autosys_* & auto _*.
Where we can see the scheduled timings for all the process chains.
Reg, Nadalia Paiva.
Hi,
SM37 can give you the list of jobs. selecta job and click -> Job->Job Details
Thanks,
Raj
Similar Messages
-
How to stop a triggered process chain
Hi,
Does anyone know how to stop a process chain? It was accidentally triggered twice and we need to stop it. Thanks.Hi,
There r 2 ways to kill the job.
One is using transation RSMO locate the job and display the status tab double click on the yellow light that is shown on the line total, a pop will come 'set overall status ' is displayed select the desired status that is red and save it. Then return to the monitor page and select the header tab double ckick on the data target right click and then goto 'manage',there should be request sitting there probably with yellow lights , highlight the line with the faulty request click the delete button then click refresh button.
Second is goto SM37 and click on the active selection and enter the jobname and then click excute the particulr job should appear highlight the jobname then click on the stop iconthat appears on the taskbar( 3 rd from left)
hope it is clear.
Regards-
Siddhu -
Hi Experts,
We have a meta chain which contains two local chain in sequance and consuming 10 hours to complete
Process Chain 1
Process Chain 2
We have used the events to trigger process chain 2 only when it meet certain condition and modified the meta chain as
Process Chain 1
Abap Prg to trigger Process chain 2
But now the meta chain just consume 4 hours to complete even though process chain 2 is on progres.
This is giving wrong update to the users as the load is completed.
Is it possible to retain the status of the meta chain as in progress untill the process chain 2 triggered by event gets complets.
Regards
Suresh KumarHi Suresh,
when you are using event as a process in the metachain, it checks if the event ran succesfullly or not.
once the event is succesfull(event - triggering of the process chain but not completion), the step turns green.
so follow below procedure.
1)in the abap program, instead of triggering the process chain,write a program which raises an exceptio if the condition you required is satisfied so that the step becomes red.
use the proicess chain as next step in the process chain and conect this program to processchain step with th condition failure.
Hope this helps,
Srinath. -
Problem with triggering process chain
Hi
We have a remote process chain that calls a process chain in another system.The process chain in the other system is not getting triggered with the remote chain.
We have 3 such remote chains and we are facing such a problem with only one of them.
The process chain in the other system has a start variant which gets triggered( i suppose) and gives an instance id...the next step in the process chain is to load data into a ODS.Now this step remains yellow forever.When i manually try to schedule this step it gives me records and the request in the monitor screen turns green.But the process chain step continues to remain yellow.
What can be a way out for triggering the process chain or where could the problem be?
Please help
Thanks,
SuchiHi Suchitra,
Even though ur process seems to be in yellow your data loading may be completed and the reason for it may be the delay in activation of ODs by ur PC.
For your information please go through the below infm provided in SAp Library
Note when loading into an ODS object and for the subsequent, event-controlled update:
If you switched on the automatic activation in the ODS maintenance or administration, the monitor status for the request remains yellow after the load was successfully completed. Nevertheless, the subsequent processing for the InfoPackage is started, because the loading process is successfully completed.
[http://help.sap.com/saphelp_nw04/helpdata/en/65/163d3873130057e10000009b38f842/content.htm]
I hope ur doubt is clear.
Regards,
Rajkandula -
Diff in triggering Process chain by FM & Events
Hi Experts,
I would like to understand the difference in
1 Triggering the process chian by Functiton Module RSPC_CHAIN_START
2. Triggering the process chain by raising the event RSSM_EVENT_RAISE.
Regards
Suresh KumarHi,
The difference when using either to start a process chain by event is minimal. RSPC_CHAIN_START can be used to kick off any process chain (whether event driven or not) whereas RSSM_EVENT_RAISE is used to generate an event which can be used for more than just process chains (background jobs can also be launched using events for example). So they do overlap in functionality when it comes to launching event driven PCs but also have their own unique functionality as well.
Hope this helps,
Regards,
Gareth -
Triggering Process chain based on execution of R3 job and Process Chain
Hi All,
I need your help in arriving at a solution for a reqirement.
Scenario is., I need to trigger a process chain B based on successful execution of Process chain A and an R3 job. If both conditions(Completion of R3 job and Process Chain A) are met then only it has to trigger process Chain B.
I know that we can use events to trigger a process chain using R3 job.But my case is differenet I need to consider the success message from both process chain and R3 job.Is there any way to solve it ?
Please provide me with your valuable inputs.
Thanks,
BinduHi Hima,
You can use the 'AND' variant for both, If both are success then trigger the process chain.
Regards,
Ravi Kanth
Edited by: Ravi kanth on Apr 30, 2009 3:36 PM -
Triggering Process chains through abap code
Hi Experts,
Can you please let me know if it is possible to trigger a BW Process chain using an abap code.
If yes , kindly let me know the sample code.
Help done would be appreciated.
Regards,
UdayHi Thanks for your reply.
When I am trying to execute process chain with variant as a APD ( In this APD data is getting loaded form one Query to Transactional ODS.) This process chain being executing through one ABAP program using the following code
CALL FUNCTION 'RSPC_API_CHAIN_SCHEDULE'
EXPORTING
I_CHAIN = 'XYZ'. ( Dummy Process chain name)
While executing this program I am getting following message :
You can specify the name of the application server here
on which all jobs in the chain are scheduled
If you do not specify a name, the jobs from batch
management are divided between the available servers
How to avoid this message.
Can we write any code in the above program to assign any fixed server name so that it will not ask for any server name.
Your help is much appreciated. -
Server name message when triggering process chain through ABAP PROGRAM
Hi all,
When I am trying to execute one process chain with variant as a APD ( In this APD data is getting loaded form one Query to Transactional ODS.) This process chainis being executing through one ABAP program using the following code
CALL FUNCTION 'RSPC_API_CHAIN_SCHEDULE'
EXPORTING
I_CHAIN = 'XYZ'. ( Dummy Process chain name)
While executing this program I am getting following message :
You can specify the name of the application server here
on which all jobs in the chain are scheduled
If you do not specify a name, the jobs from batch
management are divided between the available servers
How to avoid this message.
Can we write any code in the above program to assign any fixed server name so that it will not ask for any server name.
Your help is much appreciated.
Thanks,
Uday.Hi Shanthi,
How to write exception handling for this.
Quick reply is nedeed.
Thanks,
Uday. -
Triggering process chain in background
Hi All,
Could you please tell me how to trigger a process chain using background job ?
Thanks,.Write a program to achive this based on your condition raise the event using function module.
BP_EVENT_RAISE
In the the process chain in the start process in scheduling options-----> use AFTER EVENT.
To create a event you can in SM62.
Hope this helps.
Edited by: Praveen G on Oct 6, 2008 9:24 AM -
Process Chain Triggers Multiple times
Hi All,
I have Meta process chain say ZAAA which has multiple Local Chains example ZBBB , ZCCC and ZDDD. .This Local chain ZCCC trigger multiple times of in one day . we had a issues today with deactivation of Transformations and DTP in different levels because of that Local Process chain ZCCC is failed along with other process chains . when I reach to ZCCC started by repeat or repair ,before Local Chain ZCCC finished whole process ,ZCCC triggers second time .
Now first times triggered process chain ZCCC is in yellow , and second time triggered process chain ZCCC gone through all the way to gree , and Meta chain showes red.
what I have do make Meta chain green.
Regards
HariHi Hari,
I wonder what you mean by below statement:
one of the sub pc still yellow first time trigger and went to red and second time trigger whole process is green. all Sub PC are green
For the sub pc mentioned above, you trigger it all over again? Or you repeat/repair the step failed?
If you trigger it the second times all over again it is a new run and the first run remain fail,ed so the meta chain will never get green, if you want to make the meta chain green, you need to repeat/repair the step failed in first run.
Regards
Bill -
Trigger Process Chain Via R/3
Hi All
I need to trigger a process chain in BW using a RFC program or FM from R/3, as we have a situation where once R/3 jobs are completed the RFC program should trigger the start variant of the process chain.
Please provide a sample code if you have.
Any kind of ideas are appreciated.
Thanks
ChrisHi Chris,
check out this link
Triggering a Process Chain From R/3 pgm and
Triggering Process chain from r/3
Hope this helps
Janardhan KUmar
Message was edited by: Janardhan
Janardhan Karmala -
The way to stop process chain running takes forever (without stop)
Someone here used to say in order to stop a process chain running in the middle, we can go to menu: Process Chain -> Remove from Schedule. However we have never made it successful since it runs forever without a stop.
Maybe there is a background process that we can go to kill them immediately that make the whole process chain run really stop?
ThanksHi Kevin,
Refer to these posts:
Re: Is there way that we can stop the process chain running in the middle?
Re: How to stop a triggered process chain
How to stop the Job that is running in Background in a process chain
Bye
Dinesh -
Event is not getting triggered in the process chain
Hi,
We had a process chain which was triggered by an Event, and it was running fine until few days ago. So I removed the chain from schedule and re-scheduled it again with these details:
File load: every 2 hrs
Process chain setting
Immediate tab: start immediately
After event: "event name" and "parameter name" and periodic job: ticked
I activated the chain and scheduled it. But the event is not triggered and the chain does not start. I even tried to trigger the process chain manually in sm64 but the process chain did not start.
Can someone please tell me steps to automate the event triggering and also any setting that should be taken care off in the info package and the process chain.
Thanks In advance.
RamHello Ram, to start your Process Chain by an event, then you need to maintain the Start process of the process chain.
Select "Direct Scheduling".
In the <b>Change Selections</b>, press <b>After Event</b>. Put your event name and parameter (if any). Also click on <b>Periodic job</b>.
Press Save. Then Activate and Schedule your process chain. All your processes should turn green.
To verify, right-click on the Start process and select <b><u>D</u>isplaying Scheduled Job(s)...</b>. You should see a job called BI_PROCESS_TRIGGER in a <i>Released</i> status. You can click on the job and look at the start conditions.
When you go to trigger the event, use the same event name and parameter (if any) as in the start condition. Your process chain will then execute. To insure, use RSPC to view your process chain and press the <b>Logs</b> icon (last one at the top).
Does this help? -
Triggering of Process Chain in BW from R/3 system
Hi,
We have a special requirement where in the R/3 system (Project systems), the business user creates and saves a project.
Currently we have a process chain for this master data which loads every 10 min on a daily basis, but many times it happens that the new chain starts before the first one gets finished, thereby creating a lock with the loads.
To counter this we are trying to use a functional module at R/3 which gets triggered whenever the business user creates and saves the project in R/3. Though this program worked for us, but a new issue came. If the user creates 2 projects and saves it two times in a span of just 2 or 3 min, then once again the collision of chain occurs.
Our purpose is that, once the old chain finishes, then only the new chain should get triggered. To achieve that we tried to find some options and found a table called RSPCPROCESSLOG which is present both in BW system and R/3 system. This table consists of the start and end time of a chain. So based on these fields of the table we can achieve the above. But this table is not configured to capture the logs in R/3 system.
Please do let me know how to configure the RSPCPROCESSLOG table in R/3 system to capture the chains timing of BW. Otherwise suggest a way to achieve this task.
Regards
Vishwanathin rough :
create table in r/3 (eg z_chain_status) : via se11. insert two fields : - Process_chain char 60
- Active : char 1
R/3 create FM : via se37 (eg Z_update_chain_status)
import parameter = status
process chain can be hardcoded or also defined as varaible, as you wish...
select status from z_chain_status.
status = import parameter
modify z_chain status
BW : create program : via se38 z_update_status_in_r3
parameter = status
call function z_update_chain_status destination R/3 system status
create two variants of program :
varaint z_active : with parameter status = 'X'
varaint z_inactive : with parameter status = ' '
process chain
step 1 = start
step 2 = abap process type
progam : z_update_status_in_r3
variant z_active
step 3 - n : your loads
step n + 1 : abap process type
progam : z_update_status_in_r3
variant z_inactive
R/3 user-exit or business addin : slect from table z_chain_status;
if active = 'X'. exit. else trigger BW pc (I suppose as it works do today)
M. -
How to determine the source of Events triggered in a process chain
Hi ,
We have almost a 100 process chains, and of these approx 20-30 local process chains are triggered by events raised within other process chains. These events are raised via BP_EVENT_RAISE using the ABAP process type.
However, our problem is to identify the source of these event trigger - i.e. which process chain triggered this event ?
Looking at SM64, the event history does not display the source for these events.
Is there any table or program that we can use to determine the source of these events which are triggered.
Any help is much appreciated and points awarded.
thanks
BKHi,
do check in the program /SSA/BWT . or TCODE - ST13 -- enter BW-TOOLS and execute. -- Choose Process chains and execute --- Select the date and time for which you want to see the process chains and execute again.
This will give you the entire list of process chains triggered, status, timings(start, end, overall runtime). Once clicked on the process chains it will show you the steps in theprocess chains, data loaded in the data targets, source system, etc...
hope it helps.
Maybe you are looking for
-
Why is there no solution to the incredibly slow youtube iPhone4 problem
Ok it has been long enough. Could Apple at least recommend a phone that works on YouTube?
-
CSV-File with eclass 4.1 oder 5.x
Dear all, is anybody out there who can offer me a eclass 4.1 oder 5.x classification load file for ccm 2.0. I want to feed the master catalog with this classification. Any hints and tips for creating this file are welcome. Kindest regards Roman Becke
-
Hello all, I have an issue that it seems no one has discussed.. at least I can't find anything on the wide web or here about it. I'm trying to import .AI files into Premiere, one of the features they like to boast for vector rasterization, alpha, etc
-
ERROR Message/ Forum won't send data
Far too often when I click on a link, I get a message like this one: Safari can't open the page "http://discussions.apple.com/myposts.jspa?start=40&range=10" because it could not load any data from this location. I interpret this as the forum softwar
-
What can we expect from AIM Triton?
Does anyone know if PC users will get some benefit such as resizable windows with AIM Triton? Or maybe built-in H.264 encoding? George...