Monitoring user's transactions
Hi,
I work in a department mainly uses purchasing, procurement, inventory and warehousing modules. We have identified responsibilities that are in conflict with each and will usually not grant conflicting ones to users when they ask for them. However, there are some valid situations where we can give conflicting responsibilities to a user.
I'm tasked with determining if there's a report that we can generate, or an application, or method that we can use to track which of our users have responsibilities that are conflicting, and what transactions/actions they have done in Oracle. We want to be able to determine afterwards if there are any actions that are suspicious from the users.
For example, normally, a buyer should not be a receiver as well. But if we do grant them both to one person, and there are valid situations for us to do so, then we want to check if they haven't ordered a 56" Plasma TV and received it as well.
Any advice, or direction would be appreciated.
Thanks in advance.
914797 wrote:
Thanks for your reply Karthickumar.
I'd like to set it up so that the views would be run periodically throughout the day. Would this affect the performance level of Oracle in any way for the users?
Thanks.You can do that already with enterprise manager. Perhaps you don't see that you are asking an application question in a database forum. Justin is trying to help guide you towards the proper questions to ask. There may be such a report already in your app. What app is it? Oracle Apps? I use all those modules in software that is not Oracle apps, so my answer would be different. In fact, I wrote customizations to deal with it, since the basic app didn't reflect our business practices. But they didn't get implemented, since the new VP wants to change practices.
More broadly, the question of how to be sure people don't steal from you is separation of responsibilities. You are short-circuiting that. So you really have to report everything that is done by people with these overly broad responsibilities, and audit it.
Back in the early '80's I worked on an inventory control system. They built us new offices inside a warehouse. They built a cage around our offices so we wouldn't walk off with a vcr. My boss was offended and hung a tire from the cage. There was absolutely nothing stopping us programmers from shipping 500 big screen tv's to our friends. But no one ever did. The Strategic Planner, on the other hand, built his empire, sold the company and kept the new VAXen for himself. It's all a question of management priorities. Owners were quite happy to get top dollar for the company and dump everything and everyone else. Remember that the next time someone tries to tell you to vote against defined-benefit retirement plans.
Similar Messages
-
How to monitoring user activities
Hi to All,
i need to monitor user activities, for example:
Today: 10/05/2010
user: AZ0001
transaction used in day 10/04/2010 from 9:00 to 16:00.
Thanks & Regards,
UmbertoHi
SM04 is the transaction you are looking for.
Hope this helps.
Regards
Abhii -
How to monitor a specific transaction in Solution Manager ?
Hi all,
I have configured the Service Level Reporting and it works correctly.
But i don't know how to monitor a specific transaction like SM21, DB02, FB01N etc... ?
In the SL Reports configuration steps, we can configure this option : Select Business Processes For SL Report. I did a lot of tests but it does not work.
Have i to configure the Business Process Monitoring ?
Thanks.Hello,
it depends a little on what you want to do. If you use the pure CCMS monitoring with the table ALTRAMONI you get average response time per instance and you only get new measurements once the status changes from green to yellow or red.
In order to get continuous measurements you should look into Business Process Monitoring and the different documentations under https://service.sap.com/bpm --> Media Libary --> Technical Information. E.g. the PDF Setup Guide for Application Monitoring describes this "newer" dialog performance monitor. Probably you have to click on the calendar sheet in the Media Libary to also see older documents as well. As the Business Process Monitoring integrates with BW (there is also a BI Setup Guide in the Media LIbrary) you can get trendlines there. This BW integration also integrates back with SL Reporting.
Some guidance for SL Reporting is probably given under https://service.sap.com/rkt-solman but I am not 100% sure.
Best Regards
Volker -
User Defined Transaction in Logical Data Service
Hi
I have few physical data services created from database store procedures. I've corresponding logical services for each of the physical data services.
Now I've created a logical data service that calls 2 store procedures & trying to update this 2 store procs in a single transaction.
Also I dont have a read operation in my logical data services. In this case both store proc. should take part in a single transaction & should commit or rollback as per success/failure.
I tried testing this scenario & it fails. ALDSP was able to update first store proc. but there was an error in second store proc. so it should have rollback the entire transaction.
Is there any way that we can have user defined transaction in logical data service?
My Scenario:
InsertData(RequestA,RequestB) as response
res1 := call First Store Proc (RequestA) ;
res2 := call Second Store Proc (RequestB);
response := res1 + res2
So my question was is it possible to define user transaction before making calls & have commit/rollback define around it.
Apprecaite for your help!
Thanks
PashI have assumed that you realize you need XA drivers for this. What is the exception you see? Something about "mixed outcome"?
But in the case of store procedure, we cant drag & drop physical ds into logical ds. Why?Since your stored procedure updates, it should be defined in the physical ds as a "procedure" not a "function" - it sounds like it is. (procedure means it will update, function means it will not - not that it is a "stored procedure"). Because it updates it cannot be called by an xquery function because xquery is by definition read-only. It can only be called directly from the client, or from another procedure (which is XQSE, not Xquery). If you created a logical ds with a "procedure" - you could drop your procedure into that.
created a new library procedure in which i am calling 2 physical ds assuming it will be executed in a single transaction. But it does not. Please verify.
But it does not. Please verify.I won't verify it because it is not correct. It should be treated as though it is one transaction. And barring the bugs with JNDI/data source names and multi-data sources, I do not know how how it would not be. So either there is a misunderstanding or a new bug.
Either way you need to open a case with customer support to resolve this. When you open your case, the more information you provide them with (i.e the smallest possible dataspace that will reproduce the problem along with DML to create the stored procedures and the tables that they use, and also any/all exceptions/stack traces and server logs).
- Mike
ps. there are no means to explicitly create a transaction in ODSI. -
Monitor user access (Fusion Middleware)
Hi All
Please advise if it is possible to monitor user login and logoff times when accessing any of the various fusion middleware components...
Specifically SOA Suite 11g (Enterprise Manager, OSB, etc).
I would like to audit and report on the time, duration, and tasks completed each time a user accesses any of the components mentioned above.
I have come across a Product called [Oracle Enterprise Manager Grid Control] that might be suitable to my requirements.
Your expert opinion in this regard will be highly appreciated.
RegardsHi,
You have to enable Audit Trail for this.
http://www.oracle.com/technetwork/middleware/planning/tutorials/index-091248.htmlThanks,
Avneet -
WCS Lobby Ambassador and Monitor User
I'm running our WCS authentication through ACS with TACACS and it's working fine. However, I currently have my Help Desk setup with a monitor user so they can login and view WCS, but this does not give them the Lobby Ambassador of course. How can I get a user to have both WCS and Lobby access with having to login with seperate user identities?
It's either admin either lobby account, you can not have both, the http pages are completly different and dont intermix.
Your solution is to have 2 users on your TACACS where one is the admin and one the lobby.
Here are the step by step config lines:
http://www.cisco.com/en/US/docs/wireless/wcs/6.0/configuration/guide/6_0admin.html#wpmkr1064288 -
How to remove inactive session from monitor users in oracle apps 11i
Hi All,
when I am monitoring users from security- user - monitor in apps 11i, its showing many inactive users.
I dont know how to remove them
kindly help me.
thanks in advance
sagbHi hsawwan,
Thank you very much for the reply, it really worked fine.
thanx again
Sagb -
Java user-defined transaction management not working correctly???
Hi everyone,
I have encountered a problem when using Java user-defined transaction management in my session bean. It threw an exception but I could not work out what that means. Could anyone comment on this? Thanks.
This BrokerBean is a stateless session calling other entities bean to perform some simple operations. There are 2 Cloudscape databases in use. Invoices (EB) use InvoiceDB and all the other EBs use StockDB.
If I comment out the user-defined transaction management code, then everything works fine. Or if I comment out the Invoices EB code, it is fine as well. It seemed to me that there is something wrong in transaction management when dealing with distributed databases.
--------------- source code ----------------------
public void CreateInvoices(int sub_accno) {
try {
utx = context.getUserTransaction();
utx.begin();
SubAcc subAcc = subAccHome.findByPrimaryKey(new SubAccPK(sub_accno));
String sub_name = subAcc.getSubName();
String sub_address = subAcc.getSubAddress();
Collection c = stockTransHome.findBySubAccno(sub_accno);
Iterator i = c.iterator();
ArrayList a = new ArrayList();
while (i.hasNext()) {
StockTrans stockTrans = (StockTrans)i.next();
int trans_id = stockTrans.getTransID();
String tran_type = stockTrans.getTranType();
int stock_id = stockTrans.getStockID();
float price = stockTrans.getPrice();
Invoices invoices = invoicesHome.create(sub_accno, sub_name, sub_address, trans_id, stock_id, tran_type, price);
stockTrans = stockTransHome.findByPrimaryKey(new StockTransPK(trans_id));
stockTrans.remove();
utx.commit();
utx = null;
} catch (Exception e) {
if (utx != null) {
try {
utx.rollback();
utx = null;
catch (Exception ex) {}
// e.printStackTrace();
throw new EJBException("BrokerBean.CreateInvoices(): " + e.getMessage());
--------------- exception ----------------------
Initiating login ...
Enter Username:
Enter Password:
Binding name:`java:comp/env/ejb/BrokerSB`
EJB test succeed
Test BuyStock!
Test BuyStock!
Test BuyStock!
Test BuyStock!
Test SellStock!
Test SellStock!
Caught an exception.
java.rmi.ServerException: RemoteException occurred in server thread; nested exce
ption is:
java.rmi.RemoteException: BrokerBean.CreateInvoices(): CORBA TRANSACTION
_ROLLEDBACK 9998 Maybe; nested exception is:
org.omg.CORBA.TRANSACTION_ROLLEDBACK: vmcid: 0x2000 minor code: 1806
completed: Maybe
at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.mapSystemExceptio
n(ShutdownUtilDelegate.java:64)
at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
at BrokerStub.CreateInvoices(Unknown Source)
at Client.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:22
9)
at com.sun.enterprise.appclient.Main.main(Main.java:155)
Caused by: java.rmi.RemoteException: BrokerBean.CreateInvoices(): CORBA TRANSACT
ION_ROLLEDBACK 9998 Maybe; nested exception is:
org.omg.CORBA.TRANSACTION_ROLLEDBACK: vmcid: 0x2000 minor code: 1806
completed: Maybe
at com.sun.enterprise.iiop.POAProtocolMgr.mapException(POAProtocolMgr.ja
va:389)
at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:43
1)
at BrokerBean_EJBObjectImpl.CreateInvoices(BrokerBean_EJBObjectImpl.java
:265)
at BrokerBeanEJBObjectImpl_Tie._invoke(Unknown Source)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(Ge
nericPOAServerSC.java:520)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(Gen
ericPOAServerSC.java:210)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(GenericPOAS
erverSC.java:112)
at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:255)
at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProces
sor.java:84)
at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadP
ool.java:99)Three things:
first, maybe you should think of putting ut.begin() just before the invoicesHome.create() method and ut.commit() just after the stockTrans.remove() method.It wont solve the current problem but will help in performance once the problem is solved.
second, your utx.commit() is outside the try block. how come the code is compiling then??
third, try doing a SOP call before and after invoicesHome.create() method and see where the problem actually lies.
let us know...
Hi SteveW2,
Thanks for being so helpful. Here are my replies:
Can I just ask why you're not using containermanaged
transactions?The reason why I didn't use container managed
transactions is because I don't really know how to do
that. I am more familiar with this user-defined
transaction handling.
I have attempted to implement the same method in an
entity bean and just let the container manage the
rollback itself. The same exception was thrown when
running the client.
Also, the transaction behaviour is likely to relateto
the app server youre using - which is it?What do you mean by the app server? I am using J2EE
1.3.1 if that is what you meant.
Finally, if your code has a problem rolling back,and
throws an exception, you discard your exception
thereby losing useful information.I have tried to print the exception stack as well, but
it is the same as just printing the general
exception.
This problem is very strange cause if I comment out
the transaction management thing, then everything
works fine. Or if I am only working with 1 single
database, with this user-defined transaction handling,
everything works fine as well.
Here is the error log from J2EE server if you are
interested.
------------ error log ---------------
javax.ejb.TransactionRolledbackLocalException:
Exception thrown from bean; nested exception is:
javax.ejb.EJBException: ejbCreate: Connection
previously closed, open another Connection
javax.ejb.EJBException: ejbCreate: Connection
previously closed, open another Connection
at InvoicesBean.ejbCreate(Unknown Source)
at
InvoicesBean_RemoteHomeImpl.create(InvoicesBean_Remote
omeImpl.java:31)
at InvoicesHomeStub.create(Unknown Source)
at BrokerBean.CreateInvoices(Unknown Source)
at
BrokerBean_EJBObjectImpl.CreateInvoices(BrokerBean_EJB
bjectImpl.java:261)
at BrokerBeanEJBObjectImpl_Tie._invoke(Unknown
Source)
at
com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispa
chToServant(GenericPOAServerSC.java:520)
at
com.sun.corba.ee.internal.POA.GenericPOAServerSC.inter
alDispatch(GenericPOAServerSC.java:210)
at
com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispa
ch(GenericPOAServerSC.java:112)
at
com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:25
at
com.sun.corba.ee.internal.iiop.RequestProcessor.proces
(RequestProcessor.java:84)
at
com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThr
ad.run(ThreadPool.java:99)
javax.ejb.TransactionRolledbackLocalException:
Exception thrown from bean; nested exception is:
javax.ejb.EJBException: ejbCreate: Connection
previously closed, open another Connection
at
com.sun.ejb.containers.BaseContainer.checkExceptionCli
ntTx(BaseContainer.java:1434)
at
com.sun.ejb.containers.BaseContainer.postInvokeTx(Base
ontainer.java:1294)
at
com.sun.ejb.containers.BaseContainer.postInvoke(BaseCo
tainer.java:403)
at
InvoicesBean_RemoteHomeImpl.create(InvoicesBean_Remote
omeImpl.java:37)
at InvoicesHomeStub.create(Unknown Source)
at BrokerBean.CreateInvoices(Unknown Source)
at
BrokerBean_EJBObjectImpl.CreateInvoices(BrokerBean_EJB
bjectImpl.java:261)
at BrokerBeanEJBObjectImpl_Tie._invoke(Unknown
Source)
at
com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispa
chToServant(GenericPOAServerSC.java:520)
at
com.sun.corba.ee.internal.POA.GenericPOAServerSC.inter
alDispatch(GenericPOAServerSC.java:210)
at
com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispa
ch(GenericPOAServerSC.java:112)
at
com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:25
at
com.sun.corba.ee.internal.iiop.RequestProcessor.proces
(RequestProcessor.java:84)
at
com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThr
ad.run(ThreadPool.java:99)
What is "connection previously closed, open another
connection"? This might be the cause of the
exception.
I'll keep trying till I solve the problem.
Thanks,
Sasuke -
How can an user defined Transaction type in Inventory be configured in IB?
Need to know how to make an user defined transaction to update the status in IB automatically. i.e. suppose there is an user defined transaction "XYZ". I need to update the instance stause of an item to "CANCELLED" once that transaction happens on the item.
Edited by: user13340970 on Aug 13, 2010 7:14 AMHi Atheek,
I was looking at doing the transform manually, but my challenge is how to parse the inbound String into XML Elements with their properties. For example:
Example Message:
<abd:TypedDocument>
<abd:someElement>
<abd:aString><jkl:embeddedMessage jkl:attributeABc="Hello There"><jkl:someOtherElement>OSB Rules!<jkl:someOtherElement><jkl:aNumber>123456</jkl:aNumber></jkl:embeddedMessage>
</abd:aString>
</abd:someElement>
</abd:TypedDocument>
If I get the value of the embedded XML as a string, how can I parse our or address the various elements and attributes in the embedded XML? I was hoping to use:
$aString cast as jkl:embeddedMessage
But on OSB10g this fails. Is there another way with XQuery or XSL to convert an embedded XML that comes in as a string, into a complex User-Defined type?
Thanks,
David. -
Hi All,
Our company have finished CRM portal and this week we will doing a stress test by using portal system at a time with lot of user. How to monitoring users that have been logged into portal in one day?Not only the total number of user but also all user ID.
I have try to monitoring from 'System Administration->Monitoring->Activity Reports' but it only show total number of user and the most active users (10) in last 3 hours. Any helpful answer will be rewarded. Thank You.
Regards,
Aleluya SAP.Hi,
Use the trx: AL08 , where you can view the logged users data...
Bye
Ram -
Monitoring User Logins in Business One
Hi,
I'm wondering, is there a way to monitor users when they are logged in on B1 server?
Thanks.Hi,
Welcome you post on the forum.
Only the file B1upf.xml holding that info you are looking for. You may open that file regularly to check the user connection. Or monitor the file update if you can. The file is under license folder of the server tool.
Thanks,
Gordon -
Program to collect user u2013 transaction execution data for past period
Hi Experts
We are developing a program to collect user u2013 transaction execution data for past period ( 3 months-1 year ). We are getting required User and Tcode output but unable to find exact count per tcode ( executed by respective user).
We have following count components available in SAPWL_WORKLOAD_GET_STATISTIC / SWNC_COLLECTOR_GET_AGGREGATES
COUNT , DCOUNT ( Dialog count for transaction ) , UCOUNT , BCOUNT , ECOUNT, SCOUNT ,LUW_COUNT .
Out of which LUW_COUNT -Logical Units of Work comes close to no ot time transaction was executed but itu2019s even not the exact count as one transaction code can have more than one LUW .
Does anyone have idea about how to get the right count .
Thanks
VaniIf audit log is enabled in SM19 for transaction criteria all, you can get the transaction history executed by the users. But may need more space on audit file system if this is enabled for all users. May be you can archive once in 3 months into ZIP files and can unzip whenever you need.
-
User Specific Transaction Variant
Hi,
Can i please have guidelines for Transaction variant creation, specially user specific transaction variant creation along with example?
Regards,
Samir WadajkarDear
Please see this wiki for useful :http://wiki.sdn.sap.com/wiki/display/Snippets/Transaction%20Variant%20-%20A%20Step%20by%20Step%20Guide%20for%20Creation
OR
Go to SHD0
Enter the transaction code - Enter the transaction variant YXXX under transaction variants tab
Create - the transaction variant. When you back after creating .... Save all the screens and do a syntax check - this will take you to different screen - Just execute and come back
You should now be in SHD0 with your transaction code as well as transaction variant.
Now, go to 'GOTO' on application tool bar - Create transaction variant. Do not check 'Inherit GUI attributes' under classification and check all under GUI SUPPORT
Execute your newly create Ytransaction
Go back to SHD0 again and repeat the same process but enter different name than previous one. do the exact same process.
Create new transaction which means enter different transactio name like if the previous one is yxxx1 ... create this as yxxx2.
You can take the standard transaction from every user or who you dont want to give by removing the authorization from user master (talk to security people)
Hope this will be usefull
Regards
JH -
Any 3rd party utilities that fix full screen mode for multi-monitor users?
I am a multi-monitor user. As multi-monitor users know, full screen mode is basically useless since if you try to go full screen on one monitor, it causes the other monitor to go blank and become unusable (at least with most programs). Are there any 3rd party utitilities or fixes for this?
ThanksSpaces, which is what this functionality stems from, was limited in that it used your entire setup and switched all of the screens over; space to space. I never used spaces because I always had multiple monitors and I was always working with multiple apps simultaneously that I wanted to be able to reference while working on the others.
Now they call Spaces, "mission control" and changed the appearance of it, but the functionality remained the same, each workstation comprised all of your monitors, and would switch over all of them when switching to a new "Desktop".
Fullscreen apps wrongly assumes that it can take the functionality of the afformentioned MS/Spaces and use it for one app, negating the whole idea of why someone would have multiple screens (real estate to work with other applications).
If they stop considering multiple monitors as one Workspace, they can then make it so they are asynchronous "tablets" instead of one conjoined entity.
So, you say people have been asking about this for 2 years, I've been asking for this for 5!
The issue here is, the only answer is to not use it. Making Mission Control and Fullscreen apps completely ignored by people like us, where I could be using both functions to glide around my work station and three monitors, mixing and matching which apps I want to be viewed on each separate monitor, to perform one single task; together.
It would actually reward people who wanted to utilize Thunderbolt technology and have more then one monitor.
There is no telling why apple chose to push out something that would only support the casual user, with one display, but the only direct way to let apple know that we feel limited by the OS is to send feedback. Even though it seems that we are powerless in this situation, I hope that they do consider how to make this function better.
</rant> -
How to monitor user logs,security logs,trace file,and performance monitori
Hi guys,
pls tel me how to monitor user logs,security logs,trace file,and performance monitoring.
thanks
regards
kamalHi,
you can have a look in the Netweaver administration :
http://<portal>:<port>/nwa
Go to monitoring, Java system reports, etc..., you will find what you want.
Fabien.
Maybe you are looking for
-
Does anyone know why an iPod no longer shows in the iTunes sidebar?
-
Dear Experts, When I am doing reversal of any document using FB08, I am giving reason code as Cheque Bounce or some other reason code. But when I am viewing the same document, the reason code is not available. I have checked the same in BKPF but the
-
Hello Java Friends, I wanted to draw a shape e.g. (triangle or a figure with more nodes) and then connect each node to the rest nodes with a line. It works only up to 3 nodes (triangle). Can someone give me some idea on how to solve the problem. See
-
Need help
-
Is there any BAPI to rlease the Maintenace order
Hi experts, i want to do BDC for IW31 tcode. i wnat to set the user status for this i am using STATUS_CHANGE_EXTERN FUNCTION MODULle . but as manually once i release the order only i can set teh user status. here i am using function module, my Funct