How to execute process chains using planning function
hi, i need to execute process chains from web. i know the steps to that needs to be followed for accomplishing the task.
1) RSPC_CHAIN_START ( function module) into which process chain has to be passed
2) create a planning function to invoke the said function module
3) create a function button on web and assign the planning function.
Now the thing is how to create the planning function in BPS. plz provide me a solution with steps. And how to pass the process chain into the function module and handle it.
Thnaks
Hi Anand
RSPC_CHAIN_START is the standard function module to run a process chain which i want use. Now, how to use the said FM in planning function to achive my task. Do i need to maintain any parameter in planning function inorder to execute the FM. If you know the solution plz explain in detail.
I am very new to BPS..bare me plz
Thank you
Similar Messages
-
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 -
Execute Process Chain Using ABAP
Hi All,
Is there any standard ABAP Code or Function Module through which we can execute the Process Chain Manually.
Regards,
AnujaHi,
this forum is for the SAP integration with SAP businessObjects BI. The entry should go to the BW forum
ingo -
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 trigger a process chain using ABAP?
Does anybody know how to trigger a process chain using ABAP code?
Any help would be appreciated!
Thanks
IoanHi Ioan,
try this in your ABAP:
CALL FUNCTION 'BP_EVENT_RAISE'
EXPORTING
eventid = 'Your Event'
eventparm = 'START'
target_instance = ' '
EXCEPTIONS
OTHERS = 01.
and schedule your process chain, waiting for 'Your Event'.
regards
Siggi -
How do you run a Process Chain using parrallel processing group
Does anyone know the answer to the above question please?
The problem i am getting is that currently the Process chain is running on the client server and is timing out!
is there a config setting or some other setting that is needed to stop it from timing out?Hi Jas Matharu,
Hope the following links will give u a clear idea about process chains and clear ur doubts.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/events/sap-teched-03/using%20process%20chains%20in%20sap%20business%20information%20warehouse
Business Intelligence Old Forum (Read Only Archive)
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/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
/people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
Siggi's weblogs for data load error and how to restart process chain
/people/siegfried.szameitat/blog/2005/07/28/data-load-errors--basic-checks
/people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
****Assign Points If Helpful****
Regards,
Ravikanth. -
Program to execute Process Chains in APO
I'm trying to find a program in APO that can execute Process Chains. Is there any standard program in APO that enables to execute Process Chain? or does a custom program need to be created?
Hello Jaroslav,
A process chain can run on it's own without an external ABAP program triggering it. Here are some examples:
1) You can set your process chain to be triggered by SAP event. Create the event in SM62 and then use that in your chain. Then trigger the event using SM64 and your chain should run after that.
2) You can just schedule your chain to run on a specific date or in some periods.
If you really want to trigger your process chain using an ABAP program or planning book macro or whatever custom functionality, then you can use function module RSPC_API_CHAIN_START.
Hope this helps. -
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 stop process chain, if it is taking too much time than expected.
Some times if a process chain takes to much time to finish than expected, how I can stop the process chain and execute it again.
Thanks in Advance.
Harmanhow I can stop the process chain ??
If the job is running for a long time ,
1)GOTO RSMO and SM37 and check the long running job over there.
2)There you can see the status of the job.
3)If the job is still running you can kill that job
4)delete the failed request from data target.
for more details go to this below link
how to stop process chain if it yellow for long time
how I can execute it again ?
GOto Function module RSPC_API_CHAIN_START
and give u r process chain name there.and execute. -
Process Chain Review Question: function module/ABAP program/Event
Hi,
1. Can you tell me a bit more about function modules such as RSPC_CHAIN_ACTIVATE_REMOTE
2. What are function modules in general terms. i.e. What is their role?
3. How do I see all function module available?
4. When is function module used instead of ABAP program?
5. How do they help in the support and monitoring of Process Chains?
6. I am getting confused over the following under process chains job, event, function module and ABAP Program
Thanks2. What are function modules in general terms. i.e. What is their role?
Function module return a value ( most of the time), they return some value either a single value of rane of value or even a table. Example: FM to return fiscal period gieven the fiscal vaeiant and system date.
3. How do I see all function module available?
Go to Se37 and this is function builder. You will find FM starting with RS* more useful. You cna also create your own in Se37.
4. When is function module used instead of ABAP program?
In addtion to answer I gave in 3 above, program is used to check some logic and update some tables or give screen output.
You may note FM is also a program.
5. How do they help in the support and monitoring of Process Chains?
As I said, for monitoring chains, use Sm37 and logs in RSPC.
6. I am getting confused over the following under process chains job, event, function module and ABAP Program
I am not clear what are you looking for.
You cna schedule a FM or a program to run in a chain. Is that what you mean?
Ravi Thothadri -
How to perform process chain monitoring
Hi All,
can u send me the steps how to perform process chain monitoring and what to do if we get any error in any process in the process chain. if possible if any one have the screen shots how to do kindly send me that link.
Thanks & Regards,
NaveenTransactions used to monitor the Process chains
RSPCM
SE38 >/SSA/BWT or ST13>BW-TOOLS
--> clic on execute --> select the process chains radio button --> execute
--> click on process chains -->if you want to monitor the specific process chain enter the process chain id or if you want to monitor the process chains that are running in a particular date and time interval simply enter the values and click on execute...
it will display the process chains status and time of the runs etc... -
Use Planning Function to calculate new value
Hi All,
I have what seems to be a simple problem, but no success in resolving.
I have 3 planning keyfigures:
-Units
-Price
-Value
The price field is populated from another planning sheet.
The unit field is entered by the user.
The value should be calculated by planning function when button pushed.
I have tried just basic "Value=Units*Price", but always comes back zero.
I have also tried more complex "{Value, CharA, CharB, CharC} = {Units, CharA, CharB...." for each characteristic. Still zero.
It must be multipling by zero, but not sure how to avoid.
If I put "Value=Price", it works. If I put "Value=Units", it works. If I put "Value=Units+Price", it works.
Please help.
Terrence
Here is the details.
In the infoprovider the data is like this:
Country/ Product/ Unit Sales/ Price/ Value
DE/ Shirt/ 50/ 0/ 0
DE/ Shirt/ 0/ 100.00/ 0
The query is display:
Country/ Product/ Unit Sales/ Price/ Value
DE/ Shirt/ 50/ 100.00/ 0
I have tried the following 2 formulas:
Formula 1:
= {Unit Sales} *
Formula 2:
FOREACH Country, Product.
{Value, Country, Product} = {Unit Sales, Country, Product} * {Price, Country, Product}
ENDFOR.
Both return zero for values.
Thanks,
Terrence
Here is the details.
In the infoprovider the data is like this:
Country/ Product/ Unit Sales/ Price/ Value
DE/ Shirt/ 50/ 0/ 0
DE/ Shirt/ 0/ 100.00/ 0
The query is display:
Country/ Product/ Unit Sales/ Price/ Value
DE/ Shirt/ 50/ 100.00/ 0
I have tried the following 2 formulas:
Formula 1:
= {Unit Sales} *
Formula 2:
FOREACH Country, Product.
{Value, Country, Product} = {Unit Sales, Country, Product} * {Price, Country, Product}
ENDFOR.
Both return zero for values.
Thanks,
Terrence
Trigger Process chain using ABAP code
Hi All,
As per my knowledge there are 2 ways to trigger a process chain using ABAP code :
1) Using FM RSPC_API_CHAIN_START and passing process chain name as the parameter
2)Using FM 'BP_EVENT_RAISE' and passing process event as the parameter, which you can create using SM62 transaction.
I would like to know which one is better to use, in terms of advantage and disadvantage.
Thanks,
Praveena
Hi praveena,
check these links ..u .may get some help
Process Chain
Process Chain
How to run a Process Chain
Process chain-parallel process
Regards
BILL
How to Trigger process chains??
hi all
How to Trigger process chains??
Can anybody step by steps??
thanks
Senthil
The background control options are available to directly schedule the start process. You can start the start process immediately , that is when activating the process chain, for a specified time, or after a particular event. When you activate the process chain, the start process is scheduled in the background as defined in your selections.
You can also trigger the start of a process chain via a meta chain. A meta chain is when a process chain, to which you set this start condition, is fixed to another process chain. The process chain is started directly by this meta chain.
When you start the start process via a meta chain, it is not scheduled after you activated the related process chain. The process is only started when the meta chain, to which it is linked, is running.
The remaining chain processes, that is the application processes and the collection processes, are scheduled to wait for an event.
The start process has the following special features:
Only the start process can be scheduled without a predecessor process.
The start process can not be a successor to another process.
Only one start process is allowed for each process chain.
One start process can only be used in an individual process chain
Hi,
We've got sap bw 3.5 installed.
We are using API RSPC_API_CHAIN_START to start executing process chains.
IF we are using param I_SYNCHRONOUS = 'X' then if we have parallel processes in chains they are executing one by one.
IF we are setting param I_SYNCHRONOUS = '' then proccesses are executed in parallel. But I recieved all the prompts. For example for chosing background server.
and others.
Is there an opportunity to combine these 2 cases: not to have prompts and execute processes in parallel?
Thanks for you help
Andrey
Hi,
I tried without I_SYNCHRONOUS param, it works the same as I_SYNCHRONOUS = ''. I recieve all the promts.
Thanks for you help.
Maybe you are looking for
-
Account Lockout issue between Apple devices and Exchange 2003
I have been having an ongoing issue for a couple of months with a few different users Apple devices locking out their accounts in AD when they try to authenticate to ActiveSync. This doesn't happen every time they authenticate, it seems to be random
-
working on a new website .I want to cut and paste information from microsoft. firefox is not letting me.
-
LR4 White Balance Numbers Differ w/ Nikon D4 and D3s
I've noticed that LR interprets the white balance settings differently for my raw .nef files coming from my Nikon D3s and D4 bodies; even when a specific kelvin temp is chosen in camera. Here's a few examples: D4 flash WB, LR shows as 6150, +2 D3s fl
-
Associating file with a particular Application
Hi. How can I associate a file, meaning that I want only a particular application can write to the file. Im creating an application that uses an XML file as data storage. I dont want any other applications (e.g Notepad, word) to write into it other t
-
Photoshop upgrade to CS6 won't install with qualifying CS5
Trying to upgrade to Photoshop CS6 and I have serial number from CS5, which I own, but it says this is not a qualifying upgrade.