Event same as delegate chain?
I heard a statement from a non-English web site, which is Event is same as delegate chain.
Is it correct as they all have += operator?
An example shows how you can subscribe to Load even of a form:
https://msdn.microsoft.com/en-us/library/ms366768.aspx. It shows the usage of “+=” and “-=”, therefore an event, similarly to delegate value, represents a chain of handlers. The difference is that you cannot use all of the operations which are available
for delegates: “=handler”, “=null”, “==null”,
invocation, etc. All of the operations are available only inside the class where the event is declared (e.g. the
Load event in Form class), or inside the inner classes.
Similar Messages
-
Trigger a job using an event through a process chain
Hi,
After the success of 5metachain, I am using AND condition
My requirement is as follows, it should trigger a job which needs to be after AND condition,
I have created an event using sm64. Basically the client wants to trigger the job using the event through the process chain. I have tried test scenariou2019s using ABAP program (Process type) in the process chain but it is failing. Is there any other way to trigger a job using an event through a process chain? If ABAP program is the only option, can you please specify what all needs to be filled in the variant?
Regards.
JerryHi,
Create a program like below,
CALL FUNCTION 'BP_EVENT_RAISE'
EXPORTING
EVENTID = 'EVENT WHICH YOU HAVE CREATED'
EXCEPTIONS
BAD_EVENTID = 1
EVENTID_DOES_NOT_EXIST = 2
EVENTID_MISSING = 3
RAISE_FAILED = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
search and include the program name which you have created above in the "ABAP program" process type which you are going to include in the process chain.
Include the event which you have created in the start condition of the job.
Note: No need of give any variant, because here we are calling only one function in this program.
Regards,
Sridevi. -
How can I hide the events in a delegate calendar
Hi,
My boss is asking me how can we hide the event information in the delegates, in order that the delegates can see that he is busy but not to know in what he is busy?There was earlier a thread on column level secuirty in 11g. PFB the link. See if it helps.
Column level security does not seem to work in OBIEE11g
Also, in 10g for column level security we had used choose statement. Am not sure if same can be used in 11g. PFB link for getting information on choose statement.
http://obiee101.blogspot.com/2008/09/obiee-choose-statement.html -
Hi mates,
How to Raise events in process chain, for example i want to raise a event like ( Data loaded in ODS) after ODS is loaded.
thanksHi,
Look at the threads below. There are very good discussions on this topic :
Re: Process Chains Events
events and process chains
Query on using EVENTS in process chains.
Cheers,
Kedar -
Event to trigger Process Chain
Hello Experts,
I need your suggestions to write an event to trigger a process chains after user put text file to server,
but the PC is not run.
here the step what I have done.
a. define an event SM62 "ZEV_PC_START"
b. create abap code to check the file if exist raise the event ZEV_PC_START with BP_EVENT_RAISE.
c. create Process chain.
d. schedule PC after event "ZEV_PC_START"
Could any one tell me the steps in brief. Pointers to any documentation would be highly appreciated.
thanks
supriatnaHi expert,
I need create the abap code to check the file if exist raise the event ZEV_PC_START with BP_EVENT_RAISE.
I don't know ABAP, could you help me with the code?
Could you give me examples, please?
Thanks,
Best Regards. -
Help in Event that start process chain
Hi,
i use the Fm Below to start process chain but its not working What can be the problem?
Regards
CALL FUNCTION 'BP_EVENT_RAISE'
EXPORTING
EVENTID = 'ZIST_SSO'
EVENTPARM = '1'
TARGET_INSTANCE = ' '
EXCEPTIONS
BAD_EVENTID = 1
EVENTID_DOES_NOT_EXIST = 2
EVENTID_MISSING = 3
RAISE_FAILED = 4
OTHERS = 5Hi,
may be you should check your authority. May be you are not allowed to run/schedule a program/chain in background.
regards
Siggi
PS: do a new activation and scheduling of the chain. goto sm37 afterwards and check the processes BI_PROCESS_TRIGGER. There must be at least one waiting for your event. -
Raise event from within process chain
Is there some way to easily raise an event from within a process chain? The only way I know to do this is to run an ABAP program that raises the event.
Hi Shashank,
sorry for the delay: I didn't notice your question. Try this way.
1 - define ABAP Report Z_EVENT_RAISER (see sample code below)
2 - define a variant for this Report (Event Name mandatory)
3 - Call ABAP Report Z_EVENT_RAISER from within your Proces Chain.
This should work
Hope it helps
GFV
*====================================================
*& Report Z_EVENT_RAISER *
REPORT Z_EVENT_RAISER .
selection-screen begin of block parametri with frame.
parameters:
EVENT like BTCH1250-EVENTID obligatory,
PARAM like BTCH1250-PARAMETER.
selection-screen skip.
selection-screen end of block parametri.
CALL FUNCTION 'BP_EVENT_RAISE'
EXPORTING
eventid = EVENT
EVENTPARM = PARAM
TARGET_INSTANCE = ' '
EXCEPTIONS
BAD_EVENTID = 1
EVENTID_DOES_NOT_EXIST = 2
EVENTID_MISSING = 3
RAISE_FAILED = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*==================================================== -
Raise event to trigger process chain
I have to raise the event to trigger the process chain, but I don't have authorizations to sm64, se37 to triger form fm bp_event_raise, can any body please help me in triggering the process chain.
[email protected]Hi,
Execute FM bp_event_raise in se37.
give input parameters:
EVENTID: ******* ( Mandetory , it is in process chain's event)
EVENTPARM: ( Optional)
TARGET_INSTANCE : (Optional).
Then press F8.
that all you need to do.
Hope this will help.
Manju -
How do we raise an event to trigger process chain in BI
Hi Guru's,
I am having Oracle tables as one of my source systems, I developed the code using DBConnect.
Now i need to run my Process chain when ever table get data from downstream systems.
how do we raise an event to trigger the process chain in BI WHEN EVER ORACLE TABLE GET DATA?
Thanks in Advance,
Edited by: Naveen Kumar Kencha on Apr 2, 2008 11:21 PM
Edited by: Naveen Kumar Kencha on Apr 2, 2008 11:27 PM
Edited by: Naveen Kumar Kencha on Apr 2, 2008 11:27 PMHi Naveen,
i think we use ABAP program under general services to generate an event.
searching form gave me following threads which might be helpfull
1) explains Evenet generation [Event raising procedure]
other helpfull threads
[Standard tools for Event raising]
[Event in Process Chain]
i could get the process for triggering it weekly,,,it may giv u some help in resolving
change the Start Process (1st process) in your Process Chain to trigger it to start after the event. To do this, maintain the Start Process of your Process Chain. Select "Direct Scheduling" and click the "Change Selections" icon. This will bring up a Start Time window. Click the "After Event" icon and enter your event name. Also, click the "Periodic Job" (this will insure that all the jobs created for each process in the Process Chain will reschedule themselves after executing the first time). Now save the Start Process, and reactivate and schedule the Process Chain.
To execute the Process Chain, use transaction SM64 to trigger the event.
If you want to trigger the event in batch, you will need to create an ABAP program that calls function module BP_EVENT_RAISE (sample ABAP code is available in this forum if you search for "BP_EVENT_RAISE").
We create batch jobs where we call an external program called SAPEVT, located on the server, and I believe is available on all SAP clients, with the following parameter:
EVTID('WEEKLY_PROCESS') SID(PU3) NUMBER(00) EVTPARM()
This will trigger the event WEEKLY_PROCESS.
See if this helps.
regards,
NR -
Event Collector versus process chains
In a BW upgrade project from BW 3.1 to BI 7 we have all data load processes in BW managed with old feature "event collector".
A very important question : this old feature will continue to manage our data loads in BI 7 or we need obligatorely to create process chains ???
Thanks in advance
AndreasHello,
The event collector will work, but you should migrate all to the process chains.
Regards,
Jorge Diogo -
How to include Events Concept in Process Chain and how to trigger it
Hi
I have Three Process Chains PC1, PC2, PC3 .
I want to trigger there Process Chains by Events .
I want PC1 needs to run every day 7:00am . And once it is finished then PC2 needs to start . And once PC2 is finsihed then PC3 needs to execute .
So please give me step by step process for Process for implementing the Events in this model and give me the steps to include Events concept in my model .
Thanks Alot
Regards
rizwanHi,
You can do this without event also. Schedule PC1 first and then have PC2 as local to your PC1 and PC3 as local to PC2. In that way, as soon as PC1 is done it will trigger PC2 and as soon as PC2 is done it will in turn trigger PC3.
If you want it through an event, first create event in SM62 and you can trigger this event in SM64. Then for the PC1 in start variant, click on select conditions, select After Event and give this event name. Now again its better & efficient to trigger this even automatically, for which you need to write an ABAP program in SE38 and define a variant there. This ABAP program can be scheduled as a background job in SM36, click on Click on step on top. Give program name and variant.Click save.Next click on Start Condition and schedule is as your require it to run. So this background job starts automatically and runs your ABAP program which in turn will trigger your event and PC's will get triggered.
For both the approaches, you have to have PC2 & PC3 as Local chains as I explained above.
Guru -
Live event: same channel same port fail to stream two differ stream type
Hi All,
When I create live event in same channel and same port with differ type streaming (unicast and multicast) I can’t start DME so I cannot start broadcast too and video cannot stream..
I did try and used non-dme live event .. the result still same and video not stream in sns. Im ussualy use this way with last dmm version (5.0.2) and to day I use SnS ver 5.2.1 its not running/ video blank......
anybody know what happening ???
thanks
RDRD,
Lets step back a little and get some more details:
* What type of DME are you using?
* What is connected to the DME providing the LIVE stream?
* Specifically, how do you have the DME configured for your setup?
* Please provide the SCREEN CAPTUREs of your DME configuration on
the SNS
* Have you configured a "Basic" configuration (single channel\port only) on the DME
and SNS with 5.2.1 and have it working? Have you ever got the DME working with SnS 5.2.1
Thanks!
T. -
Why the event latch: cache buffers chains wait event arises and resolution
Can any one please give full information about:
latch: cache buffers chains wait event
Why this event arises and resolution?Google gave me
http://www.pythian.com/news/1135/tuning-latch-contention-cache-buffers-chain-latches/ -
How to Delay an Event in a Process Chain
Hey,
We have a scenario in which we need to schedule a process chain in such a way that,the main chain contains the DSO load and the local chains contains the Cube load (One for NA and other for EU).
I want to schedule it in such a way that two local chains of the main chain should be triggered at different times.hi...
I think its getting pretty complex....instead of writing programs..use simle metachain thing which will solve your issue with simple process chain design.
You have :
Main Chain
{Dso load
Local Chain A(Eu) Local Chain B(Na)
Now what you want is on the first run the main chain should trigger and only Local Chain A trigger.
While on second run
Main chain + Local chain B trigger.
the simplest soultion
Create 2 Metachains like below:
PC1.
Main Chain X
{Dso Load
Local Chain A(Eu)
PC2.
Main chain Y
{Dso Load
Local Chain B(Na)
Now create metachain to combine
Main Chain
{PC1
PC2
So PC2 will start only when the PC1 has finished.
Let me know if it is feasible for you.
Regards,
RK -
Can't Attach Files to Delegate Events on iCal Server
There might be a bug in the iCal Service:
Attempting to attach a file to an event in a delegate calendar using iCal 4.0.4 client for Mac generates an error:
"The server responded with an error.
Access to “Event” in “calendar” in account “First Last” is not permitted.
The server responded:
“HTTP/1.1 403 Forbidden”
to operation CalDAVSetDropBoxAclQueueableOperation.
[Button:] Go offline; [Button:] Revert to Server"
The item might appear to be attached to the event afterwards, even if you chose 'revert to server', but eventually the calendar will refresh without the attachment. We have been able to recreate this behavior on multiple clients.
Anyone know how to resolve this? Thanks.I am having the same problem. The only thing I have found that consistently works is to click rapidly (I use a usb mouse). It isn't the most technical approach but it does the trick. Hopefully the issue will be resolved for good in the near future.
I am using Safari 6.0.2 and Mac OS X 10.8.2
Regards,
Josh
Maybe you are looking for
-
How can select * from training_participant_tab where participant_id = '9020' and company_id IS NULL; returns 5 records and select * from training_participant_tab where participant_id = '9020' and company_id LIKE '%'; returns NOTHING ? field company_i
-
How do I create a new profile in Firefox 3.6?
I would like to create another firefox profile to do multiple version testing however i can't seem to do this in firefox 3.6 Instructions so far have be to run "firefox.exe -ProfileManager" or "firefox.exe -P" in the windows run command prompt but al
-
hai ....this is anitha. iam having some problem regarding the updation of the xml file. i can update the Node Values, its Attributes, its Childnodes etc.. successfully, but only once. first time it is working fine. but when again iam trying to update
-
Every time I download a new app or update an old one it doesn't work. It gives an error message saying it is unable to download the application. I have 2 choices. Retry or done. Retry doesn't work so I press done. What can I do to fix this? Someone p
-
What are pdf attachments?
I have a pdf I created. I'm trying to reduce the file size... something I do quite often (by just going to Document > Reduce File Size). However, in this instance, I'm getting the following message: "This PDF file contains attachments. PDF Optimizer