How to run process chain in day of 20 and 2 every month?
Dear all,
I have to run process chain in day of 20 and 2 every month,but the settting of PC just allow Scheduled start every month once
time.
Please tell me the way of setting process chain.
Thanks.
Hi,
(1) Create an event in the BW system
Define a system event (for example SAP_BW_TRIGGER) with Transaction SM62. Lets says it is "EVENTX". Use this even in the Process chain and execute the process chain as repeative job.
(2) Use the below lines of code in the program for calling a Fucntion which trigeres the event created above . Here in this program you will call the the Below FM if and only id the sy-datum is 20 th or 2nd of the month ( as mentioned by our friend suggested).
call function 'BP_EVENT_RAISE'
exporting
eventid = EVENTX
exceptions
bad_eventid = 1
eventid_does_not_exist = 2
eventid_missing = 3
raise_failed = 4
others = 5.
endfunction.
Regards,
Anil Kumar Sharma .P
Similar Messages
-
hi,
this is sudhakar
pls any one tell me
I prepaired process chain
but i dont know how to start how it run daily automatically
pls any one give ans
thanks
sudhakarhi,
open your process chain -> right click on start process -> select maintain varient -> select direct scheduling -> goto change selections tab -> select date/time give from when you want to run for eg from today 3.00 PM means in date tab give todays date and in time tab give the time info. in bottom select periodic jobs check box and click on periodic values tab -> here select daily check and save again check and save again save. now you schedule your job at 3.00PM from today, now you need to release this job, after this settings come to your process chain click on clock symbol to activate and schedule your process chain. so this chain will run at specified time, you can check this in SM37 by giving your user name and released job as job status.
Regards
Sankar -
Run process chain on last three days of the month
Hello
I need to run process chain on last three days of the month. For example , It should run on 28, 29 and 30th dates of June.
There is no option to put a code in the start process of the process chain.
I can run it every day and put a code in the infopackage/DTP so that empty load (0 records) will be done on other days.
This doesnt sound as a good option.
Do u know any other options?Hi
See the code and details how to do it, and change the code as per your requirement.
http://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
Triggering the Process Chains at Particular Date using Events
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/s-u/triggering%20%20the%20process%20chains%20at%20particular%20date%20using%20events.pdf
BI-ABAP (Trigger Process Chains on evry month 3rd and 4th day).
https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=81428842
Thanks
Reddy -
How to stop the running process chain
How to stop the running process chains or infopackges...just qm status change is enought?
BI - SM 37 - Kill the Job
ECC - SM 50 - Kill the job -
Hi,
wehn we run process chain , the result from optimizer log showing error indicator , we check the abap run time using ST22 and discovered the message
DBIF_DSQL2_SQL_ERROR
what the message try to tell us , how to troubleshoot it .?
thanksHi AF,
try to look on SAP notes 978417 - Latch Monitor and Table Access Monitor: DBIF_DSQL2_SQL_ERROR. I guess this will solve your problem. It states also here on how you fix the issue.
Let me know if this make sense. Have a nice day!
Regards,
SASJr -
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 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. -
How to schedule Process Chain with Full Update for the past closed month
Hello,
I have an HR-BN benefits transactional data extractor - http://help.sap.com/saphelp_nw70/helpdata/en/08/b01d3cf8aa101ce10000000a11405a/frameset.htm
One of the selection fields for that extractor is calendar year/month 0CALMONTH and it is a full update extractor.
SAP recommends running this extractor once a month after the month has been closed.
If I were to include this update/extract into my process chain, would it be possible to automate the process in a way where the process chain is scheduled to execute once a month (I know how to do that), but that also only pulls values for the past/closed CALMONTH (as if it had a variable value of which would be automatically set to the last closed month when pchain is run)? As I mentioned 0CALMONTH is one of the selection criterias in the infopackage for that extractor.
let me know how I might be able to do that.
P.S. we are on BI 7.0/2004s
Thank youFor Calmonth selection in infopackage you can use the SAP-Exit OLAP Variable 0CMLMON (Last Month)
select Type "7" ("OLAP Variable")
and in Details of Type screen, Select OLAP Variable "0CMLMON" Which is SAP-Exit variable for Calmonth, that returns the last month from the current system-date.
If variable 0CMLMON is not active, you need to activate it from Business content.
Assign pts if helpful. -
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.
ThnaksHi 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 -
How to Trigger process chains??
hi all
How to Trigger process chains??
Can anybody step by steps??
thanks
SenthilThe 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 -
How to reschedule process chain?
hello experts,
i just want to know about when we run process chain,if there is an error with some infopackage to load the data into data targets,at that particular time how should i resolve the problem to start the process chain at that situation.
dilip kumar reddy.THi Dilip,
Once an Infopackage in a Process chain fails, you hvae to identify the error message and correct the load.
After this when you goto the process chain Log you will either See "Repeat" option when you rightclick on the Errored IP or at the Next step. You have to click on the Repeat option to let the process chain complete.
There are few things that you need to concentrate here.
Before you press REpeat, please ensure that the error has been corrected and the Load has been successfully loaded into the datatarget.
If you dont find the Repeat option, and that you have ensured that the Error has been corrected, you can use the following function module to Restart from where the process has failed
RSPC_PROCESS_FINISH
For this function module you ahve to supply the
Process chain name
Process Variant
Instance id
You can get all the above values from the Process chain log, when you rightclick and "Display Messages" and goto the "Chain" tab
You have to supply Field
I_STATE = G or F to make the Status of RED to GREEN(completed) so that the process chain continues from the next step in the chain.
REgards,
Praveen. -
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... -
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 schedule Process chains in Bi Admin Cockpit
Hello friens,
I am working on installing Bi cockpit.
After installing the info providers, i have to schedule the process chains for Bi admin Cockpit.
I know the transaction is RSPC.
But I dont know how to schedule process chains for Bi admin cockpit.
How to schedule Init and Delta
If you can send me step by step documents.
Or any good sap note number.
Or any good links i will really apreciate it.
I want to schedule process chains
Content Master Data
Data Load Statistics # Delta
Data Load Statistics # Init
Query Runtime Statistics # Delta
Query Runtime Statistics # Init
System Master Data
Please adviseHi,
Please check out this document:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8da0cd90-0201-0010-2d9a-abab69f10045
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/36693695-0501-0010-698a-a015c6aac9e1
Hope it helps.
Thanks
Mona -
How to change process chain in SAP APO, in RSCP tcode.
HI SAP APO Experts
I am from SAP ABAP background, I need to change a 'AND' operator in process chain in RSCP tranaaction in SAP APO.
I dont have any idea how to change process chain.
Could you please help me how to change process chain in SAP APO in RSCP tcode.
Appreciate your help or comments.
Sandeep..Hi Sandeep,
The t-code RSCP does not exist in SAP APO. The correct t-code is RSPC.
Step 1:- In RSPC t-code, select the process chain which you need to change.
Step 2:- Double click on it.
Step 3:- It will display the various programmes attached to the process chain. Go to change mode by clicking on the change indicator (Control + F9)
Step 4:- Select the programme area where you need to do the correction or change. Double click on it.
Step 5:- It will take you to the programme and its selection contents. Make the relevant changes. You can directly carry out the change in se38 also if there is variant kind of changes for that particular programme.
Step 6:- Once the changes are done, save the changes and press F3 button which will take you to the home page of the process chain
Step 7:- Save again so that the change in the programme alongwith the process chain will get saved.
Regards
R. Senthil Mareeswaran.
Maybe you are looking for
-
Having a problem with "open" and "import" buttons!
Hello all, I am having some trouble with a basic function in Logic. When I go to "file" and select "import," the window of options appears. However, when I select a file and click the "import" button, literally nothing happens. I have had a similar p
-
New computer + old hard drive... will I lose my data???
My old macbook is going to be replaced with the new core 2 duo macbook. I took out my hard drive so that when the new computer shows up at my door, I can pop in my old hard drive. The problem is, I didnt backup my data. When the new computer comes, w
-
Error in the Mail it only shows 5 on every e-mail, How can I correct this?
Can somebody help me with this problem. The Mail program puts only 5 as the date on every e-mail that I receive or send
-
Which ports does Webi Rich CLient use to connect to Universe etc..
Hello together, we have the problem that we cannot run Rich Client from computers outside our network - so which ports does webi Rich Client use to connect to BO Serverl?. It will always say universe not found. Login to rich client and everything els
-
How to enable Logon Help link in Login Page?
Hi, I need to implement the logon help like forgot password / password reset...in the portal login page the link is not showing...what to do to enable this Login Help Link in Portal login page? can you please guide me on this... Regards, Viswes