Mass activity report
Hello,
I would need to create a report compliant with mass activities. Does anyone know where I could find some documentation (in English) about that?
I found a bunch of function modules like FKK_AKTIV2_RUN_KEY_CONSTRUCT that are directly related with that but I still miss the big picture.
Thanks
that depends. do you want it for IS-U, IS-M-CA, FS-CD, FI-CA(X)??
this module is a bit cross-applications (and -solutions) as far as i understand it. see note [569896|https://websmp130.sap-ag.de/sap(bD1kZSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=569896&nlang=EN&smpsrv=https%3a%2f%2fwebsmp102%2esap-ag%2ede], then switch to help.sap.com and search the documentation of the a. m . solutions for keyword 'mass activity'.
Similar Messages
-
Deleting expired application logs is key to improving mass activity performance issues
During mass activity runs reference is made to the system's application logs during the process of line item selection. Performance based issues can be overcome by deleting old/expired application logs from the system, and rebuilding the affected table index. Based on my analysis on these issues, there has been a significant observation of 90% improvement in performance.
Dear Astrid,
Depending on the performance trace observed using transaction ST12, if for instance the SELECT on a particular table takes the most time, deleting all expired application logs and rebuilding the table index will result in a significant performance improvement.
Yes 90% improvement will be observed across the entire mass activity run. In my example below I use table BALHDR.
1. Run report SBAL_DELETE to delete all expired
application logs from table BALHDR
1.1. At the selection screen of report
SBAL_DELETE, set the radio button for the expiry date to 'Only logs which have
reached their expiry date’
1.2. Under the tab for 'Selection
conditions', enter the affected transaction code. e.g FPVA
1.3. To delete the entries, set the radio
button under the Options tab to 'Delete immediately'
1.4. Finally, execute or use shortcut F8 to
delete logs
2. Rebuild index 1 on table BALHDR (create a
secondary index on the table).
I hope this helps.
Kind Regards,
Adrian -
Mass activity running only once for custom parallel object
Hi
I have created custom parallel object EXT_UI and created mass activity for this but the report in triggered only once and not going for second interval .
Can any one help me out in this.
Thanks in advance.
Chetan
Message was edited by: CHETAN N P
Mass activity is running fine for standard object ANLAGE but not for custom one
Please share me steps to be followed in creating custom parallel object.
Regards,
ChetanHi Chetan,
I think you need to make changes in the Events which gets triggered by the mass activity.
Can you let me know the mass transaction code for which you have customised the activity,
Thanks,
Amlan -
Mass activation of Aggregation level
Dear all..
How to do the mass activation of all Aggregation level in Modeler at one instance. while collection tp we have to activate the individual aggregation level, its more time consuming.
I have lot of aggregation levels to activate, any solutions.
Regards
PeraselHi there,
Create this program (it was referenced by a SAP note) in se38 transaction:
*& Report Z_ACTIVATE_ALVL
REPORT Z_ACTIVATE_ALVL.
TYPE-POOLS: rs.
PARAMETER: g_iprov TYPE rsinfoprov.
PERFORM run.
*& Form run
FORM run.
DATA: l_t_return TYPE STANDARD TABLE OF bapiret2,
l_s_return TYPE bapiret2,
l_subrc TYPE sysubrc,
l_t_alvl TYPE STANDARD TABLE OF rspls_alvl,
l_s_alvl TYPE rspls_alvl,
l_t_alvl_iobj TYPE STANDARD TABLE OF rspls_s_rfc_alvl_iobj.
SELECT * FROM rspls_alvl INTO TABLE l_t_alvl
WHERE infoprov = g_iprov
AND objvers = 'A'.
CHECK l_t_alvl IS NOT INITIAL.
LOOP AT l_t_alvl INTO l_s_alvl.
CALL FUNCTION 'RSPLS_ALVL_CHANGE'
EXPORTING
i_aggrlevel = l_s_alvl-aggrlevel
IMPORTING
e_subrc = l_subrc
TABLES
i_tk_alvl_iobj = l_t_alvl_iobj
e_tk_return = l_t_return.
CHECK l_subrc = 0.
CALL FUNCTION 'RSPLS_ALVL_CHECK'
EXPORTING
i_aggrlevel = l_s_alvl-aggrlevel
i_objvers = rs_c_objvers-active
IMPORTING
e_subrc = l_subrc
TABLES
e_tk_return = l_t_return.
READ TABLE l_t_return INDEX 1 INTO l_s_return.
CHECK l_subrc <> 0 OR ( sy-subrc = 0 AND l_s_return-type = 'S' ).
CLEAR l_t_return.
CALL FUNCTION 'RSPLS_ALVL_ACTIVATE'
EXPORTING
i_aggrlevel = l_s_alvl-aggrlevel
IMPORTING
e_subrc = l_subrc
TABLES
e_tk_return = l_t_return.
ENDLOOP.
ENDFORM. "run
This will mas activate your aggregation levels built on InfoProvider.
Diogo. -
Activity Report download is saved without extension and unreadable
Hello,
The Portal Activity Report iView has a button which enables the user to download the report to his PC.
The problem is that when the user clicks on that button and saves the file it is being saved by this default name: com.sap.portal.activityreport.frontend.DownloadableActivityReport
The main problem is that it is being saved by default without any extension and after saving the user needs to manually add the .xls suffix.
Another problem is that once I open the report with Excel The Object Name column is unreadable.
Is there any way to resolve these issues?
RoyHi Roy,
> if it wasn't supported there
> or you would still consider it as a bug?
The feature in general of course was supported, but what I cannot say is if it was a known issue that it didn't work correctly. As I dont't use the ActivityReport, I also have no experience if it didn't work at some time and maybe now is working.
The wrong filename I don't expect to be corrected in the meanwhile, as said, that's a problem in some places. So at least for this you could open an OSS message. And maybe combine this with the problematic column issue.
But if upgrading to SP18 would be an option for you, maybe you could first test that.
Hope it helps
Detlev -
No data in Portal Database tables for Activity Report
Hi experts,
I've developed an Activity Report application in SAP Portal 7.0, which went live but the report shows no data.
We are pulling data from 2 portal database tables: WCR_WEBCONTENTSTAT and WCR_USERPAGEUSAGE
In non production environment there is data in the report but there is no data in the production environment.
The Activity Report service is already activated/started and set to true.
What could have caused this? And what should we check now?
What other configurations/setup should be done?
Regards,
GregHi Greg,
Those are the aggregated tables. If they are not filled with data although the Portal Activity Report is activated, you should check whether the aggregation finished successfully.
In the older SPs there were some problems that were fixed in later SPs of 7.0.
In order to have the latest version of Portal Activity report, you can check SAP note 1084379 - Portal Activity Report - Latest Version (SDA file).
You can compare the SP via the MANIFAST file, as it contains the version and SP number.
In order to troubleshoot problems in Activity Report, you can follow SAP note: 1690023 - Portal Activity Report - Component-specific Note
Some basic checks that you can do:
Run query on the raw data tables to check since when there is data in those tables:
select min(timestamphour) from SAP<SystemID>DB.WCR_WEBCNODESTAT;
If there is too much data from long time ago, then you should delete the old data, and leave only the new data (there is anyways retention time for the data to be kept).
If there is no data, then it means that the Portal Activity Report does not collect data, and not really activated (usually this is not the case).
The aggregation runs every top of the hour, so you can check in the default traces for an error during that time.
In most of the cases something went wrong while aggregating the data.
As a result the aggregation is not finished, so the transaction is not being committed, and the aggregated tables stay empty.
If there is a DuplicateKeyException in the trace, you can follow SAP note 1054145 - Duplicate Key Exception.
If you have any more questions, please don't hesitate to ask.
I hope this information helps,
Thanks & regards,
Michal Zilcha-Lang -
How to list the documents in the Portal Activity Report?
Hello,
In the Portal Activity Report I would like to see the documents list with number of uploads, number of downloads and the username who have accessed the documents for monthly. Can any one help me where to mention all the details regarding this one. I didn't found anything regarding this in the Portal Activity Report.
Thnx in advance.
cheers,
MuraliHello,
Can anyone help me solving this problem.
Thnx in advance
cheers
Murali -
Create an Activity Report for Current Week
I would like to create a activity report for the current week. The trick is that if the weekday is Wednesday or earlier (Sunday being the first day of the week), the report shows last week's activities; but if the weekday is Thursday or later (Saturday being the last day of the week), the report shows the current weeks activities.
I have a filter that works in Access but does not seem to work in Siebel. It does just what I explained above:
Between CDate(Int((IIf(Weekday(Now())<=4,Now()-(6+Weekday(Now())),Now()-(Weekday(Now())-1))))) And CDate(Int((IIf(Weekday(Now())<=4,Now()-Weekday(Now()),Now()+(7-Weekday(Now()))))))
Thank you,
David
Edited by: DavidE on Oct 7, 2008 4:17 PMDavid,
try this:
case DAYOFWEEK(CAST(Activity."Planned Start Time" AS date))when 1 then timestampadd(sql_tsi_day,1,CAST(Activity."Planned Start Time" AS date)) when 3 then timestampadd(sql_tsi_day,-1,CAST(Activity."Planned Start Time" AS date)) when 4 then timestampadd(sql_tsi_day,-2,CAST(Activity."Planned Start Time" AS date)) when 5 then timestampadd(sql_tsi_day,-3,CAST(Activity."Planned Start Time" AS date)) when 6 then timestampadd(sql_tsi_day,-4,CAST(Activity."Planned Start Time" AS date)) when 7 then timestampadd(sql_tsi_day,-5,CAST(Activity."Planned Start Time" AS date)) else CAST(Activity."Planned Start Time" AS date) end
This gave me the sunday of the week. You should be able to modify this format for your purposes.
cheers
Alex -
KM Activity Reporting -- Enhancing Customer Reports
Hello friends,
I have a quick query on KM activity reporting . I came across this article by name "Enhancing Customer Reports with Commands and Parameters" by Thilo Brandt dated 11th July 2006 .
Here is the link to the article
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d28a67b-0c01-0010-8d9a-d7e6811377c0
I would like to know if deploying the code given in the article would directly produce the report given in the article . Is this a fully functional code ? I am asking this because i have not come across any User Interface code in the example . Please respond with your comments at the earliest .
Many thanks in advance
SubraHi Subra,
look in the file DocumentAccessReport.java
and take a look in the middle of the file :
// reporting properties
protected static final List m_resultPropertyNames;
protected static final IPropertyName m_propDisplayname;
protected static final IPropertyName m_propUniqueUserCount;
protected static final IPropertyName m_propTotalCount;
protected static final IPropertyName m_propLastAccessed;
protected static final IPropertyName m_propLastModified;
Regards, Kai -
Extracting Open Items : Problem with mass activity FPBW
Hi everybody,
I need to extract Open Items in BW. I use the extractor 0FC_OP_01 which extract the content of table DFKKOPBW in OLTP. Open Items are written in table DFKKOPBW by the mass activity FPBW.
I have a problem with this mass activity : the field "Business partner number" stay empty in table DFKKOPBW after the execution of FPBW, whereas it's not empty in table DFKKOP... (and for the cleared items it works...)
Does anybody have a solution for my problem?
Best regards
Aubehi buddy,
go to SBIW go to the setting for application specificdatasourse in that go to contact account recivable, click the fileds for extrction add the field the data to see in to dffkopbw table after mass activity
regards
nag -
Need to join two queries A/R statemet and Activity report
I have two separate queries that need to be one. I have an A/R statement where I want to add notes next to each invoice. Currently these are two separate reports. How can I link the activity Report to the A/R Statement. Below are the two separate reports. I am not sure how to join the files. A/R Aging Report Declare @d datetime set @d /*Select 1 from jdt1 t where t.duedate*/=[%1] select * from ( SELECT T1.CardCode, T1.CardName, T0.RefDate, T0.Ref1 'Document Number', CASE WHEN T0.TransType=13 THEN 'Invoice' WHEN T0.TransType=14 THEN 'Credit Note' WHEN T0.TransType=30 THEN 'Journal' WHEN T0.TransType=24 THEN 'Receipt' END AS 'Document Type', T0.DueDate, (T0.Debit- T0.Credit) 'Balance' ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,@d)=0 and DateDiff(day, T0.DueDate,@d)30 and DateDiff(day, T0.DueDate,@d)60 and DateDiff(day, T0.DueDate,@d)90 and DateDiff(day, T0.DueDate,@d)=121),0) '121+ Days' FROM JDT1 T0 INNER JOIN OCRD T1 ON T0.ShortName = T1.CardCode WHERE T1.CardType = 'C' ) sub Activity Report SELECT T1.[ClgCode],T2.[U_NAME], T4.[Name] as Status, T0.[CardCode], T0.[CardName], T0.[DocNum], T0.[U_AIS_DVIInvName] as 'SF Invoice Name', (T0.U_AIS_DVISFSO) as 'SO#', T0.[DocDate],T0.Taxdate as 'Month Of Service',T0.[U_AIS_DVIOpptyNm],T0.[U_AIS_DVIAdvNm],T0.[U_AIS_DVIManNm],T0.[U_AIS_DVIAcctNm], T0.[DocTotal], T0.[DocStatus], T1.[Recontact], T1.[Details], T1.[Notes], T1.[CntctType], T3.[Name] FROM OINV T0 left join OCLG T1 on t0.docentry = t1.docentry and T0.[ObjType] = T1.[DocType] left outer JOIN OUSR T2 ON T1.UserSign = T2.USERID left outer join OCLT T3 ON T1.CntctType = T3.Code left outer join OCLS T4 ON T1.CntctSbjct = T4.Code where T1.[CntctType] =6 or T1.[CntctType] =7
This is what I have so far.. it finally produced results but I notice the amount on the Activity + Aging does not match what is on the Aging and that seems to be what the issue is... that was my check to know the report is working. Basically the report should show the aging + any activity associated with the open invoice. The amount on the report is lower than the aging.. I am attaching the aging query and the aging with activity Query. It looks like something is not joining correctly as the amounts do not match on the balance. Aging Report Declare @d datetime set @d /*Select 1 from jdt1 t where t.duedate*/=[%1] select * from ( SELECT T1.CardCode, T1.CardName, T0.RefDate, T0.Ref1 'Document Number', CASE WHEN T0.TransType=13 THEN 'Invoice' WHEN T0.TransType=14 THEN 'Credit Note' WHEN T0.TransType=30 THEN 'Journal' WHEN T0.TransType=24 THEN 'Receipt' END AS 'Document Type', T0.DueDate, (T0.Debit- T0.Credit) 'Balance' ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,@d)=0 and DateDiff(day, T0.DueDate,@d)30 and DateDiff(day, T0.DueDate,@d)60 and DateDiff(day, T0.DueDate,@d)90 and DateDiff(day, T0.DueDate,@d)=121),0) '121+ Days' FROM JDT1 T0 INNER JOIN OCRD T1 ON T0.ShortName = T1.CardCode WHERE T1.CardType = 'C' ) sub Activity + Aging Declare @d datetime set @d /*Select 1 from jdt1 t where t.duedate*/=[%1] select * from ( SELECT T1.CardCode, T1.CardName, T0.RefDate, T0.Ref1 'Document Number', CASE WHEN T0.TransType=13 THEN 'Invoice' WHEN T0.TransType=14 THEN 'Credit Note' WHEN T0.TransType=30 THEN 'Journal' WHEN T0.TransType=24 THEN 'Receipt' END AS 'Document Type', T0.DueDate, (T0.Debit- T0.Credit) 'Balance' ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,@d)=0 and DateDiff(day, T0.DueDate,@d)30 and DateDiff(day, T0.DueDate,@d)60 and DateDiff(day, T0.DueDate,@d)90 and DateDiff(day, T0.DueDate,@d)=121),0) '121+ Days', T6.[FirstName] as 'AP Contact First Name', T6.[LastName] as 'AP Contact Last Name' , T6.[E_MailL], T6.[Notes1] as ' AP Supervisor', T2.[ClgCode],T7.[U_NAME], T4.[Name] as Status, T5.[DocNum], T5.[U_AIS_DVIInvName] as 'SF Invoice Name', (T5.U_AIS_DVISFSO) as 'SO#', T5.[DocDate],T5.Taxdate as 'Month Of Service',T5.[U_AIS_DVIOpptyNm],T5.[U_AIS_DVIAdvNm],T5.[U_AIS_DVIManNm],T5.[U_AIS_DVIAcctNm], T5.[DocTotal], T5.[DocStatus], T2.[Recontact], T2.[Details], T2.[Notes], T2.[CntctType], T3.[Name] FROM JDT1 T0 INNER JOIN OCRD T1 ON T0.ShortName = T1.CardCode INNER JOIN OCLG T2 ON T1.CardCode = T2.CardCode INNER JOIN OCLT T3 ON T2.CntctType = T3.Code INNER JOIN OCLS T4 ON T2.CntctSbjct = T4.Code INNER JOIN OINV T5 ON t5.docentry = t2.docentry and T5.[ObjType] = T2.[DocType] left outer join OCPR T6 ON T2.CntctCode = T6.CntctCode left outer JOIN OUSR T7 ON T2.UserSign = T7.USERID WHERE T1.CardType = 'C' and (T2.[CntctType] =6 or T2.[CntctType] =7) ) sub
-
No data in Daily Activity Report
Hi expert,
There was no data in Daily Activity Report. But I changed the interval to 'Hourly', it displayed normally.
Why?
the version is 7.0 SP17
Regards,
SidneyHi Raghu,
That is what I do, but also no data.
Does it need to set 'Save interval (minutes)' to 1440 in 'com.sap.portal.activityreport.core'?
Regards,
Sidney -
How to execute the Portal Activity Report
Hello,
In the System Administration -> System Configuration-> Service Configuration Editor
Under Applications->com.sap.portal.activityreport.core-> Services->ActivityReport and I have configured the report.
I saved I have restarted the service to effect the changes and in Portal Catalog
Application->com.sap.portal.activityreport.core and I have administrated the changes. The Application Details Editor is displayed.
I have clicked the Restart the portal also.
I would like to know how to execute this Portal Activity Report after making this configuration.
Can anyone help me.
Thnx in advance
cheers
KrisHi Kris,
here an example with steps:
1. Navigate to Content Administration -> Portal Content
2. Step into a test folder and right click on the folder to create a new iView
2. Select the template "Portal Activity Report iView"
Name: Daily User Logins
Technical Name: DailyUserLogins
3. Open the newly created iView and define the following parameters
under "Specify report content"
Start of Reporting: Date 01.01.2005 and Time: 08:00
End of Reporting: Date 31.12.2005 and Time: 24:00
Time Unit for Reporting: Daily
under "Configure report options"
Information to Report: Number of users logged on
You have created a new reporting iView, aggregating information about the number of anonymous and authenticated users on a daily basis.
Hope this helps,
Robert -
Can the Portal Activity Report show unique users per page?
Hello all
I guess this is a rather simple question, but can someone tell me if the portal activity report can show a count of unique users per page per week for instance?
Or will it just show which users have visited the page in a list without aggregating them to a number? And if the users are aggregated to a number, is it only uniwue users that are counted for the given period?
Regards,
MartinHi sogaard,
It shows the no of unique logons.isnt it.
Try these blogs
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/5497
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/5436
Hope this helps
Regards
Vineeth -
We have just instaled latest version of portal activity report, sap note 1084379, and now we see statistics with 3 hours of diference, por example, at 14:00, we see datas for 11:00
Download Report
Portal Activity Report - Number of users who logged on
Day Date/Time Authenticated Users Anonymous Users
mié 15. oct 2008 05:00 (GMT) 1 1
mié 15. oct 2008 06:00 (GMT) 3 1
mié 15. oct 2008 07:00 (GMT) 3 3
mié 15. oct 2008 08:00 (GMT) 7 3
mié 15. oct 2008 09:00 (GMT) 2 1
mié 15. oct 2008 10:00 (GMT) 4 2
mié 15. oct 2008 11:00 (GMT) 7 1
Página 1 / 1
Just now, the hour is 14:10
Where can we see-change time?Hello Santiago,
The portal nodes within a cluster can be in different time zones, yet the activity data from all nodes are aggregated together and reported together. To enable the reporting of hourly data from different time zones, portal activity reports display hourly data based on the GMT time zone.
For example, portal activity in a single cluster that occurs from 10 to 11 a.m. on a portal node in New York and from 4 to 5 p.m. on a portal node in Frankfurt is reported as occurring between 2 and 3 p.m. GMT. This example assumes daylight savings time.
Regards,
Victoria Gur
Installed Base Development Engineer
NetWeaver Portal Platform
SAP Labs Israel
Maybe you are looking for
-
Hello All, I am using OO - ALV in which I am displaying a quantity field.This field is an editable field and if user tries to change the value and SAVE , it is taking some wrong values. Say suppose I am having 1.000 as the initial value and if
-
Only part of my music library will sync with my phone.
-
Native boot windows 7 ultimate on VHDX
Hi I have been searching around for this but there's seems to be no answer and so I hope Microsoft tech support can help me answer this. I have a PC which I want to dual boot windows 7 Ultimate and windows 8.1 Professional, both on vhdx. First I inst
-
Inserting and Updating records in ORACLE using WebDynpro Java
Hi All I got connected to oracle backend (using my previous thread), but now i want to insert and update the records i have created views for insert and update, Thanks in advance Sushma
-
Trying to use Zoom Q2HD in USB MIC mode and it crashes GarageBand and the whole Ipad?
I bought the Zoom Q2HD video recorder to use for video and because it can be used at a USB Mic for iPad. I recently bought a camera connection kit and last night tried to get the Zoom to work as a mic but it would either not work at all or it would