Capture all the Users who viewed the BSP Applications ???

Hello All,
       I need to create a BSP Application which shows all the Users, who have executed different BSP Applications and the Number of Times each user has executed these BSP's.
Is this Possible ?
If yes, can anyone tell me how to go forward  ????
Regards,
Deepu.K
Message was edited by:
        deepu k

Hello Eddy,
      I have gone thru ur Blog.
But in this I guess I need from this part -->
C. Generating Own Stats in BSP
C.1. Logging It
If all of the aforementioned tools don’t cover what you’re looking for, or there are technical/other reasons not
to choose them, then there is only one thing left to do. Write your own stuff. It really isn’t that difficult to do
and, if you are confident enough, you can make something that suits your needs 100%. Or as a host in a
Flemish regional TV DIY show always says: “What you do yourself is usually done better.” Let us see what
you need to do in order to achieve this.
First of all you need data on the browser. This can be done via JavaScript and the navigator object:
appCodeName
The code name of browser (i.e.: Mozilla)
appName
The name of the browser (i.e.: Microsoft Internet Explorer)
appVersion
Version information of the browser (ie: 4.75 [en] (Win98; U)
userAgent
String passed by browser as user-agent header. (ie: Mozilla/4.0
(compatible; MSIE 5.5; Windows 98; Hotbar 3.0))
Platform
The platform of the client's computer. JavaScript 1.2 property. (ie:
Win32)
You probably need some extra information like IP number. This can be done via the
request->get_header_field method.
As such you don’t need to retrieve this info every time if you have a single entry point like a login page. Just
put it in a server side cookie. Each new page will read this cookie and save this info together with the page
name, user id, eventual parameters, etc. into the log. Now I talked earlier about the visitor concept. This is
also an ideal place to implement this. If you are only interested in returning visitors with a full day time interval,
you can for example determine whether that user has already used that application. If so, you just increment a
counter. If not, you have to create a new line. This method will also reduce the size of your table.
C.2 Showing It
The only thing you need to do is to analyze and visualize stuff. The analyzing stuff is completely up to you.
The following screen shot is an example where the total number of visitors within a given time frame is shown.
It also shows the number of unique visitors in that same time frame compared to the potential number of
visitors. You might find this of interest if you want to know how many (internal) users actually use your intranet
application. You can couple the user info to the department info and then you can figure out whether
department X or Y is actually using the application.
But I didnot get the actual idea of implementing this in my BSP.
Can you give an explanation for the above ?
Regards,
Deepu.K

