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 & Regards
Hi,
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
Similar Messages
-
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/ -
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. -
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 -
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.. -
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. -
ABAP Program using Selection Screen in Process Chain
Hi,
I have included an ABAP Program in the Process Chain.
The ABAP Program takes a selection screen value from user before execution.
I have created a variant for both the ABAP Process (YPV_ABC) and a variant for the Selection Screen (YPV_XYZ).
The ABAP Program executes perfectly well in SE 38.
I get the following message when I execute the Process Chain.
"Status Change of Process ABAP YPV_ABC.
Save Status and Trigger Events if Appropriate "
When I click Yes, the ABAP Process becomes red.
These are error messages in the log
516 - Job started
550 - Step 001 started (program RSPROCESS, variant &0000000012961, user ID ALEREMOTE)
25 - Could not ascertain code page
546 - Job cancelled after system exception ERROR_MESSAGE
My questions are:
1) Is it possible to use an ABAP Program which has a user input screen in Process Chain?
2) Could you please help with the above error?1) Is it possible to use an ABAP Program which has a user input screen in Process Chain?
ABAP programs, with variants established for selection screens, are possible. We use them quite extensively for setting triggers to allow Process Chain to continue after an Interrupt Process has been hit.
2) Could you please help with the above error?
I'm not quite sure what could be causing this. When you tested this program in SE38, did you test it with the same variant for the selection screen and did you execute it in background? -
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
-
Creating Event driven process chain
Hi all,
In my scenario there are two chains in which
1. First chain is normal chain, which we are using to
load business data.
2. Second chain will contain start variant and one ABAP
program that will call first chain and this second
chain is event driven.
So can anybody send me relevant documents or
information regarding how to create event? How to
schedule process chain using event? and also how to call
process chain using ABAP program?
Thanks & Regards
Ajinkya DeodharHi,
Look into the following links:
http://help.sap.com/saphelp_sem40bw/helpdata/EN/86/6ff03b166c8d66e10000000a11402f/frameset.htm
http://help.sap.com/saphelp_sem40bw/helpdata/EN/86/6ff03b166c8d66e10000000a11402f/frameset.htm
Event collector:
http://help.sap.com/saphelp_sem40bw/helpdata/EN/86/6ff03b166c8d66e10000000a11402f/frameset.htm
Creation of Event:
http://help.sap.com/saphelp_sem40bw/helpdata/EN/86/6ff03b166c8d66e10000000a11402f/frameset.htm
http://help.sap.com/saphelp_sem40bw/helpdata/EN/86/6ff03b166c8d66e10000000a11402f/frameset.htm
Hope it hepls you -
Hi All,
I have a condition, where i need to create a process chain for data loading, and there i need to create an event which will parameterised in such a way that for all the infoproviders, i have to create single event and only parameter which will make my loading start will be parameter say P1,P2......n, where P1,P2 ..... are my process chain.
Now, i have created an event, but i wnat to keep my program independent of hardcoding Process chain name.
Please suggest me any generic menthod toresolve this.
Thanks in advance!
Neha..Hi George,
These are Standard events SAP has provided like
RSPROCESS : This is process chain management event..
BI_PROCESS_LOADING : This is for loading of data..
These will be automatically triggered by BW system,Depending upon the process type you are using...
Don't gorget to assign points ,If it is usefull...
Maybe you are looking for
-
Invoice number and Check number for FI
Hi Friends, What does the above for FI mean? I need to pull the invoice number and the check numbers from AP and report . My question how do I recognize which field from 0FI_GL_4 stores this information? Any advice would be greatly ap
-
VPN Issues: Unable to access internet once connected.
I need to connect to my workplace via a VPN (Cisco IPSec) connection. Typically we use a Cisco VPN client to allow for access, but I'm using the built in support within Mountain Lion. I am able to succesfully connect via the VPN connection, but once
-
How to display the query results in several pages?.
Hi, i want to display the query results in several pages. for example my query result found 50 matches, now i want to print 20 per pages next 20 will be in next pages. iam using only jsp & mysql. Regards Chinna
-
JIT output message appearing in FRC - LPA Schedule agreement
We have seperate messages for JIT and FRC, When i set JIT message condition record, its appearing in both JIT and FRC, not sure why, it suppose to be appearing in JIT only Can some one help/suggest
-
ICloud Mail Reliability?
Hi, I was wondering about your general opinions on weither I should switch to iCloud mail from Gmail. The only reason why I am hesitant to do this is because I know that iCloud had some issues when it came out. I am very afraid of not getting some