Display user login id on report
Hi,
I need to display user login id on a report and also if needed i want to use it as a prompt.
Let me know how I can achieve this.
Thanks in Advance!!
Gangise,
to display user login id on a report
=CurrentUser()
to use it as a prompt
In the Designer software you have access to @variable('BOUSER')
Thanks,
John
Similar Messages
-
Failed to call Engine.StartLoginLogoutCallback to display user login dialog in C# code
I'm upgrading our custom operator interface using C# running in NET 2.0. I use Microsoft Windows Forms controls for building GUI. TestStand version is 3.1. I grab TestStand Engine Class ActiveX Control from toolbox in to the form just as I did before in my VB project. In the project references list, AxTS and TS are added in. I can call TestStand API functions through the engine object, for example I can load sequence files, create property objects, get engine properties. But when I call engine's StartLoginLogoutCallback(false, true), the user login dialog is not displayed as expected. By tracing into UI message handler code, I do not see execution start and execution end UI message, which means the fontend callback sequence is not executed or is not executed properly. I doubt that calling engine's NewExecution in my code will also have problem though I haven't tested. Has anybody encountered same problem before? Thanks for any answer in advance.
Hi Manooch,
Thank you very much for the help. I tried Engine.CallFrontEndCallbackEx, but it still doesn't work for me. I'm using TestStand 3.1. I created a very simple C# Windows application with Visual Studio 2005. In the toolbox of the project I Selected "Choose Items..." context menu to display the "Choose Toolbox Items" dialog. In the "COM Components" tab of the dialog I selected "TestStand Engine Class" so that I got reference to the TestStand engine in my project. The project compiles OK, The method to login/logout is as following:
private void StartLoginLogoutCallback(bool logoutOnly, bool isInitialLogin) { PropertyObject args = _engine.NewPropertyObject (PropertyValueTypes.PropValType_Container, false, "", 0); args.SetValBoolean ("logoutOnly", 1/*PropOption_InsertIfMissing*/, logoutOnly); args.SetValBoolean ("isInitialLogin", 1, isInitialLogin); _engine.CallFrontEndCallbackEx ("LoginLogout", args, TypeConflictHandlerTypes.ConflictHandler_Error, 0); }
This method is called when the form is loaded:
private void Form1_Load (object sender, EventArgs e) { StartLoginLogoutCallback (false, true); }
I also tried to call StartLoginLogoutCallback method in a button click event handler, but it doesn't work either. I also notice that when I press "Exit" button which causes form's Close() method to be called, the application form does not close and I have to kill the application with task manager or to stop debugging if it is running in debug mode.
Could you please tell what's wrong? Thanks!
- cfyao -
Capturing and displaying user input in Crystal Reports
Hi all,
Iu2019m creating a crystal report with SAP as data-source and want to capture user input and display it on the report. I have defined parameters to capture the input and added them to the report header. I have then created formula fields to capture user input using the JOIN statement to accommodate multiple values. Everything works well when users enter values for all the parameters, but when they leave some blank I get an error message u201CParameter value is nullu201D.
Has anyone encountered this type of problem; Anyone knows how to resolve this?Hi
In parameter window make the Optional prompt to True. And change make change in your record selection formula like this :
(not HasValue({?PrjMgr@SELECT Firstname,lastname FROM OHEM}) OR
ISNULL({?PrjMgr@SELECT Firstname,lastname FROM OHEM}) OR
({?PrjMgr@SELECT Firstname,lastname FROM OHEM} = '') OR
{OHEM.firstName} = {?PrjMgr@SELECT Firstname,lastname FROM OHEM})
Regards -
User login and activity report
Hi
We have SAP enterprise portal 7.0 SP9 installed. Now, I want a report which will give data like the users(ids) and thier login time on this portal in a particualar time period. It would be better if i get the activity report of those users as well.
Regards
DharmendraHello,
you can use portal activity report or google analytics to achieve this
http://help.sap.com/saphelp_nw04/helpdata/en/58/728ea01cf64fff996b827f2a06f9b1/frameset.htm
Google Analytics:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50b94044-7008-2b10-1680-c04e4526367b
jo -
BOXIR3.1- Users, Auditing DB statistics of Report Refresh,users login info
Hi All,
I need to create BOXI R 3.1 DeskI reports for the statistics related to the user login information,Scheduling Reports info,user properties and other statistics .
Any suggestion to resolve this issue , It helps me greatly.
Thanks in advance..
maheshHave you tried auditing?
That way you can get information about different kinds of information. You can install the example reports with some useful reports (average of users logged in, and so on)
For more information, read the BOE Administrator Guide 3.1 chapter 12.
In BOE 3.1 you have to configure the connection to your database (create a new repository from the
CMC), to install the auditing universe and you can install some example auditing reports.
You can get the universe (if depends on the database you are using) and the example reports (webi) in this folder from the server:
C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\Samples -
To display the user login details in selection-screen( input screen )
HI Experts,
I have a requirement.
Assume there is a report on travel details. Report access has been given to all in the organization based on authorization level.
Before excecuting the report, in the selection-screen(input screen) itself I need to display the login user details.
suppose user A belongs to ITS-business unit and user B-belongs to RDS-business unit and Industry group-Multi markets.
so when User B logs into production system and try to access the report, in the selection screen, i need to display like
user-id-- XXXX Business Unit---RDS and IG -
Multi Markets
how to achieve this? User details will vary based on login.
Regards,
Praveencheck this
REPORT Z_demo.
*& Function Modules: HR_GET_EMPLOYEE_DATA
*& HR_IMAGE_EXISTS
*& SCMS_DOC_URL_READ
*& HR_IMAGE_RESET
*& Class & Methods : CL_GUI_DOCKING_CONTAINER
*& CL_GUI_PICTURE->SET_POSITION
*& CL_GUI_PICTURE->SET_DISPLAY_MODE
*& CL_GUI_PICTURE->DISPLAY_MODE_FIT
*& CL_GUI_PICTURE->LOAD_PICTURE_FROM_URL_ASYNC
*REPORT ZEMPLOYEE.
TABLES: PA0001, PERSON.
*----------------------Declaration for Image------------------------*
DATA: DOCKING_CONT TYPE REF TO CL_GUI_DOCKING_CONTAINER, " Custom Container
PICTURE TYPE REF TO CL_GUI_PICTURE.
*--------------------Declaration of Internal table------------------*
DATA: ITAB_EMPDATA LIKE TABLE OF PERSON.
DATA: ITAB_DATA LIKE TABLE OF PERSON WITH HEADER LINE.
DATA: P_CONNECT_INFO LIKE TABLE OF TOAV0 WITH HEADER LINE.
DATA: P_DOCUMENT_TYPE LIKE TOAV0-RESERVE.
DATA: URL(255) TYPE C.
DATA: HANDLE TYPE I.
DATA: PPERNR TYPE PA0001-PERNR.
*----------------------Start of Selection Screen----------------------*
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE text-099.
SELECTION-SCREEN SKIP 2.
SELECTION-SCREEN COMMENT 40(25) TEXT-010 .
SELECTION-SCREEN SKIP 1.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 20(15) TEXT-002 FOR FIELD PERNR.
PARAMETERS PERNR TYPE PA0001-PERNR.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 20(15) TEXT-008 FOR FIELD ENAME.
PARAMETERS ENAME TYPE PA0001-ENAME.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 20(15) TEXT-003 FOR FIELD PERSG.
PARAMETERS PERSG TYPE PA0001-PERSG.
SELECTION-SCREEN COMMENT 45(15) TEXT-009 FOR FIELD WERKS.
PARAMETERS WERKS TYPE PA0001-WERKS.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 20(15) TEXT-004 FOR FIELD PERSK.
PARAMETERS PERSK TYPE PA0001-PERSK.
SELECTION-SCREEN COMMENT 45(15) TEXT-005 FOR FIELD KOSTL.
PARAMETERS KOSTL TYPE PA0001-KOSTL.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 20(15) TEXT-006 FOR FIELD ORGEH.
PARAMETERS ORGEH TYPE PA0001-ORGEH.
PARAMETERS ORGEHTXT TYPE PERSON-ORGEH_TXT .
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 20(15) TEXT-007 FOR FIELD PLANS.
PARAMETERS PLANS TYPE PA0001-PLANS.
PARAMETERS PLANSTXT TYPE PERSON-PLANS_TXT .
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN SKIP 2.
SELECTION-SCREEN END OF BLOCK B1.
*AT SELECTION-SCREEN OUTPUT.
AT SELECTION-SCREEN OUTPUT .
LOOP AT SCREEN.
IF SCREEN-NAME = 'ENAME'
OR SCREEN-NAME = 'PERSG'
OR SCREEN-NAME = 'PERSK'
OR SCREEN-NAME = 'KOSTL'
OR SCREEN-NAME = 'WERKS'
OR SCREEN-NAME = 'ORGEH'
OR SCREEN-NAME = 'PLANS'
OR SCREEN-NAME = 'ORGEHTXT'
OR SCREEN-NAME = 'PLANSTXT'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
LOOP AT SCREEN.
IF SCREEN-NAME = 'ORGEHTXT'
OR SCREEN-NAME = 'PLANSTXT'.
SCREEN-OUTPUT = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
PERFORM GET_PIC.
*AT SELECTION-SCREEN .
AT SELECTION-SCREEN .
PPERNR = PERNR.
CALL FUNCTION 'HR_GET_EMPLOYEE_DATA'
EXPORTING
PERSON_ID = PPERNR
SELECTION_BEGIN = SY-DATUM
SELECTION_END = SY-DATUM
IMPORTING
PERSONAL_DATA = ITAB_DATA
EXCEPTIONS
PERSON_NOT_FOUND = 1
NO_ACTIVE_INTEGRATION = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENAME = ITAB_DATA-ENAME.
PERSG = ITAB_DATA-PERSG.
PERSK = ITAB_DATA-PERSK.
ORGEH = ITAB_DATA-ORGEH.
PLANS = ITAB_DATA-PLANS.
KOSTL = ITAB_DATA-KOSTL.
WERKS = ITAB_DATA-WERKS.
ORGEHTXT = ITAB_DATA-ORGEH_TXT.
PLANSTXT = ITAB_DATA-PLANS_TXT.
*Function Module To check Existance of Image
CALL FUNCTION 'HR_IMAGE_EXISTS'
EXPORTING
P_PERNR = PPERNR
IMPORTING
P_CONNECT_INFO = P_CONNECT_INFO
EXCEPTIONS
OTHERS = 2.
P_DOCUMENT_TYPE = P_CONNECT_INFO-RESERVE.
*Function Module To Get the URL of Image
CALL FUNCTION 'SCMS_DOC_URL_READ'
EXPORTING
STOR_CAT = SPACE
CREP_ID = P_CONNECT_INFO-ARCHIV_ID
DOC_ID = P_CONNECT_INFO-ARC_DOC_ID
COMP_ID = 'DATA'
DP_URL_ONLY = 'X'
IMPORTING
URL = URL
EXCEPTIONS
OTHERS = 10.
IF SY-SUBRC <> 0.
ENDIF.
*Method To load Image from URL
CALL METHOD PICTURE->LOAD_PICTURE_FROM_URL_ASYNC
EXPORTING
URL = URL.
IF SY-SUBRC NE 0.
ENDIF.
IF PPERNR NE PERNR.
*Function Module To Reset Image
CALL FUNCTION 'HR_IMAGE_RESET'
EXPORTING
HANDLE = HANDLE
EXCEPTIONS
INVALID_HANDLE = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
ENDIF.
ENDIF.
*& Form Get_Pic
FORM GET_PIC.
DATA: REPID LIKE SY-REPID.
REPID = SY-REPID.
IF PICTURE IS INITIAL.
*Object To Create the Custom Container
CREATE OBJECT PICTURE
EXPORTING
PARENT = DOCKING_CONT.
CHECK SY-SUBRC = 0.
*Method To Set Position of Image
CALL METHOD PICTURE->SET_POSITION
EXPORTING
HEIGHT = 47
LEFT = 610
TOP = 25
WIDTH = 70.
*Method To Set Display Mode Fit to Container
CALL METHOD PICTURE->SET_DISPLAY_MODE
EXPORTING
DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_FIT.
ELSE.
*Function Module To Reset Image
CALL FUNCTION 'HR_IMAGE_RESET'
EXPORTING
HANDLE = HANDLE
EXCEPTIONS
INVALID_HANDLE = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
ENDIF.
ENDIF.
ENDFORM. "Get_pic -
User login report for given period
Hi All,
We have one query relate to user monitoring. We want to get the detail log or report of users login date,time, logout date time and system ip or system name like for the given period.
Our application environment as
SAP application : R/3 4.7
Database : oracle 9.2.0.8
Thanx in advance
Regards,
Vishnu.Hi Vishnu,
kindly consider to use the forum search before posting. similar questions like yours have been posted several times already. In oyur search results you may find for instance [this thread|Re: Last three user logon date and time;
b.rgds,
Bernhard -
Filtering report data based on user login and Parameter fields
Post Author: mronquillo
CA Forum: General
Hi,I am running a report that filters data based on the user login. To do this, I created a formula called @user that compares the login name (using the CurrentCEUserName field) and returns the user's name. If the user login is not a login specified in the if statements, it returns the parameter field "user_name":For example: if CurrentCEUserName = "loginname1" then "User's Name 1"else if CurrentCEUserName = "loginname2" then "User's Name 2" else if CurrentCEUserName = "loginname3" then "User's Name 3" else if CurrentCEUserName = "loginname4" then "User's Name 4".. .else {?user_name} In select expert, I have a condition which filters data based on the string returned from that formula:{Table.Name} = {@user} This works fine and when the users run the report they only their own data. However, they are still prompted to choose a parameter field regardless if of the value returned by the @user formula. Oddly enough, regardless of what parameter field they choose, they will still only see their own data (i.e. if John chooses "Bob" from the parameter list, he will still only see John's data.)If I remove the "else {?user_name}" line from the @user formula, then the users are not prompted anymore. However, if they are not a "valid" user - that is, if any of the if statements in the formula are not true for their login name - then they will see no data. What I want to do is make the report ONLY prompt the user to choose a parameter field if their login name is not "valid". That is, if the @user formula is able to return a string value for their login name, then they will jump right into the report without being prompted to choose a parameter - otherwise, the user will be prompted to choose a name from the parameter list. I thought my formula would allow this (hence the "else" clause), but it seems that if a parameter field is present in any formula, then the report automatically prompts the user to choose a parameter. Is what I am trying to accomplish possible in CR (I'm using CR v10.0) or is there a better way to do what I am trying to do?Thanks in advance.Post Author: sharonmtowler
CA Forum: General
try, or something like that
(if CurrentCEUserName ={?user_name} then true else ({Table.Name} = {@user}) ) -
User login report in Active Directory for specific date and time
I want to get User login report in Active Directory for specific date and time e.g user logged in at15-01-2015 from 8:00am to 4:00pm
Is any query, script or any tool available?
Waiting for reply pleaseYou can identify the last logon date and time using my script here: https://gallery.technet.microsoft.com/scriptcenter/Get-Active-Directory-User-bbcdd771
If you would like to get back in time and see when the user did a logon / logoff then you need to have auditing enabled. Once done, you can records from Security log in the event viewer: https://social.technet.microsoft.com/Forums/windowsserver/en-US/98cbecb0-d23d-479d-aa65-07e3e214e2c7/manage-active-directory-users-logon-logoff-events
I have started a Wiki about how to track logon / logoff and it can help too: http://social.technet.microsoft.com/wiki/contents/articles/20422.record-logon-logoff-activities-on-domain-servers-and-workstations-using-group-policy.aspx
This posting is provided AS IS with no warranties or guarantees , and confers no rights.
Ahmed MALEK
My Website Link
My Linkedin Profile
My MVP Profile -
How can i get report no of user login in system
Hello
how can i get report no of user login in system
means user license login per day in system
what is strategy of SAP against licenses audit
how can i manage my license users ??????????
JayeshHi Jayesh
You can use the Audit Transactions. Set the Audit Profile with Tx SM19 and then report with Tx SM20.
You can also use the programs CCUINIT and CCUEVAL. Report CCUINIT initialises the measurement of current users and report CCUEVAL will provide the report and the logs for you to download.
Also regarding the licensing of users,
Refer to http://www.sap-img.com/sap-overview/help-to-understand-sap-licenses.htm
and https://websmp104.sap-ag.de/licenseauditing
You will get everything you need
Rohit -
User login records on Hyperion Financial Reporting
Hi all,
We understand we can turn on audit to capture the user login (authentication) in Hyperion Planning. Can we have the same option/feature for Financial Reporting to turn on audit so that we know that which reports in one day was generated by end users?jts wrote:
I think so..take a look at what I found below on page 301 of the financial reporting user guide under the administrative tasks section, report server tasks subsection:
Log File Output Management
Financial Reporting uses the log4j logging mechanism to manage log file output. Logging
settings can be configured and are set in the fr_repserver.properties file for each Financial
Reporting server component.
This code is an example of Financial Reporting Server default settings in the
fr_repserver.properties file. Settings you might modify are shown in bold text.
# log4j.rootLogger=ERROR,dest1
# log4j.appender.dest1=org.apache.log4j.RollingFileAppender
# log4j.appender.dest1.ImmediateFlush=true
# log4j.appender.dest1.File=C:/hyperion/BIPlus/logs/FRReportSrv.log
# log4j.appender.dest1.Append=true
# log4j.appender.dest1.MaxFileSize=512KB
# log4j.appender.dest1.MaxBackupIndex=5
# log4j.appender.dest1.layout=org.apache.log4j.PatternLayout
# log4j.appender.dest1.layout.ConversionPattern=%d{MM-dd
HH:mm:ss} %-6p%c{1}\t%m%n
Note:
See fr_global.properties for details on logging levels (FATAL, ERROR, WARN, INFO,
DEBUG) and formatting options. The Financial Reporting logging settings can be changed
without restarting the servers. The .properties files are monitored for changes to the logging
setting every minute. The frequency is set in fr_global.properties. This can be very handy
if you want to set the logging levelThanks a lot! So the login/logout information will be captured in which log file? -
Display the login User ID on Header in Business Objects XI R3.1 Infoview
In XI R2 Infoview- the login user ID is displayed on header. However In XI R3.1 infoview- displayed Business Objects Logo on the same place of the Header. We noticed that In BO XI3.1 infoview the login user ID is displayed on header. However the Business Objects logo is displayed on top of the user ID so the user ID is hidden. while Setting the Infoview Application properties in CMC (CMC>Applications>Infoview Application Properties> check Do not display logo) then it will hide the logo and then next login displays the login user ID. Could someone please confirm is it the solution with this configuration or else please help us how to display the user ID on Infoview Header.
Hey,
What you did is exactly correct.
Now you did on XI-R2 and 3.1 right??, whenever you got upgrade to next release of BO version again you have to do the same changing of properties. Which should not be dynamic based on your previous changes on earlier versions.
Thank You!! -
Using the login user name in the report
It will be appreciated if someone can help on the following:
How can I use the login user name in the report?
I mean that the report will be build on SQL statement look like :
Select a, b, c, d
For table
Where a = <the user name used to login to htmldb>
Thanksselect a,b,c,d
from table
where a= :APP_USER -
Reporting of users login / logout
Hi,
Can we get Reporting of users login / logout / tea break / prayer break / meeting break status (i.e. complete login-logout monthly report of each employee) in CDR or some other way in CUCM.
Regards.Hi
1-The Cisco Extension Mobility and Cisco Extension Mobility Cross Cluster features keep a record of the devices to which users are actively logged in. For the Cisco Extension Mobility feature, the actively logged-in device report tracks the local phones that are actively logged in by local users; for the Cisco Extension Mobility Cross Cluster feature, the actively logged-in device report tracks the local phones that are actively logged in by remote users.
Please find the below link:-
https://supportforums.cisco.com/thread/2184881
2- For your question , you need advanced solution which will help you to monitor status of user , as IPCC .,etc..
Thanks
Please rate all useful information -
Display First Name and Last Name of generating user in Siebel BIP Report
Hello,
My client has a requirement to display First Name and Last Name of user who generated the report. I need some help to resolve this requirement. Thanks
Eg: Generated by <First Name> <Last Name>
Generated by Siebel Administrator
Regards,
Hari Venkat.Hey Rob,
Is this search help something that you have developed? Can you explain a little more to how the funcitonality works? Is this triggering an operation in your BAdI?
Cheers,
Kevin
Maybe you are looking for
-
How do I reinstall pages on my new hard drive
I have just replaced my hard drive in my macbook pro. How do I reinstall pages and numbers without paying for it
-
How to import a wmv file into imovie09
i got a friend to film me scuba diving and he put it on a SDHC but imovie09 wont let me import it into imovie09 as he already did some editing on it and added music. Is there any possible way as i only want the video footage ideally but i dont mind e
-
Is there a way to insert a specific gap between clips? (CS4)
I am trying to insert a 3 second gap in between about 15 clips on a timeline. I could do it manually, but it is sort of a pain. How can I insert a standard gap between clips?
-
Why doesn't my iPhoto '09 refresh?
Help! When I delete, rotate or move my photos on "Photo" main page, the graphic does not refresh instantly, but will only show result when I toggle the enlarge/shrink button. Why? Thank.s.
-
Interactivity smooth scrolling pages
I'm sorry if this question has been asked before. Is it possible to add interactivity (such as pan/zoom or slideshow) to a smooth scrolling page? I tried to upload an article with interactive items to my folio but all i get is an error. Thanks in adv