Check whether a transaction is running

I need to know if there is a function I can use to check whether a transaction is being run by a specific user.

hi,
there is some stand teransaction called STAT(not sure abt the name ) which gives u the details abt the last reun transaction run pls chekc that out... or go to table TSTC and give STA* it will disply u some transaction just read the help info to find out the transaction..
check also the transaction STAD..
Thanks
Ashu

Similar Messages

  • LMS 3.1 JRM Service could be down. Check whether JRM services are running.

    Hi all
    Jrm service is showing down in LMS 3.1.
    When i select RME tab its showing the error " JRM Service could be down. Check whether JRM services are running."
    I checked the services.But its running.
    We have not changed the host name.
    Pls find attached the lms service status as well.
    If any one faced the same issue pls reply me at the earliest.
    Thanks and regards
    Danish

    Based on these services, this appears to be LMS 2.x, not 3.1.  Post the output of the pdshow command.
    Please support CSC Helps Haiti
    https://supportforums.cisco.com/docs/DOC-8895
    https://supportforums.cisco.com

  • FM or table to check whether a transaction is locked or not

    Hi all.
        I  need to create change a return order (VA02 Transaction ) & then need to create a delivery (VL01N Transaction) for this
       return order no. My issue is before creating delivery (VL01n) I need to check whether return order (VA02) is lockked or not in report program. Is there any FM or table for this.  Thanks in advance.
    Kind Regards,
    sami

    Hi,
    check the below function module to check the return order is locked or not..
          CALL FUNCTION 'ENQUEUE_EVVBAKE'
            EXPORTING
              mode_vbak      = 'E'
              mandt          = sy-mandt
              vbeln          = w_lvbeln  "pass return order
              x_vbeln        = ' '
              _scope         = '2'
              _wait          = ' '
              _collect       = ' '
            EXCEPTIONS
              foreign_lock   = 1
              system_failure = 2
              OTHERS         = 3.
          IF sy-subrc NE 0.
    " Sales Order is locked
          ENDIF.
    Prabhudas

  • To check whether a service is running in a remote machine

    My problem is to test whether a service is running in a
    machine or not.
    I have done a simple socket program.It just takes the IP and the port at which the service is supposed to run.
    My algo is to check whether it fails to make a connection or not.
    If there is a success the service is running.
    Is this
    sufficient???

    Technically there are more failure points (and presuming configuration failures are ignored.)
    If the connection is through a router/gateway then that could fail and the server/service could still be running.
    The service could be written in such a way that its functionality is handled in a seperate thread from the connection thread. And that thread blocks/stops. So the connection succeeds even though the service is in a failure state.

  • Checking whether a server is running

    Hi all,
    I have a form that should submit its xdp to a server side component. However if the server is down the user is left with a Error 404.
    I am submitting through the following code:
    myDoc.submitForm({
        cURL: submitUrl ,
        cSubmitAs: "XDP",
        aPackets: ["*", "pdf"],
        cCharset: "utf-8",
    I am wondering if there is any way you can do a test before I do the actual submit to see if the server is up and if it is then do the submit?
    Anyone with an idea how to do this?
    Thanks in advance
    Sincerely
    Kim Christensen
    Dafolo A/S

    No. But, I have written a script which will read the application custom xml to retrieve the weblogic server IP address, port number, username and password and start & stop the weblogic servers

  • JRM Service could be down. Check whether JRM services are running

    I keep seeing this message when ever I open RME
    LMS 2.6 on A Windows 2003 platform
    3.0.5 common services
    4.0.6 campus manager
    6.1.5 Ciscoview
    2.0.6 DFM
    2.6.0 IPM
    4.0.5 RME
    pdshow against CTMJrmServer - waiting to initialize, then it will become administratively shutdown
    JRM and the other dependencies are up and working
    Under CTMJrmServer.log - I keep seeing what looks like authentication errors
    Error in execPOST: Server returned HTTP response code: 403 for URL: http://localhost:1741/CSCOnm/servlet/com.cisco.nm.cmf.servlet.SecretManagerServlet?command=put&alias=admin&secret=R2Dc7YpBXJLzlQ%3D%3D
    1:11 GMT 2010 ],INFO ,[main],com.cisco.nm.rmeng.jrmwrapper.server.JobManagerExt,getJRM,217,Retrying 0
    [ Wed Jan 13  10:31:21 GMT 2010 ],FATAL,[main],com.cisco.nm.rmeng.jrmwrapper.server.JobManagerExt,getJRM,207,Error during authentication:5,null
    [ Wed Jan 13  10:31:21 GMT 2010 ],INFO ,[main],com.cisco.nm.rmeng.jrmwrapper.server.JobManagerExt,getJRM,217,Retrying 1
    [ Wed Jan 13  10:31:31 GMT 2010 ],FATAL,[main],com.cisco.nm.rmeng.jrmwrapper.server.JobManagerExt,getJRM,207,Error during authentication:5,null
    [ Wed Jan 13  10:31:31 GMT 2010 ],INFO ,[main],com.cisco.nm.rmeng.jrmwrapper.server.JobManagerExt,getJRM,217,Retrying 2
    [ Wed Jan 13  10:31:41 GMT 2010 ],FATAL,[main],com.cisco.nm.rmeng.jrmwrapper.server.JobManagerExt,getJRM,234,Unable to obtain session. Terminating
    [ Wed Jan 13  10:31:41 GMT 2010 ],ERROR,[main],com.cisco.nm.rmeng.jrmwrapper.server.CTMJobManagerServer,<init>,66,Null JRM. Exiting
    Any help with this would be very much appreciated
    Simon

    hostname - sm01ms002
    C:\\>pdreg -l CTMJrmServer
            Process      = CTMJrmServer
            Path         = d:\\PROGRA~1\\CSCOpx\\bin\\cwjava.exe
            Flags        = -cw d:\\PROGRA~1\\CSCOpx -cw:jre lib/jre -cp:p MDC/tomcat/webapps/rme/WEB-INF/classes,MDC/tomcat/webapps/rme/WEB-INF/lib/ctm.jar,MDC/tomcat\/webapps/rme/WEB-INF/lib/log4j.jar com.cisco.nm.rmeng.jrmwrapper.server.CTMJobManagerServer sm01ms002
            Startup      = Started automatically at boot.
            Dependencies = RMEDbMonitor jrm TomcatMonitor RMECSTMServer
    \f1 NMSROOT=d:/PROGRA~1/CSCOpx\
    PX_BINDIR=d:/PROGRA~1/CSCOpx/bin\
    PX_CGIDIR=d:/PROGRA~1/CSCOpx/cgi-bin\
    PX_LOGDIR=d:/PROGRA~1/CSCOpx/log\
    PX_TMPDIR=d:/PROGRA~1/CSCOpx/temp\
    PX_DATADIR=d:/PROGRA~1/CSCOpx/files\
    PX_DOCDIR=d:/PROGRA~1/CSCOpx/htdocs\
    PX_CLASSDIR=d:/PROGRA~1/CSCOpx/www/classpath\
    PX_CGIURL=/cgi-bin\
    PX_DOCURL=/\
    PX_CLASSURL=/CSCOnm/classpath\
    PX_SCLASSDIR=d:/PROGRA~1/CSCOpx/lib/classpath\
    PX_DATASTORE=DSN=rme\
    PX_CLASSPATH=d:/PROGRA~1/CSCOpx/lib/classpath;d:/PROGRA~1/CSCOpx/www/classpath;d:/PROGRA~1/CSCOpx/campus/www/classpath;d:/PROGRA~1/CSCOpx/campus/lib/classpath\
    PX_APPDIR=d:/PROGRA~1/CSCOpx/objects\
    PX_CONFDIR=d:/PROGRA~1/CSCOpx/conf\
    PX_CTRBDIR=d:/PROGRA~1/CSCOpx/contrib\
    PX_HLPDIR=d:/PROGRA~1/CSCOpx/help\
    PX_LIBDIR=d:/PROGRA~1/CSCOpx/lib\
    PX_USER=casuser\
    PX_GROUP=casusers\
    PX_STOP_DELAY=3000\
    PX_SYS_CHECK=1\
    PX_OSA_PORT=42342\
    OSAGENT_PORT=42342\
    PX_HOST=sm01ms002\
    PX_FQDN=sm01ms002\
    ASANY=d:/PROGRA~1/CSCOpx/objects/db\
    SQLANY=d:/PROGRA~1/CSCOpx/objects/db\
    CORE_SECURE_PORT=443\
    CORE_NONSECURE_PORT=1741\
    PX_PROTOCOL=http\
    PX_PORT=1741\
    PX_WEB_PORT=1741\
    MAX_RAM=2048\
    MAX_SWAP=4096\
    MAX_CPU=1600\
    PX_ANI_PORT=42344\
    SYS_NO_OF_CPUS=4\
    SYS_RAM=4094\
    SYS_CPU=2666\
    SYS_SWAP=4092\
    \f0\

  • TO check whether import is running

    Hi how to check
    whether import is running or not.I am using oracle 8.1.7 in solaris 8 .I used ps -ef | grep imp
    in os level its showing its running
    i am importing the indexes only no data,When i am checking the freespace in index tablespace its not reducing.i checked the transaction it showing 1 transaction running.
    How i confirm wheter import is running fine.The log also not updating ( i am using split and compress) after completing the job only i think it will update
    How i check whether this process is running
    with regards
    ramya

    Hello !
    You can try this:
    select substr(sql_text,instr(sql_text,'INTO "'),30) table_name,
    rows_processed,
    round((sysdate-to_date(first_load_time,'yyyy-mm-dd hh24:mi:ss'))*24*60,1) minutes,
    trunc(rows_processed/((sysdate-to_date(first_load_time,'yyyy-mm-dd hh24:mi:ss'))*24*60)) rows_per_min
    from sys.v_$sqlarea
    where sql_text like 'INSERT %INTO "%'
    and command_type = 2
    and open_versions > 0;
    Regards,
    Jean-Luc

  • How to check whether MRP run has been executed for a sales order or not

    Dear Experts,
    In Strategy:20, Make to Order scenario, I have run MRP for sales order in T Code:MD50,
    then how can I check whether MRP run has been executed for a sales order or not.  Is there any report where I can find some indication?
    Thanks and regards,
    Vikas

    Dear,
    In MTO scenario with Planning strategy group 20 in material master .
    After sales order is created, Run MRP , then planned order will be created then go to planned order details in MD04 or MD12 you will get sales order number in assigment tab.
    or check the Table PLAF field  PALTR ,and field name KDAUF its sales order, for all created planned order.
    Regards,
    R.Brahmankar

  • How to check whether  entity has been persisted in the current transaction

    Hello,
    I am porting functionality which relay heavily on lifecycle of the entity.
    For example methods like these:
    * returns true if the instance has been modified, deleted or newly made
    * persistent in the current transaction
    public boolean isModified(final EntityObject entity)
    public boolean isDeleted(final EntityObject entity)
    For some of these callsI have found how to port them to toplink und just want to validate that this is the right way:
    protected static UnitOfWork getUnitOfWork(EntityManager entityManager) {
    return ((JpaEntityManager) (entityManager.getDelegate())).getUnitOfWork();
    public static boolean isModified(EntityManager entityManager, Object entity) {
    UnitOfWorkChangeSet set = getUnitOfWork(entityManager).getCurrentChanges();
    ObjectChangeSet oset = set.getObjectChangeSetForClone(entity);
    return !oset.getChanges().isEmpty() || oset.isNew();
    public static boolean isDeleted(EntityManager entityManager, Object entity) {
    UnitOfWorkChangeSet set = getUnitOfWork(entityManager).getCurrentChanges();
    return set.getDeletedObjects().keySet().contains(entity);
    but I did not find how to do following with the eclipselink:
    * returns true, if the given entity object has been persistet during the
    * current transaction
    * @param entity
    * @return true, if the given entity object has been persistet during the
    * current transaction
    public boolean isPersistent(final EntityObject entity)
    Questions:
    - how can I check whether the entity is persistent in the sense already stored in the DB ?
    - how can I check whether the entity has been persisted in the current transaction ?
    Thanks in advance.
    Andre Teshler

    Hi Andre,
    In Eclipse link there are Entity listeners which will define the life cycle events like preInsert(),postInsert() etc.On successful insertion of an object its postInsert() life cycle method gets called.If you have to validate whether object inserted successfully then best place is to override the postInsert() and check for the existence of the record.All the event life cycle methods take a DescriptorEvent as parameter which will give handle to API as given below.In the same method you can check if this insert operation succeeded in the same transaction.
    package model;
    import java.util.Vector;
    import org.eclipse.persistence.descriptors.DescriptorEvent;
    import org.eclipse.persistence.descriptors.DescriptorEventAdapter;
    import org.eclipse.persistence.descriptors.DescriptorEventListener;
    import org.eclipse.persistence.internal.sessions.ObjectChangeSet;
    public class SampleEntityLIstener extends DescriptorEventAdapter {
    public SampleEntityLIstener() {
    super();
    public void postInsert(DescriptorEvent event) {
    event.getRecord().containsKey("pass the object");
    event.getChangeSet().getUOWChangeSet();
    public void preInsert(DescriptorEvent event) {
    Once you implement the DescriptorEventListener,need to register with the Entity so that life cycle methods gets called and respective business logic gets executed.
    Hope this helps,
    Regards,
    P.Vinay Kumar

  • How to check whether JVM is running in interpreted mode

    I have launched JVM with -Xint option , but thread dump file doesn't include Monitor cache dump. AppServer is starting with -Xint but it is not logging Monitor Cache Dump. How will I check whether JVM is running in interpreyed mode or any other way to get Monitor Cache dump in Thread dump?

    Add -showversion to the command line and look for
    java -Xint -showversion Hello
    java version "1.6.0"
    Java(TM) SE Runtime Environment (build 1.6.0-b105)
    Java HotSpot(TM) Server VM (build 1.6.0-b105, interpreted mode)
    If you're running with the JIT, you'll see something like
    java -showversion Hello
    java version "1.6.0"
    Java(TM) SE Runtime Environment (build 1.6.0-b105)
    Java HotSpot(TM) Server VM (build 1.6.0-b105, mixed mode)

  • How to check whether an invoice has been paid or not?

    Hi,
        In FI, how should I check whether an invoice is paid fully and also whether it has any residual item?
    And how should I pay an invoice with some residue? Which transaction I should use and what are the steps to do that?
    Since I'm new to FI, any guidance will help me a lot...
    Thanks,
    Priya.

    Hi Priya,
    you create a posting with residual items as follows:
    <b>Incoming payment</b>
    1. Start transaction F-28
    2. Enter all required information and click on <i>Process open items</i>
    3. On the next screen click on the tab <i>Res. items</i>
    4. Make sure that only the items that you want to pay are highlighted ((Net amount appears in blue)
    5. For each line item enter the residual amount that is still to be paid (Example: you have one invoice over 100 USD and 80 USD are paid, you enter 20 USD, since this is your residual that still needs to be paid)
    6. Save
    <b>Outgoing payment</b>
    1. Start transaction F-53
    2-6. is identical to incoming payment
    Regards,
    Claus

  • What's the best way to check whether a user is logged in or not?

    I have a question about basic session handling.
    I'm running Tomcat 5.0.30 and have a web application where users can register with a username and password, and then log into a "member site".
    What is the best way of making sure that a user actually has logged in or not?
    What I've done in previous applications I've made is that I've just put a simple variable into the users session after he has successfully entered his password (i.e. Boolean loggedIn=true). Then I just test if this flag is true to grant him access to the member site. Is that a smart way of doing it?
    Are there any libraries I can use which handles sessions for me in a secure way?
    All comments and suggestions are appreciated!

    Maintain a flag using session attributes it to one when the user is logs in set it to value.... and change set it zero or invalidate that session... when the user is logged out...
    use something like this while user had logged in
    session.setAttribute("flag",<unique_number>);
    for checking whether the user had logged in or not...
    if(Integer.parseInt(session.getAttribute("flag").toString())=!<unique_number>){
    out.println("The session had expired");
    out.close();
    }

  • How to check whether voltage sensor is enabled or disabled in T5220

    Hi,
    I use command "prtdiag -v" to check current system status in two T5220 servers. However, I find a strange thing in sensors part as below, which Server one has status info for temperature and voltage sensors but Server two has no related info.
    Does it mean the voltage and temperature senors are disabled? How do I check whether voltage sensor is enabled or disabled in T5220?
    Note:
    Server one has output by command 'prtpicl -c voltage-sensor -v', but Server two has nothing.
    Server one:
    Temperature sensors:
    Location Sensor Status
    SYS/MB T_AMB ok
    SYS/MB/CMP0/BR0/CH0/D0 T_AMB ok
    SYS/MB/CMP0/BR0/CH1/D0 T_AMB ok
    SYS/MB/CMP0/BR1/CH0/D0 T_AMB ok
    SYS/MB/CMP0/BR1/CH1/D0 T_AMB ok
    SYS/MB/CMP0/BR2/CH0/D0 T_AMB ok
    SYS/MB/CMP0/BR2/CH1/D0 T_AMB ok
    SYS/MB/CMP0/BR3/CH0/D0 T_AMB ok
    SYS/MB/CMP0/BR3/CH1/D0 T_AMB ok
    SYS/MB/CMP0 T_TCORE ok
    SYS/MB/CMP0 T_BCORE ok
    Current sensors:
    Location Sensor Status
    SYS/PS0 I_IN_MAIN ok
    SYS/PS0 I_IN_LIMIT ok
    SYS/PS0 I_OUT_MAIN ok
    SYS/PS0 I_OUT_LIMIT ok
    SYS/PS1 I_IN_MAIN ok
    SYS/PS1 I_IN_LIMIT ok
    SYS/PS1 I_OUT_MAIN ok
    SYS/PS1 I_OUT_LIMIT ok
    Voltage sensors:
    Location Sensor Status
    SYS/MB V_VMEML ok
    SYS/MB V_VMEMR ok
    SYS/MB V_+3V3_STBY ok
    SYS/MB V_VCORE ok
    SYS/MB V_+3V3_MAIN ok
    SYS/MB V_VDDIO ok
    SYS/MB V_+12V0_MAIN ok
    SYS/MB V_VBAT ok
    SYS/PS0 V_IN_MAIN ok
    SYS/PS0 V_OUT_MAIN ok
    SYS/PS1 V_IN_MAIN ok
    SYS/PS1 V_OUT_MAIN ok
    Voltage indicators:
    Location Indicator Condition
    SYS/MB VCORE_POK ok
    SYS/MB VMEML_POK ok
    SYS/MB VMEMR_POK ok
    SYS/MB I_USB0 ok
    SYS/MB I_USB1 ok
    SYS/HDD0 PRSNT ok
    SYS/HDD1 PRSNT ok
    SYS/ALARM INPUT ok
    SYS/PS0 AC_POK ok
    SYS/PS0 DC_POK ok
    SYS/PS0 CUR_FAULT ok
    SYS/PS0 VOLT_FAULT ok
    SYS/PS0 FAN_FAULT ok
    SYS/PS0 TEMP_FAULT ok
    SYS/PS1 AC_POK ok
    SYS/PS1 DC_POK ok
    SYS/PS1 CUR_FAULT ok
    SYS/PS1 VOLT_FAULT ok
    SYS/PS1 FAN_FAULT ok
    SYS/PS1 TEMP_FAULT ok
    Server two:
    Temperature sensors:
    Location Sensor Status
    SYS/MB T_AMB ok

    Server one has status info for temperature and voltage sensors but Server two has no related info.You are using the prtdiag command as root user whenever you are doing this?
    The output when done as root will give full information, whereas if you are NOT the root user the output will almost always have less information.
    However ...
    Because you have stated that the prtpicl information also seems to follow the same more-versus-less symptoms, I suspect you have a patch level issue.
    Server #2 is probably under-patched when compared to server #1 (both for system OBP level as well as OS level).
    Determining if that is the root of your issue is too much for a forum thread.
    Run Explorer on both systems then use your service contract credentials to log a SR so that Technical Support can analyze those Explorer files for you.

  • How to check whether a user session is null or not

    Hi
    I am using Jdeveloper 11.1.2.2
    I have a use case of running some Junit test case, this is the problem I have :
    There are some Junit tests which are written for some VO's. While testing insert and update operation in Junit there is two mandatory columns Created by and Updated by to be entered for committing into the database.
    These values are taken from the UserName of the current UserSession .
    So for getting the these values for each user I thought of displaying a JPanel before the test is run, where the user enters the Username and password which is validated and the user is verified.
    First, I need to check whether there is a session present or not. For checking this, I wrote a createUserSession() and did like this inside it :
    if(fixture.getApplicationModule().getSession().getUserData().isEmpty())If so to show the Jpanel and get the user details and verify the user.
    But while running the test itself I found that the session is already present, now I just have to input the values based on who is the user.
    But Junit doesn't run the tests in the order in which the test are written. So I have to call this in all the test cases.
    The Question is :
    How can I check whether the session is already present or not, so that I don't have to ask the user every time while every test is running to enter the Username and Password ?
    Thanks,
    Nigel.
    Edited by: Nigel Thomas on Jul 30, 2012 10:26 AM

    Hi,
    wondering why don't you create test users and then automatically log them in as Jan Vervecken did on the threads I pointed you to. This way your test cases run without user interaction. To test if a session exists for a user, I would put a custom property into user data. If this property exists, the user session is an existing one. However, make sure the information you save into the user data survives passivation as otherwise the information you get out of this is not accurate. See: http://tompeez.wordpress.com/2011/07/08/jdev-always-test-your-app-with-applicationmodule-pooling-turned-off/
    Frank

  • How to check whether a batch input session is completed in ABAP program

    I have created a ABAP program to create a batch input session (reference to RSBDCSUB). After the creation of the batch input session, I kick it to start and read the execution log. However, sometimes I cannot read anything from the execution log as the execution of the batch input is a synchronized process to the execution of my program, i.e. at the time being that I try to read the log of a particular transaction, that transaction is being processing / haven't start processing.
    How can I check whether a batch input session is completed in the program?
    The code that corresponding to the triggering of batch input session:
    SUBMIT (SUBREPORT)
       USER MTAB-USERID
       VIA JOB MTAB-GROUPID
       NUMBER JNUMB
       WITH QUEUE_ID  EQ MTAB-QID
       WITH MAPPE     EQ MTAB-GROUPID
       WITH MODUS     EQ 'N'
       WITH LOGALL    EQ LMODUS
    Or is there any method to wait here until the process is completed before further processing?

    Hi gundam,
    1. Or is there any method to wait here until the process is completed before further processing?
    There is no such direct method to wait.
    2. Immediately after submitting in background,
       we cannot wait
      neither can we LOOP and go on detecting
      whether the b/g process has completed or not !
    3. To over come such problems,
      we have to use another technique.
    4. we have to submit another
       job which will get triggered
       on event SAP_END_OF_JOB
       ie. when the original job will finish,
      our new job will AUTOMATICALLY get triggered,
    5. This new job / program
       will do the FURTHER actions !
    regards,
    amit m.

Maybe you are looking for

  • Any Way to stop PUBLISHING a site or page?

    Does anyone know how to stop PUBLISHING a site or page created in iWeb, yet maintain the page for future reference in the iWeb program? For Example. I created a "holiday card" page and now that the holiday season is over, I want to stop publishing it

  • Appearance of iWeb 2.0.2 pages in Safari and other browsers

    I guess this question has been posted several times before because I can't find the relevant search terms to limit the number of answers to a reasonable count. Thus, sorry for the repetition (if so). Is there a way to amend the appearance problems of

  • What is the change occured by using the package in select statement

    Hi all, Can some one please tell me using the following package in the select statement of the view does it restricts the data or fetches the data what is the change occurred using the package for fetching the date column hr_discoverer.check_end_date

  • When trying to download the update iTunes 11.0.4 I keep getting an error message .(103)

    I have been trying to download the new update for iTunes 11.0.4 but each time I select update an error message comes up .(103)

  • Ipod classic completely dead?

    My 80GB Ipod classic is completely frozen. It was fine, plugged into a speaker dock and then I got a new speaker dock and put it on and it immediately died. I can't do the "5 R's" because I can't get any response from it at all, the screen is complet