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
rizwan
Hi,
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
Similar Messages
-
How to create process chains,and how to use process like and or xor
Hi,
How to create process chains,and how to use process like and or xor.
can any one please give me a example in each.
Thanks,
cheta.Hi Cheta,
Here is step by step procedure to create process chains
Process chain is nothing but executing a process ..(or) loading the data any process we can do in background.. that means.. automatically we can execute our process based on Time or any event..
Creating Process Chains
Prerequisites
If you want to include a load process in the process chain, you need to have already created an InfoPackage.
You cannot load flat file data from a client workstation in the background. For this reason, you have stored your data on an application server.
Creating Process Chains
You have the option of creating a process chain in the process chain maintenance screen directly or by using a maintenance dialog for a process:
Creating a Process Chain Directly in the Process Chain Maintenance Screen
You are in the BW Administrator Workbench.
1. Click on the Process Chain Maintenance icon in the AWB toolbar.
The Process Chain Selection dialog window appears.
2. Choose Create.
3. Enter the technical name and a description of the chain, and confirm your entry.
The Add Start Process dialog window appears.
4. Create a variant for a start process.
1. a. On the Maintain Start Process screen, choose whether you want to schedule the chain directly or whether you want to start it using a metachain.
2. b. If you choose to schedule the chain directly, enter the start date value for the chain under Change Selections and save your entries.
The Maintain Start Process screen appears again.
3. c. Save your entries, return to the previous screen and confirm your entries in the Add Start Process dialog window.
You are taken to the Plan View of the process chain maintenance screen.
In the left-hand area of the screen, a navigation area is displayed. In the right-hand area of the screen, the process chain is displayed.
5. Use the drag-and-drop function to add the relevant processes into your process chain.
You use the Process Types function to select the processes. This sorts the process types according to different categories. You can also call up InfoPackages and processes for the data target from the separate InfoSources and Data Targets navigation trees.
Hope this helps
Regards
Karthik -
How to include Query extractor in process chain
Hi All,
According to th requirement I have created Query Extractor using RSCRM_BAPI to upload Query data to application server.
Now it has to be included in PROCESS CHAIN.
Is there any way to include Query Extractor in process chain.
Or is there any ABAP program which can be used to trigger the my Query Extractor and later this program can be used in process chain.
Quick reply is much appreciable.
Thanks,
Uday.s
-
How to include resource files in the application and how to retrieve ?
Hi,
I want to include resource file in my application jar file and retrieve data from the file ......Is there any way for it? How i create these resources files and how i include them?.........Which classes shall i use for retrieving the data from these files?.........Any kind of help would be appreciated........Iam using NetBeans IDE 6.1,CLDC1.0 and MIDP 2.0........Thanx,in advance..........How i create these resources files and how i include them?How you create the files will depend on what resources you need to include.
[How to ask questions the smart way|http://catb.org/~esr/faqs/smart-questions.html]
db -
How to find triggering job for Process chain
Hi,
I have a process chain and its triggering by some other system using an event.
I want to know how to find which ystem is triggering this job means process chain and on what basis it is starting?
I have an event for this process chain and also FM : BP_EVENT_RAISE. So how to find the with those details?
Thanks,
PhaniHI,
some other system means either dev, qas, prd?
for every process in a process chain there is a chain id which is same as the name of your chain,
for every chain id there exist some log ids , this both information you can find from the standard table RSPCLOGCHAIN
From this log id you can find the status of the process from table RSPCPROCESSLOG.
here u will find the status of your process whether is has been completed successfully or ended with errors.
Thanks,
Phani. -
H how to find if the psa table is included in psa deletion process chain
Hi all
can anybody tell me .
I have a psa table it's technical name is /BIC/B*
h how to find the above psa table is included in psa deletion process chain or not
please help meHi
Ope the PC in RSPC1 -->go to planning view of process chain
in left side you will find different types of process types.
under other BW process types folder -->you will find process type "Delete request from PSA"
drag this into your process chain planning view and customize it based on your requirements.
check the below article for step by step procedure
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a02ba9e7-bb6f-2c10-09b4-e86b9fcbad41?QuickLink=index&overridelayout=true
Regards,
Venkatesh -
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 -
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 to create info area for process chains?
How to create info area for process chains?
Hi,
If I understand your question clearly, you want to assign display componets.
once you have created you chain you assign the components by clicking CTRL+F11
Regards,
Namrata -
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 -
How to run Multi provider with process chain
Hi Experts,
I have a process chain (Including 3 cubes) , now i want to run this multi provider through process chain?
can any one give me step by step process?
ThanksHi,
Include 3 cubes in the Process chain.Multiprovider is a structure it will not contain data physically.while running the query it will fetch the data from 3 cubes that u loaded from Process chain and displayed in the report..... -
How to find deleted process chain and query
Hi All
Some body has deleted one process chain and one query from development system
how can i know who has deleted these?
is there any table where deleted process chain and queries will maintain????
Thanks & Regards,
Krishna
Edited by: krishnamurthy g on Sep 1, 2008 5:33 PMHi,
Usually its totally in tractable to find a deleted chain :
But you can try out with the following options:
1> T-code SLG2 .
2> T-code SLG1 - find out who was logged on to the system on that particular client at that time.
3> Try out the following tables in se16 :
RSPCLOGS --- Application Logs for the Process Chains
RSPCLOGCHAIN --- Cross-Table Log ID / Chain ID
RSPCCOMMANDLOG --- System Command Execution Logs (Process Chains) .
Hope it will be expedite.
Thax & Regards.
Vaibhave Sharma -
Process chain failed, how to find jobname ?
Hi all,
My process chain has failed and I can check that in st13 my chain red, how to find the error, i mean the job name and the detailed error for that step. I can see that its in red, if i rite clik and go to process monitor on that and then can u pls tell me how to see the detailed error report for that red step.HI,
i think instead of this you can use the transaction RSPCM
there you can find all the process chains and if they have failed the corresponding process chain status will be red
and when u double click on it u will be directed to the respective process chain and you can find the error
for the JObname of the step failed go to corresponding step right click and display messages
u can find batch monitor u can find the jobname of the corresponding Step
Regards,
MADhu
Edited by: MadhuMarupudi on Sep 2, 2009 7:22 AM -
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 -
How to Convert INFOPACKAGE GROUPS to PROCESS CHAINS???
Hi BW Gurus,
How to Convert INFOPACKAGE GROUPS to PROCESS CHAINS???and what are the
measures i need to take care before doing the same .
prasadHi,
Simply add these infopackage groups into process chain and schedule the process chain.
Hope this helps.
Assign points if useful.
Regards,
Venkat
Maybe you are looking for
-
PDF simple vectors look OK in Preview, distorted in Adobe Reader?
I am working on a document in Illustrator CS5 on Mac OS 10.5.8. The doc is meant to be viewed primarily through e-mail, possibly printed to a desktop printer. I am replacing certain letterforms with vector objects – basically, I'm using simple rectan
-
How To transfer Data From FPGA to Host?
Hi, I am using Crio 9025 Other Input card for my project. I am acquiring current input using 9203, and incoder input using 9411 differencial DI module. I am getting encoder pulse count perfectally in both the direction. Now What i have to do is. i wa
-
Could XI/PI integrate R3 without RFC or IDoc?
Hi, Experts. i got a problem, there is a requirement that my customer wanna to reduce RFC in their R3 by PI, they call it as "RFC migrates to SAP PI" i am wondering that could SAP XI/PI get R3 Data directly without RFC or IDo
-
Maximum amount of Threads on a default computer?
Hello, i'm new and im creating a basic io server. I have 3 threads and then i create one thread per client. So my question was, lets take a default windows xp with 512mb ram, how many threads would there be able to be made, in other words how many cl
-
If I'm on a website and they have a send to e-mail box, when I click the e-mail box the top of firefox starts blinking and a tabs with that e-mail go across the tops of screen, blinking continues until I have to shut computor down to restore.