Inter active report objects

i want a beautiful inter active report  object based on SD module help me one.

REPORT ZZ_22038_22098_002 NO STANDARD PAGE HEADING LINE-SIZE 650
MESSAGE-ID ZZ_9838 .
TYPE-POOLS: SLIS.
*type declaration for values from ekko
TYPES: BEGIN OF I_EKKO,
EBELN LIKE EKKO-EBELN,
AEDAT LIKE EKKO-AEDAT,
BUKRS LIKE EKKO-BUKRS,
BSART LIKE EKKO-BSART,
LIFNR LIKE EKKO-LIFNR,
END OF I_EKKO.
DATA: IT_EKKO TYPE STANDARD TABLE OF I_EKKO INITIAL SIZE 0,
WA_EKKO TYPE I_EKKO.
*type declaration for values from ekpo
TYPES: BEGIN OF I_EKPO,
EBELN LIKE EKPO-EBELN,
EBELP LIKE EKPO-EBELP,
MATNR LIKE EKPO-MATNR,
MENGE LIKE EKPO-MENGE,
MEINS LIKE EKPO-MEINS,
NETPR LIKE EKPO-NETPR,
END OF I_EKPO.
DATA: IT_EKPO TYPE STANDARD TABLE OF I_EKPO INITIAL SIZE 0,
WA_EKPO TYPE I_EKPO .
*variable for Report ID
DATA: V_REPID LIKE SY-REPID .
*declaration for fieldcatalog
DATA: I_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
DATA: IT_LISTHEADER TYPE SLIS_T_LISTHEADER.
declaration for events table where user comand or set PF status will
be defined
DATA: V_EVENTS TYPE SLIS_T_EVENT,
WA_EVENT TYPE SLIS_ALV_EVENT.
declartion for layout
DATA: ALV_LAYOUT TYPE SLIS_LAYOUT_ALV.
declaration for variant(type of display we want)
DATA: I_VARIANT TYPE DISVARIANT,
I_VARIANT1 TYPE DISVARIANT,
I_SAVE(1) TYPE C.
*PARAMETERS : p_var TYPE disvariant-variant.
*Title displayed when the alv list is displayed
DATA: I_TITLE_EKKO TYPE LVC_TITLE VALUE 'FIRST LIST DISPLAYED'.
DATA: I_TITLE_EKPO TYPE LVC_TITLE VALUE 'SECONDRY LIST DISPLAYED'.
INITIALIZATION.
V_REPID = SY-REPID.
PERFORM BUILD_FIELDCATLOG.
PERFORM EVENT_CALL.
PERFORM POPULATE_EVENT.
START-OF-SELECTION.
PERFORM DATA_RETRIEVAL.
PERFORM BUILD_LISTHEADER USING IT_LISTHEADER.
PERFORM DISPLAY_ALV_REPORT.
*& Form BUILD_FIELDCATLOG
Fieldcatalog has all the field details from ekko
FORM BUILD_FIELDCATLOG.
WA_FIELDCAT-TABNAME = 'IT_EKKO'.
WA_FIELDCAT-FIELDNAME = 'EBELN'.
WA_FIELDCAT-SELTEXT_M = 'PO NO.'.
APPEND WA_FIELDCAT TO I_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'IT_EKKO'.
WA_FIELDCAT-FIELDNAME = 'AEDAT'.
WA_FIELDCAT-SELTEXT_M = 'DATE.'.
APPEND WA_FIELDCAT TO I_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'IT_EKKO'.
WA_FIELDCAT-FIELDNAME = 'BUKRS'.
WA_FIELDCAT-SELTEXT_M = 'COMPANY CODE'.
APPEND WA_FIELDCAT TO I_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'IT_EKKO'.
WA_FIELDCAT-FIELDNAME = 'BUKRS'.
WA_FIELDCAT-SELTEXT_M = 'DOCMENT TYPE'.
APPEND WA_FIELDCAT TO I_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'IT_EKKO'.
WA_FIELDCAT-FIELDNAME = 'LIFNR'.
WA_FIELDCAT-NO_OUT = 'X'.
WA_FIELDCAT-SELTEXT_M = 'VENDOR CODE'.
APPEND WA_FIELDCAT TO I_FIELDCAT.
CLEAR WA_FIELDCAT.
ENDFORM. "BUILD_FIELDCATLOG
*& Form EVENT_CALL
we get all events - TOP OF PAGE or USER COMMAND in table v_events
FORM EVENT_CALL.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
I_LIST_TYPE = 0
IMPORTING
ET_EVENTS = V_EVENTS
EXCEPTIONS
LIST_TYPE_WRONG = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. "EVENT_CALL
*& Form POPULATE_EVENT
Events populated for TOP OF PAGE & USER COMAND
FORM POPULATE_EVENT.
READ TABLE V_EVENTS INTO WA_EVENT WITH KEY NAME = 'TOP_OF_PAGE'.
IF SY-SUBRC EQ 0.
WA_EVENT-FORM = 'TOP_OF_PAGE'.
MODIFY V_EVENTS FROM WA_EVENT TRANSPORTING FORM WHERE NAME =
WA_EVENT-FORM.
ENDIF.
READ TABLE V_EVENTS INTO WA_EVENT WITH KEY NAME = 'USER_COMMAND'.
IF SY-SUBRC EQ 0.
WA_EVENT-FORM = 'USER_COMMAND'.
MODIFY V_EVENTS FROM WA_EVENT TRANSPORTING FORM WHERE NAME =
WA_EVENT-NAME.
ENDIF.
ENDFORM. "POPULATE_EVENT
*& Form data_retrieval
retreiving values from the database table ekko
FORM DATA_RETRIEVAL.
SELECT EBELN AEDAT BUKRS BSART LIFNR FROM EKKO INTO TABLE IT_EKKO.
ENDFORM. "data_retrieval
*& Form bUild_listheader
text
-->I_LISTHEADEtext
FORM BUILD_LISTHEADER USING I_LISTHEADER TYPE SLIS_T_LISTHEADER.
DATA HLINE TYPE SLIS_LISTHEADER.
HLINE-INFO = 'this is my first alv pgm'.
HLINE-TYP = 'H'.
ENDFORM. "build_listheader
*& Form display_alv_report
text
FORM DISPLAY_ALV_REPORT.
V_REPID = SY-REPID.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = V_REPID
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
I_CALLBACK_TOP_OF_PAGE = 'TOP_OF_PAGE'
I_GRID_TITLE = I_TITLE_EKKO
I_GRID_SETTINGS =
IS_LAYOUT = ALV_LAYOUT
IT_FIELDCAT = I_FIELDCAT[]
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
i_default = 'ZLAY1'
I_SAVE = 'A'
is_variant = i_variant
IT_EVENTS = V_EVENTS
TABLES
T_OUTTAB = IT_EKKO
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. "display_alv_report
*& Form TOP_OF_PAGE
text
FORM TOP_OF_PAGE.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = IT_LISTHEADER
i_logo =
I_END_OF_LIST_GRID =
ENDFORM. "TOP_OF_PAGE
*& Form USER_COMMAND
text
-->R_UCOMM text
-->, text
-->RS_SLEFIELDtext
FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
RS_SELFIELD TYPE SLIS_SELFIELD.
CASE R_UCOMM.
WHEN '&IC1'.
READ TABLE IT_EKKO INTO WA_EKKO INDEX RS_SELFIELD-TABINDEX.
PERFORM BUILD_FIELDCATLOG_EKPO.
PERFORM EVENT_CALL_EKPO.
PERFORM POPULATE_EVENT_EKPO.
PERFORM DATA_RETRIEVAL_EKPO.
PERFORM BUILD_LISTHEADER_EKPO USING IT_LISTHEADER.
PERFORM DISPLAY_ALV_EKPO.
ENDCASE.
ENDFORM. "user_command
*& Form BUILD_FIELDCATLOG_EKPO
text
FORM BUILD_FIELDCATLOG_EKPO.
WA_FIELDCAT-TABNAME = 'IT_EKPO'.
WA_FIELDCAT-FIELDNAME = 'EBELN'.
WA_FIELDCAT-SELTEXT_M = 'PO NO.'.
APPEND WA_FIELDCAT TO I_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'IT_EKPO'.
WA_FIELDCAT-FIELDNAME = 'EBELP'.
WA_FIELDCAT-SELTEXT_M = 'LINE NO'.
APPEND WA_FIELDCAT TO I_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'I_EKPO'.
WA_FIELDCAT-FIELDNAME = 'MATNR'.
WA_FIELDCAT-SELTEXT_M = 'MATERIAL NO.'.
APPEND WA_FIELDCAT TO I_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'I_EKPO'.
WA_FIELDCAT-FIELDNAME = 'MENGE'.
WA_FIELDCAT-SELTEXT_M = 'QUANTITY'.
APPEND WA_FIELDCAT TO I_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'I_EKPO'.
WA_FIELDCAT-FIELDNAME = 'MEINS'.
WA_FIELDCAT-SELTEXT_M = 'UOM'.
APPEND WA_FIELDCAT TO I_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'I_EKPO'.
WA_FIELDCAT-FIELDNAME = 'NETPR'.
WA_FIELDCAT-SELTEXT_M = 'PRICE'.
APPEND WA_FIELDCAT TO I_FIELDCAT.
CLEAR WA_FIELDCAT.
ENDFORM. "BUILD_FIELDCATLOG_EKPO
*& Form event_call_ekpo
we get all events - TOP OF PAGE or USER COMMAND in table v_events
FORM EVENT_CALL_EKPO.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
I_LIST_TYPE = 0
IMPORTING
ET_EVENTS = V_EVENTS
EXCEPTIONS
LIST_TYPE_WRONG = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. "event_call_ekpo
*& Form POPULATE_EVENT
Events populated for TOP OF PAGE & USER COMAND
FORM POPULATE_EVENT_EKPO.
READ TABLE V_EVENTS INTO WA_EVENT WITH KEY NAME = 'TOP_OF_PAGE'.
IF SY-SUBRC EQ 0.
WA_EVENT-FORM = 'TOP_OF_PAGE'.
MODIFY V_EVENTS FROM WA_EVENT TRANSPORTING FORM WHERE NAME =
WA_EVENT-FORM.
ENDIF.
ENDFORM. "POPULATE_EVENT
*& Form TOP_OF_PAGE
text
FORM F_TOP_OF_PAGE.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = IT_LISTHEADER
i_logo =
I_END_OF_LIST_GRID =
ENDFORM. "TOP_OF_PAGE
*& Form USER_COMMAND
text
-->R_UCOMM text
-->, text
-->RS_SLEFIELDtext
*retreiving values from the database table ekko
FORM DATA_RETRIEVAL_EKPO.
SELECT EBELN EBELP MATNR MENGE MEINS NETPR FROM EKPO INTO TABLE IT_EKPO.
ENDFORM.
FORM BUILD_LISTHEADER_EKPO USING I_LISTHEADER TYPE SLIS_T_LISTHEADER.
DATA: HLINE1 TYPE SLIS_LISTHEADER.
HLINE1-TYP = 'H'.
HLINE1-INFO = 'CHECKING PGM'.
ENDFORM.
FORM DISPLAY_ALV_EKPO.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = V_REPID
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = 'F_USER_COMMAND'
I_CALLBACK_TOP_OF_PAGE = 'TOP_OF_PAGE'
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE = I_TITLE_EKPO
I_GRID_SETTINGS =
IS_LAYOUT =
IT_FIELDCAT = I_FIELDCAT[]
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT =
I_SAVE = 'A'
IS_VARIANT =
IT_EVENTS = V_EVENTS
TABLES
T_OUTTAB = IT_EKPO
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM.
regards
aswin

