Inf reg process chains design
Hi All,
My process chain is done succesfully.. I followed as
Main Chain
Start->Delete Data (3ods)->Load data(3ods)->Activate(3ods)-> And(all success ful)->2local process chains(series to and) -> Materdata Load(parallel to and)->Attribute change run
Local Process chain 1: ( Data loads from ods to cube)
Start->delete index(cube)-> load data(6 info packages)
Local Process Chain 2: (Data loads from Flat File to Cube)
Start->load Data(another 6 Info Packages)->and(condition)-> delete Index(cube).
Now tell me in design why am getting too many parallel processes for chosen sever
MSg NO:RSPC118
why these warnings are comming? give some light on this
regards
ashwin
Hi ashwin,
Too many parallel processes for chosen server
Message no. RSPC118
Diagnosis
On the server you have chosen, there are only 4 batch processes available. The process chain has been designed in such as way that 5 processes must be processed parallel.
System Response
Only 4 processes can be processed parallel. Note also that to be able to start sub-chains, AT LEAST TWO free batch processes must be available. Otherwise a lock situation may arise.
For more information, see SAP Note 621400.
Procedure
Reduce the number of parallel processes in the chain or include sub- chains. This warning applies to all relevant processes.
Procedure for System Administration
Increase the number of batch processes available. You should note however that it makes no sense to set up more batch processes than there are CPUs on server .
Suggestions:
You may created your Process Chain with 5 parrllel lines or more..You don't free Background Process Available in the server where it is running. I think you have only 4 Background Process Available.
code
Start Variant
Variant 1 Variant 2 Variant 3 Variant 4 Variant 5
Variant6 variant 7 Variant 8 Variant 9 variant 10
You can replace it as..
Code
Start Variant
Variant 1 Variant 2
Variant3 Variant 4
Variant 5 Variant6
variant 7 Variant 8
Variant 9 variant 10
do's:
1.You can change your Process Chain Model
2.You can increase background Process on your System.
3.You can keep it like this if you are working Development. Your Production will have Extra processes.
Hope this helps,
Regards
CSM Reddy
Similar Messages
-
Reg:Process chain Designing
Dear All,
Master data process chain I create like
Start variant
Variant 1-ip Variant 3-ip Variant 5-ip Variant 7-ip
Variant 2-dtp Variant 4-dtp Variant 6-dtp Variant 8-dtp
End variant
ACR variant
Problem getting like when I monitoring
Please give me guide meHi,
check:
http://help.sap.com/saphelp_nw04s/helpdata/en/67/13843b74f7be0fe10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/b8/5b723b9b4f8f7de10000000a114084/frameset.htm
Please specify "Problem getting like when I monitoring".
Regards
Andreas -
Process chain design/schedule/monitoring/debugging
hi friends
pls help me on the issue of process chain design/schedule/monitoring/debugging
with one of real time scenario, with help of t-codes and detail navigation
thanks in advance
venkatpI have listed below the major informatin neede for your requirement...
1.Go to RSPC to view all the chains.
2.There click on any chain which you want to run/view.
3.Click on the <b>log view(</b>shift+F1) to view all the previous runs of the chain and whether they have failed or successful(here you can select 1 day,week ,month etc in the display range)
4.If you want to modify the chain /add a process type /change the variant then click (Ctrl+F9) and do the changes.
Even you can change the start variant in change mode for manual scheduling>right click on start process typeselect display variant--now select start Direct Scheduling/ API or Metachain
under <b>direct scheuling</b> option you can trigger it by setting start immediately /Date-time/After job/event whatever you want to do
Else you can make it part of a Metachain consisting of different such small local process chains.
Now Click on Schedule (F8) to run this chain manually.
5.For <b>Monitoring</b> use Tcodes SM37/RSPCM/SM50
Also you can use BWCCMS.
I usually prefer sm37 to view all the background jobs but SM50 is also useful.
6.<b>debug loop</b> can be used to debug a process chain.(you have to specify here the gap between one event been triggered and the next subsequent process starting)
to capture process in debugger go to SM37(job overview) or to SM50(process overview) -
Dependent process chains design
HI,
we need to create the transactional process chains design based on the master data flow status. since this both are present in the different flows, we can't have them in the same chains,once the master data process chains are completed then this process chain has to be triggered.
whether we have to write some abap code or another way.
please suggest on thisEither you can add them in Meta chain like below
MC
I
MD loads
I
TD Loads
OR
MC
I
MD loads
I
Event to trigger TD chain --(This event you can add for TD PC/start variant - When the event is triggered it will automatically activates TD laods)
-Above design lets TD loads has to wait till all the MD loads gets success, If you can able to understand relation between MD and TD then you can split the chains for MD and create event to trigger corresponding TD chains.. This way as soon as MD loaded corresponding TD will trigger .. OR If you don't have many MD loads and they don't take much time to load then above option would be good
Edited by: Srinivas on Aug 16, 2010 2:31 PM -
Parallel Process in a Process chain design
Hi
BAsed on what factors can we make a decision on How many parallel data loads (process) we can include while designing a Process chains
ThanksHi Maxi,
There is no hard and fast rule for that, for trial purpose you can add specific no. of parallel processes and schedule the chain, if there are not enough background processes available to fulfill your request then SAP will give you warning there you can see how many processes are available.
But if you go for maximum parallel process then it actually depends on how many processes are available at the time of process chain scheduling. Though your server have enough process but if they are utilized by other processes then still you will get warning while executing process chain.
So just check in your server how many background processes are there and then take some optimum decision.
Regards,
Durgesh. -
Reg: Process Chain, query performance tuning steps
Hi All,
I come across a question like, There is a process chain of 20 processes.out of which 5 processes are completed at the 6th step error occured and it cannot be rectified. I should start the chain again from the 7th step.If i go to a prticular step i can do that particular step, How can i start the entair chain again from step 7.i know that i need to use a function module but i dont know the name of FM. Please somebody help me out.
Please let me know the steps involved in query performance tuning and aggregate tuning.
Thanks & Regards
Omkar.KHi,
Process Chain
Method 1 (when it fails in a step/request)
/people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
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 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.
Query performance tuning
General tips
Using aggregates and compression.
Using less and complex cell definitions if possible.
1. Avoid using too many nav. attr
2. Avoid RKF and CKF
3. Many chars in row.
By using T-codes ST03 or ST03N
Go to transaction ST03 > switch to expert mode > from left side menu > and there in system load history and distribution for a particual day > check query execution time.
/people/andreas.vogel/blog/2007/04/08/statistical-records-part-4-how-to-read-st03n-datasets-from-db-in-nw2004
/people/andreas.vogel/blog/2007/03/16/how-to-read-st03n-datasets-from-db
Try table rsddstats to get the statistics
Using cache memoery will decrease the loading time of the report.
Run reporting agent at night and sending results to email.This will ensure use of OLAP cache. So later report execution will retrieve the result faster from the OLAP cache.
Also try
1. Use different parameters in ST03 to see the two important parameters aggregation ratio and records transferred to F/E to DB selected.
2. Use the program SAP_INFOCUBE_DESIGNS (Performance of BW infocubes) to see the aggregation ratio for the cube. If the cube does not appear in the list of this report, try to run RSRV checks on the cube and aggregates.
Go to SE38 > Run the program SAP_INFOCUBE_DESIGNS
It will shown dimension Vs Fact tables Size in percent.If you mean speed of queries on a cube as performance metric of cube,measure query runtime.
3. --- sign is the valuation of the aggregate. You can say -3 is the valuation of the aggregate design and usage. ++ means that its compression is good and access is also more (in effect, performance is good). If you check its compression ratio, it must be good. -- means the compression ratio is not so good and access is also not so good (performance is not so good).The more is the positives...more is useful the aggregate and more it satisfies the number of queries. The greater the number of minus signs, the worse the evaluation of the aggregate. The larger the number of plus signs, the better the evaluation of the aggregate.
if "-----" then it means it just an overhead. Aggregate can potentially be deleted and "+++++" means Aggregate is potentially very useful.
Refer.
http://help.sap.com/saphelp_nw70/helpdata/en/b8/23813b310c4a0ee10000000a114084/content.htm
http://help.sap.com/saphelp_nw70/helpdata/en/60/f0fb411e255f24e10000000a1550b0/frameset.htm
4. Run your query in RSRT and run the query in the debug mode. Select "Display Aggregates Found" and "Do not use cache" in the debug mode. This will tell you if it hit any aggregates while running. If it does not show any aggregates, you might want to redesign your aggregates for the query.
Also your query performance can depend upon criteria and since you have given selection only on one infoprovider...just check if you are selecting huge amount of data in the report
Check for the query read mode in RSRT.(whether its A,X or H)..advisable read mode is X.
5. In BI 7 statistics need to be activated for ST03 and BI admin cockpit to work.
By implementing BW Statistics Business Content - you need to install, feed data and through ready made reports which for analysis.
http://help.sap.com/saphelp_nw70/helpdata/en/26/4bc0417951d117e10000000a155106/frameset.htm
/people/vikash.agrawal/blog/2006/04/17/query-performance-150-is-aggregates-the-way-out-for-me
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1955ba90-0201-0010-d3aa-8b2a4ef6bbb2
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ce7fb368-0601-0010-64ba-fadc985a1f94
http://help.sap.com/saphelp_nw04/helpdata/en/c1/0dbf65e04311d286d6006008b32e84/frameset.htm
You can go to T-Code DB20 which gives you all the performance related information like
Partitions
Databases
Schemas
Buffer Pools
Tablespaces etc
use tool RSDDK_CHECK_AGGREGATE in se38 to check for the corrupt aggregates
If aggregates contain incorrect data, you must regenerate them.
Note 646402 - Programs for checking aggregates (as of BW 3.0B SP15)
Thanks,
JituK -
Advise in process chain design
Dear Experts,
I have a complex issue here in case of design of a process chain. In our system, data is loaded from R/3 to ODS1 -ODS2-Cube.
The data is loaded to the ODS1 and ODS2 everyday but the data is loaded to cube for every 15 days. There is a program that has to be run before loading the data to cube. The program uses two different kinds of calendars X1 and X2(not both at the same time) and each calendar is one month apart. For example if X1 has Aug 1st as date in it, the next date in X1 would be Sept 1st and the X2 has dates in such a way that the date is Aug 15th and the next date in X2 is Sept.15th. So, as the system uses both the calendars, it uploads data to cube every 15 days.
Now I have to make a process chain in such a way that the data gets loaded into the ODS1 and ODS2 eveyday and for every 15 days to the cube using two different calendars. I made a process chain for loading till ods2 and then two different local chains for loading cube. One calendar is given in each start condition. Now I don't know how to integrate the whole chain!
I appreciate anybody's help or advise. ery much.
Thank you vHai Aneesh,
Thanks for the reply. I think we are not in the same page. May be my explcation is not clear. Data is loaded into ODS2 and then a program is run. lets forget the program anyway, it checks for some unwanted records and deletes them. So, soon after my ODS, there are two paths for me, ofcourse both loading the cube but in one path, a program is run and in other the program is not run.Also the start dates of loading are different for these two.If the first part loads data(without running a program) on Aug1st then the second loads data(also runs a program) on 15th to cube.Again the first path has to laod data to cube on 1st of spet.,without running a program and then on 15th sept. the second loads datam with program run. This repeats on and on. I know it very confusing.
This is what I did. I made a separate processc chain PC1 for loading till ODS(runs daily) and then two different chains, PC2 and PC3(runs for every 15 days) with different start conditions(defined by calendars). PC2 is simply loading data to Cube but PC3 has an additional program in it. Now both PC2 and PC3 donot load at the same time. I have to connect PC1, PC2 and PC3. Can I just make a connection like branches and leave it? so that the loading till ods is done every day but the chain stops at the PC2 and PC3 as the start condition is not satisfied and the PC2 and PC3 run only when their date is reached?
Thank you very much. -
Hi Experts
I need to design a process chain .The data flow is
Flat File --> ODS ---> CUBE
Could you please let me know the detailed steps involved
Like...start variant,info package (ods) activation ods requ, drop cube index, info package (cube...etc
I need the detailes list of processes to be used for that flow and why we use them as i need to explain same to my manager.
I shall be greatfull if you can send any screen shots to my mail id...[email protected]
Thanks in advanceHi,
Here are the steps :
1. Start variant to schdule the process chain
2. Goto Process Type Load Process and Post Preocessing. Drag execute infopackage with it. If it comes with execute attribute change run then just get rid of it. This one is for loading your ODS from flat file. Other way to do it goto Infosources tab and then select the one that is the flat file load. Expand it and drag the flat file infopackage to the right hand window. Link the start variant to the the infopackage load.
3. Now you need to activate the ODS request. Goto Process Type and goto Data Target administration. Select Activate ODS Object data and drag it to the right hand window. Link the ODS load to this process type. Define condition when linking that this step will execute only if the ODS load is successful.
4. Then you need to select the Process type Further Processing to update the ODS data further.
5. When you load the delta to the Cube after this, you need to decide whether to use the process types delete indexes and then recreating them after the load. If the delta is very small then no need for these steps, if delta is large, then next step would be to drop indexes ->load cube->recreate indexes. This helps data load performance. If you have aggregates on the cube, next step would be to select the Process type for Roll up of Aggregates.
Cheers,
Kedar -
Hi
Will any one send step by step to do process chain. I am getting stuck in middle.
Please help.
Thanks.
regards
Sridhar
[email protected]Hi Sridhar,
What exactly you mean by saying "to do process chain". If you want to know the steps to create a process chain, here are the guidelines:
In the BW Administrator Workbench:
1. Choose the Process Chain Maintenance icon from the AWB toolbar.
<i>The Process Chain Selection dialog box appears.</i>
2. Choose Create.
3. Enter the technical name and a description of the chain, and confirm your entry.
<i>The Add Start Process dialog box appears.</i>
4. Create a variant for a start process.
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.
b. If you choose to schedule the chain directly, enter the start date value for the chain under Change Selections and save your entries.
<i>The Maintain Start Process screen appears again.</i>
c. Save your entries, go back to the previous screen and confirm your entries in the Add Start Process dialog box.
<i>The Plan View of the process chain maintenance screen appears.</i>
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.
Note: If the process that you used to create a chain is linked to additional processes by default, the respective process variants are generated and inserted into the process chain automatically. These variants are suggestions and can be changed, replaced or removed from the chain as required. Variant maintenance is called when the change run performs automatic insert.
You can turn this system response off using Settings Default Chains.
5. Use Drag&Drop or a double-click to insert any additional relevant processes into your process chain.
Choose Process Types 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.
6. When you add a process, you need to select a process variant or create a new variant. For collection processes, the system uniquely determines the variants
Various functions for editing the process are available from the context menu:
7. Hold down the left mouse button to connect the processes with events.
Note: Before you do this, select the process underneath the process type row, and position the cursor over the required process. When you select the process type row, the whole process is moved into the plan view.
From the context menu of a link, you can display the event or remove the link. To do this, select the link and right-click with the mouse.
8. If necessary, specify whether you want the event to be triggered after the previous process has been completed successfully or unsuccessfully, or whether you want the event to be triggered independently of the outcome of the process that precedes it. If the process that triggers the event has more than one option, choose the option after which the successor process is to be run
9. Assign a display component to the process chain using <i>Attributes -> Display Components.</i>
10. Maintain additional process chain attributes if necessary.
11. Check your process chain in the Check View and make any necessary corrections.
Note:The Legend explains the meaning of the different colors used to display the processes and links.
From the context menu for a process, you can display the messages resulting from the check.
During the check, the system calculates the number of parallel processes according to the structure of the chain (subchains are recursively taken into account here). The result is compared with the number of background processes on the chosen server (or the total of all available servers if no server is specified in the attributes of the process chain). If the number of parallel processes is greater than the number of available background processes, the system highlights every level of the process chain where the number of processes is too high. The system produces a warning for these levels.
12. Save your process chain if it does not contain any errors.
<b>Result:</b>
You can activate and schedule your process chain. After scheduling, the chain starts in accordance with the start process selections. For example, if you scheduled the start process directly and chose Immediately as the start date value, the chain run starts immediately after scheduling. In the Log View, you can display the reports for the chain runs. -
Reg Process chain scheduling.
Hi.
Here is a situation: I have a process chain named Process chain1 . Which will run on weekly basis. Now i wanted to run this procss chain in every month 5 th working day. I will create new chain as process chain2 and i will add my Process chain1 as local process chain.
My question is :
Is it possible to use Process chain1 for individual run on weekly basis and as a local process in Process chain2 for the 5 th working day run?
But for any start variant there are only 2 options
1) Direct scheduling
2) start using meta chain
What I shd to in this situation
Thanks,
HarishHi Harish,
Yes it is possible without creating a new process chain.
Schedule it to rum every week. If it is already have done get the exact job name which is scheduled (you can can get this by right click on start variant and display scheduled jobs).
Copy this job and schedule it as you wanted to run monthly on 5th.
Hope this helps,
Anil Kamsala -
Reg. process chains - FAQ
Hi
Shall I get FAQ on Process Chains with solutions.
Thanks.
regards
Sridhar
[email protected]Hi,
Please go through these links:
https://forums.sdn.sap.com/click.jspa?searchID=5900912&messageID=4227983
https://forums.sdn.sap.com/click.jspa?searchID=5900912&messageID=4114486
https://forums.sdn.sap.com/click.jspa?searchID=5900912&messageID=4172351
Regards,
Habeeb
Assign points if helpful. -
Hello Gurus,
I am working in Process chain and I am new to this.
I am having some basic doubts.Can any one of them,clarify my doubts.
1.Whats the difference between event and job.
2.How,we can find out the particular chain is a meta chain or local chain.
3.Incase,If the chain is failed,how we can start the process.whats the step.
4.Where,we can findout the process chain status..(i.e,its successfully running or unsucessfull. like this)..any transaction code is there to know the status
5.Tell me,what are the things,i shouldnt do.(as a precautionary steps)
Thanks in advance and It will be great help,if somebody clarify my doubts and forward docs to my email id...if u r having any realtime doc.
I will assign points.
email id - [email protected]
Brgds
Kumarhi,
1. an event can trigger a job. After a job has finished, an event is raised and a new job is triggered (or not)
2. check for the starter. locla chains have the option "strated by other chain" an can only be started directly whe having changed the starter.
3. depends: in NW2004 process the chain manually or restert the chain completely. only few processtypes are able to be repaired. to recall the setting where the chain crashed is not possible (with the standard types ...)
In NW2004s with BW7.0 its possible to start a chain from where it failed.
4. you have 3 views for process chains in rspc: create, check and protocol (this paperlike button) here you can see the protocols for your chain. even when it has been activated, if it runs etc. you can also go to trc SLG1 to look for ProcessChain protocols.
5.
Transportiation fails in most cases. allow maintenance in
Production.
Never set a processchain live, untested. Especially monitor the number of processes allocated.
(only basic rules)
hth
cheers
sven -
Reg:process chains could be started manually and automatically
Hi
Each process chain could be started manually and automatically
>If i want to start the process chain manually, how should i start and what are the settings shall i mark
>If i want to start the process chain automatically, is there any tool are there to start the process chain at that particular time
Plz clarify my doughts it is use full too me
Thanks & Regards
manikantaHello,
PC can be started both manually and automatically.
Every PC has a start variant, when you right click on the start variant and go in the edit option, select the option direct scheduling. Then in change selection, check the box immediate and keep the periodic job at the bottom unchecked.
Hit the tick, save on the other screen. And when back on the PC screen, from the menu option select the schedule option.
This will run the chain manually.
To run it automatically, follow the same procedure but instead of using immediate choose, data and time, provide date and time when you want to run, you can check periodic option if you want the chain to run daily, weekly or monthly.
Regards,
Shashank -
Hi,
In our BW system process chain has to trigger six days a week...it means at every saturday chain should not run. Could anyone help in defining the scheduling settings based on our requirement?
Thanks
SunilHi,
you could use a combination of "period job" scheduling (daily) plus a custom Factory Calendar restriction where you would create a Factory Calendar with only saturday.
You can use SFT3 to create a custom Factory Calendar.
Start process -> Edit mode (Ctrl + F9) -> Scheduling Options -> Direct Scheduling -> Change Selections -> Date/Time -> Period values -> Daily -> Restrictions: your factory calendar...
Check:
How to trigger Process chain only on every Wed,Thu and Fri night 10 PM
Regards
Andreas -
Process Chain design in powerpoint format
Hi Experts Good morning,
I created one Meta Chain which is included 4 Local Process Chains. and I created message for every step of the all Local Process Chainu2019s if errors occur.
Now i need to explain this to client in power point format. if any one have please share me
Thanks & Regards
David
Edited by: david Rathod on Feb 15, 2012 7:33 AMHi David,
First open the process chain then in the first menu that is Process chain there is option to save it as picture. After saving it as picture you can use this in your ppt slide.
Hope it helps.
Regards,
Prakash
Maybe you are looking for
-
Cannot open older pictures in iPhoto library after upgrade
Hey there! I just updated my iPhoto from 6.? to iPhoto '08. When I open it, I can access events & pictures that are almost a year old, but no older. When I open the iPhoto "package" on my desktop, I find all of my older photos, still intact. How can
-
The Import / Export Service has been developed by 3rd Party to allow you to programmatically load information into the 3rd Party Command Centre System. The service can be used to initialise new installations, and to synchronise data in an on-going ba
-
The finder will open multiple times 30 plus as well as create 40+ blank file folders on the desktop at random. Please help!
-
Why I ca not open my document through adobe today ugent ??
why I can not open my documents through adobe today ?
-
Mail Asking for Keychain Password Randomly for Years
Apple Mail has been randomly asking me to type in my keychain password for one single email account for seriously 10 years. How the **** can I turn this off, forever, and ever, so I never have to see the god **** thing again!? It is on a Gmail accoun