How to execute a Process Chain from a TCODE?
Hi experts!
I'm facing some difficulties with Process Chain (BW).
I need to start one using a trasaction "Z" but I don't how to do it.
Does anybody know or had an example of it?
Thank you!
Rubens Kumori
hi
you should create on the basis of your requirement an event with T code SM62
after you have to create an ABAP program using the FM BP_EVENT_RAISE to raise the event you created
to create a custom tcode for process chain execution you should create a variant of the standard ZZ_PCHAIN_SCHEDULER
check this link
http://csc-studentweb.lr.edu/swp/Berg/Conferences/SAP_NW2009_and_Admin_2009/pdfs/BI2009_Ravindran_anexpertguideto.pdf
Similar Messages
-
How to execute a process chain from the Manage option of a Cube
Hi,
I have created a planning Cube in BI 7.0 to which I am pushing the data through a workbook. However, the request does not turn into green by itself. For this I am using a FM .I have included this program in a Process Chain. I want this process chain to get trigger itself, the moment the data comes into the cube. This can be done either from the Cube or from the Workbook. Can anyone help me out with this.
Best Regards,
Debashree.Its not a problem thats how real time cube works,
For a real time cube rquest wont be turned green untill the record volume is >10,000.
If the request is not closed(not GREEN status) and you still need to see the data use the specific 0REQUID technical characteristic.
OR
You can close these request using the functional module RSAPO_CLOSE_TRANS_REQUEST
Tips- 3 Variables do exist for these charecteristic as listed below
0S_RQMRC:
You should use this variable if you want a query to also return data that was yet not rolled up into the aggregates. However, only requests up to the first request with an incorrect status are displayed, transactional InfoCubes are therefore read in full.
0S_RQTRA:
Unlike the 0S_RQMRC variable, this only affects transactional InfoCubes. As during normal reading, only the data that is also in the aggregates is read from the other InfoCubes. You can use the variable in queries on a MulitProvider that consists of a transactional InfoCube for planned data and a second InfoCube for the actual data. In this case, the planned dates entered are immediately visible, but the actual data only becomes visible after the usual release procedure.
0S_RQALL:
This variable affects all InfoCubes. If a query contains this variable, all of the data in this InfoCube is read, regardless of whether or not it belongs to a request with an incorrect status. -
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 -
How to execute the process chain using function module
Hi,
How can we execute the process chain when there is any process failed. For ex. when we are running many processes. when loading fails in local process chain, after fixing this error, how can we execute the rest of processes. Can we execute the rest of processes using any function module. Kindly guide me.Hi,
Chk the weblog.
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3149. [original link is broken] [original link is broken] [original link is broken]
Regards,
Balaji -
How to move a Process Chain from one old node to a new node?
Hi,
i know the method to move a PC from one node to the other!
but what if the target node is a new one?
how can i create a node in RSPC?
Rajuse the display components button.
push F4
hit the create button
enter the discription
save
refresh
M. -
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 -
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 execute SQOOP.cmd file from SSIS execute process task?
How to execute SQOOP.cmd file from SSIS execute process task?
What is argument need to be prefixed in the arguments property
Executable: C:\Hadoop\sqoop-1.4.2\bin\sqoop.cmd
Arguments: /C "sqoop import -connect "jdbc:sqlserver://mysystem:1433;database=test;username=myuser;password=mypwd;" -table emp -target-dir /user/emptable -m 1"
Thanks
DurgaHi Durga,
SQOOP.cmd must be no different than any other .cmd/.bat I assume, your question is more about setting the parameters up I guessed.
So unless the arguments change dynamically you can call SQOOP.cmd from yet another .cmd that has its parameters passed to it and the former you simply set to run without the arguments in Execute Process Task.
Otherwise, in general to set a bat/cmd file to run in SSIS one needs to do this:
PS: It is a good idea to populate the working directory with the path to the .cmd
Arthur My Blog -
Is there any way to execute process chain from the portal?
Hello,
Is there any way to execute process chain from the portal? I dont want to link process chain with any of report. I want to have a button in some of portal folders. User presses the button and it executes the process chain.
I was thinking about to create a fake planning cube, aggregation level and planning function. I call FM within the Fox planning function that runs the process chain. But it should be done within the report.
Any ideas?
Thanks a lot in advance!Hi.
I want to have a button in some of portal folders
You mean that you want to use some link in EP ?
Regards. -
How to trigger the Process Chains in BI from ECC
HI Friends,
Can let me know How to trigger the Process Chains in BI from ECC. Please let me know.........Hi,
1) Define a Custom ABAP Program (eg : Z_EVENT_RAISE)..........call the FM : BP_EVENT_RAISE or RSSM_EVENT_RAISE..........and trigger an event towards BW .........specify BW as RFC destination...........
2) Create a R/3 Job in SM36>> use the Program Z_EVENT_RAISE ......
3) In BW schedule the PC..........and in the Start variant use this Event..........
http://sapbiwtutorials.blogspot.com/2009/03/how-to-trigger-process-chains-in-bw.html
It can be help full
Regards,
Edited by: subba2010 on Aug 19, 2010 6:51 AM -
How to stop/cancel Process Chain in BI 7.0
Hi,
Could you tell me how to stop/cancel a process chain that hangs with status yellow or green in BI 7.0? There was an easy option to do it in 3.x, but I cannot find a similar option in 7.0.
What happens is that at random our process chains hang at a certain variant with either yellow or even green status and do not proceed further. What happens is that in a couple of hours another pchain run occurs and it executes fine. Then again at random (might be the same day or the next day) the process chain hangs again. I think that all those "hanged" pchains pile up in the queue, so that it cause other future pchains to hang as well at some point. So, is there anyway to stop/cancel these zombie process chains when it stops at a particular event RSPROCESS in BI 7?
Thank you,
AG
Message was edited by:
AGHi Frank,
Thanks for your reply. I have a few questions.
1)SM37 -->Kill Job
We cannot do that because the job has already finished.
2)SM50/sm66- ->Kill process
There are no hanged processes to kill
3)RSPC>Job Log>Make the process RED forecefully
How do you do that exactly?
4)RSPC>Process chain> main Menu"Remove from Scheduling" OR
5)se37-->RSPC_API_CHAIN_INTERRUPT
give RFC BW system name(technical) and process chain name(technical) - we can do this, but what exactly would it accomplish. Would it remove the process chain from any runs in the future or also any hanged ones in the past? An how is this step different from #4?
Thank you,
AG -
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 -
HOW TO STOP THE PROCESS CHAIN WHICH IS RUNNING IN THE PRODUCTION?
HI ALL,
CAN ANYONE TELL ME HOW TO STOP THE PROCESS CHAIN WHICH IS RUNNING DAILY AT 5.00 PM. I NEED TO STOP THE PROCESS CHAIN FOR COUPLE OF DAYS AND THEN RESTART IT AGAIN.
cAN ANYONE TELL ME THE PROCEDURE TO STOP THE ENTIRE PROCESS CHAIN RUNNING IN THE PRODUCTION.
THANKS
HARITHAHi,
First and foremost let me advice you to be very careful while doing this.
For Rescheduling
RSPC> chain > Goto > Planning view and
click on Execution tab > select > Remove from Schedule and then in Maintain variant of start process reschedule for the day you require it to run.
For terminating active chain
You can start from SM37, find the process WID/PID then go to SM50 or SM51 and kill it. Once its done come back to RSMO and check the request, it should be red but again manually force to red and save by clicking on the total status button in the status tab. This shuld ensure that the process is killed properly.
The next step will be to go to targets that you were loading and remove the red requests from those targets.
Note: For source system loads you may have to check if the request is running in the source system and kill if needed and pull it again.
But for BW datamart delta loads u may have reset the datamarts in case u are going to pull the delta again.
Re: Kill a Job
Re: Killing a process chain.
Regards,
JituK -
How to trigger a process chain using external scheduler ?
Hi all,
we have a requirement wherein we need to trigger the process chains from an external scheduler used by client rather than directly scheduling it through BW scheduler.So any pointers on this will be heplful.Hi we have had a same scenario like this. You can schedule it using schedulers like autosys. Speak to your basis team and see if you have the autosys software installed or some thing similar to that. You have to write a program which calls the function RSPC_CHAIN_START. When you excute this program, it willl ask for a variant to execute. this variant will be the start variant of the process chain you want to trigger.
the flow will be like the basis team will schedule the autosys or the scheduler to run the program and this program will in turn trigger the process chain.
regards,
Satish. -
How to trigger a process chain after R 3 job
Hi All,
We have a requirement to trigger a process chain immediately after the completion of R 3 job.
could you please give me your input in this regard.
ramaTry to Search first. This has been discussed a lot in this forum.
Try these:
Triggering a Process Chain From R/3 pgm
There is even an OSS Note on how to do this:
Trigger process chain using event
Maybe you are looking for
-
The workings of Photoshop's color management
Hey guys! I've been spending some time researching and trying to understand the workings of Photoshop's color management and come across a lot of fuzzy and contradicting information, particularly regarding the Proof Setup. I think I have figured some
-
Use of Router Header Status Code 9 - "Withdrawn"
Hi Folks , We have a significant number of material numbers that currently have routings - but are being converted to Phantoms. Normally, this would mean deleting the routings. However, since a significant amount of effort went into creating these r
-
SSIS How to set Tolerance levels via parameters
Hi all I am after some help as pretty new to SSIS. I need to write some validation requirements on data which needs to be in SSIS. What I want to achieve is setting Tolerance levels on two fields. Field A has a tolerance lvl of 0% Field B has a toler
-
Problems playing sound after installing 10.4.4
After installing 10.4.4 update, i have a problem when i play some mp3 file in itunes or quicktime 7.0.4, it sounds with jumps and cracking. I've reinstalled the update using the combo, repair permisions, reinstalled quicktime and nothing happens. Any
-
Why is oracle limited appropriate to save any kind of xml documents
hey, currently i´m student of health informatics in dortmund (germany) our next test is about oracle database. i do now know a lot about it. but there is one open question and noone can give me an answare... why is oracle limited appropriate to save