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 Halde
Hi,
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
Similar Messages
-
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 -
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 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. -
Trigger process chains from UNIX
Hi,
I just wanted to know how can we trigger Process chains from UNIX Server.
Any pointers will be appreciated.
ThanksI suggest to use the sapevt.exe.
With it you can trigger an event in the SAP system with the execution of a simple command file (.bat for ex.)
So the event will start the chain as you require.
You can find more info for sapevt in:
http://help.sap.com/saphelp_nw04/helpdata/en/fa/096e6b543b11d1898e0000e8322d00/frameset.htm
Regards,
Sregio
Did you try that?
Message was edited by: Sergio Locatelli -
How to find process chain using background job in sm37
How to find process chain using background job in sm37
Better is to select the job.
Select (Define) Step (s) or F6.
Select the line and Menu Goto>Variant.
The variant contains the name of the CHAIN and its VARIANT.
Success
We faced an old job and via job monitoring we were informed about a cancelled job every 'interval'.
We noticed that the related chain was deleted but still the job was scheduled each interval again and was cancelled because an event was missing
We could not find the scheduled job via SM37.
Via view V_OP, view over tbtco abd tbtcp, we find the related entry.
We delete these entries via function BP_JOB_DELETE....
Edited by: Jack Otten on Jul 9, 2010 2:50 PM -
How to move the process chain from Unassigned node to a new node in 3.5?
Hi all,
I have created a new process chain in the development and it is falling under the Unassigned nodes. I want to move that process chain to an another node. but i am unable to do that
Can anyone let me know how to move the process chain from unassigned node. I have drag and dropped but still the same in BW 3.5 ?
Thanks
PooojaHello,
Try this....
Double click on your process chain. Via the menu select:
Process chain > Attributes > Display components
Select F4 (possible entries)
At the bottom of the window you will find a create icon
to make your own component.
After you created it, assign it to your process chain.
Don't forget to save the process chain.
Regards,
Sivaram -
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 -
Do we need to create process chain explicitly nor system generates process
Hi all,
Do we need to create process chain explicity in bpc netweaver nor the system generates it internally when we run data managment packages
thanks
PoojaWhen you install BPC, there is a set of delivered process chains which are installed as well. You create the data manager packages from the BPC Excel clicent based on these process chains. You can of create custom BPC process chains in NetWeaver and create packages from those as well(for example via a How-To guide). So to answer your question, no, you do not have to create the "standard" process chains, and they are not generated by the system either, they are delivered as part of the BPC installation.
Regards,
Rich Heilman -
Restarting Process chain from the middle
Hi all, I have a question about process chain in BW7.0.
When the error has occured in the process chain, is there any way to restart the process chain from where the error has occured?
One of the way I came up with was to set the process type into Repairable from Repeatable,but when I try to change the status,the warning message shows up and I can't change it.
Is this the right idea,or is there any other way to do it?
Can any one tell me?
Thanks in Advance,
Hiroshi IwanagaFirst of all, find out the rootcause of the failure of the process step that failed and finish it manually. Then, go to the process chain...
Open the messages of a failed step by right clicking on it and selecting 'display messages'.
In the opened popup click on the tab 'Chain'.
In a parallel session goto transaction se16 for table rspcprocesslog and display the entries with the following selections:
1. copy the variant from the popup to the variante of table rspcprocesslog
2. copy the instance from the popup to the instance of table rspcprocesslog
3. copy the start date from the popup to the batchdate of table rspcprocesslog
Press F8 to display the entries of table rspcprocesslog.
Now open another session and goto transaction se37. Enter RSPC_PROCESS_FINISH as the name of the function module and run the fm in test mode.
Now copy the entries of table rspcprocesslog to the input parameters of the function module like described as follows:
1. rspcprocesslog-log_id -> i_logid
2. rspcprocesslog-type -> i_type
3. rspcprocesslog-variante -> i_variant
4. rspcprocesslog-instance -> i_instance
5. enter 'G' for parameter i_state (sets the status to green).
Now press F8 to run the fm.
Now the actual process will be set to green and the following process in the chain will be started and the chain can run to the end.
Of course you can also set the state of a specific step in the chain to any other possible value like 'R' = ended with errors, 'F' = finished, 'X' = cancelled ....
Check out the value help on field rspcprocesslog-state in transaction se16 for the possible values.
Assigning points is the way of saying thanks in SDN. -
Removing process chain from schedule
Hi Gurus
I have a very basic question, under what circumstances do we take a process chain out of schedule? Till now i was being asked to make occasional changes in Process chains and then revert them back later,i did this activity of changing(adding or removing processes) after removing process chain from schedule( i was asked to do that)...
Now i need to edit recipient list(add one recipient's name ) in alll the process chains where success and error messages are present.
I want to know whether i need to remove the chain from schedule before starting with this activity.
If one chain contains multipe individual chains and every individual chain contains messages,do i need to remove every chain from schedule and edit the recipient list....or this is not required and i can simply open individual chain containing messsages in edit mode and edit the recipient list and save the changes and follow the same for all chains?
kindly help.Hi,
We would normally be asked to remove the process chains from schedule during any upgrade activities. or it can also be related to any particular flow - this is in case particular process chains are asked to be removed from schedule. This may be due to adding an intermediate step in between the flow or any such scenario.
And you can change the recipient list when the process chain is running also, because here you will not actually be editing the process chain but will be editing the "message" object. just click "edit message", save the message and come out, do not click save when you are in the process chain maintenance screen.
Hope this helps.
Regards,
Joe -
Hi Experts,
I developed some new testing process chains in my development system, now i need to delete Process chains?
i cannot find out the way? can any one help on this?
Thanks in advance
DavidThanks Mti my problem is solved
Edited by: david Rathod on Nov 23, 2010 3:29 PM -
Process chains from the flat file by using filezilla client version in BI
Hi experts,
please let me know how to create the process chains from flat file by using filezilla client version.
so far, I didn't work with file zilla FTP. can anybody give detailed step by step procedure to find the flat files and download them and creating process chains from that flat file.
Thanks & Regards,
Babu..Hi,
Check these:----
Process chain configuration for Flat file loading
http://wiki.sdn.sap.com/wiki/display/BI/Howtowriteroutinetofetchcurrentday%27sfilename
Regards,
Suman -
How to find process chain transport no
Dear experts,
I have made some changes in existing process chain and while saving it did not ask me for a transport request.
So I want to check if the process chain has been created as local.
Is there any way to check this. I was looking for some object directory option to check , but could not find.
Please help.
best regards,You can check this in various ways:
1) simply go to transport connection in rsa1 and drag the process chain to right hand side...there you can see the transport number...
2)Go to rspc -
> process chain from menu bar ---> attribute ---> last change by -> see object catelog--> hit the diplay button for person responsible -
> there you can see the lock view -
Is it possible to run process chain from the certain process/point?
Hello
Is it possible to run process chain from the certain process?
How?
ThanksHello,
yes it possible! use the following steps.
1. Goto the process which you want the chain to start from.Goto display messages>> Chain tab. In the generated instance note the variant and instance.
2. Goto table RSPROCESSLOG and give variant and instance and get logid details.
3. t codese37>> run FM RSPROCESSFINISH.
4. give the deatils u have got in RSPROCESSLOG table here and say execute.
This will solve ur problem.
Hope this helps!
Reg
Deepmala
Maybe you are looking for
-
IPod Touch not picked up extending Airport Express
I have an Airport Extreme Base Station and two Airport Expresses that are both used to extend my Wi-fi. My problem is that my iPod Touch 3 - running IOS 4.1 - fails to pick up one of the extending Airport Expresses. My laptop and an iMac pick it up j
-
Aperture 3 - Syncing and Merging Laptop and Desktop - Finally?
I've been waiting for this forever! I downloaded the new version this morning, and can't find anything in the user manual or in the Apple topics about how to do this......... can anyone help? From Macworld review.... "A photographer with a MacBook Pr
-
ATT says my 3G MicroCell has been tampered with!!
I have had this unit for 3 months. It worked for the first two months and then stopped working. I called ATT to troubleshoot or replace unit and they said it was tampered with and that there was nothing they could do. MY UNIT IS BRAND NEW. AND NE
-
Hi friends, I am looking for solution or approach for my requirement. Issue: We are creating a Opportunity from Lead based two conditions. Condition 1: Lead status is HOT Condition 2: If Channel Partner exists in Partner tab. If above two conditions
-
I have a early 2008 macbook pro and want to connect it to a tv what cord should i use the tv uses RCA so if that helps