Chain of events in DataLoading
Hello Masters,
I would like to know from the forum the chain of events when an InfoPackage is Triggered.
please explain in detail.
Thank you,
Its my pleasure to assign points,
raj
Thanks for the reply BB,
But in the first step
"It starts executing the Data extraction from the source system", I guess there are many sub-steps, like, what we see in the Details tab of the Monitor,
Requests(messages): Everything OK
Extraction(messages): Missing Messages
Missing Messages:Request recieverd
Missing Messages:No of send records
Missing Messages:Selection Completed
Transfer(IDocs and TRFC):Missing Messages
Processing(data packet): No data
Process Chains: Not yet completed/warning.
Could you please explain these steps?
That would give me a complete picture.
Thanks in advance,
raj
Similar Messages
-
Process Chains with Event Trigger
Hi Experts,
Happy Valentine day.
I have a requirement to run a Process Chain using Event IDs. Now these Evenrt ID should be triggered by a Program which raises this Eovent. Then this Program should be scheduled in BAckground to run periodically. Has anyone done this before. If yes, could you please shower some light on this topic with details on the steps.
Thanks
DVHi,
1)You can make the process chain to be trigered by an event.
You create user events in SM62. In SM62, next to "User even names", click on Maintain and press Enter. Click on the Create icon to create a new event (let's call it ZEVENT).
Next, in your process chain, change the Start variant to be scheduled "After event", and put in ZEVENT for the event name. Also, click on the "Periodic job" at the bottom. This will automatically reschedule the jobs for the process chain after it executes.
Next, create an ABAP program (let's call it Z_EVENT_RAISE) to call the function module BP_EVENT_RAISE. You're code can look like this:
codeREPORT Z_EVENT_RAISE.
PARAMETERS: P_EVENT LIKE TBTCO-EVENTID.
CALL FUNCTION 'BP_EVENT_RAISE'
EXPORTING
EVENTID = P_EVENT.
IF sy-subrc 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.[/code]
This ABAP program will prompt for an event name, so you will need to create a variant (let's call it ZEVENT) which will save the value of the event name (also ZEVENT). You will need the variant name to be able to trigger the event in a batch job.
Now all you need is the batch job. Use tcode SM36 to create a batch job where you call the ABAP program (Z_EVENT_RAISE) using the variant (ZEVENT).
Note, SM64 only triggers an event manually.
and you can copy this job to schedule it three times a day.
2)In the Start process of your process chain, select Direct Scheduling and then click the Change Selections icon. This will bring you to the Start Time window where you can put in the Date/Time you want to start your process chain. At the bottom of this window, click on the Periodic job box and you will notice another icon way at the bottom called Period Values. Click this to determine what frequency the job should be rescheduled (ie. daily, weekly, etc.).
3)you can do this by right-clicking on the start process, selection "Maintain Variant", choose "Direct Scheduling". Next select "Change Selections", pick your date and time, set your period values and you're done.
Thanks,
JituK -
Difference between process chain and event collector
what is the difference between process chain and event collector and also plz explain about metachain.In what scenarios they are used.
Many Thanks,hi,
have a look at these help docs
Process Chain:
http://help.sap.com/saphelp_nw04/helpdata/en/8f/c08b3baaa59649e10000000a11402f/content.htm
Event Collector:
http://help.sap.com/saphelp_bw30b/helpdata/en/c1/6c0538c7cb583ae10000009b38f8cf/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/6e/192756029db54192427cf6853c77a7/content.htm
Creating an event colector:
http://help.sap.com/saphelp_bw30b/helpdata/en/45/253d3873130057e10000009b38f842/content.htm
regards
sham'm -
Process chains and event collectors
Hi All,
I need help in Process chains and event collectors.I joined in new project and this client using process chains and event collectors and they ask me to work on these areas.I didnt work on this as of now So please send any docs on this area and explain the procedure and technology methods behind this concept.I would really appreciate If someone can send me the full documentation on this concept as I couldnt find any any docs on this.
Thanks,
RasHi Ras,
Process chains are a sequence of processes to be performed. The are put together in a chain with the necessary dependancies (process A needs to finish before B can start) and conditions (if A and B are successful then C else send an email), and then scheduled. They usually revolve around processes related to data loading: Load, activate, roll up, compress etc.
Please take a look at this links/threads for more info:
http://help.sap.com/saphelp_nw04/helpdata/en/8f/c08b3baaa59649e10000000a11402f/content.htm
process chains
process chains
Process chains
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
Process Chains
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8da0cd90-0201-0010-2d9a-abab69f10045
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/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
Re: Ho to make a variable mandatory or optional?
There are lot of threads available in the SDN....go through them.....hope it really helps you in getting understand what are process chains and Events included in that.
Assign points if it helps you.
Regards,
Sreedhar -
How to find Process chain for event and parameter
Hi,
I have Event and parameter for the process, I wanted to know the which process chain does that process belons to.
Is there any table where I can see those.Hi,
Try these tables.
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
Hope this helps.
Thanks,
JituK -
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/ -
Process Chain after EVENT - More than once
Hi all, I would like to run a process chain after an event; everything works fine with the following model...
PC1 >>
>> some processes
>> EVENT TRIGGER
PC2 >>
(after EVENT) runs ok after event ONLY if I SCHEDULE it
After succesfully run, I've tried to run again immediatly PC1 again and it runs ok, even triggers mentioned EVENT, but PC2 never runs again until I manually SCHEDULE it.
The answer is: how should I SCHEDULE the process chain PC2 so I'll "never" need again to SCHEDULE it when I want it to run after event triggered on PC1?
Hope you can help me.
Thanks a lot!
BernardoHello,
Both process chains are separated. At the model I described, at the end of PC1 event is succesfully triggered. After event is triggered at PC1, PC2 triggers correctly due it is scheduled as "after event".
Everything works fine, then, if I trigger PC1 again it runs correctly; event is triggered succesfully but PC2 (that is scheduled as "after event") doesn't runs; this is because I haven't SCHEDULED it again (after the first succesfully run).
What I want is not schedule PC2 after a succesfully run. Is there any way to reach that purpose?
Thanks again!
Bernardo -
Process Chain - Multi Event in Report ABAP
Hi,
I should build a ProcessChain containing a report ABAP that verify the existence of 3 files on the directory and what in base to the event performs a process type or another. How am I able to set the Interface IF_RSPC_MULTI_EVENT and to pass the parameter from report ABAP for multi_event ?
Thank You.Hi
Toi integrate an abap program in a process chain it's not necessary to modify the abap object logic. It's necessary to insert a Object ABAP Program
check this link for a typical example of abap programming in process chains
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7
Andrea -
Trigger process chain using event
Hi all,
Id like to know if someone ever faced this kind of situation.
I have a process in R/3 and it must run every day, and when its finished I have to start a process chain in BW.
I thought to do this using events. So, I created a Job that executes this process and added a step( an ABAP program ) that generates an event in a target system, BW.
The program is this one:
PARAMETERS:
p_eventi TYPE btceventid,
p_eventp TYPE btcevtparm,
p_server TYPE btcserver.
Obligatory parameter: EventID.
EventID should be an existing event already defined in transaction
SM64 or using CREATE method of class CL_BATCH_EVENT:
p_eventi = 'SAP_TEST'.
Optional parameters: event parameter and target server.
p_eventp = 'Event parameter'.
p_server = ''.
CALL METHOD cl_batch_event=>raise
EXPORTING
i_eventparm = p_eventp
i_server = p_server
i_eventid = p_eventi
EXCEPTIONS
excpt_raise_failed = 1
excpt_server_accepts_no_events = 2
excpt_raise_forbidden = 3
excpt_unknown_event = 4
excpt_no_authority = 5
OTHERS = 6.
CASE sy-subrc.
WHEN 0.
EXIT.
WHEN 1 OR 2 OR 3.
Raise failed.
WHEN 4.
Event does not exist.
WHEN OTHERS.
Raised failed due to unknown reason.
ENDCASE.
The execution of the job appears to be OK, but I checked the log at SM62 and couldnt find any entrie, and the process chain didnt start too.
I created the event at BW and R/3 side, informed the variant with event / server in R/3, etc.
Im missing some step??
Best Regards,
TomasThis is what this note does. From R/3, it will trigger an event in BW.
You can also read this post:
Triggering a Process Chain From R/3 pgm
Hope this helps. -
Infopackage laoding scheduled in Process Chain and events involved
Hi BW-Experts,
Till now I was loading a infopackage normally and it had an subsequent event. Now if I schedule this infoapckage in process chain will it raise event after the load finishes.
Thanks
Arun PurohitIts BW 3.5
in it when we go into infopackage we get options like..
Scheduling Options
Subsequent Processes
in subsequent processes we can tick on chk box for triggereing event.......
if I load this infopackage without Process Chain then it will raise event after load finishes....
my query is?
will this infopackage raise event if I Schedule it thru Processs Chain after load finishes..
Edited by: Arun Purohit on Jan 16, 2009 2:24 PM -
URGENT:Process Chains And events Related
Hi All,
I have created a new process chain which is a normal ODS Process Chain.For that I started with the start Process and then created event in sm62 to trigger the start of process chain.Similarly,I have at the end of the process chain ,I have added 2 ABAP Programs ,one to mark the successful completion of process chain and another to mark the Error or Unsuccessful completion.For these programs,I maintaines Processvariants and here, we have utility Programs.So used the relevant utility program and created a program variant and Events ,One for successful completion of process chain and another to mark the Error or Unsuccessful completion.
But ,Now ,I find that when I trigger the eventin sm64,I find that the process chain is not being run.Is that any problem with the events I created.This is the first i am involved with creation of events in SM62.Can anyone help me in this regard.
Can anyone,tell me thatdo we need to do anything else apart from Creating events .Imean like assigning jobs and then Programs in the Step of that Job.
Please Kindly help me in this regard.It is very very urgent for me.Thank you.Points will be assigned.
Regards,
SamirHi,
I have tried in the same way you have said .I have maintained as after event and activated and scheduled.after that i triggered the event insm64.But still,I am not able to see the Load in RSMO.
I have just checked out in sm37.And found that some jobs have failed.I think this might be the reason for the Process chain to not run.
I am just pasting the error msg and solution.
Job BI_PROCESS_ABAP, waiting for event RSPROCESS 489W6WH6I7OHV7BL3N9909F7F, has no predecessor
Message no. RSPC003
Diagnosis
Although job BI_PROCESS_ABAP has been started by event RSPROCESS 489W6WH6I7OHV7BL3N9909F7F and is recognized in the process chain, the current run for this process has no job preceding it.
This is why the system was unable to determine a log ID, and the chain is broken.
System response
The job has been terminated.
Procedure
With the exception of the start process, each process must have a process that precedes it.
Then Another error for the another cancelled job is
Job BI_PROCESS_OR, waiting for event RSPROCESS 489WC2QYBC4AJSYILQ10TWABF, has no predecessor
Message no. RSPC003
Diagnosis
Although job BI_PROCESS_OR has been started by event RSPROCESS 489WC2QYBC4AJSYILQ10TWABF and is recognized in the process chain, the current run for this process has no job preceding it.
This is why the system was unable to determine a log ID, and the chain is broken.
System response
The job has been terminated.
Procedure
With the exception of the start process, each process must have a process that precedes it.
Please kindly help me if you understand the problem.
Thanks,
Samir -
Need to find process chain from event
Dear Experts,
I need to find out all process chains which are getting triggered by a certain event.
( I have an event name , need to find corresponding process chain ).
Kindly suggest.
Regards
Vaibhav HaldeHi,
In SM37 you can find it, give event in SM37 an dsee the log. In the following blog you hav esome comments on the same so see the comments.
How to trigger the Process Chains in BW from ECC
/people/surendrakumarreddy.koduru/blog/2009/03/18/how-to-trigger-the-process-chains-in-bw-from-ecc
Thanks
Reddy -
Start a proces chain with event
How to start a process chain with "after event"??
i followed these steps
1. i created a event some "Ztest1" with sm62
after that i created a process chain start conditions(start varient) like after event i that i mentioned "ztest1"
after that i went to sm64
i triggered that event but my chain was not started????/
any sugg..... y it happened -
Change part of property chain on event
This may be a noob question, but I can't seem to figure it out by myself.
I want to change a part of a property chain on a click event. For instance:
{get_dataResult.lastResult.staticvalue1.dynamicvalue.staticvalue2}
must change after a click event to
{get_dataResult.lastResult.staticvalue1.itworked.staticvalue2}
If someone can point me in the right direction I will be verry thankfull.Hi,
You have to create a broadcast setting and mention the distribution type as export to cache.
Set other attributes of the broadcast setting as required.
Then in the process chain use the process type trigger event data change for broadcasting and mention the infoprovider name which has been loaded by the process chain.
The broadcast setting is scheduled to execute on the data chage event of its base infoprovider.
So when the process chain runs this event process, an event is fired which executes the broadcast setting, which will load the cache..
Regards,
Sunmit. -
Hi,
Is it possible to chain up several event case which are in an event structure? Without changing this structure by a sequence structure.
For example: you have one button per event and there is one button "do it all" which chain up all the buttons
I appreciate your support, tks in advance.
DidoOr have a look at the "producer-consumer-design pattern" with events http://zone.ni.com/devzone/cda/tut/p/id/3023
This is a powerful tool to do what you want...you can define the reactions to your events in the consumer loop and fire these reaction as you like...
Greetings
Christian
THINK G!! ;-)
Using LabView 2010 and 2011 on Mac and Win
Programming in Microsoft Visual C++ (Win), XCode (Mac)
Maybe you are looking for
-
(Mid-2009 MacBook Pro) Black screen on windows 7 disk boot up
Just tried to boot up from a windows 7 install disk, but I just got a black screen. Nothing else happened. Tried using an xp and vista disk also, but they both produced the same results. I've installed windows plenty of times from this computer befor
-
Apple, what have you done? 8.01 makes my ipad seems like it is back on dial up. Don't fix what ain't broken, or is your policy break it so we have to fix it?
-
File upload and download through web Dynpro2.0.9. with Java
Hai All, I am working in web Dynpro2.0.9 with Java.For file upload and download "IWDResource" is used.But this package is not available in web Dynpro2.0.9.How to download and upload files through using this version? Anyone can help me? Th
-
Why can't I download new apps on my touch 4th gen?
I keep getting an error about something missing in my account
-
Suspend / Resume problem with -ck kernels.
Sometimes with the linux-ck kernel my laptop doesn't suspend / resume correctly. Sometimes when suspending my laptop will take "extra long" to suspend. When it resumes the processor & fan will turn on, but the suspend light will still be blinking and