No. of users using same transaction
hai iam shivaa.
how can we find no. of users using same transaction at a given time on a given server.can i also know the order(time) in which the users started using the transaction?
eg--no. of users using transation VA01 on a given server at a given time.
--order in which users started using VAO1
Hi Shiva,
If you have got the appropriate solution, reward all useful answers & close the thread.
Regards,
Senthilkumar SD
Similar Messages
-
Create a new table maintenable by user using SM30 transaction
Hi,
is it possible to create a new table maintenable by user using sm30 transaction with class C without opening the customizing each time there is a modification to do.
thank you.Hi,
u told u alredy create table and corresponding view. Now u can follw below this process.........
go to se11.
go to menu Utilities ->table maint. generator.
after that u will go to menu -> Environment -> maintence Object -> Generate.
then u select category -> CUSY
Transport -> 2 automatic transport
Adjustment-> automatically adjustment
then save it and create T. code .
I think your problem will be solve.
Regards,
Tarapada D. -
Can multiple threads use same transaction concurrently?
Is it possible that same transaction is being used by multiple threads concurrently
in WLS? If each thread is doing suspend and resume how does it work? Does the
transaction implementation support it? Is there a way to do it?
Why you don't tell us some more about your application?
I'm assuming this is a relatively long running transaction if run
serially. One common solution is to break this type of workflow into
several separate transactions with queues between them.
-- Rob
Karambir Singh wrote:
> Is there any workaround for this? I mean to something like explicitly associating
> the txn with user created threads.
>
> "krishna" <[email protected]> wrote:
>
>>Transaction context cannot be propagated to user created Threads.
>>-Krishna
>>"Karambir Singh" <[email protected]> wrote in message
>>news:[email protected]...
>>
>>>I'm starting a transaction in main thread and this thread spawns three
>>
>>threads.
>>
>>>I want updates done in main transaction and updates done in three child
>>
>>threads
>>
>>>to be part of the same transaction. The transaction is finally commited
>>
>>by
>>main
>>
>>>thread.
>>>
>>>
>>>
>>>
>>>
>>>"Dimitri I. Rakitine" <[email protected]> wrote:
>>>
>>>>What are you trying to do ?
>>>>
>>>>Karambir Singh <[email protected]> wrote:
>>>>
>>>>
>>>>>Is there any workaround to do this?
>>>>
>>>>>"Dimitri I. Rakitine" <[email protected]> wrote:
>>>>>
>>>>>>No, it is associated with a thread which started it.
>>>>>>
>>>>>>Karambir Singh <[email protected]> wrote:
>>>>>>
>>>>>>
>>>>>>>Is it possible that same transaction is being used by multiple
>>
>>threads
>>
>>>>>>concurrently
>>>>>>
>>>>>>>in WLS? If each thread is doing suspend and resume how does it
>>
>>work?
>>
>>>>>>Does the
>>>>>>
>>>>>>>transaction implementation support it? Is there a way to do it?
>>>>>>
>>>>>>--
>>>>>>Dimitri
>>>>>>
>>>>
>>>>--
>>>>Dimitri
>>>>
>>>
>>
>
-
How to use same transaction when calling CMP entity beans and DAO (JDBC)
We are currently using Weblogic 8.1 SP2 with an Oracle 10g database (using XA thin and non-XA drivers).
We have a session bean that invokes an entity bean and a DAO (data access object pattern) in order to add data in 2 separate tables (account and history). Rows are added to the first (account) table using a CMP Entity bean while inserts are done in the 2nd (history) table using a DAO. Here is some pseudo code:
addHistorySessionBean (trans-attribute="Required")
begin
Step #1 - call addAccountEntityBean (trans- attribute="Required")
Step #2 - call addHistoryDAO (get datasource, connection)
end
The 2nd table (history) has a foreign key constraint to ensure that the corresponding key exists in the first (account) table. Unfortunately, DAO inserts on the 2nd (history) table fail with a foreign key constraint violation (INTEGRITY CONSTRAINT VIOLATION - PARENT KEY NOT FOUND!) since they cannot see the row added to the 1st (account) table in step #1 by the CMP entity bean.
How does one ensure that all this is done in a single transaction ? It appears that the app server creates two seperate transactions (one for the session bean facade and the entity bean and a 2nd transaction (when we retrieve a connection using the same data source JNDI name) for the DAO.
A post on server side suggested using a "<resource-ref>" in the session bean to tie the two potentially separate transactions together, but that does not work for us. However, I am not sure if we are doing that correctly. After we define the resource ref in the session facade bean, do we use the resource ref "name" attribute to lookup the datasource or do we still lookup the datasource by JNDI name ? Do we need to define the resource-ref tag in the entity bean also ?
Does Weblogic allow using a single transaction for this type of a scenario ? How does one specify within Weblogic that the same transaction should be utilized by the entity bean and any subsequent DAOs?
People have also suggested that we defer constraint checking until the transaction(s) are committed but that sounds like a work acount without addressing this issue. Would postponing the constraint checking in Oracle cause any additional overhead ?
Any suggestions with specific examples or documentation on how to address this issue will be gratefully appreciated.Thanks for your suggestion. Unfortunately, this does not work since it appears that there are 2 separate transactions going on here. One, the original one initiated by the session bean and used by the entity bean and the other initiated by the DAO. Any other ideas appreciated.
Hi,
Try setting the delay-database-inserts tag to
ejbCreate in RDBMS descriptor file.
http://bernal/stage/wls/docs81/ejb/DDreference-cmp-jar
.html#1113981
vasanthi ramesh -
Use same transaction in entity-bean and Datasource
Hello
I've got following problem. In my stateless container managed transaction Sessionbean i do some inserts and update on my container managed entity bean. In the same transaction I have to read some informations on the database. Some of those informations are already set by the entity bean, but not yet commited. Now I want to read them through a javax.sql.DataSource. But this Datasource doesn't use the same transaction as the session bean.
Question: Is it possible to let a Datasoucre use the same Transaction as Sessionbean?
(i work with WSAD 4.0.3)
ThanksHi,
You would have to check that you are using an XADataSource instance, instead of a 'regular' DataSource instance (which will not adopt the transaction started by the application server). In particular, the JNDI lookup name of the DataSource should actually point to an instance of XADataSource; a special type for container transactions.
The administration/deployment tools of the WS will allow you to do that, under Resource Factories or DataSources somewhere.
Both types look the same towards your application code, so your session bean is probably fine the way it is and does not need rewriting. It is merely in the setup of the WS server that the difference lies.
Best,
Guy
http://www.atomikos.com -
Multiple users using same email account
I'm the computer tech for a volunteer fire department. We have multiple officers using this computer and each one wants access to the same email account under their personal user accounts. Can this be done?
You just need to "move" the profile to a common access location.
http://kb.mozillazine.org/Moving_your_profile_folder_-_Thunderbird -
I have different users on my computer, me, spouse, etc. We share the same email. I have thunderbird loaded correctly in one account. In the other account it only grabs the inbox messages, not the sent messages. How do I get it so both thunderbirds work in both accounts on the same computer? Right now I need to switch user to view the sent emails that are sent from the other account.
IMAP will sync messages, but if your sharing on a single computer you would probably be better off sharing the same profile. It is not as if you will both be using it at the same time. The information in this link should help with that.
http://kb.mozillazine.org/Moving_your_profile_folder_-_Thunderbird -
Restrict same user using same internet explorer session
Hi,
I encountered a problem here. Hope some one had deal with this problem can help me out.
The application was written in BSP. The users are using Internet Explorer 6.0 and 7.0 to use the application.
The problem I encountered here is after an user is logged in to the system through the browser, then he open another new window or tab (ctrlN or ctrlT), the application will not prompt him to login again because the sessions were shared between this two internet explorer. I do not want this to happen because it giving problem and causing data loss.
Any possible way to restrict user to open two same application within same session? Because the problem will not occur if the user open two same application within different session.
I really appreciate for those who can help me on this.
Thanks you.Check OSS notes for this - there are a number about aspects of BSP logons.
I believe this is to do with a cookie being held / kept alive that should not be. There are some OSS notes about this issue - you may have to redefine how the user logs on so that HTTP Basic Authentication is not used.
Andrew -
Multiple users using same files, but with different libraries
My wife and I both have our own iPhone 3Gs. We also have separate user accounts on our MacBook Pro. We would like to share the music/video files that we've got stored on a network drive, but we don't want to have the same library file. We both have different tastes in music, so I'd prefer if our song ratings were separate, as well as the rest of the library info (namely "last played date"). Is there a way that we can keep separate library files, but also be able to have new song purchases on one library automatically added to the other?
FryeX wrote:
I have this in my controller:
-(IBAction) setSize:(id)sender
And it would be enough to get to the title of the button
The sender param should be a pointer to the originating button, and you can use the button's tag property to id it. E.g.:
-(IBAction) setSize:(id)sender {
UIButton *button = sender;
NSString *title = button.currentTitle;
int tag = button.tag;
NSLog(@"sender=%@, title=%@, tag=%d", sender, title, tag);
- Ray -
No disconnect warning when multiple remote users use same username and password to logon to VM
I created a single user account to be used by multiple users to access a system consisting of multiple VMs. The problem is that when User #1 has an active session and User #2 attempts to log onto the same VM User #1's session is ended without
warning. Now if User #1 has an active session and User #2 attempts to log onto the same VM using different credentials a [Remote Desktop Connection] dialog displays alerting User #1 that User #2 wants to connect and gives an option to disconnect or stay connected.
Realizing that the latter preferred behavior is because the two Users are using different credentials I would like to know if the same preferred behavior of alerting the Users of active connections can be enabled for instances when both Users are using
the same credentials - perhaps by recognizing that their remote ips are different or something.not sure if this fits your case exactly. there was another similar question asked in the forum and the solution was:
You may set this via group policy, for example, in the server's local policy using gpedit.msc:
Computer Configuration\ Administrative Templates\ Windows Components\ Remote Desktop Services\ Remote Desktop Session Host\ Connections\
Restrict Remote Desktop Services users to a single Remote Desktop Services session Disabled
http://social.technet.microsoft.com/Forums/windowsserver/en-US/a26af954-c2ef-4beb-b892-9e7717518850/allowing-users-to-open-multiple-remote-sessions-on-windows-server-2012-rds?forum=winserverTS -
Two users using same Aperture Library on a server...
Hi,
I work in a small design studio, two of us. We used to keep our Aperture library on our server and both use the same library. We both have our own copies of Aperture so can't see why this would be an issue.
We have both upgraded to Aperture 3 and again would like to use the same library, but since upgrading only I can access the library?
Any ideasI checked the Aperture license agreement and the word "library" is not mentioned in the agreement so that shouldn't be the problem. Have you called Apple Technical Support to discuss? Have you provided feedback to Apple as this would seem to be a bug, not an intentional limitation? http://www.apple.com/feedback/aperture.html
Just a shot in the dark but I wonder if you will have success if you both use an identical /home/library/preferences/com.apple.Aperture.plist file. The database changed in Aperture 3 from Aperture 2 and it may be that the database is now storing more information about the system than before. Sorry I can't debug as I only have one Aperture licence serial number. -
Batch locked if some other user using same batch
Dear All,
I am facing the batch lock error which say like this :
Batch XXXX of material XXXX is already locked by userXXX. Message no. M3682
Now practically we have the same batch at different distribution centres at different plants. so even if any 1 person is doing anything on that batch than system gives this error message to other person.
Can you please give me any solution to overcome the same.
Thanks in advance......Firstly please check if you have activated the batch level as 'Batch unique at material level'. If yes, we have to confirm that the system behavior that you are facing is the standard system design.
Please, consider that when you define the batch at material-level, then,the batch data is not plant-depended. This means that a lock on the batch will have effect on postings in all plants.
However, you might want to consider a modification to this standard behavior, see the following notes:
157423 - Message M3682 for goods movement to the same batch.
633750 - MIGO: Message M3682 with goods movement to same batch.
1422983 - MIGO: Message M3682 during goods movement to same batch -
QALS table update while using MFBF transaction
Hi ,
I added new field with Z to QALS table and i want to fill this field when user use MFBF transaction while pushed save button.But i need mat. document number (mblnr) when i find value of new field which i added.I found EXIT_SAPLQPL1_002 exit which i can change value of QALS table but when i enter into this exit mblnr filed is coming empty.I also tried to find a badi and found INSPECTIONLOT_UPDATE badi's CREATE_BEFORE_UPDATE method.Here i have all values of QALS.But when i change value of new field after this method it becomes empty again.Is there any way to fill this field from mfbf transaction using mblnr?Hi Mehul,
You make use of Wait statement within the BAPI. let the system wait for 2 milliseconds.
use wait = 2. then try doing the same. I think your error would be resolved.
Reward points if this helps,
Kiran -
Need user exit when deleting an invoice using MIR6 transaction
Hi all,
I m trying to delete an Invoice using MIR6 transaction. And I need a user exit to be triggered on deletion of an Invoice.
Can anybody help me and let me know if any user exit is available there?
Points will be rewarded.
thanks
AshishHi
Business Add-Ins
Business Add-Ins are a new SAP enhancement technique based on ABAP Objects. They can be inserted into the SAP System to accommodate user requirements too specific to be included in the standard delivery. Since specific industries often require special functions, SAP allows you to predefine these points in your software.
As with customer exits (SMOD/CMOD [Page 40]), two different views are available:
In the definition view, an application programmer predefines exit points in a source that allow specific industry sectors, partners, and customers to attach additional software to standard SAP source code without having to modify the original object.
In the implementation view, the users of Business Add-Ins can customize the logic they need or use a standard logic if one is available.
In contrast to customer exits, Business Add-Ins no longer assume a two-system infrastructure (SAP and customers), but instead allow for multiple levels of software development (by SAP, partners, and customers, and as country versions, industry solutions, and the like). Definitions and implementations of Business Add-Ins can be created at each level within such a system infrastructure.
SAP guarantees the upward compatibility of all Business Add-In interfaces. Release upgrades do not affect enhancement calls from within the standard software nor do they affect the validity of call interfaces. You do not have to register Business Add-Ins in SSCR.
The Business Add-In enhancement technique differentiates between enhancements that can only be implemented once and enhancements that can be used actively by any number of customers at the same time.
In addition, Business Add-Ins can be defined according to filter values. This allows you to control add-in implementation and make it dependent on specific criteria (on a specific Country value, for example). All ABAP sources, screens, GUIs, and table interfaces created using this enhancement technique are defined in a manner that allows customers to include their own enhancements in the standard.
A single Business Add-In contains all of the interfaces necessary to implement a specific task. In Release 4.6A, program and menu enhancements can be made with Business Add-Ins. The actual program code is enhanced using ABAP Objects. In order to better understand the programming techniques behind the Business Add-In enhancement concept, SAP recommends reading the section on ABAP Objects
DEFINING THE BADI
1) execute Tcode SE18.
2) Specify a definition Name : ZBADI_SPFLI
3) Press create
4) Choose the attribute tab. Specify short desc for badi.. and specify the type :
multiple use.
5) Choose the interface tab
6) Specify interface name: ZIF_EX_BADI_SPFLI and save.
7) Dbl clk on interface name to start class builder . specify a method name (name,
level, desc).
Method level desc
Linese;ection instance methos some desc
8) place the cursor on the method name desc its parameters to define the interface.
Parameter type refe field desc
I_carrid import spfli-carrid some
I_connid import spefi-connid some
9) save , check and activate adapter class proposed by system is
ZCL_IM_IM_LINESEL is genereated.
IMPLEMENTATION OF BADI DEFINITION
1) EXECUTE tcode se18.choose menuitem create from the implementation menubar.
2) Specify aname for implementation ZIM_LINESEL
3) Specify short desc.
4) Choose interface tab. System proposes a name fo the implementation class.
ZCL_IM_IMLINESEL which is already generarted.
5) Specify short desc for method
6) Dbl clk on method to insert code..(check the code in AAA).
7) Save , check and activate the code.
Some useful URL
http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf
http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
Now write a sample program to use this badi method..
Look for BBB sample program.
AAA
data : wa_flights type sflight,
it_flights type table of sflight.
format color col_heading.
write:/ 'Flight info of:', i_carrid, i_connid.
format color col_normal.
select * from sflight
into corresponding fields of table it_flights
where carrid = i_carrid
and connid = i_connid.
loop at it_flights into wa_flights.
write:/ wa_flights-fldate,
wa_flights-planetype,
wa_flights-price currency wa_flights-currency,
wa_flights-seatsmax,
wa_flights-seatsocc.
endloop.
BBB
*& Report ZBADI_TEST *
REPORT ZBADI_TEST .
tables: spfli.
data: wa_spfli type spfli,
it_spfli type table of spfli with key carrid connid.
*Initialise the object of the interface.
data: exit_ref type ref to ZCL_IM_IM_LINESEL,
exit_ref1 type ref to ZIF_EX_BADISPFLI1.
selection-screen begin of block b1.
select-options: s_carr for spfli-carrid.
selection-screen end of block b1.
start-of-selection.
select * from spfli into corresponding fields of table it_spfli
where carrid in s_carr.
end-of-selection.
loop at it_spfli into wa_spfli.
write:/ wa_spfli-carrid,
wa_spfli-connid,
wa_spfli-cityfrom,
wa_spfli-deptime,
wa_spfli-arrtime.
hide: wa_spfli-carrid, wa_spfli-connid.
endloop.
at line-selection.
check not wa_spfli-carrid is initial.
create object exit_ref.
exit_ref1 = exit_ref.
call method exit_ref1->lineselection
EXPORTING
i_carrid = wa_spfli-carrid
i_connid = wa_spfli-connid.
clear wa_spfli.
check the following user exits for MIR6
LMR1M001 User exits in Logistics Invoice Verification
LMR1M002 Account grouping for GR/IR account maintenance
LMR1M003 Number assignment in Logistics Invoice Verification
LMR1M004 Logistics Invoice Verification: item text for follow-on docs
LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Posting
LMR1M006 Logistics Invoice Verification: Process XML Invoice
MRMH0001 Logistics Invoice Verification: ERS procedure
MRMH0002 Logistics Invoice Verification: EDI inbound
MRMH0003 Logistics Invoice Verification: Revaluation/RAP
MRMN0001 Message output and creation: Logistics Invoice Verification
Regards
Anji
Message was edited by:
Anji Reddy Vangala -
Way to identify transactions accessed by user using portal
Hi,
We are trying to obtain statistics of the transactions used by a user and frequency of use by the same user using the portal. We would like to obtain the user id and the transactions accessed.
Is there a table or a log created by the EP to capture the same or is there any option in the settings which can capture the info going forward.
We use EP to access BSP applications and ITS transactions.
Any information on the logging capabilites of EP is appreciated.Hi,
Check the link below on creating a portal activity report iView.
http://help.sap.com/saphelp_nw04s/helpdata/en/fb/144120ea5b4e9c9385d493a578d6c9/frameset.htm
Portal activities are obtained from the following set of tables(I guess)
WCR_AGGINFO
WCR_USERNODSTAT
WCR_USERSTAT
WCR_WEBCNODESTAT
WCR_WEBCONTENTSTAT
So you can write a custom code that could retrieve the values from the tables.
The activity report can be found under the system configuration under system administration in portal
System Administration -> System Configuration-> Service Configuration Editor
Under Applications->com.sap.portal.activityreport.core-> Services->ActivityReport
Hope this helps.
Regards,
Vijai Mohan
Maybe you are looking for
-
Multiple copies of same device on my network
There are multiple copies of my Computer showing up under the Shared header in my finder sidebar. It's messing up my network connections. How did this happen and how do I remove the copies?
-
Windows 8.1 clean install in GPT hard drive style without loosing the RECOVERY partition
Always i try format my windows partition, i get the following error: Windows cannot be installed to this disk. The selected disk is of the GPT partition style. So i would like a clean install Windows 8.1 without chnage the hard drive style or loose m
-
Hi Experts, I need the simple query report on the following criteria. Doc No. Doc Date Vendor Code Vendor Name Vendor Address Document Total Which does not contain the AP Invoices against which AP Credit memo made. Regards, Datta Kharat
-
Dear all , My problem is at 'at new' statement ,sum is not working.Please tell me where i am wrong. REPORT Z_AUTOMATED_PO. DATA : BEGIN OF IT_STORE_PO OCCURS 0, EBELN LIKE EKPO-EBELN, EBELP LIKE EKPO-EBELP, MENGE LIKE EKPO-MENG
-
Edited PDF Does Not Retain Fill Data on iPhone
When I input data in the fill boxes on a form I created with Acrobat which has been sent to my iPhone, the text that was added in the fill forms does not stay on the document after emailing it to myself and opening it in my email preview. The data, h