Process chain stops - previous processes are green
Hi All,
We have a process chain that loads our master data each night. It chain is mostly made up of infopackages (mostly full loads) and the change run for those objects. We recently upgraded from 3.5 to BI7, SP16.
Since the upgrade, this chain, and a few others just seem to stop. They will start, and successfully complete some of the processes in the chain (all green), but then will not move on to the next process. The next process will not be yellow, it just won't start. The overall status of the chain is yellow.
I am 100 percent sure there are no other chains running during this time frame. This chain has been running for over 4 years in production, and we have never encountered this issue.
Last night, I removed the chain from the schedule, and then rescheduled. I'm not sure if that is going to prevent us from having this issue. I have also set the priority to high.
Should this prevent us from encountering this issue again? I have searched OSS and found some related notes, but we are on a higher support pack than what is in the notes, so they are already applied.
Any suggestions?
Thanks!
Charla
The first thing that I'd recommend is to look at the Start Process Variants for the Process/Local Chains that are not starting. Specifically, I would check to see if the scheduling in those Start Process Variants are set to Direct Scheduling with Immediate Start or set to Start Using Meta Chain or API. It is possible that the conversion from BW 3.x to BW 7.x change the parameters of the scheduling withing the Start Process Variants, even though they were not physically changed and transported.
My recollection is, when we upgraded Support Package Stacks, we had some Local Chains just change on their own where the Immediate Start checkbox mysteriously become unchecked.
Similar Messages
-
Help with Process Chain - Stop remaining Processes if Package returns 0 rec
Hi, i have a Process Chain that starts with a single InfoPackage. Then it goes on to distribute the load to multiple DSO's and then onto DSO Activation. I would like the Process Chain to stop right after the InfoPackage if no records are loaded.
Is this possible using the decision variant somehow? Any details on how to achieve this are greatly appreciated!Hi ,
The request is goin to red status when 0 records are pulled in. There is a option in info package so that even when 0 records come in the request status would be green.
Open your info package , then in the menu goto "Scheduler > Treatment of warnings > Select Green" so that in future even if the info package pulls 0 records the status would be green . then the activation step in the process chain would also be carried out smoothly.
In this way you need not manually change any request status to green . Saves you time.
regards
Venky -
Process chain stopped and unable to trigger next process
Hi all , i am working on process chains, today process completed at DTP and the next process at activation of dso process failed and the rest of the pc completed even though the activation process is red. after the completion of that , chain process stopped, next pc didnt started. plz help me wiht this, thanks in advance..
you can evaluate a local chain as 'green' even if one of the steps is 'red'. in the planning view of the process chain, go to process chain --> attributes --> process status valuation. flag the checkbox. this will enable the next pc to start even after a red status of the local chain...
detailed info:
Red Outcome Renders Chain Green If Process Is Red
If errors are raised for processes that have scheduled an event "With Errors" they are judged as successful for the determination of the overall status of the chain run.
Use
If this indicator is set, all the processes in this chain with errors are judged as successful with regard to the overall status of the run, if they have scheduled a successor process "With Errors" or "Always".
Dependencies
Mailing and alerting is not affected by this indicator. This is also triggered for processes with errors if this has a successor process "With Errors".
Example
You use this indicator in meta-chains to evaluate the run of a subchain as successful in spite of errors in "unimportant" processes. The successors to this process are "always" scheduled, while the successors to key processes are only scheduled "With Success".
Accordingly, successors in the subchain within the meta-chain are only scheduled "With Success"; however they do continue to run if errors have only occurred in the unimportant processes of the subchain. -
Process chain stopping in middle
process chain stopping in middle , after a info-object present in the process chain has been manually set to green.Please advice me what to do????
Hi,
Please follow the below steps:
Step 1: At the step where the process chain is stuck
Go to display messages -chain- copy variant, instance & start date
Step 2: Go to se16, table rspcprocesslog execute
Copy as below,
Variant-- variante
Instance instance
Batch datestart date
This will give a single entry in the table rspcprocesslog.
Step 3: Go to se37, input FM RSPC_PROCESS_FINISH and execute
Copy
Rspcprocesslog u2013 instance -
I_INSTANCE.
Rspcprocesslog u2013variante -
I_VARIANT
Rspcprocesslog u2013 logid----I_LOGID
Rspcprocesslog u2013 type ---I_TYPE
Enter u2018Gu2019 for parameter I_STATE and press execute (F8).
After executing the above FM, with the above stated parameters, 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.
-Vikram -
Hi Experts,
We are running APO DP process chain with parallel processing in our company, we are experiencing some issues regarding run time of process chain, need your help on below points;
- What are the ways we can optimize process chain run time.
- Special points we need to take care of in case of parallel processing profiles used in process chain.
- Any specific sequence to be followed for different processes in process chain - if there is some best practice followed.
- Any notes suggesting ways to improve system performance for APO version 7 with different enhancement packs 1 and 2.
Any help will be really appreciated.
RegardsHI Neelesh,
There are many ways to optimize performance of the process chains (background jobs) in APO system.
Firstly I would recommend you to identify the pain areas (steps) which are completing with more runtimes. Then each one of the step has got different approaches to decrease the runtime.
Like you may end up with steps like infopackage executions, DTPs, DP mass processing jobs etc which might be running with more runtimes. So now target each one of them differently and find out the ways to optimize. At the same time the approach you follow should be technically possible with basis perspective (system load and utilization) as well.
And coming to parallel processing, you can use parallel processing for different for different jobs. You can further r explore on the same using parallel processing. Like loading an infocube, mass processing, infopackage execution, DTP, TSCOPY etc.
Check the below link for more info
Performance problems in DP mass processing
Let me know if you require further info.
Regards,
Raj -
Create Process Chains and add Process Types using ABAP
Does anyone in here have experience in creating or changing a full Process Chain including the Process Types?
The reason is, that we have a lot of source systems with "similar" loads.
We already have an ABAP that can copy the chain and replace the InfoPackages. But we can't find a way to create/change a process, e.g. 'Hierarchy Save', 'PSA Delete' etc.
Any ABAP samples is highly appreciated!
Best Regards JakobHello Jakob
did you find already this how to paper: "How to ... Implement custom process types" ?(https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/72e0e1ed-0c01-0010-74bc-b397c8c4dadc)
It has a code sample in the appendix.
Hope it helps,
regards
Martin
Message was edited by: Martin Lehmann -
Process Chain stops if no data
Hello,
My proccess chain stops if one of my infopackages doesn't return any data. How do I change the settings so no data returns a 'success' status??
Thanks
SheenaHi,
if there is no data then you process will be in yellow colour, and other process are waiting for this, we are also having the same problem and we change the status in monitor to green from yellow couple of times after that system automatically converts the status to green from yellow even though there is no data, i think you can try this option, which we used earlier and working fine now.
Regards
Sankar -
Hi,
I am new to BI, my BI server got shotdown due to some reason and process chains are stopped. so how do it re run again? how do check which are stopped and how do re run manually ? any problem if we run manually ?can pls help any body. thanks in advance.
Sari. K.Hi Sasi,
Plz find here one of our expert explanation..
How is it possible to restart a process chain at a failed step/request?
Sometimes, it doesn't help to just set a request to green status in order to run the process chain from that step on to the end.
You need to set the failed request/step to green in the database as well as you need to raise the event that will force the process chain to run to the end from the next request/step on.
Therefore you need to 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 batch date 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.
Regards.....KP -
Process chain stops in infopackage with yellow status
Hi Gurus,
We are experiencing some difficulties regarding the use of process chains with warnings. Our SAP BI system is connected to an ETL server which feeds us with data from other systems. We have a query that has a push-button functionality that starts a process chain beginning with data extraction with an infopackage and ending in a infocube. The problem we have nowadays is that whenever the ETL workflow fails the infopackage status remains yellow, while our objective would be a red status. To try and solve this problem we forced a timeout in the infopackage. Once we check the log in the process chain it displays a message containing something like "status request modified , do you wish to add subsequent processes?", if we say yes it refreshes the status of the infopackage to red and it all goes ok. What we want is to get rid of this warning and that the status is automatically changed. We've checked other posts and we didn't reach any conclusion... Note 708480 gives us a possibility of automatic desicion but how could we integrate it in our process chains since it is based on shcedulling and not triggers?
Your help would be much appreciated,
Thank you
Bruno RodriguesHi,
We have two connected links in the process, one to continue the process chain when process status is green and other link to red status. The problem is the process status remains yellow until our confirmation in pop-up.
The process chain should be started by user in web browser. So, it isn't possible run it in background.
Thank you,
Regards,
BR -
Process Chain Stopped in BI PRD
Data Loading Error :
Hi All,
In BI PRoduction, all the process Chains are stopped and while Checking the errors, it is giving the error message as
Errors while sending packages from OLTP to BI
Diagnosis
No IDocs could be sent to BI using RFC.
System Response
There are IDocs in the source system ALE outbox that did not arrive in the ALE inbox of BI.
Further analysis:
Check the TRFC log.
You can access this log using the wizard or the menu path "Environment -> Transact. RFC -> In source system".
Error handling:
If the TRFC is incorrect, check whether the source system is fully connected to BI. In particular, check the authorizations of the background user in the source system.
Morning, I have logged into BW Production, and saying BW Production is down. This is happening frequently.By the help of basis, the system is up.
Please help on this issue.
Thanks,
Jelina.Thanks for the reply.
I have Checked in ST22 and found, Time Out error is there.
These are the error messages in ST22.
The program "SAPMSSY1" has exceeded the maximum permitted runtime without interruption and has therefore been terminated.
Error Analysis :
After a specific time, the program is terminated to make the work area available to other users who may be waiting.
This is to prevent a work area being blocked unnecessarily long by, for
example:
- Endless loops (DO, WHILE, ...),
- Database accesses with a large result set
- Database accesses without a suitable index (full table scan)
The maximum runtime of a program is limited by the system profile
parameter "rdisp/max_wprun_time". The current setting is 3600 seconds. If this time limit is exceeded, the system attempts to cancel any running SQL statement or signals the ABAP processor to stop the running program. Then the system waits another 60 seconds maximum. If the program is then still active,the work process is restarted.
How to correct the Error :
Programs with long runtime should generally be started as background jobs. If this is not possible, you can increase the system profile parameter "rdisp/max_wprun_time".
Depending on the cause of the error, you may have to take one of the following measures:
- Endless loop: Correct program;
- Dataset resulting from database access is too large:
Instead of "SELECT * ... ENDSELECT", use "SELECT * INTO internal table
(for example);
- Database has unsuitable index: Check index generation.
If the error occures in a non-modified SAP program, you may be able to find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following keywords:
"TIME_OUT" " "
"SAPMSSY1" or "SAPMSSY1"
"REMOTE_FUNCTION_CALL"
If you cannot solve the problem yourself and want to send an error notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP program: The source code of the program
In the editor, choose "Utilities->More Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
Thanks,
Ram
Edited by: Ram Siva on Jul 28, 2009 6:59 AM -
Process chain stopped in the middle ?
I have a PC in production and its really strange that after the DTP step ,ODS activation step in the PC did not run and the chain status shows in the yellow color, I know if it fails in the activation step we need to see the error and fix it. But here neither its yellow which means running and not red, its just did not execute and the dtp is successful....and there are a lot of chains next to this chain. SO how to make it run, and what do i do ? there is no job running in the SM37 related to it. Please help.
Hi ,
Please perform the below steps, this will solve your issue.
Step 1: At the step where the process chain is stuck
Go to display messages -chain- copy variant, instance & start date
Step 2: Go to se16, table rspcprocesslog execute
Copy as below,
Variant-- variante
Instance instance
Batch datestart date
This will give a single entry in the table rspcprocesslog.
Step 3: Go to se37, input FM RSPC_PROCESS_FINISH and execute
Copy
Rspcprocesslog u2013 instance -
I_INSTANCE.
Rspcprocesslog u2013variante -
I_VARIANT
Rspcprocesslog u2013 logid----I_LOGID
Rspcprocesslog u2013 type ---I_TYPE
Enter u2018Gu2019 for parameter I_STATE and press execute (F8).
After executing the above FM, with the above stated parameters, 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.
You can also check this blog:
/people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
-Vikram -
Need a table for process chains of when these are scheduled!!
Hi,
I had like to have list of all the process chains and their schedules of how often these are loaded and whether been triggered by event or directly scheduled. If periodically scheduled then the period----
is there any table which can have the information as i said??
RajHi....
process chain tables
RSPC_BUFFER Shared Buffer for Processes (Esp. Customer
RSPC_MONITOR Monitor individual process chains
RSPCABAPASYNC Logging for ABAP Processes(Synchronously a
RSPCCATEGORY Process Type Categories
RSPCCATEGORYT Texts for Category
RSPCCHAIN Process chain
RSPCCHAINATTR Attributes for a Process Chain
RSPCCHAINEVENTS Multiple Events with Process Chains
RSPCCHAINT Texts for Chain
RSPCCOMMANDLOG System Command Execution Logs (Process Cha
RSPCENQUEUE Dummy Table for Runtime Locks of a Process
RSPCEXOR Excluding Or: Log Table
RSPCINFO Special Values for Communication between P
RSPCINFOT Special Values for Communication between P
RSPCINSTANCE Generic Instance Storage
RSPCINSTANCET Texts for Generic Instance-Storage
RSPCLOGCHAIN Cross-Table Log ID / Chain ID
RSPCLOGCROSS Cross-Table Log ID Old / Log ID New
RSPCLOGS Application Logs for the Process Chains (G
RSPCPROCESSLOG Logs for the Chain Runs
RSPCRUNVARIABLES Variables for Process Chains for Runtime
RSPCTRIGGER Variants for the Trigger Processes
RSPCTRIGGERT Texts for the Trigger Variants
RSPCTYPESDEP Dependencies for Processes
RSPCTYPESPROC Attributes of BW processes (RSSM)
RSPCVARIANT Generic Variant-Storage
RSPCVARIANTATTR Attributes of a Process Variant
RSPCVARIANTT Texts for Generic Variant Storage
Among all these tables I think.......
RSPCCHAINATTR Attributes for a Process Chain
RSPCCHAINEVENTS Multiple Events with Process
Chains
RSPCPROCESSLOG Logs for the Chain Runs .........can help you.......
Regards,
Debjani........
Edited by: Debjani Mukherjee on Oct 21, 2008 1:32 PM -
Process chain creation and which are the module depending
Hi Expert,
I have confusion on process chain creation and triggering the process chain also same of the module are depending other module what those. What are thing we take consideration Please guide me in this regards .
Regards,
Ravi
Edited by: Ravichendra k on Oct 15, 2008 11:48 AMHi,
Here are a few links about process chains. Hope it helps.
http://help.sap.com/saphelp_nw04/Helpdata/EN/67/13843b74f7be0fe10000000a114084/content.htm
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=howtocreateaprocesschain&cat=sdn_all
http://sapbwneelam.blogspot.com/2007/09/how-to-start-process-chain-through.html
Regards,
Gaurav -
Send Message from Process Chain Step without Process Log
We send a mail message, depending on the success or failure of the process chain step, to user list.
When the message is sent not only custom message but also the status information and the process log are sent.
Our users are only interested about the result of the chain and they don' t want to view all technical information.
Is it possible to send message without process log?
RegardsHi,
Take 2 process(red and green line) from each of the process in the process Chain, one is for sucessfull and other is for failure and at the end of the proces chain, just put all failure process to the OR and have add a ABAP Program (with Not Sucessfull) and then just put all sucessfull process to the AND and have add a ABAP Program (with Sucessfull) .
This wil send the mail to the users, when ever there is failure in PC any where, or sends a mail ..if the process chain completes sucessfully.
If you want only add the send of mail option at the end of the process chain, we can just add 2 process (red and green line) and have same flow as above. so that.. it will only sends mail..when there is failure or sucessfull of the process chian.
Hope it helps ...... -
Email Alert for Process Chain for ABAP Process Type
Hi BW Experts,
I created a process chain based on ABAP Process Type ( for Broadcasting rsrd_broadcast_starter). I want to add alert message for each ABAP process if it is failed. But I cant see any option showing Successfull or Error or Always when I select create message option on the process type. How ever I can see for other process chain which is loading data (Process Type is Info Package ) from SAP into BW.
Please some one tell me why it is not showing alert message for ABAP Process Type.
Thanks
Ganesh Reddy.
Edited by: Ganesh Reddy on Jul 13, 2009 10:16 PMI dont have the exact answer for your question, But as a work around i can suggest you that.
If these ABAP programs are included in a chain and this local chain is a part of meta chain then you can create a message on the local chain.By right clicking on the local chain >Create Message>Success
--->Failure
>Always
Hope this resolves the problem tempervorly.I will get back to you once i have
Or the permanent solution is
Its big and also easy method to perform, by this you will be able to get all the options for a ABAP Program also.If you have any questions please let me know.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/a-c/creating%20an%20abap%20process%20type%20for%20process%20chains%20in%20bi.pdf
Maybe you are looking for
-
Hello, we realized single sign on on our mac machines. It runs great. Now i want to combine it with our SAP logon groups. There's an error that he cannot find the KDC. Where's the problem? Is it nit possible to combine groups with using snc? We set t
-
Can't install itunes due to a problem with windows installer package
hello there i can't install itunes due to a problem with the windows installer package i found a page on this site (here is the link) http://docs.info.apple.com/article.html?artnum=304405 i done every thing on it and i still haven't been able to fix
-
CFMail breaks up attachments filename with non ASCII
Hi CF-Devs out there! My problem is, that when attaching files via cfmailparam - no matter if inline or not - and using a filename that contains or a non 7bit-ASCII character or a simple space, the filename is not displayed correctly in Outlook nor T
-
Hallo Diadem-Kollegen, da habe ich wenige Kanäle, die mit 0,1 s aufgenommen wurden. Der Rest ist mit 1s. Wie passe ich sie aufeinander, damit ich sie mit einander bearbeiten kann? Die mit 0,1s komprimieren? Viele Grüße, a6a
-
Problem when comparing version
Message CDR-03110: Unable to load file as subclassed files could not be found Hi, I'm receiving the following error when trying to make a compare of versions. What I did was the following. - Creating a new module forms 6i (Only creating the module ob