How to find out user session??
I have deployed application using Oracle 9iAS server. At times
the IAS server cpu goes 100% and if I see the task manager only
one (or) two ifweb60 (forms session) session taking the maximum
cpu time out of 60 ifweb60 sessions. I want to know which NT
user has initiated the session. When I see the session info. in
my backend, all the session showing the same account which is
nothing but Service account configured for IAS. Is there any way
to identify this???
dear Ragothaman
I work under 817, if I see that someone is doing a killing/resource select I do this:
first I query the view V$SQLTEXT and V$SQLAREA
then...
select SID, SERIAL#, USERNAME, MODULE from v$session where username='USER_NAME';
then I get the SID & SERIAL# and get him/her out of the way :)
ALTER SYSTEM KILL SESSION '48,2285';
in which the SID=48 and SERIAL=2285
nasty isn't it? :>
rjh
Similar Messages
-
Hi All,
How to find out User Exit in particular program.
I mean if you have one profile, how to find is there any user exits in that program.
Appreciate if any body tel answer.
Thanks & Regards,
SubbuYou could try searching the main program for "userexit_"
This would give you a list of all the available user exits within the application.
For Customer exits, you could search SMOD with a short description ex: order in the F4 help. Another way is to search for CUSTOMER-FUNCTION in the main program. You can then navigate to the enhancement in the customer function and use the Z Program in the enhancement.
http://www.easymarketplace.de/userexit.php - has a complete list.
More specifically, in case you're looking for SD exits - http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm. -
How to find out user exits of t-code va03
hi all
how to find out user exits of any t-code .
regards
deepakHi Deepak,
<b>Try this code.</b>
*& Report Z_USEREXIT *
REPORT Z_USEREXIT
NO STANDARD PAGE HEADING.
*& Enter the transaction code that you want to search through in order
*& to find which Standard SAP User Exits exists.
*& Tables
TABLES : tstc, "SAP Transaction Codes
tadir, "Directory of Repository Objects
modsapt, "SAP Enhancements - Short Texts
modact, "Modifications
trdir, "System table TRDIR
tfdir, "Function Module
enlfdir, "Additional Attributes for Function Modules
tstct. "Transaction Code Texts
*& Variables
DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
DATA : field1(30).
DATA : v_devclass LIKE tadir-devclass.
*& Selection Screen Parameters
SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK a01.
*& Start of main program
START-OF-SELECTION.
Validate Transaction Code
SELECT SINGLE * FROM tstc
WHERE tcode EQ p_tcode.
Find Repository Objects for transaction code
IF sy-subrc EQ 0.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'PROG'
AND obj_name = tstc-pgmna.
MOVE : tadir-devclass TO v_devclass.
IF sy-subrc NE 0.
SELECT SINGLE * FROM trdir
WHERE name = tstc-pgmna.
IF trdir-subc EQ 'F'.
SELECT SINGLE * FROM tfdir
WHERE pname = tstc-pgmna.
SELECT SINGLE * FROM enlfdir
WHERE funcname = tfdir-funcname.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'FUGR'
AND obj_name = enlfdir-area.
MOVE : tadir-devclass TO v_devclass.
ENDIF.
ENDIF.
Find SAP Modifactions
SELECT * FROM tadir
INTO TABLE jtab
WHERE pgmid = 'R3TR'
AND object = 'SMOD'
AND devclass = v_devclass.
SELECT SINGLE * FROM tstct
WHERE sprsl EQ sy-langu
AND tcode EQ p_tcode.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
SKIP.
IF NOT jtab[] IS INITIAL.
WRITE:/(95) sy-uline.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
WRITE:/(95) sy-uline.
LOOP AT jtab.
SELECT SINGLE * FROM modsapt
WHERE sprsl = sy-langu AND
name = jtab-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 sy-vline,
2 jtab-obj_name HOTSPOT ON,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
ENDLOOP.
WRITE:/(95) sy-uline.
DESCRIBE TABLE jtab.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No of Exits:' , sy-tfill.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'No User Exit exists'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'Transaction Code Does Not Exist'.
ENDIF.
Take the user to SMOD for the Exit that was selected.
AT LINE-SELECTION.
GET CURSOR FIELD field1.
CHECK field1(4) EQ 'JTAB'.
SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
<b>plz reward points if helpful or if it solves ur query.</b>
Thanks
Chinmay -
How to find out users inapproprate access in the system
Hi Experts,
Please any on help me out how to find out the inappropriate critical/sensitive Access is granted to all end users.
Regards,
Reddy v.Hi Siddhesh,
Thanks for your reply.
I already used the SUIM T-code, but unable to find out users, those who have critical / Sensitive authorization, could you please help me to find out the same by using SUIM,
We will able to get the critical / Sensitive authorization users details by executing RSUSR005.
It display all Usres those who have critical / Sensitive authorization.
But I want to know is thier any other way to find out the same.
If any one help me to find out it will usefull for me for the security issue.
Thanks
Prakash -
How to find out users who have answered security questions
Is there any report where we can find out users who have answered security questions.
Please reply back to this.This might help you:
Define a task template, reference the UserQuestionReport task definition:
<TaskDefinitionRef>
<ObjectRef type='TaskDefinition' id='#ID#TaskDefinition:UserQuestionReport' name='User Question Report' displayName='UI_REPTS_XML_USER_QUESTION_TITLE'/>
</TaskDefinitionRef>Define desired variables
<Attribute name='attrListField'>
<List>
<String>accountId</String>
<String>policy</String>
<String>loginInterface</String>
<String>questions</String>
</List>
</Attribute>
<Attribute name='attrMapField'>
<Map>
<MapEntry key='accountId' value='UI_REPTS_XML_REPORT_ATTR_ACCOUNTID'/>
<MapEntry key='loginInterface' value='UI_ATTR_LOGIN_INTERFACE'/>
<MapEntry key='policy' value='UI_SERVICEMODIFY_JSP_ACCOUNTPOLICY'/>
<MapEntry key='questions' value='UI_ATTR_MIN_QUESTION_UNANSWERED'/>
</Map>
</Attribute>and the rest of the task template for a report definition.
Hth
Edited by: nickoarg on Feb 5, 2009 1:57 PM -
How to find out which session is consuming the most of sga
Hello,
I have a server that is running out of swap space. I like to find out which oracle session is using a lot of the sga. Which data dictionary has this view? Thank you. 9208, linux 4.How did you configure SGA memory managment?
How much real memory is available on the machine?
How large did you make the SGA?
How much PGA do you think you need?
See Oracle version# Reference manual and start with
v$process -- show pga per process and can be joined to v$session to identify front-end process
v$pgastat
v$sga
v$sgastat
HTH -- Mark D Powell -- -
How to find out user privilege using JPDK
Hi All,
How can I find out what type of user-privilege that a user has inside the renderBody method of the subclass of the BaseManagedRenderer class? e.g: whether the user has the Administer privilege.
I looked through the ProviderUser object which can be obtained from the pr.getUser() (PortletRenderRequest.getUser()) and it does not seem to provide the method to get the user's privilege.
Any insight is greatly appreciated!
Thanks,
VinceVince,
How did you figure out calling the is_user_in_group or other
similar function calls in the WWSEC_API?
I tried making a regular SQL Statement by doing the following.
CallableStatement callablestatement = conn.prepareCall
("begin ? := wwsec_api.is_user_in_group(?,?); end;");
callablestatement.registerOutParameter(1, 12);
callablestatement.setInt(2, 17);
callablestatement.setInt(3, 0);
callablestatement.execute();
boolean s2 = callablestatement.getBoolean(1);
callablestatement.close();
but it fails with the following exception in the JSP...
java.sql.SQLException: ORA-06550: line 1, column 13: PLS-00382:
expression is of wrong type ORA-06550: line 1, column 7: PL/SQL:
Statement ignored
Can you shed some light on the problem?
Thanks,
Niket Parikh -
How to find out user info for a forecasted value
Hi Experts,
Suppose, a user plans on a planning application and consequently creates some forecast values. How do i find out which user did the planning? Is there any way to know this? Please let me know of this if anybody knows.
Regards
SwaroopHi, I'm using BPS so can't say forIP. But if you really want to see who posted which data, the planning application has to be set up that way in order to capture the user, time, date details, as indicated by the previous post. This will ptentially of course create very many more records in some cases, where data is amended.
But your post also requested info about who ran which planning functionality, and when. You can get this sort of information in BPS from the transactions BPS_STAT0 and BPS_STAT1. You may want to narrow the amount of analysis using the username/ date /time filters.
Stephen -
Hi All,
the info cube is changed by one user. How can we find out that user.
Thanks to all,
sriSrinivas
Double click on infocube it takes you to change mode and go to environment if I remember well click on history some thing like this and you will see change history.
Hope this helps
Thanks
Sat -
How to find out user exit for LI20
any one please tell me how can find user-exit for LI20
Regards,
VenkatWell if you want to search user exits associated with the t-code LI20...
then go to se93, enter the t-code LI20->click on display-> go the program-> go to find next in the top menu (under Edit) and write "user_exit" and select "In the main program" and and click on continue... in case if there is any user exit; it will show you.
Regards,
Raman -
How to find out User Id Used in Debugging Mode
Hi Gurus
Could you plz advice . how find to out SAP user Id used to delete SAP table entries in Debugging Mode.
Thanks
RaviHi Ravikanth,
I'm not sure how to check the change log in debugging mode,
but you can get the LOG DATA CHANGES from tcode SCU3(If log checkbox selected in Technical settings).
You may check the coding for scu3 for more details.
Happy coding..!!
//Kiran Singh -
How to Find out Users with Hardware Phones
Hi,
Is there anyway that i can create a report that which Users are using IP Phones (Physical) and which users are using soft Phone (Lync Client on PC).
Regards
Usman Ghani
Usman Ghani - MCITP Exchange 2010Hello Usman,
If you have a monitoring server, you can see the Physical Phones.
Access your monitorin server by:
http://<ip_monitoring>/Reports or
http://<ip_monitoring>/Reports_<Instance_Name>
LyncServerReports > Reports Home Page and then click IP Phone Inventory Report and you will see all the physicals phone.
If you don't have a monitoring server, access this...
http://www.mcse.eti.br/Installing-and-Configuring-Monitoring-Server.html
“Vote As Helpful” and/or “Mark As Answered” - Thiago Mendes da Silva - MCSE Communication - ITIL v3 Foundation - http://www.mcse.eti.br -
How to find Out Sid Of A Particular User?
How to find Out Sid Of A Particular User?
if you have a privillege for v$mystat
SQL> select distinct sid from v$mystat;
SID
140
If the user doesn't have privillege
In User Session ask him to run .
SQL> select sys_context('userenv','sessionid') from dual;
SYS_CONTEXT('USERENV','SESSIONID')
4294967295
In DBA session compare this value with v$session audsid
SQL> select sid from v$session where audsid=4294967295;
SID
140 -
How to find out the user-exits?
hi.
how to find out the user-exits?
regards
eswar.Hi,
*& Report ZEXITFINDER
*report zexitfinder.
*& Enter the transaction code that you want to search through in order
*& to find which Standard SAP User Exits exists.
*& Tables
tables : tstc, "SAP Transaction Codes
tadir, "Directory of Repository Objects
modsapt, "SAP Enhancements - Short Texts
modact, "Modifications
trdir, "System table TRDIR
tfdir, "Function Module
enlfdir, "Additional Attributes for Function Modules
tstct. "Transaction Code Texts
*& Variables
data : jtab like tadir occurs 0 with header line.
data : field1(30).
data : v_devclass like tadir-devclass.
*& Selection Screen Parameters
selection-screen begin of block a01 with frame title text-001.
selection-screen skip.
parameters : p_tcode like tstc-tcode obligatory.
selection-screen skip.
selection-screen end of block a01.
*& Start of main program
start-of-selection.
Validate Transaction Code
select single * from tstc
where tcode eq p_tcode.
Find Repository Objects for transaction code
if sy-subrc eq 0.
select single * from tadir
where pgmid = 'R3TR'
and object = 'PROG'
and obj_name = tstc-pgmna.
move : tadir-devclass to v_devclass.
if sy-subrc ne 0.
select single * from trdir
where name = tstc-pgmna.
if trdir-subc eq 'F'.
select single * from tfdir
where pname = tstc-pgmna.
select single * from enlfdir
where funcname = tfdir-funcname.
select single * from tadir
where pgmid = 'R3TR'
and object = 'FUGR'
and obj_name = enlfdir-area.
move : tadir-devclass to v_devclass.
endif.
endif.
Find SAP Modifactions
select * from tadir
into table jtab
where pgmid = 'R3TR'
and object = 'SMOD'
and devclass = v_devclass.
select single * from tstct
where sprsl eq sy-langu
and tcode eq p_tcode.
format color col_positive intensified off.
write:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
skip.
if not jtab[] is initial.
write:/(95) sy-uline.
format color col_heading intensified on.
write:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
write:/(95) sy-uline.
loop at jtab.
select single * from modsapt
where sprsl = sy-langu and
name = jtab-obj_name.
format color col_normal intensified off.
write:/1 sy-vline,
2 jtab-obj_name hotspot on,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
endloop.
write:/(95) sy-uline.
describe table jtab.
skip.
format color col_total intensified on.
write:/ 'No of Exits:' , sy-tfill.
else.
format color col_negative intensified on.
write:/(95) 'No User Exit exists'.
endif.
else.
format color col_negative intensified on.
write:/(95) 'Transaction Code Does Not Exist'.
endif.
Take the user to SMOD for the Exit that was selected.
at line-selection.
get cursor field field1.
check field1(4) eq 'JTAB'.
set parameter id 'MON' field sy-lisel+1(10).
call transaction 'SMOD' and skip first screen.
Regards -
How to find out the Transactions used per month & the USER who used that
Hi,
1)How to find out the Transactions used per month & the USER who used that?
2)and can i get the above same for minimum 20 month?
System : SAP- Enterprise Core Component.You can use my program...
*& Report Z_ABAP_TCODE_MONITOR
*****& Program Type : Report *
*****& Title : Z_ABAP_TCODE_MONITOR *
*****& Transaction code : ZTCODE_USAGE *
*****& Developer name : Shailendra Kolakaluri *
*****& Deveopment start date : 26 th Dec 2011 *
*****& Development Package : ZDEV *
*****& Transport No : DEVK906086 *
*****& Program Description : This program is to display
*List all tcodes executed during previous day.
*& Show the number of users executing tcodes
*& Modification history
REPORT Z_ABAP_TCODE_MONITOR.
*& List all tcodes executed during previous day.
*& Show the number of users executing tcodes
TYPE-POOLS : slis.
DATA: ind TYPE i,
fcat TYPE slis_t_fieldcat_alv WITH HEADER LINE,
layout TYPE slis_layout_alv,
variant TYPE disvariant,
events TYPE slis_t_event WITH HEADER LINE,
heading TYPE slis_t_listheader WITH HEADER LINE.
*REPORT z_report_usage.
TYPES: BEGIN OF zusertcode,
date TYPE swncdatum,
user TYPE swncuname,
mandt TYPE swncmandt,
tcode TYPE swnctcode,
report TYPE swncreportname,
count TYPE swncshcnt,
END OF zusertcode.
*data : date type n.
DATA: t_usertcode TYPE swnc_t_aggusertcode,
wa_usertcode TYPE swncaggusertcode,
wa TYPE zusertcode,
t_ut TYPE STANDARD TABLE OF zusertcode,
wa_result TYPE zusertcode,
t_result TYPE STANDARD TABLE OF zusertcode.
PARAMETER: month TYPE dats DEFAULT sy-datum.
*PARAMETER: date TYPE dats.
*select-options : username for wa_usertcode-account.
START-OF-SELECTION.
PERFORM get_data.
PERFORM get_fieldcatalog.
PERFORM set_layout.
PERFORM get_event.
PERFORM get_comment.
PERFORM display_data.
FORM get_data .
*date = sy-datum - 2 .
After start-of-selection add this line (parameter Month required 01 as day).
concatenate month+0(6) '01' into month.
CALL FUNCTION 'SWNC_COLLECTOR_GET_AGGREGATES'
EXPORTING
component = 'TOTAL'
ASSIGNDSYS = 'DEV'
periodtype = 'M'
periodstrt = month
TABLES
usertcode = t_usertcode
EXCEPTIONS
no_data_found = 1
OTHERS = 2.
wa-date = month.
*wa-date = date.
wa-mandt = sy-mandt.
wa_usertcode-account = username.
LOOP AT t_usertcode INTO wa_usertcode.
wa-user = wa_usertcode-account.
IF wa_usertcode-entry_id+72 = 'T'.
wa-tcode = wa_usertcode-entry_id.
wa-report = space.
ELSE.
wa-tcode = space.
wa-report = wa_usertcode-entry_id.
ENDIF.
COLLECT wa INTO t_ut.
ENDLOOP.
SORT t_ut BY report ASCENDING.
CLEAR: wa, wa_result.
endform.
FORM get_fieldcatalog .
fcat-tabname = 't_ut'.
fcat-fieldname = 'DATE'.
fcat-seltext_l = 'Date'.
fcat-key = 'X'.
APPEND fcat.
CLEAR fcat.
fcat-tabname = 't_ut'.
fcat-fieldname = 'MANDT'.
fcat-seltext_l = 'Client'.
fcat-key = 'X'.
APPEND fcat.
CLEAR fcat.
fcat-tabname = 't_ut'.
fcat-fieldname = 'USER'.
fcat-seltext_l = 'User Name'.
fcat-key = 'X'.
APPEND fcat.
CLEAR fcat.
fcat-tabname = 't_ut'.
fcat-fieldname = 'TCODE'.
fcat-seltext_l = 'Transaction Code'.
fcat-key = 'X'.
APPEND fcat.
ENDFORM.
*& Form SET_LAYOUT
text
--> p1 text
<-- p2 text
FORM set_layout .
layout-colwidth_optimize = 'X'.
ENDFORM. " SET_LAYOUT
*& Form GET_EVENT
text
--> p1 text
<-- p2 text
*FORM get_event .
events-name = slis_ev_top_of_page.
events-form = 'TOP_OF_PAGE'.
APPEND events.
*ENDFORM. " GET_EVENT
**& Form GET_COMMENT
text
--> p1 text
<-- p2 text
*FORM get_comment .
DATA: text(30).
text = 'Billing Report'.
heading-typ = 'H'.
heading-info = text.
APPEND heading.
*ENDFORM. " GET_COMMENT
**& Form top_of_page
text
--> p1 text
<-- p2 text
*FORM top_of_page .
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = heading[]
I_LOGO =
I_END_OF_LIST_GRID =
*ENDFORM. " top_of_page
*& Form DISPLAY_DATA
text
--> p1 text
<-- p2 text
FORM display_data .
sort t_ut[].
DELETE ADJACENT DUPLICATES FROM t_ut[] COMPARING ALL FIELDS.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-cprog
is_layout = layout
it_fieldcat = fcat[]
i_save = 'A'
is_variant = variant
it_events = events[]
TABLES
t_outtab = t_ut
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_DATA
Maybe you are looking for
-
Layout column alignment problem
Hi All, I have a form where I am printing the line item details. I am using the following code &EKET-EINDT&,,&EKPO-NETPR1&,,&EKPO-NETWR1& This gives the output 08/26/2007 688.5 1377.02 Between unit price and net price i have another
-
Tracking select statement on a table
Hi Guys, I want to be able to keep track of the person (user) who runs a select statement on a table to retireve a specific person. For example. I have a table where I store list of customers. Several people have the ability to run select statement o
-
How can i change the boot image in 10.4.3
when i was running 10.3, i always had a special startup image that i frequently changed. i used the program macboot, which is no longer compatible with 10.4. does anyone know of a good program for this?
-
I'm unable to find the web app I created for my sites in CA anymore, but when I use the Get-SPWebApplications cmdlet I see it there. Why am I unable to see it in CA? Thanks James T.F
-
IMovie08 share to miniDV tapes
This appears to have gone with imovie08.... I have a Sony HDR-HC7 miniDV high def camcorder and I can do all the HD editing I need to in iMovie08... the problem is that because HD (or blu-ray) is so young I can't yet easily burn and view high def DVD