Similar Messages

  • 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?
    Roy

    Hi 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

  • Portal Activity Report -- Simplification?

    Hi all,
           I've been working with the Portal Activity Report iView for a couple of weeks now trying to develop some metrics for our company to measure the portal usage by. I didn't have any problems with the user reports, but I had <b>a lot of issues with the iview/page reports</b>.  Although I sucessfully found and charted the <b>daily data</b>, it took a painstakingly long time because of several factors:
                 - There was so much data that I had to shift through for about 1.5 months, upwards of 11000 rows.
                 - I did not need most of the data as this is the first report being generated for the company, they just want more general metrics rather than detailed metrics. However, the company may still want reports on the other data later on, so we can't just disable the collection of data on most of our iViews.
                 - The format of the date column in the iView/Page report did not sort well in Excel. Instead, I had to convert the dates to the more traditional mm/dd/yyyy format so that they sorted properly. This didn't take too long, but it was still an issue.
                 - Unfortunately, when the portal was deployed, and still now, we do not have naming conventions for our iViews. This resulted in there being many object names (column heading) that were the same even though they were different iViews and pages (for example, an "About" iView exists on many pages). The only way to differentiate them was based on the PCD location, which is very long and not the best way to have to look at and sort through data.
                 - Lastly, we only collected data for iViews/Pages that got at least 2 hits. This was fine for iViews/Pages that usually got 10 or more hits per day. However, for iViews that didn't get 2 on any given day, no data was reported. This is what we intended, obviously. But it became a problem when I went to go graph the data because I was using line charts with multiple lines (series) on them (for example, I grouped all the different search iViews onto one line chart to compare which search pages are getting used the most). Here is an example graph that I had to create dates and 0's for because the bottom two series had days were missing some days because they got less than 2 hits: <a href="http://img509.imageshack.us/img509/7365/examplegraphvd8.jpg">Example Graph</a>.  Some of the series wouldn't have the same number of points because there were some days that were missing because they got less than 2 hits. This meant I had to go back and manually add in rows of missing dates along with 0 hits to make the graph correct.
           So, now that I've detailed the problems and issues, here is my real problem going forward. The executives would like monthly reports on the portal. Ideally, this process would be as automatic as possible. I was hoping people could <b>suggest best practices</b> for gathering and sorting through the data so that it doesn't take anywhere near as much time to group and identify key iViews and pages. Is there <b>any way to selectively download data</b> about iViews/Pages without turning off the data collection on other iViews/Page? Also, is there any way to automate the downloading of the iView/Page and User reports from the portal given a time interval such as every 30 days? Has anyone else run into similar problems in their own positions and, if so, can you make suggestions about how you have improved the reporting and charting process? Any help is greatly appreciated.
    Thank you.
    Message was edited by:
            Chad Sowald
    Message was edited by:
            Chad Sowald

    Hi Ariel,
    Check the database table WCR_WEBCONTENTSTAT, and see if any data is being generated. This will determine if the problem is data generation or the reporting of the data.
    If there is no data, the only possibility is that the Montiro Hits is false, but this is not the default and is unlikely.
    If there is data, check the aggregationlevel field and the timestamp of the data, and create a report for this period and aggregation level. For example, if the aggregation level is "q" generate a quarterly report for the time period.
    Hope this helps.
    Daniel

  • Portal activity report(image problem).

    Hi All,
    I have a problem in Portal Activity report of Number of users who logged on.
    In "Number of users who logged on" report, there is one java image(applet).It is not rendering. It is giving the error :
    Java Plug-in 1.6.0_01
    Using JRE version 1.6.0_01 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\km39649
    c:   clear console window
    f:   finalize objects on finalization queue
    g:   garbage collect
    h:   display this help message
    l:   dump classloader list
    m:   print memory usage
    o:   trigger logging
    p:   reload proxy configuration
    q:   hide console
    r:   reload policy configuration
    s:   dump system and deployment properties
    t:   dump thread list
    v:   dump thread stack
    x:   clear classloader cache
    0-5: set trace level to <n>
    Piglet Version 1.1.35 - 07.12.01
    java.lang.NullPointerException
         at com.sap.miniapps.graphics.CategoryChart.setChartType(CategoryChart.java:898)
         at com.sap.miniapps.graphics.Piglet.init(Piglet.java:268)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception in thread "Thread-7" java.lang.NullPointerException
         at sun.plugin.util.AnimationPanel.createTranslucentImage(Unknown Source)
         at sun.plugin.util.AnimationPanel.createGradientShapeImage(Unknown Source)
         at sun.plugin.util.AnimationPanel.initBackground(Unknown Source)
         at sun.plugin.util.AnimationPanel.preloadResources(Unknown Source)
         at sun.plugin.util.AnimationPanel.doPaint(Unknown Source)
         at sun.plugin.util.AnimationPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Can any one please help me why it is coming?
    Thanks in Advance,
    Kavitha

    I am using ORACLE.
    Actually the iview is the standard par iview, so i have created it from the "iview from Par" and that too in my test server seperately. I have created a new folder and under it i have created this new iview from Par. I have taken the com.sap.km.activityreport.frontend. and under this the activity report component.
    I have also restarted the Data collection service. Other than these I did not do any other configurations. Any thing else is required?
    Thanks in advance,
    kavitha

  • How to get vendor ID in Portal activity Report through PAR/Webdynpro

    Hi ,
    I need to show Vendor ID in my Portal activity Report  along with other details .This vendor ID I need to fetch From Portal Database.Is there any way to code in PAR/Webdynpro or use any standard Template which will allow me to fetch Vendor ID of the user who access that Portal Object.
    Response required Urgently!!!!
    Thankxs
    Varsha

    I understand that the PAR or portal activity reports have some limitations and hence as an alternative try using the google analytics which has some enhanced functionalities which could possibly satisfy your requirement....
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50b94044-7008-2b10-1680-c04e4526367b

  • How to identify active ABAP objects in the HR R/3 System?

    Hi
    We are in process of doing assessment on HR 4.6C to ECC 6. I need to identify the active abap objects ( Reports/FM's etc. ) in the sytem.  Appreciate if some one can suggest me how to look into the system.
    Rgds
    Peddi

    Try the Transaction code se95.
    Regards,
    Ravi Kanth Talagana

  • Activity Report Not Working

    Hello - I apologize if this information is already posted somewhere but I was not able to easily find a solution my problem which is this:
    I would like to gather statistics on how many times a number of iViews or pages were requested / viewed. I have enabled data collection, and modified the "monitor hits" property to yes on the iViews I'm interested in, as well as added them to the selected content in my Page/iVew activity iView. Even though I have these things set up I do not see the page views showing up on this custom activity report iView I've created. I get the message: No content available for the specified period.
    However, the standard Activity Reports page under Content Administration shows the info I want just fine.. I'm not sure why it works in the standard one but not mine - does anyone have an idea of a configuration step I may be missing?
    Thanks

    Hello Andrew,
    Please check that the iViews/Pages inserted into the content list
    table are those who are accessible to the end-user. This means that you
    should add to this table the objects from the role (since they have
    a different ID, therefore they are different object).
    Regards,
    Victoria Gur
    Installed Base Development Engineer
    NetWeaver Portal Platform
    SAP Labs Israel

  • Activity report/ user trace of a user on EP 7.0

    Hello All,
    How can we get activity details/ report of a particular user in EP like
    1) which all transactions he executed
    2) which all authorization objects he have accessed ?
    3) how the user got locked ?
    4) user comparison
    5) failed authorization objects like su53 tx screen
    6) What all modifications done by user?
    7) Which are the users logged in between two particular dates and time
    8) Compare two users, roles, profiles etc like we do in SUIM tx
    Does any one have an Idea about  answers of  above questions ? Please let me know the details of this.  I will give full marks

    Hi
    Standard reporting function in the portal provides following information:
    &#9679; Information about the number of users who logged on during a specified period of time
    &#9679; This type of portal activity report also displays a graphic showing the change in the number of users logged on over time.
    &#9679; Information about the users who logged on
    &#9679; Information about the number of users who visited each page and iView
    For rest of your requirements, you will need to create custom reports.
    Refer this for further information
    http://help.sap.com/saphelp_nw70/helpdata/EN/46/eb9df91aaf0e65e10000000a155369/content.htm
    Edited by: Prabhakar Lal on Mar 9, 2008 9:04 AM

  • Activity Report Activation for iViews

    Hello all;
    I want to activate the standard activity report for my EP 7.0 SPS 9.
    I have already activated the Service Configuration parameters and restarted the services.
    After that I have copied the activity report iView Template and added some special iViews to that template. I configured the interval for the report.
    When I'm going to check the report iView in a preview, I'm not getting any results.
    Do I have to configure something else? I have seen somewhere in help.sap.com ->Configuration of Monitor Hits for an iView,  but I'm not able to see these parameters in the configuration objects.
    Can someone help me?
    Regards Ingo

    Thank you for your answer, but I have already seen that page. 
    My problem is, that I'm able to see sometimes some result in the Activity Report iView and sometimes I'm not able to see new results. Is there a Bug ?
    Regards Ingo

  • Question of activity reports

    hi, all
    I have read from the portal online help Link:[http://help.sap.com/saphelp_nw70/helpdata/en/47/873ca0c84a199ce10000000a42189d/content.htm]
    that there are two data collection type for portal objects
    Monitor Hits: If set to true, data is collected about the number of people who viewed this page/iVIews, default true
    Monitor Users (pages only): If set to true, data about the users who visited this page is collected, default false.
    I am not very sure about the second one, is this mean the information of "which user visit which iView" will not not be collected, but only "which page visit by which user" will be collected?
    If so, how the activity report of the total impression of each user come out?
    Can any expert explain to me ?
    Thanks.

    Hi,
    The Portal Activity Report collects the information about users only for pages, and not for iViews. The reason for not collecting the information also for iviews was due to the assumption that usually in correct content design, iViews are located inside pages, and thus once you have the page, you know what iViews are inside this page.
    Collecting less data at the end, helps for better performance (especially if it is considered duplicated data, and hence redundant).
    In case you would like to collect more data about the rendered content, that is not provided by the Portal Activity Report, you can use the Activity Data Collector instead, and configure by yourself all the data you would like to collect. This feature is flexible, and is written in order to provide customers the ability to decide themselves what they would like to collect.
    You can read more about in under:
    http://help.sap.com/saphelp_nw70/helpdata/en/47/873c99c84a199ce10000000a42189d/frameset.htm
    Thank you,
    Best regards,
    Michal

  • Problems with activity reports on Enterprise Portal

    Hello, we have problems with activity reports on Enterprise Portal. It shows only zeros since certain date.
    We have this error in monitoring of Activity Reports - Status of Activity Reporting: "The database contains non-aggregated data that is more than 2 hours old".
    And we found this exception in logs: "Exception during a Prepared-statement DB update"
    What could be a problem? What should we do?
    Thank you.

    Configurarion of the Data Collection Service is done well, I think:
    Activate portal activity report: true
    First day of the week (e.g., Sunday or Monday): Monday
    Gather iView statistics:true
    Gather page statistics:true
    Gather statistics for remote users of local content (global portal): true
    Number of days for daily data retention: 90
    Number of days for hourly data retention: 30
    Number of days for monthly data retention: 730
    Number of days for quarterly data retention: 1460
    Number of days for weekly data retention: 365
    Objects to exclude from reports
    Pages for which to gather user data
    Save interval (minutes): 60
    What should we do then?

  • 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,
    Greg

    Hi 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,
    Murali

    Hello,
    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 PM

    David,
    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

  • Problems after creating report object

    I am using Crystal Reports Server XI R2 SP4. I created a report object from a simple Crystal report successfully. Even the thumbnail showed the report data even though the report does not save data.
    However when I view the report object in InfoView or schedule it there is no report data even though Crystal Reports Viewer displays data when run against the same DB with the same parameters.
    I get the same results with any report object I create in CMC but I was to able to successfully create and run report objects the first few(5) times after which I have been getting this result.
    Is there any kind of report or job limit?
    I made max records to retrieve unlimited and bumped # of jobs in every server from 5 to 50 and the age of oldest report to retrieve from cache to 0 mins.
    Please help!

    I'm not sure this is a JAVA problem, but if you're getting an ACCESS_VIOLATION exception from the JVM a method that provides more detailed information is to check for exceptions after every JAVA function called from the native code with (*jenv)->ExceptionCheck(jenv) and if true get information with (*jenv)->ExceptionDescribe(jenv) Making mistakes in native code constructing JAVA objects has been my most frequent cause of ACCESS_VIOLATION exceptions. I hope this helps.

Maybe you are looking for

  • DB Group updates not appearing in OBIEE

    In the BI Server, we have an authorization block that returns the user's groups from a database. If we add or change memberships in the database table those user changes don't appear unless I checkout and check in or update the row count for that gro

  • Cinema tools workflow directions.. Need Help please...

    I'm cuting a short that was shoot in 35mm, Dailes are transfer to Beta SP at 29,97, and also have the flex files. So: I import the flex files to Final Cut and Cinema Toos, and have a batch list. The questions is.. Which frame rate is use to digitize

  • Canon SX1 IS - not supported?

    Helo @all, I decided to buy Aperture 3 - but there is only "unsupported picture" in trial version when I'm trying to import my cr2 raw-data. Is there hope for any help next days or isn't Apple interested in selling this product to me? Thanks for your

  • I do not see the ringtone folder in itunes library

    the ringtone folder is not in the itunes library. I've read other posts on how to find it and still don't see it. I see one for tones.  I tried to move a ringtone to the music file for it to automatically populate the folder and that didnt work eithe

  • Audit View configuration

    Hello, I have a question about de tracking module of the Workspace. I must customize it for one of my clients. In the Audit panel of a process Instance, its possible to watch the form of each task, but only the owner of a task can see the form. My cl