Query on using EVENTS in process chains.
Hi,
Process Chain A on completion posts a Trigger using FM - BP_EVENT_RAISE.
Is there an ABAP program to check for the specific event completion from process chain A. Basically , we need an FM or program that reads the event status ( whether event raised or not ) and accordingly triggers another process chain.
We need this fuctionality in process chain B coz we would be using an AND condition that checks for the event trigger from process chain A as well as Step 1 in chain B.
Thanks,
Welcome to forum.
Hari,
1) Let us say ,Process Chain A, will triggger an event EVENT_A for an example.
instead of one evnt use 2 events, EVENT_A on success and EVENT_B on failure.
2) Link Program A to EVENT_A and Program B o EVENT_B
I hope it helps..
Regards,
Hari
if this helps pls.. assign some points..
Similar Messages
-
Hi All,
I have below scenario:
Now we are using event collecter and subsequent event in event collector .
I am going to convert my loads into Process chain from Infopackage groups. My problem is I can use event1 directly in Start of process chain but how to trigger event2 using this chain. I need to trigger event2 once my PC is completed successfully. The even2 will trigger a background job to execute one ABAP program. This ABAP program triggers event1 again if it meets certain requirement.
Hope you understood my problem.
Thanks in advance
VaniHi,
If I have understood properly,
Event1(Start) --> Sequence of PC steps --> ABAP Program Process Type (To trigger Event2) --> Event2 triggers again Event1( If meets requirement)
What is your End of the Process Chain if it triggers again Event1?
Why do you want to trigger events in a cyclic way?
Regards,
Suman -
Use event trigger process chain
Hi friends,
I am working on a process chain tuning task.
One request is to change a schedule method of an interrupt from date/time to event.
I know how to generate and utilize event.
My worrying is:
Is an event has duration?
E.g Today's process chain scheduled at 01am,,processing, the interrupt was triggered by event at 04am, but at 10am, the event was trigger again for some unknown reason.
Then,the process chain with the interrupt will be scheduled at 04am tomorrow, but actually, there may be no event for tomorrow as requirement(due to some reasons,we do not like PC run everyday).
Anyone know how to solve this problem?Martin
You partially answered my questions.
My chain contains both date/time schedule and event trigger.
As is:
Start-date/time schedule daily at 1:00am
step1,step2,,etc
interrupt-now, it is date/time schedule,at 4:00am
other steps.
To be:
Start-date/time schedule daily at 1:00am
step1,step2,,etc
interrupt- event trigger schedule
other steps.
I know how to trigger event by ABAP program.
My concern is:
Today afternoon, someone run this ABAP 10 times to generate 10 events,what will happen tomorrow?
Actually,according to business requirement,tomorrow's process chain(interrupt below part) shall not be ran. -
Use of events in process chains
Hi All,
Could some one help me in givving me detailed information about the use of events in process chains with some examples .How are they used and what are they performed in background .I am going to start,creating process chains according to the requirements which are based on event scheduling before ..
Your detailed information is really appreciated..
Thanks & RegardsHi,
Suppose your process chain needs to be started after certain activity is finished, then you can create an event to be triggered when that activity is done. The process chain will start once it gets that triggered event.
This is one use in using events in Process Chains.
Thanks,
Raj -
How to create event based process chains
Hi All,
I would like to know about event based process chains. In connection to this, could you please answer the following queries,
1. How to create events
2. How to link created event to the process chain in the same BI or BW system and as well as from
externel BI system.
3. How link one process chain with other process chain (i.e, After completion of one process chain, it
should trigger other dependent process chain)
Thanks and Regards,
Kotesh.1). Doubt regarding first question.
For example, i would like to create time based event (it should be trigger daily at specified time),
where we have to maintain scheduling options while creating event.
When i checked SM62 there i found only two options a). Event name and b). Description.
Could please send any doucument link if you have.
Ans : You can use function modules like "BP_EVENT_RAISE" in a program and schedule the program to trigger.
2). For externel BIW system also same procedure we need to follow or any difference.
Ans : Externally you need to trigger the same event.
3). i found dependent process chain also had scheduling options as direct scheduling insted of start using meta chain or API. As you said dependent process chain should be mata chain. it seems dependent process chain may be Meta chain or Direct scheduilg.
Ans : Its your choice how you want to schedule it.You can either make that dependent chain a metachain or schedule it separately.
I found at the end of first process chain they kept one process like Raise event and second process chain connected with the help of raise event process event name. If you have any idea about this process could explain a bit more.
Ans : May be they are raising the event in the main chain and triggering the dependent chain using this event.
But Metachain is preferred for such thing.Though it does similar thing.
Hope this helps. -
List of Info Objects used in a process chain
Hi,
I have a master data process chain and in that process chain, close to about 50 Info objects are included. Rather than checking manually, I would like to know if there is any automated way to get the list of info objects used in a process chain.
Please let me know if there is any table that gives this information.
Thanks & Regards.following transparent tables store Process Chain related data... there you might get the information you are looking for..
RSEVENTCHAIN Event Chain Processing Event Table
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
RSPCCOMMANDLOG System Command Execution Logs (Process Chains)
RSPCLOGCHAIN Cross-Table Log ID / Chain ID
RSPCLOGS Application Logs for the Process Chains
RSPCPROCESSLOG Logs for the Chain Runs
RSPCRUNVARIABLES Variables for Process Chains for Runtime
RSPC_MONITOR Monitor individual process chains
Regards,
Sharayu -
HELP Event-driven Process Chain
HelloCommunity,
I aim to develop a tool for modelling Business process using EPC (Event-driven Process Chain)
I have just discovered Sirius, followed some tuturial....But when I started to
design my own project I got stuck.. My metamodel still complicated and I couldn't deal with some cases and some specific relationship.
Could you please share with me some links or ressources for project similar to mine?
Thank you in advance
Regards,Hi Han, Le 28/07/2015 15:56, han sirius a écrit :
> HelloCommunity,
>
> I aim to develop a tool for modelling Business process using EPC
> (Event-driven Process Chain)
>
> I have just discovered Sirius, followed some tuturial....But when I
> started to
> design my own project I got stuck.. My metamodel still complicated and I
> couldn't deal with some cases and some specific relationship.
>
> Could you please share with me some links or ressources for project
> similar to mine?
Did you try the tutorial [1] ?
You might discover concrete examples of modeling tools created with
Sirius for various use-cases in the gallery [2] and lab [3].
You will also find the documentation in [4].
>
> Thank you in advance
>
> Regards,
>
>
Regards
Maxime - Obeo
Need professional services for Sirius?
http://www.obeodesigner.com/sirius
[1] https://www.eclipse.org/sirius/getstarted.html
[2] https://www.eclipse.org/sirius/gallery.html
[3] https://www.eclipse.org/sirius/lab.html
[4] https://www.eclipse.org/sirius/doc/ -
Re: Statistics Query for Total runtimes for Process Chain incorrect
Hi Guys,
I am building a Query for Total runtimes for Process Chain Statistics. I used the Cube 0TCT_MC21 for Query - 0TCT_MC21_Q0101.
I dragged in Keyfigure section - startdate, end date, Start time are all correct and fine but the End time (0TCTENDTIM) is coming incorrect. Is something else i should use to get the End time?
Please let me know if any suggestions?
RegardsJust check if the end times are in GMT ?? usually happens with timestamps....
-
Trigger Event in Process Chain
Hi ppl,
i want to push the data into ODS and intocubes whenever the data has been placed in the Delta Queue. how can i do that? i heard that i need a abap program to trigger the event in process chain, is anyone here can help me with the abap program? thanks...Hi,
see OSS Note 135637
Triggering a Process Chain From R/3 pgm
Hope this helps.
GTR -
How to use XOR in process chain
Hi,
Can you please let me know how to use XOR in a process chain..and what is the use of this..
Thanks in advance
harihi krishna..
here are some links which has scenarios..
XOR Process
The application process starts when the first event in one of the predecessor processes has been successfully triggered
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
hope it helps,
all the best.... -
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. -
HI masters
lets suppose u get a file in al11 and on arrival of this a process chain has to be started using an event.
how do u connect the file which keeps coming daily and the chain chain has to run run daily on arrival of the file automatically
thanks
k.mohanThis would depend on what is putting the file on the file server. If the program is external to BW, can it be changed to execute the <b>sapevt</b> command on the server? This command is external to BW (and R/3) and is located on the application server. Its sole purpose is to trigger an event in BW (or R/3). It has parameters, but the format depends on what operating system your BW system runs on.
Otherwise, you may want to create an ABAP program that will look for the file on the file server and if and when it finds it, it will trigger the event that executes your Process Chain.
Does this help? -
Creatingan event in process chain
Hi guys,
Can any one tell me creating an event for a proces chain ,Creating a prog for calling event, Function module for including in prog ..
and plz also tell me how to trigger a proces chian from a external system..
thank you
Johnu can use the following:
Use tcode SM62 to create User events.
Use tcode SM64 to trigger the event.
also check the link:
http://help.sap.com/saphelp_erp2005vp/helpdata/en/f7/d1c20a02d511d3a6550060087a79ea/frameset.htm
Event Chains - Typically an event chain uses an event to trigger a job. Now when the job runs and gets completed it gain triggers an event and it goes on until the load process gets completed. Events are created in SM62 and the jobs are created in SM36. In the job creation you can define the condition how the job starts and what needs to be executed. Typically in event chains ABAP programs were extensively used. The ABAP programs used o contain the fn module BP_EVENT_RAISE for triggering an event.
U can use a remote process to trigger the chains which external to the systems...
Thanks
Murali
Assign points if this helps.. -
Asynchronous event in Process chain
Hi Experts ,
What is the use of asynchronous scheduling of an event in the process chain (using ABAP program) . I have used synchronous and local selections generally for my process chains earlier , but was wondering where could we exactly use asynchronous mode .
I have referred to this link :
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/c5/eed63b54e56276e10000000a11402f/content.htm
and have understood what asynchronous scheduling is (considering there are no advantages as such ) , so in which scenarios it is being used ?
Please acquaint me about this .
Thanks in advance !Repost
-
Asynchronous event in Process chains
Hi Experts ,
What is the use of asynchronous scheduling of an event in the process chain (using ABAP program) . I have used synchronous and local selections generally for my process chains earlier , but was wondering where could we exactly use asynchronous mode .
I have referred to this link :
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/c5/eed63b54e56276e10000000a11402f/content.htm
and have understood what asynchronous scheduling is (considering there are no advantages as such ) , so in which scenarios it is being used ?
Please acquaint me about this .
Thanks in advance !Repost
Maybe you are looking for
-
Put html tag in xml genreted with strings panel
Hello, I created an multilanguage application with the "strings "panel. My customer need to put some words in italic inside the dynamic textfield. So I used <i> tag or cdata tag insied the xml, but nothing works, even if I put the textfield in "html"
-
Hello I resently installed an SSD in my MacBook Pro and a DataDubler to have my orioginal HDD in the SuperDrive bay I don't know it that has to do with anything but resently my mac is running hot (80ºC) while doing nothing. it idles with 2-5% usage..
-
Sender Service for Client Proxy in Receiver Det step ?
Hello guys : just to check will the sending business system for receiver det step in ,client proxy to file ,will be the name of R/3 Business system (where the client proxy is configured) ? Please confirm Krishna
-
Hello all, I am writing an applet that will paint on a canvas, and need to get the width and height of the canvas. When I use the getWidth() and getHeight() methods of canvas, I get a methodNotFoundException. I presume this is because the 1.1 spec do
-
Dba_outstanding_alerts
Hi, Database has been initially created with FLASHBACK MODE on, then turned off. There was an outstanding alert related to recovery area which is not cleared. The problem should have been the recovery area is cleared with OS commands instead of RMAN.