Process chain time duration
Hi Expert's
I ran a process chain which is containing two infopackages.I need to make note of the time duration exactly taken to complete the process with this process chains .Can you people guide me where can I see the time duration for this process chains.
Thanx in Advance.
Vassu.
while u r viewing the log for the process chain..right click on the selected process..click on 'display messages'..
it will show up 3 tabs..
one of the tabs shows the sm37 job log..
u can note the duration from there..b/w job started step and job completed step..
Vishvesh
Similar Messages
-
Process chains time outs and hangs with no error msg - in SP13
Hi all,
We are having all kind of weird problems after we patched our system with SP13. Our process chain time outs and hangs, but surprisingly we never get any error msg. And scarier part is, the problem seems to be intermittent. PC runs fine on some days and hangs on some.
Further analysis into the dump as below
Termination occurred in the ABAP program "SAPLRSSM" -
in "RSSM_SLEEP_DEBUG".
The main program was "SAPMSSY1 ".
In the source code the termination point is in (Include) program "LRSSMU39".
This refers to an issue that appears to have been addressed by OSS Note
934648(meant for SP8). This notes also indicates to populate RSADMIN table to
exclude "RSSM_SLEEP_DEBUG". Not sure if this note is valid for SP13? However we went ahead and populated the RSADMIN table.
So now we have no clue whats going on and where to fix the issue.
As per SAP suggestion we applied the following notes:
0000653996 Analyzing lock situations
0000893563 Correction: Deadlock on completion of a remote chain
0000994007 Corrections: Deadlock with external status query
0001005481 Correction: Process successful, but there is no instance
0001047174 Correction: Incorrect scope when locking in process chains
0001051957 Correction: TIME_OUT during dialog confirmation of processes
0001083660 Report for error stack analysis
Nothing seems to help us. And SAP suggested a few options, which we implemented to no rescue.
Im sure that many of the customers have applied SP13, and want some feedback from them, if this is happening in their systems too?
If so, how did you fix this issue?
Or this situation is unique to us?Please note that no settings were changed as of SP13 to that of what they were in SP12(unless it is a side effect of the patch itself). Everything worked fine with SP12 and is still working on the BIP system. All the problems are in BIQ patched to SP13.
Any pointers or insight would be appreciated. We have a customer msg open with SAP, and going back and forth, but nothing seemed to work as of today.
Thanks,
VoodiNot sure which OSS helped us get past the issue, as SAP asked us to apply a ton of notes. But along which the notes, SAP has some suggestions for us, which we think did the magic. After the implementation of the suggestin we never faced the same issue again. The suggestion by SAP:
move the process chain callback in a batch job by executing
program RSSM_TRACE_SWITCH and selecting the flag "verifcation
of asynchronous processes - execute in batch".
Lemme know if this doesnt fix the issue, I can give all the notes that SAP asked us to apply.
Message was edited by:
voodi -
hi, I'm just starting to use SAP and was setup to do process chain monitoring. We are getting ready to add some new chains to the loads, and I was looking at the RSPCPROCESSLOG for time stamps on which chains were running longer. the problem is the time stamps are confusing and don't seem to make too much sense. Can anyone help me decipher these two?
20.140.623.153.008,5908200(start time stamp)
20.140.623.153.241,6544130(end time stamp)
I get the parts that its 2014/06/23 and the next digits are to be HH/MM/SS, if so, these numbers are wrong, because this job starts ~10:30 am.
any assistance would be greatly appreciatedHi
we will achive your requirement using RSPCLOGCHAIN,RSPCPROCESSLOG ,tables
please write a program like as a below
types: begin of ty_rspc,
log_id type rspc_logid,
starttimestamp type rstimestmpl,
endtimestamp type rstimestmpl,
end of ty_rspc.
Data: lt_pclog type standard table of rspclogchain,
wa_pclog like line of lt_pclog,
rspc type table of ty_rspc,
wa_rspc type ty_rspc,
e_status1 type char10,
i_chain1 type rspc_chain,
logid type rspc_logid.
parameters: chain type rspc_chain.
select-options : dat for date no intervals ,
select * from rspclogchain
into table lt_pclog
where chain_id = CHAIN
and datum in dat.
if sy-subrc = 0.
sort lt_pclog by datum zeit.
loop at lt_pclog into wa_pclog.
if sy-subrc eq 0.
logid = wa_pclog-log_id.
i_chain = wa_pclog-chain_id.
endif.
select log_id min( starttimestamp ) max( endtimestamp )
from rspcprocesslog
into table rspc
where log_id = logid group by log_id .
if logid is not initial and i_chain is not initial.
call function 'RSPC_API_CHAIN_GET_STATUS'
exporting
i_chain = i_chain
i_logid = logid
importing
e_status = e_status.
endif.
if e_status = 'G' ....... R ,J, X,A,F
*we have to calculate the start date&time and enddate& time
loop at rspc into wa_rspc .
if sy-tabix = 1.
time_end = wa_rspc-endtimestamp.
exit.
endif.
endloop.
loop at rspc into wa_rspc .
time_start = wa_rspc-starttimestamp.
endloop.
hh = time_end+10(2).
min = time_end+12(2).
ss = time_end+14(2).
concatenate hh min ss into time_e .
concatenate hh min ss into time_ed separated by ':'.
hh = time_start+10(2).
min = time_start+12(2).
ss = time_start+14(2).
concatenate hh min ss into time_s .
concatenate hh min ss into time_st separated by ':' .
date_end = time_end+2(8).
date_start = time_start+2(8).
i have write some idea program , ask ur ABAper to fine tune .
Regrds,
polu. -
Hi,
I am trying to load the data in development system throught process chain.But last time data is loaded in 2007.When I start the chain its giving message that incorrect start date.When I try to chage the date today.Same message I am getting.Please any one tell me how to solve the problem.
Regards,
Nikithahi,
you tried today's date, how's the time ? did you set in 1-2 mins forward or few mins 5-10 ? or can try 'immediate' ?
hope this helps. -
How to improve the process chain loading time
hi gurus,
one process chian having start - loading - roll up (3activities) but the load is data mart load which is going to update 11further targets. this take 1hrs. we want reduce this load. pl give ideas about reducing process chain time. (there are no indexing in the chain)delete index and re-create after loading will surely improve loading performance but only it is only applicable if you do not compress the data , because if you compress the data will be available in E fact table.
Check the tranfer and update rules, if you have routines that read tables, check those statements and see if they can be still more optimized.
In the infopackage see ifyou have load PSA and then in to data target , if so check if there is any possibility of changing to load both in parallel.
hope it is clear
assign points if useful -
HI all;
I want to cancel the process type if it takes let's say more than 2 hrs.; the reason is sometimes the rollup job don't finish and just hang it forever...until more than 12 hrs and we have to manually cancel the job in the morning when we come to the office. This is affecting the runstats job when we do after the process chain completes.
so, is there any set up that I can do to cancel the process types let's say rollup for a cube if this doesn't finish by 2 hrs automatically.
thank you.Bhanu;
they are SEM cubes; and there are several situations sometimes the rollup gets stucks..; for example if some users do the planning in the same cube, or locks.,,etc..we tried to tell all the planner not to do any activities during the daily process chain time. we are doing rollup and compress every day for the sem cubes. -
Using BPC Process Type Optimize in Process chain
Hi,
BW Process chain fails at BPC Process Type Optimize though Appset, Application, User field values are passed as below.
FIELD NAME FIELD VALUE
SUSER XYZ
SAPPSET CopyApshell
SAPP FINANCE
Please let me know if I am missing any parameters. Is there a better way of executing Optimize as part of process chain.
Thanks in advance.Bhanu;
they are SEM cubes; and there are several situations sometimes the rollup gets stucks..; for example if some users do the planning in the same cube, or locks.,,etc..we tried to tell all the planner not to do any activities during the daily process chain time. we are doing rollup and compress every day for the sem cubes. -
Infocube/DSO/Process Chain - data load statistics
Hi,
I'm trying to look for the total data records extracted per day and extraction time from ECC into a particular DSO or infocube.
Also the start and end times of the process chain which executes this infocube.
We are trying to do some performance analysis for the volume testing.So ,we can compare the data volume loaded vs the execution times.
I was able to look under the infocube/dso -> right click -> MANAGE -> transfered records/update records , request time,update time
For this, do I need to look at the full update details or the delta update details?
Also under a particular process chain,-> right click on First step ->Display messages to get the start time of the job
Right Click on last Step ->Display mseeages to get the job finished time.
I just wanted to get your thoughts on this, if this is the correct way to get the total records extracted and extraction times along with process chain times.
Thank you.Hi,
Based on the time char like 0calmonth, 0calday you will check the data.
check the jobs in SM37 at ECC and BI system.
select the specific jobs it will give clear picture. how much taking time form source to target.
you use the DB02 and STO5 and RSTT you can do performance analysis.
manage screen you will get either full or delta and which one source system and which type of data source.
Process chains have it will automate the PRD system
Thanks,
Phani. -
Info Package in Process Chain taking long time
Dear All,
Info Package in Process Chain having 0 records is taking 1 hr 5 mins to complete. Time out time is set to 10 mins.
Does any one of you know the reason why it is happening like this?
Regards.When the info package status turns to green : final message is :
No data available
Diagnosis
The data request was a full update.
In this case, the corresponding table in the source system does not
contain any data.
System Response
Info IDoc received with status 8.
Procedure
Check the data basis in the source system.
Diagnosis
The data request was a full update.
o In this case, the corresponding tab
contain any data.
o System Response
Info IDoc received with status
Procedure
Check the data basis in the source system.
Analysis
========
No data available in the source system for this selection
No further action necessary
When the status was red, I checked BD87 and SM58 and there were no entries.
The corresponding job in sm37 took 869 seconds to complete. Below was the job Log.
Job started
DATASOURCE = 0CO_PC_02
Call customer enhancement BW_BTE_CALL_BW204010_E (BTE) with 0 records
Result of customer enhancement: 0 records
Call customer enhancement EXIT_SAPLRSAP_001 (CMOD) with 0 records
Result of customer enhancement: 0 records
IDOC: Info IDoc 2, IDoc No. 1345319, Duration 00:00:00
IDoc: Start = 24.10.2011 18:29:54, End = 24.10.2011 18:29:54
Synchronized transmission of info IDoc 3 (0 parallel tasks)
IDOC: Info IDoc 3, IDoc No. 1345330, Duration 00:00:00
IDoc: Start = 24.10.2011 18:44:18, End = 24.10.2011 18:44:18
Job finished.
PLease help.
Regards. -
Infopackage in process chain taking long time to run
HI Experts,
One of the element (Infopackage) in process chain(Daily process chain) is taking much longer time(6 hr and still runing) as generally it takes 15-20 mins to complete and the status is in yellow and still running in process monitor without giving any clear picture of error. Manually we are making the staus red and we are updating from PSA and this time it is getting completed in time as specified.
Flow from PSA to datatarget(DSO) in series
For last one week we are facing same issue and i would like to mention that we don't have access to SM37,SM12 to look the logs
and any locks.
without this i need to investigate what is the root cause for the same.
with regards,
muraliHi,
please find the job log.
Date
Time
Message
MsgID/No./Ty
13.12.2010
21:45:30
Job started
00
516
S
13.12.2010
21:45:30
Step 001 started (program SBIE0001, variant &0000000109368, user ID RFCUSER)
00
550
S
13.12.2010
21:45:30
Asynchronous transmission of info IDoc 2 in task 0001 (0 parallel tasks)
R3
413
S
13.12.2010
21:45:30
DATASOURCE = 2LIS_17_I3HDR
R3
299
S
13.12.2010
21:45:30
RLOGSYS = PBACLNT200
R3
299
S
13.12.2010
21:45:30
REQUNR = REQU_D9GSSV08BTS93Z6Y7XWP1ZEUJ
R3
299
S
13.12.2010
21:45:30
UPDMODE = D
R3
299
S
13.12.2010
21:45:30
LANGUAGES = *
R3
299
S
13.12.2010
21:45:30
R8
048
S
13.12.2010
21:45:30
Current Values for Selected Profile Parameters *
R8
049
S
13.12.2010
21:45:30
R8
048
S
13.12.2010
21:45:30
abap/heap_area_nondia......... 0 *
R8
050
S
13.12.2010
21:45:30
abap/heap_area_total.......... 25500319744 *
R8
050
S
13.12.2010
21:45:30
abap/heaplimit................ 40000000 *
R8
050
S
13.12.2010
21:45:30
zcsa/installed_languages...... ED *
R8
050
S
13.12.2010
21:45:30
zcsa/system_language.......... E *
R8
050
S
13.12.2010
21:45:30
ztta/max_memreq_MB............ 2047 *
R8
050
S
13.12.2010
21:45:30
ztta/roll_area................ 3000320 *
R8
050
S
13.12.2010
21:45:30
ztta/roll_extension........... 2000000000 *
R8
050
S
13.12.2010
21:45:30
R8
048
S
13.12.2010
21:45:31
70 LUWs confirmed and 70 LUWs to be deleted with function module RSC2_QOUT_CONFIRM_DATA
RSQU
036
S
13.12.2010
21:45:33
Call customer enhancement BW_BTE_CALL_BW204010_E (BTE) with 9,895 records
R3
407
S
13.12.2010
21:45:33
Result of customer enhancement: 9,895 records
R3
408
S
13.12.2010
21:45:33
Call customer enhancement EXIT_SAPLRSAP_001 (CMOD) with 9,895 records
R3
407
S
13.12.2010
21:45:33
Result of customer enhancement: 9,895 records
R3
408
S
13.12.2010
21:45:33
PSA=0 USING & STARTING SAPI SCHEDULER
R3
299
S
13.12.2010
21:45:33
Asynchronous send of data package 1 in task 0002 (1 parallel tasks)
R3
409
S
13.12.2010
21:45:34
IDOC: Info IDoc 2, IDoc No. 5136702, Duration 00:00:00
R3
088
S
13.12.2010
21:45:34
IDoc: Start = 13.12.2010 21:45:30, End = 13.12.2010 21:45:30
R3
089
S
13.12.2010
21:45:35
Asynchronous transmission of info IDoc 3 in task 0003 (1 parallel tasks)
R3
413
S
13.12.2010
21:45:35
Altogether, 0 records were filtered out through selection conditions
RSQU
037
S
13.12.2010
21:45:35
IDOC: Info IDoc 3, IDoc No. 5136703, Duration 00:00:00
R3
088
S
13.12.2010
21:45:35
IDoc: Start = 13.12.2010 21:45:35, End = 13.12.2010 21:45:35
R3
089
S
13.12.2010
21:55:37
tRFC: Data Package = 1, TID = 0AF0842B00C84D0694000F00, Duration = 00:10:03, ARFCSTATE = SYSFAIL
R3
038
S
13.12.2010
21:55:37
tRFC: Start = 13.12.2010 21:45:34, End = 13.12.2010 21:55:37
R3
039
S
13.12.2010
21:55:37
Synchronized transmission of info IDoc 4 (0 parallel tasks)
R3
414
S
13.12.2010
21:55:37
IDOC: Info IDoc 4, IDoc No. 5136717, Duration 00:00:00
R3
088
S
13.12.2010
21:55:37
IDoc: Start = 13.12.2010 21:55:37, End = 13.12.2010 21:55:37
R3
089
S
13.12.2010
21:55:37
Job finished
00
517
S -
BPM Process chain takes long time to process
We have BI7, Netweaver 2004s on Oracle and SUN Solaris
There is a process chain (BPM) which pulls data from the CRM system into BW. The scheduled time to run this chain is 0034 hrs. This chain should ideally complete before / around 0830 Hrs. <b>Now the problem is that every alternate day this chain behaves normally and gets completed well before 0830 hrs but every alternate day this chain fails </b> there are almost 40 chains running daily. Some are event triggered (dependent with each other) or some run in parallel. In this, (BPM) process chain, usually there are 5 requests with 3 Delta and 2 full uploads (Master Data). The delta uploads finishes in 30 minutes without any issues with very few record transfers. The first full upload is from 0034 hrs to approximately 0130 hrs and the 2nd upload is from 0130 hrs to 0230 hrs. Now if the 1st upload gets delayed then the people who are initiating these chains, stop the 2nd full upload and continue it after all the process chains are completed. Now this entire BPM process chain sometimes takes 17 -18 hrs to complete!!!!!
No other loads in CRM or BW when these process chains are running
CRM has background jobs to push IDOCS to BW which run every 2 minutes which runs successfully
Yesterday this chain got completed successfully (well within stipulated time) with over 33,00,000 records transferred but sometimes it has failed to transfer even 12,00,000 records!!
Attaching a zip file, please refer the 21 to 26 Analysis screen shot.doc from the zip file
Within the zip file, attaching Normal timings of daily process chains.xls the name explains it .
Also within the zip file refer BPM Infoprovider and data source screen shot.doc please refer this file as the infopackage (page 2) which was used in the process chain is not displayed later on in page number 6 BUT CHAIN GOT SUCESSFULLY COMPLETED
We have analyzed:--
1) The PSA data for BPM process chain for past few days
2) The info providers for BPM process chain for past few days
3) The ODS entries for BPM process chain for past few days
4) The point of failure of BPM process chain for past few days
5) The overall performance of all the process chains for past few days
6) The number of requests in BW for this process chain
7) The load on CRM system for past few days when this process chain ran on BW system
As per our analysis, there are couple of things which can be fixed in the BW system:--
1) The partner agreement (transaction WE20) defined for the partner LS/BP3CLNT475 mentions both message types RSSEND and RSINFO: -- collect IDOCs and pack size = 1 Since the pack size = 1 will generate 1 TRFC call per IDOC, it should be changed to 10 so that less number of TRFCs will be generated thus less overhead for the BW server resulting in the increase in performance
2) In the definition of destination for the concerned RFC in BW (SM59), the Technical Setting tab says the Load balancing option = No. We are planning to make it Yes
But we believe that though these changes will bring some increase in performance, this is not the root cause of the abnormal behavior of this chain as this chain runs successfully on every alternate day with approximately the same amount of load in it.
I was not able to attach the many screen shots or the info which I had gathered during my analysis. Please advice how do I attach these files
Best Regards,Hi,
Normally index creation or deletion can take long time in case your database statistics are not updated properly, so can check stat after your data loading is completed and index generation is done, Do creation of database statistics.
Then try to recheck ...
Regards,
Satya -
To find the time required by the process chain to complete
Hi Experts,
I am calulating the average time required by the process chain to compete.
Is there any way to find the time required by the process chain to complete..
Thanks in advance.
Regards,
AshwinHi,
There is a Tool provided by SAP to do the Process Chain Analysis.
It is basically a ABAP Program /SSA/BWT which provides the following BW Tools:
a)Process Chain Analysis : this tool is used to perform the Runtime analysis of the Process Chains. The analysis can be performed not only at Process Chain level but also at the Process Type level.
b)Detailed Request Analysis
c)Aggregate Toolset
d)Infoprovider BPPO Analysis
So you can go through the program and analyse the runtime of your Process Chains.
Regards,
Abhishek
Edited by: Abhishek Dutta on Aug 13, 2008 7:13 AM -
Process chain on a particular day and multiple times
i have a requirement to run a process chain 2 times on saturday (one at 3pm and another at 8 pm) for a particular process chain only !!
how do i do this ?? some one please help....Here's one idea:
Create an ABAP program that calls the RSPC_API_CHAIN_START Function Module. In this program, create a selection screen that has the same selection criteria as this Function Module. When you have tested the program and ensures that it works properly, create a variant for that program, for the selection selection screen criteria, and save that. After you have transported the program and variant throughout your landscape, schedule two separate jobs in tcode SM36 of your production environment. One as a weekly periodic job that is scheduled to start on a Saturday @ 3:00 PM and another weekly periodic job that is scheduled to start on a Saturday @ 8:00 PM. -
Process Chain changing start time?
hi guysm i have 76 process chains that run every day in BWD system, so i removed all the timings from the start variant and in the infopackages, but it seems some process chains are still running, i did do the following steps on chnaging the time from a particular time to immediate, Save, Check and activate, i didnt schedule it as i dont want it to load right away .
do i have to hit check , save , schedule once i change the time from a particular time to immediate load or activate will work as well.?
what else could be the cause of process chains still loading even there are no events, or time given to any process chains at all.
i went to sm 37 and i can see the bi process are all running at the time they were orignially set up on.
so any suggestions would help,
is there any way from sm 37 i can tell which process chain is triggered off?
thanks
Dante(devils never cry)Dante, the start conditions on the infopackages do not affect when they run in process chains. The process chains have their own start job. If you want to change the start time of a process chain, then you need to go to maintain the process chain, right-click on the Start process and select Displaying Scheduled Job(s)... . Here you will see a job called BI_PROCESS_TRIGGER. Change the start conditions of this job.
The start job for all process chains is BI_PROCESS_TRIGGER, so using SM37 may be difficult to identify which BI_PROCESS_TRIGGER job is associated to a particular chain.
Also, to let you know, each process in a process chain has an associated job. All jobs called BI_PROCESS_xxxxx are jobs associated with a process chain.
Eg.
BI_PROCESS_LOADING is an infopackage.
BI_PROCESS_TRIGGER is the start job
Does this help? -
Process chain fails every time at "roll up of aggregates"
hi all,
A process is deffined in such a way that... start
i
i
Delta loads to infocube1(load) deltaload to infocube2(load) deltaload to infocube3(load)
i i i
i i i
delta load of aggregate(cube1) delta load of aggregates(cube2) delta load of aggregates
Every time when this process chain get executed,this fails at delta laod of aggregates step.If i repeat again it works fine.But repeating is not a solution for this.So,i want a permanent soltuion for this..
Please guide me what to do?and explain me why this happens.
Error message:-process rollup of filled aggregates/bia indexes,variant delta load of aggregates
Thanks( in advance)
MoushmiHi Moushmi,
Have you checked if the system has processes available while the chain is running? It could be that your system is overloaded and the aggregates wouldn't roll up because you have no processes or available memory.
Check with your Basis resource. Also, try changing your chain to do only 1 at a time. Do you have many aggregates to load, are they big, and most important are they being used.
Kathleen
Maybe you are looking for
-
Help need to script(urgent)
hai everybody... i ahve written a javascript for popup a new window...this is my script script function open() if(portal40.wwctx_api.get_user=='JAYANTHAN') window.open('http://suntechchn:7777/pls/portal40/ATCMIS.ENQUIRY_REP.show?p_arg_names=_show_hea
-
Hi all, I've just started using dreamweaver cs4 and am looking to create a website with a background that behaves like this, when the window is resized. I just want the image to move and shift, not necesarily resize. The example looks like the image
-
I would like to know whether After Effects CC Ray-traced 3D support the GPU of the new iMac with retina display.
-
This just started happening a few days ago- for some reason I am not able to highlight photos in iphoto and drag and drop them into a folder/ desktop. I can sometimes do one at a time, but not always. When I drag the group somewhere, I see the green
-
Developer key in com_product_upgrade Report
Hi Experts, Is there any way to avoid Developer key entry while running COM_PRODUCT_UPGRADE Report during Post Upgrade as per LONGPOST.log details. We dont want to provide Dev. key in Prod. so we are looking for some alternates. Please suggest! Regar