Similar Messages

  • User validation for the BSP application

    I wanted a user to access the bsp application.
    I already have the user names maintained in the database who will be using the application.
    i am using the application class for my application.
    where should i do the user validation and how.
    i know tst if i would had used the model class then i can do it in the request method of the model class.
    but where to do it when using the application class.
    Thanks

    Hi Din,
    I assume that the usernames that are present in your Database also exists in the WAS Server.
    i.e. The database has a part of users that are present in the WAS Server.
    Your need is to allow only those users in the database to access your bsp application and not others correct!
    If your first BSP Page is a ...
    <b>View</b>
    1.In the DO_INIT method of the Corresponding Controller Class populate the internal table that is present in the Application Class with the usernames that are present in the database.
    2. In the DO_REQUEST method of the Corresponding Controller Class check for the username who runs your BSP Application is present in the Database.
    You can get the username who run the bsp application using the system field...
    data: username type string.
    username = sy-uname.
    So if the <i>username</i> is in the database show your bsp page else show an error page.
    <b>You can directly check for the sy-uname is present in the database.</b>
    <b>Page with Flow Logic</b>
    It is same as MVC only thing is that method name changes...
    Place the code in the DO_INIT of MVC in onCreate of Page with Flow logic.(Populate the internal table of the application class with the usernames from the database)
    Place the code in the DO_REQUEST of MVC in onRequest of Page with Flow logic.(Check whether the sy-uname is present in the itab or directly in the database).
    Hope it solves your problem
    Regards,
    Maheswaran.B

  • After deleting enhanced view still the bsp application is showing in se80

    Hi,
    I enhanced one component then after some reason i deleted the enhanced view at that time it's asked do you want to delete bsp application i click on yes then after also still i showing in se 80 under my package it's showing.
    after deleting enhancement view and deleted enhancement component.
    after deleting these total still all the z classes are showing in sm24. if i enhance from starting on wards from enhancing component and enhancing view i need to new bsp application name because previous bsp application is still showing and some of the context class. after transporting in to quality server this component is showing there is context class which i redefine in the development and view is not defined in the run time repository. why it's showing these errors in quality server.
    my guess is in dev i deleted which are deleted still the classes and bsp application are there older one if provide new bsp classes also.
    what are important things we need to follow if delete the view enhancement and deleting the component enhancement. because if i transport after deleting with new bsp application name and with a previous existing class with a new request also it's not working quality server. because lot of classes are generating automatically in when we redefine the context class in development so these classes are not there in quality server.
    please guide me if delete any enhanced view and component why still bsp application and redefine z classes are showing in se80 and se24. because if enhance newly also and redefine also it's considering previous bsp application and previous redefine classes.
    what are precautions i need to take if i delete enhanced view and enhance component.please guide me.
    jemmi.

    Jemmi,
    You should follow the following SAP Note in deleting enhancements. There are a few steps to be done in SM34. If we just delete through the wizard we are bound to have these issues.
    SAP Note 1122248 - Consultation:Procedure when dealing w/framework enhancements
    Briefly, these are the steps to delete the enhancemnet-
    1) In SM34, view BSPWDVC_CMP_EXT. Select enhancement set and then select enhancement definition. You will see your component there.
    2) Select your component and in left side navigation click Controller Substitutes.
    3) A list of the enhanced views are displayed.
    4) Select the views and delete it. Before you delete make a note of the BSP application these views are attached to. Hopefully, you attached them in a Z BSP application
    5) Go to SE80. Select the Z BSP application and delete it.
    Go through the SAP Note to understand the process in more detail.

  • To capture all the objects from an tablespace and restore.

    Hi All,
    I have a situation in the  Schema  refresh process where i may have  to delete a tablespace  and its datafiles.
    Then I have to recreate it as it was before and restore all it objects .
    Is there any way that i can capture all the objects of that tablespace before it is deleted  and then later restore it back as it was .
    Any Expert sugggestion is highly apprciated .
    The Platform is as below ..
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE    11.2.0.2.0      Production
    TNS for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    Thanks In Advance .

    There are 2 methods you could use with Data Pump.
    1. tablespace mode export.  expdp user/password tablespaces=<your list here> ...
    2. transportable tablespace mode.  expdp user/password transport_tablespaces=<your tablespace list here> ...
      NOTE:  for #2, you need to have your tablespaces in read only mode, then you need to copy the data files, and the
                    tablespaces need to be self contained.
    Hope this helps.
    Dean

  • How to capture all the values(occurrence) using Extraction Rules(correlation) in VSTS web test?

    Hi,
      I am using VSTS 2010 for performance testing and have a question about Extraction Rules functionality.  Requirement below.
    Example :
    Server Response
    <a>1</a>
    <a>2</a>
     <a>3</a>
    <a>...</a>
    we need to capture all the values with same left and right boundary. Along with the number of occurrence from the response. We need pass a random value in the
    index where the index value will be between 0 - count of values with same left and right boundary.
    How to find out the count of values with same left and right boundary.

    Thanks for Adrian's help.
    Hi PChav,
    Based on your issue, I think that the Adrian's suggestion is useful for you, so I suggest you could refer the Adrian's suggestion to check your issue.
    In addition, I suggest you could also try the rogeorge's suggestion to create a custom extraction rule to do this.
    Reference:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/ccff9f7a-d5bc-45d5-80eb-c83f9fc0e103/how-to-capture-all-the-valuesoccurrence-using-extraction-rulescorrelation-in-web-test?forum=vstswebtest
    Hope it help you!
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to capture all the email addresses from the drop down  lists

    I would like to capture all the email addresses that mail has captured and gives you as a prompt when you start to enter and an address...is there a way to do this ? Does anyone know where all these email addresses live ?
    Thanks matt

    For that program, it says it will import from CSV files, in which case once you add the email address and name to Address Book, you can create a new group for that purpose and add everyone you want to that group. Then select the group and drag it to the Desktop to create one vCard file with all those contacts.
    The go to this URL in Firefox (it won't work in Safari): <http://labs.brotherli.ch/vcfconvert/> and use the online vCard converter to convert that file to a CSV file. Be sure to add a header line if Interspire requires it in the file to import it, and check the results in Excel or Numbers before you import it.

  • How user will execute the BSP application I created...

    Hi,
    I have created a BSP application which has various pages with flow logic.
    Now to execute it I use execute icon and then I get moved to web browser.
    The application is working cool.
    But what I am wondering is user is not going to go to code and use excute button to execute the code.
    So how can he do the execution of page ?

    You have lots of options (and no generally users don't go to SE80 and launch your application from there).
    1.  Give out the URL to your application. Users can launch the application directly from the URL in the browser. The URL could be stored in the Browser Favorites or as a desktop icon.
    2.  If you use the Netweaver Portal - create a BSP iView for the application and attach it to the users' role.
    3.  A BSP URL can be added as a link in the SAP Easy Access Menu.  Under favorites, just choose Insert Other Object
    4.  You can create an ABAP Transaction code. In the program under this transaction code, you could host the BSP application in an HTML Control or open it externally in a browser via CL_GUI_FRONTEND_SERVICES=>EXECUTE.  It is fairly easy to create a generic ABAP program to launch BSP application and receive the application name via a Transaction Code Parameter. You can build a specfic URL to a BSP application in code using CL_BSP_RUNTIME=>CONSTRUCT_BSP_URL.

  • I would like to capture all the SQL and  PL/SQL   with full syntax that is

    Hi
    I would like to capture all the SQL and PL/SQL with full syntax in a sequence that is being executed in the last 30 or 40 min for a particular session in sqlplus.
    Enabling SQL trace is not an option.
    Will appreciate your input.
    thanks
    KS
    Edited by: user12710695 on May 22, 2010 11:08 PM

    Welcome to the Forum.
    Most important information (especially for such queries) is Oracle Version.
    Is AUDITING an option?
    Flashback can provide UNDO SQL.
    For SQL there are many options...
    1. LOGminer
    sudhakar@ORCL>desc dba_hist_sqltext;
    Name                                                  Null?    Type
    DBID                                                  NOT NULL NUMBER
    SQL_ID                                                NOT NULL VARCHAR2(13)
    SQL_TEXT                                                       CLOB
    COMMAND_TYPE                                                   NUMBER2. SELECT SQL_TEXT FROM DBA_HIST_SQLTEXT WHERE SQL_ID IN (SELECT SQL_ID FROM V$ACTIVE_SESSION_HISTORY WHERE USER_ID = ???)
    vr,
    Sudhakar B.
    Edited by: Sudhakar_B on May 23, 2010 8:35 AM

  • Capturing all the text that I output to the console

    HOw do I capture all the text I output to the console to a file. I know how to open filebuffers and all that, well I don't really know, but I have some sample code that I can follow. I am just wondering if I am suppose to just open the file buffer, then run my normal application with all the system.out.println() statements and then have that fed to a file? Right now I am using a lot of println() statements to debug, and I would like to be able to push it into a file so I can look at it later, without having that console line limitation.
    My guess is to just open up a filestream and have it open and then run my normal code and then close the filestream at the end. Can somebody let me know if that is good enough...
    let say I have a static method hat outputs a bunch of text, can I do this
    filestream open
    static method run
    filestream close
    and that's it.

    I could see why you'd want to automatically
    route output to a file, that normally would
    go to the console. There might be use for
    capturing output lines.
    If the question is to avoid having to specify
    the output on the command line, then what
    one can do is to create a ".bat" file.
    Ex.
    kstring.bat
    ======================================
    @java kstring > kstring.out
    Now in executing, you'd just ==> kstring
    Which will execute the kstring.bat,
    and since "> kstring.out " is inside
    the "bat", your output goes to the
    kstring.out, instead of the console.
    This would be another way, saves all the
    redirection in Java code. Just use the
    DOS command inside a xxx.bat file.
    Just my opinion, may not work in your
    circumstance.
    -- gte99te

  • Assigning controller to the bsp application in icwebclient

    Hi friends,
         Iam trying to test the <b>help view</b> from crm_ic into my bsp application Z_CRM_IC_HELP.
           I got stuck up while assigning controller to view in the bsp application. I have copied the standard view "help" from crm_ic into bsp application z_crm_ic_help.
    and copied the crm_ic.xml file into Z_CRM_IC_HELP.
        In se24 created a controller class ZCL_CRM_IC_HELP_IMPL for the help view controller class CL_CRM_IC_HELP_IMPL.
    Properties of the bsp application Z_CRM_IC_HELP page type (view) to select the controller class which i have created above is not displaying the f4 help list. So when am entering the z_crm_ic_help in the controller class fied its throwing the following error  as the controller class is not available in the F4 help  list.
          <b>The class ZCL_CRM_IC_HELP_IMPL does not implement any controller in the BSP application Z_CRM_IC_TEST</b>     
    Could anybody please guide to create a simple BSP application in ICWebclient.
    or it will be helpful if you can send me any links to work on hands on in ICWebclient.
    Thanks & Regards
    Sireesha.

    Hi Sarah,
    the following thread adresses the same problem, within the BSP folder:
    [How to change & manage different ports in a mixed web environment (BSP/WAD)|How to change & manage different ports in a mixed web environment (BSP/WAD);
    I think its better to use that category instead of BI General.
    Best regards,
    Sebastian

  • I am running out of memory on my hard drive and need to delete files. How can I see all the files/applications on my hard drive so I can see what is taking up a lot of room?

    I am running out of memory on my hard drive and need to delete files. How can I see all the files/applications on my hard drive so I can see what is taking up a lot of room?
    Thanks!
    David

    Either of these should help.
    http://grandperspectiv.sourceforge.net/
    http://www.whatsizemac.com/
    Or search 'disk size' in the App Store.
    Be carefull with what you delete & have a backup BEFORE you start, you may also want to reboot to try to free any memory that may have been written to disk.

  • Close all the open Application in one-shot ?

    Is there are any way to close all the open application in one shot in ipad rather than double-click the home button and close the apps one by one.

    In principle, I agree with you...
    But it appears that reality is not perfect. I observed on iPhone 3 that memory could be pretty clogged from time to time and I needed to restart it to free up memory and get it back to original speed again. It all depends on which apps you are running. Some appears to eat more memory than others. On iPhone 4, it appears to be less of a problem and I have seen that later iOS releases also makes this less of a problem. I only have a first generation iPad, but I have seen that later iOS releases have improved memory handling significantly there as well. However, it appears to be a good idea to reboot the device after a week or two just to flush the memory. I can't prove this theory scientifically, but I do see a difference in memory usage when doing this.
    The reason I actually tried "Process Killer" was a tip that it addressed the problems many of us encountered with the first iOS 5 release: frequent crashes and slow performance. After the pretty quickly released iOS 5 update, that wes pretty much solved, but occasionally killing processes actually helped me at that point, It made both my devices more stable.
    The original question was about battery performance, there I don't think that the amount of processes running is the key. A much better way of getting more out of your battery is shutting off location services in apps where they are not really needed. I would guess that turning off push notofications for as many apps as possible helps as well.
    Also, turn off the Personal Hotspot on iPhone when it's not needed!

  • Which library file contains all the registered application in win98/win2000

    Hi:
    Can anyone tell me which file contains all the registered application signature in win98/win200. I am using java to develop an application to open a file in windows system according to the file's extension. For instance, to open a file abc.doc use winword, to open a file abc.xls use excel etc. I know that there's a library file contains all these info., what's the file name, how can i use it. (ie. use what method call to get the associated application name/path according to the file extension).
    Thanks very much in advance.

    Hi there:
    can anyone help with this question, I did try to use the syntax of Runtime.getRuntime().exec("start abc.txt"), but some computers works, others don't. they are all running win2000, did I miss something on the system setting, many thanks in advance.
    another question is I want to display the file using different icon according to their type, is there any way to get the icon info. of the registered application from windows registry?
    super thanks in advance.

  • WebDynpro equivalent of the BSP application (HAP_DOCUMENT)

    Hi-
    We are using ECC5.0 and EP 6 SP15
    Do you know if there is any WebdynPro application which is eqiuvalent to the BSP application  HAP_DOCUMENT (appraisals)
    Thanks
    Sharath
    Message was edited by: sharath raj

    Hello
    I have a similar problem. SAP Help suggests that there is a webdynpro application (sap.com/msseeproPersonnelDevelopment) that calls iview "com.sap.pct.erp.mss.personneldev_appraisals". However when i look in the portal content studio i only find "com.sap.pct.erp.mss.appraisals". When i look in the webdynpro content administrator i cannot see sap.com/msseeproPersonnelDevelopment. Does anyone know where I can download these?
    Regards,
    Johann.

  • How to find the Name of the BSP Application Being Invoked?

    Hi ,
    Is there any FM or method that would return the name of the BSP Application being invoked?
    Say i have a method A which is being invoked by 2 BSP Application B and C. How do we determine which BSP is invoking the method A?
    Any input on this regard will be of great help.
    Thanks and Regards,
    Pavithra

    Hi,
    this methods are not 100% efective but you may try it:
    On runtime:
    set an external breakpoint in your method A and run your application. When it stops, the debugger has many folders, so press the one marked with "Standard" and in section ABAP stack you see the different call steps that have been executed, including the application that is calling the method.
    For this you must activate the new debugger (Utilities --> settings --> ABAP editor --> Debugging)
    On development time:
    Click on method A and press button Where-used list. In the incomming window press BSP applications.
    Hope it helps.

Maybe you are looking for

  • Need help for Adapter Specific Message Attributes in Receiver Email Adapter

    We want to use Adapter Specifice Message Attributes(ASMA) in Receiver Email Adapter for sending the mails dynamically, and to set the CC and BCC. I have gone through the help give in <a href="http://help.sap.com/saphelp_nw04/helpdata/en/a5/1b5342d8a7

  • Adobe Reader XI, IE9(32bit), Windows7(System Type: 32bit), pdf file is shown abnoramlly in browser

    When we open the pdf file directly in browser page on our site, it's shown like this, the content area is limited on top of the web page. But if we enable the compatibility view of this site, everything becomes normal.  Any resolution to make it work

  • Ipod touch 4g music repeat

    How can I repeat a song or an entire album without creating a list? I remember having a separate button but now since updating to 6.0 or 6.0.1 only the shuffle button shows up and does not seem to change its looks when pressed. I am using an iPod Toi

  • Alternatives to WAD for displaying BI Queries / Views in Enterprise Portal

    Hello experts, we have been using WAD 3.5 extensively for displaying BI Querys in a web-capable form within our Enterprise Portal. Since our users are not BW-familiar in general, we have the requirement to provide a very easy GUI and navigation. Actu

  • Change background with rollover?

    Not sure if it can be done (maybe a different way than I'm trying to figure out), but my goal is to have an image that fills the entire window, even if it's resized.  Then, when you rollover a menu option, the image will change to a different photo.