on 12-17-2013 7:30 AM
Hello Experts,
My Requirement needs an ABAP Code to read Process Chain runtimes automatically.
So, i m looking for a SAP table or a Function Module which can provide this information.
Please Note, I have already tried the table RSPCPROCESSLOG and Function Module - RSPC_RUNTIME_ANALYSIS where if we pass the PC log ID, we can get the Start and End Time Stamps. But, these are hard to read and my ABAP code would need additional coding to read this.
Also, in the FM - RSPC_RUNTIME_ANALYSIS, we have a column "Duration" that can provide the runtime in Seconds, but when i add up all the individual "duration" for each process to get the final runtime, it doesnt match with the Runtime, that we see in SA38/ST13, Process Chain Runtime Analysis.
So, Is there any other table or Function module that can give the accurate runtime as seen in SA38 or ST13?
Thanks in Advance.
Cheers
Shiva
Hello Shiva
This can be achieved by installing and using BI content delivered by SAP for data load statistics.
Technical content provides you the options to analyse following data:
1) Process Chain Statistics ie. data flow for Multiprovider: 0TCT_MC21
2) DTP Statistics ie. data flow for Multiprovider: 0TCT_MC22
3) Infopackage Statistics ie. data flow for Multiprovider: 0TCT_MC22
It does provide a big range of characteristics to analyse the statistical data in required meaningful manner.
After activating the content automate the data load using process chains and set the queries over broadcaster to get automated periodic update for your data load status.
Regards
Ashish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Have you checked RSPCM?
hope that helps
Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Martin,
Yes, I checked RSPCM too. RSPCM is similar to transaction ST13 and does not have Process Chain End Date or End Time or Runtime details. So, i m still looking for a table which has this information, other than RSPCPROCESSLOG because, RSPCPROCESSLOG only has this info in the form of time stamps which need additional ABAP conversion.
Cheers
Shiva
Hi Santhosh,
I wasn't able to find a better table or Function Module than Table - RSPCPROCESSLOG or Function Module - RSPC_RUNTIME_ANALYSIS in BW versions below 7.4.
I had to use the RSPCPROCESSLOG for my ABAP program to read the Start and End Time stamps for each process and add them up to get the Total Runtime of Process Chain.
Note, this total value can differ from the values in SA38/ST13 Runtime Analysis, but this difference did not affect my development/output much.
Cheers
Shiva
Hi Shiva,
Hope you remember 🙂
I could see the FM RSPC_GET_DEVIATION in my system under the function group RSPC_BACKEND but it's attributes says that it is Not Released. This means SAP may change it or even remove it without any warning.
However the code in this FM is fairly simple and it just gives you deviations from the average run times for a process chain based on the rspcprocesslog table. You can achieve this with your ABAP code as well.
Thanks,
Kush
Hello Kush,
Ha Ha, Yeah, I remember. How are you?
Yes, it seems, the availability of this Function Module depends on the BW Version and Service Pack. I was able to find the Function Group in SE80, but, it doesn't have the mentioned FM in my system version.
But, Anyway, thanks for your reply. I was able to use the RSPCPROCESSLOG table to derive a logic for the code.
Cheers
Shiva
Hi Shiva,
You can also debug program /SSA/BWT. It will help you to understand what ST13 does internally so that you can write your approach same way.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yogesh,
Thanks for your reply.
Yes, i tried to debug the /SSA/BWT program to check which tables it refers to and it seems, it refers to RSPCPROCESSLOG which, i had mentioned earlier in my question.
So, i guess, i have no other option, other than, use the same table and write ABAP code to read the Start and End Time Stamps.
But, Thanks again for your reply.
Cheers
Shiva
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.