FM to get activity status AALK

Hi
I am looking for the BAPI or RFC to find the AALK status of activity within a Network. I have network number with network detail and activity number.
Thank you
UC

Hi
you can use FM STATUS_TEXT_EDIT in order to get the system status of the network activity you mentioned. It is returning in "line" the system status of the object. (meaning it could be something like REL AALK... therefore it contains the status you want to locate).
In order for the FM to work you need to provide the object number of the network activity. This can be found by linking tables AUFK and AFKO (through aufnr=network number that you already know) and then AFKO and AFVC through (aufpl).
In table AFVC, field VORNR stands for the activity id and the OBJNR is the table field you need to provide to the FM to work.
You can try to run the function module in SE37 and check the result before proceeding in anything else..
Hope it helps
Panagiotis

Similar Messages

  • Get actual Status of an activity which is displayed at WebUI

    Hello experts!
    I would like to know, how I am able to get the status which is displayed when I open a task with the WebUI (Like open, closed...)
    I already know how to get the status of an activity, but I always get about 5 ? How should my program know, which one is the right one?
    Greetings,
    littlesam

    Hi,
    Use the below query to get Activity status.... (INACT <> X is the main thing to note in your case)
    select single a~STAT b~TXT30
          FROM CRM_JEST as a INNER JOIN TJ30T as b
          ON a~STAT EQ b~ESTAT into (lv_stat,wa_output-STATUS_TXT)
          WHERE b~STSMA = wa_proctype-USER_STAT_PROC AND
                b~spras = `EN` AND
                a~objnr = wa_activity-guid and
                a~INACT NE `X`.
    Regards,
    Ravikiran
    [My Articles|http://www.divulgesap.com/profile.php?u=Mg==]

  • How to Get the created Request Activity Status using SCSM 2012 SDK

    Hi, i have created a ServiceRequest,
    so there are Activities related to Servicerequest.
    I am trying to know the Status of the each Activity (Completed,Failed etc)
    and the Change of Activity (like from ReviewActivity to RunBookActivity).
    how can we get the Activity status change programmatically.
    so that i could Display this Status to other Portal, 
    I am Creating a CustomActivity with ActivityID as Parameter to Workflow inheriting WorkflowActivityBase
    protected
    override
    ActivityExecutionStatus Execute(ActivityExecutionContext
    executionContext)
    Is this a Right Approach..???
    Plz respond as m not getting the way ..

    I'm not entirely clear on what you're trying to accomplish, but I can give you some guidance on getting the status of activities that are part of a service request.
    Quick overview before we get to the code: After we connect to the database we want to retrieve some management packs, a relationship, and a type projection. We then want to create some criteria for querying the Service Manager database. Then we execute the
    query and traverse the results, displaying the activity ID and it's status.
    //Connect to Service Manager
    EnterpriseManagementGroup emg = new EnterpriseManagementGroup("<your management server>");
    //Get some management packs
    ManagementPack mpSystem = emg.ManagementPacks.GetManagementPack(SystemManagementPack.System);
    ManagementPack mpSRLib = emg.ManagementPacks.GetManagementPack("ServiceManager.ServiceRequest.Library", mpSystem.KeyToken, new Version("7.5.1464.0"));
    ManagementPack mpWorkItemLibrary = emg.ManagementPacks.GetManagementPack("System.WorkItem.Library", mpSystem.KeyToken, new Version("7.5.1464.0"));
    ManagementPack mpActivityLib = emg.ManagementPacks.GetManagementPack("System.WorkItem.Activity.Library",mpSystem.KeyToken,new Version("7.5.1464.0"));
    //Get the relationship and type projection we'll be using for this query
    ManagementPackRelationship mprWIContainsActivity = mpActivityLib.GetRelationship("System.WorkItemContainsActivity");
    ManagementPackTypeProjection mptpWIActivities = mpSRLib.GetTypeProjection("System.WorkItem.ServiceRequestAndActivityViewProjection");
    //This is the work item (such as a service request) ID that we're looking for
    String WorkItemID = "SR123";
    //Setup the criteria. This will instruct service manager to "Get me the service request with ID SR123"
    String strWICriteria = String.Format(@"
    <Criteria xmlns=""http://Microsoft.EnterpriseManagement.Core.Criteria/"">
    <Reference Id=""System.WorkItem.Library"" PublicKeyToken=""{0}"" Version=""{1}"" Alias=""WILib"" />
    <Expression>
    <SimpleExpression>
    <ValueExpressionLeft>
    <Property>$Target/Property[Type='WILib!System.WorkItem']/Id$</Property>
    </ValueExpressionLeft>
    <Operator>Equal</Operator>
    <ValueExpressionRight>
    <Value>" + WorkItemID + @"</Value>
    </ValueExpressionRight>
    </SimpleExpression>
    </Expression>
    </Criteria>
    ", mpWorkItemLibrary.KeyToken, mpWorkItemLibrary.Version.ToString());
    //Build the projection criteria
    ObjectProjectionCriteria opcWI = new ObjectProjectionCriteria(strWICriteria, mptpWIActivities,emg);
    //Perform the query
    IObjectProjectionReader<EnterpriseManagementObject> oprWIs = emg.EntityObjects.GetObjectProjectionReader<EnterpriseManagementObject>(opcWI,ObjectQueryOptions.Default);
    //oprWIs contains all of the work items with ID "SR123" (and there will only be one work item with that ID)
    //We loop through all the work items in the oprWIs collection
    foreach (EnterpriseManagementObjectProjection emopWI in oprWIs)
    //Next we loop through all of the activities contained by our work item, using the WorkItemContainsActivity relationship
    //NOTE that these activities are in no particular order. You'll have to use the icpActivity.Object[null,"SequenceId"].Value to order them
    foreach (IComposableProjection icpActivity in emopWI[mprWIContainsActivity.Target])
    //Since activity status is an enumeration, we want to display it's displayname, not it's value (enumeration values are just GUIDs or other unique identifiers)
    ManagementPackEnumeration status = (ManagementPackEnumeration)icpActivity.Object[null, "Status"].Value;
    //For this little snippet, we're just outputting the activity ID and it's status
    Console.WriteLine(icpActivity.Object[null,"Id"].Value + " " + status.DisplayName);
    Regarding the rest of your post, I'm not sure what you meant when you said you wanted the "change of activity". Are you trying to display the time that an activity's status changed (stored in the activity's history records)?
    Second, if you're displaying this information on some other custom portal, what is the purpose for the workflow?
    A couple disclaimers: Use this code at your own risk, there are no guarantees, etc etc :) Second, I'm assuming you're on Service Manager 2012 RC at least (otherwise the "versions" in the code will need to be changed)
    Are you new to the SCSM SDK? If so, this code snippet might seem overwhelming. I recommend reading the Service Manager blog to get an idea about how classes, objects, relationships, type projections, etc all work.
    Here's a link to a post by Travis that uses the SDK..he also references a lot of the information necessary to best understand Service Manager's inner workings :)
    http://blogs.technet.com/b/servicemanager/archive/2010/10/04/using-the-sdk-to-create-and-edit-objects-and-relationships-using-type-projections.aspx

  • "System status AALK is active" and "System status LKD is active" errors

    Hi,
    We are on SRM 4.0.  When creating a shopping cart from a specific catalog the user is receiving two error messages.
    "System status AALK is active"    and    "System status LKD is active"
    How do I resolve these errors?

    It's more like a  CA-JVA-JVA-PP or PS-ST-INT-BAPI issue, recommend to report a message under one of the component.

  • Get Folder Status activity?

    Hello guys,
    Is there an activity similar to the Get File status one? The thing I'm trying to do without having to resort to a PowerShell script is the following:
    I give a top level folder (for example C:\Temp) and I want the Runbook to look for a folder in one of the subdirectories called $tmp$ and delete it.  I've tried using the Monitor Folder activity however it only gives me the "Origin Folder"
    (C:\temp) as published data and not the folder it actually triggered on.
    Thanks in advance!
    Yannick

    Hi Stefan,
    Thanks again for the answer. That solution works fine. I tried doing it without a .Net script activity because not everyone here can decipher code that well... But I suppose a single line of Powershell shouldn't be a challenge for a hardened IT-guy
    :) ... In any case I think a standard installation of the Orchestrator can't do something similar out of the box using other activities... I have seen some IP's that implement a "Get Subfolder" activity though but I can't get 'em to work (I
    think they're created for an older version of Orchestrator).
    Regards,
    Yannick

  • Can BPEL Email/SMS activity get delivery status from UMS???

    While implementing to send SMS/Email using BPEL service, does BPEL service gets delivery status back from UMS? If yes, how?
    Below UMS documentation indicates UMS makes delivery status available to application.
    Robust message delivery: UMS keeps track of delivery status information provided by messaging gateways, and makes this information available to applications so that they can respond to a failed delivery. Or, applications can specify one or more failover addresses for a message in case delivery to the initial address fails. Using the failover capability of UMS frees application developers from having to implement complicated retry logic.
    Thanks In Advance
    Priyadarshi

    Hi Priya,
    In our case, with respect to the SMS interface, whatever SMS server that we are using should have a specific set of documentation listed with respect to the different status of the message delivery. We have handled that using the java embedding activity and then updated the DB records accordingly.
    Coming to the Email services, am not completely sure if there is one. However we can monitor the same using the EM console itself.
    Thanks,
    Deepak.

  • JDBC  Transaction is no longer active - status: 'Marked rollback'

    I'm getting the folowing issue, we are not seeing this issue if we recycle the WLS
    Using WLS V10.3.3
    Can any one suggest on this issue, how to reslove this
    85417.772: [Full GC [PSYoungGen: 117504K->0K(234880K)] [PSOldGen: 662564K->665699K(700416K)] 780068K->665699K(935296K) [PSPermGen: 133284K->132438K(225280K)], 30.2876423 secs] [Times: user=31.23 sys=0.68, real=30.32 secs]
    java.sql.SQLException: The transaction is no longer active - status: 'Marked rollback. [Reason=weblogic.transaction.internal.TimedOutException: Transaction timed out after 39 seconds
    BEA1-600C65F8B23E363DFDF0]'. No further JDBC access is allowed within this transaction.
    at weblogic.jdbc.wrapper.JTSConnection.checkIfRolledBack(JTSConnection.java:193)
    at weblogic.jdbc.wrapper.JTSConnection.checkConnection(JTSConnection.java:209)
    at weblogic.jdbc.wrapper.ResultSet.preInvocationHandler(ResultSet.java:99)
    at weblogic.jdbc.wrapper.ResultSet_oracle_jdbc_driver_OracleResultSetImpl.next(Unknown Source)
    at com.vzw.pos.cmw.ejb.service.UserProfileService.getNewUserId(Unknown Source)
    at com.vzw.pos.cmw.ejb.utils.CMWEjbUtil.createUserProfileVO(Unknown Source)
    at com.vzw.pos.cmw.ejb.utils.CMWEjbUtil.createRosterVO(Unknown Source)
    at com.vzw.pos.cmw.ejb.service.AdministrationBean.getRostersByUserId(Unknown Source)
    at com.vzw.pos.cmw.ejb.service.Administration_ujnwz8_ELOImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)
    at com.vzw.pos.cmw.ejb.service.Administration_ujnwz8_ELOImpl.getRostersByUserId(Unknown Source)
    at com.vzw.pos.cmw.action.CMWTopFrameAction.setUserRoleInSession(Unknown Source)
    at com.vzw.pos.cmw.action.CMWTopFrameAction.changeLocation(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor190.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
    at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.vzw.pos.cmw.filters.CMWFilter.doFilter(Unknown Source)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3710)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3676)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2272)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2178)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    <Aug 23, 2013 10:41:53 AM EDT> <Warning> <Socket> <BEA-000450> <Socket 298 internal data record unavailable (probable closure due idle timeout), event received -32>
    <Aug 23, 2013 10:41:53 AM EDT> <Warning> <Socket> <BEA-000450> <Socket 286 internal data record unavailable (probable closure due idle timeout), event received -32>
    <Aug 23, 2013 10:41:56 AM EDT> <Warning> <Socket> <BEA-000450> <Socket 299 internal data record unavailable (probable closure due idle timeout), event received -32>
    <Aug 23, 2013 10:42:51 AM EDT> <Warning> <Socket> <BEA-000450> <Socket 286 internal data record unavailable (probable closure due idle timeout), event received -32>

    Here is DS configuration
    Initial Capacity:                  75
    Maximum Capacity:                  75
    Capacity Increment:                    1
    Seconds to trust an idle pool connection:     10
    Shrink Frequency:                    900
    Enable Connection Leak Profiling:          False
    Enable Connection Profiling:               False
    Test Frequency:                         120 seconds
    Test Connections on Reserve:               True
    Connection Reserve Timeout:               10 seconds
    Connection Creation Retry Frequency:         1
    Inactive Connection Timeout:               60 second
    Maximum Waiting for Connection:               2147483647
    Statment Cache Type:     LRU
    Statment Cache Size:     10
    Connection Creation Relay Frequency:      1
    Remove Infected Connections Enabled:      True
    Wrap Data types:     True
    Ignore In-use connections:     True

  • The transaction is no longer active - status: 'Committed'.

    Hello -
    We are attempting to use a design where a connection will remain in use over multiple
    transactions.
    Is there any way to get weblogic to allow this?
    We are currently experiencing the stack trace below, when a database read is
    attempting to use the same connection as the previously committed tx.
    Thanks for any advice.
    Tyson
    org.springframework.jdbc.UncategorizedSQLException: (HibernateAccessor): encountered
    SQLException [The transaction is no longer active - status: 'Committed'. No further
    JDBC access is allowed within this transaction.]; nested exception is java.sql.SQLException:
    The transaction is no longer active - status: 'Committed'. No further JDBC access
    is allowed within this transaction. java.sql.SQLException: The transaction is
    no longer active - status: 'Committed'. No further JDBC access is allowed within
    this transaction. at weblogic.jdbc.wrapper.JTSConnection.checkIfRolledBack(JTSConnection.java:118)
    at weblogic.jdbc.wrapper.JTSConnection.checkConnection(JTSConnection.java:127)
    at weblogic.jdbc.wrapper.Connection.prepareStatement(Connection.java:324) at weblogic.jdbc.wrapper.JTSConnection.prepareStatement(JTSConnection.java:426)
    at com.benefitpoint.cmp.hibernate.AbstractDataManager$2.doInHibernate(AbstractDataManager.java:501)
    at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:150)
    at com.benefitpoint.cmp.hibernate.AbstractDataManager.execRawSqlPreparedStatement(AbstractDataManager.java:568)
    at

    Tyson Norris wrote:
    Hello -
    We are attempting to use a design where a connection will remain in use over multiple
    transactions.
    Is there any way to get weblogic to allow this?No, at least not jts connections. Non-XA connections need our management to
    ensure all the work gets committed or rolled back atomically. It doesn't
    cost anything to always obtain jts connections in the context of the tx
    they are needed.
    Besides XA, you could get a plain non-transactional connection and do your
    own jdbc commits/rollbacks...
    Joe
    >
    We are currently experiencing the stack trace below, when a database read is
    attempting to use the same connection as the previously committed tx.
    Thanks for any advice.
    Tyson
    org.springframework.jdbc.UncategorizedSQLException: (HibernateAccessor): encountered
    SQLException [The transaction is no longer active - status: 'Committed'. No further
    JDBC access is allowed within this transaction.]; nested exception is java.sql.SQLException:
    The transaction is no longer active - status: 'Committed'. No further JDBC access
    is allowed within this transaction. java.sql.SQLException: The transaction is
    no longer active - status: 'Committed'. No further JDBC access is allowed within
    this transaction. at weblogic.jdbc.wrapper.JTSConnection.checkIfRolledBack(JTSConnection.java:118)
    at weblogic.jdbc.wrapper.JTSConnection.checkConnection(JTSConnection.java:127)
    at weblogic.jdbc.wrapper.Connection.prepareStatement(Connection.java:324) at weblogic.jdbc.wrapper.JTSConnection.prepareStatement(JTSConnection.java:426)
    at com.benefitpoint.cmp.hibernate.AbstractDataManager$2.doInHibernate(AbstractDataManager.java:501)
    at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:150)
    at com.benefitpoint.cmp.hibernate.AbstractDataManager.execRawSqlPreparedStatement(AbstractDataManager.java:568)
    at

  • "unable to get printer status" and "server-error-not-accepting-jobs"

    I've got an Intel Mac Pro with Tiger. When I accepted the latest update from Apple, I lost all my defined printers! I've re-added a local USB printer and a networked Laserjet - fine. But I also added a Phaser 850 color printer (networked) which used to work fine. It connects ok, and opens the printer queue window, but when it tries to print, it says "Unable to get printer status (server-error-not-accepting-jobs". The queue stays active (not stopped) but the jobs don't move. I've tried deleting the printer and re-making it - same deal. What's going on?
    Mike

    Hi Mike,
    One think I really dislike about OSX is the Rocket Science needed to just Print!
    Might try these two...
    Mac OS X: About the Reset Printing System feature ...
    http://support.apple.com/kb/HT1341?viewlocale=en_US
    Might try Printer Setup Repair 5.1...
    http://www.fixamac.net/software/index.html

  • Deployment Error: DCs get activated but not deployed

    Hello All,
    I am new to NWDI. I did some code modifications in my DC. When i check in my activity, it gets activated, but not getting deployed. At first i was getting authentication problem, that is resolved now. Now i get this CMS log:
    20140819135816 Info :Aug 19, 2014 1:58:16 PM Info: com.sap.ASJ.dpl_api.001023 Deployment of [name: 'abc', vendor: 'XXXX.com' (sda)] finished.
    20140819135816 Info :Aug 19, 2014 1:58:16 PM Info: com.sap.ASJ.dpl_api.001052 +++ Deployment of session ID [467] finished with status [Error] +++. [[ deployerId=7 ]] [[#49: 4.031 sec]] [
    20140819135816 Info :===== Summary - Deploy Result - Start =====
    20140819135816 Info :------------------------
    20140819135816 Info :Type | Status : Count
    20140819135816 Info :------------------------
    20140819135816 Info :> SCA(s)
    20140819135816 Info :> SDA(s)
    20140819135816 Info :- [Aborted] : [1]
    20140819135816 Info :------------------------
    20140819135816 Info :------------------------
    20140819135816 Info :Type | Status : Id
    20140819135816 Info :------------------------
    20140819135816 Info :> SCA(s)
    20140819135816 Info :> SDA(s)
    20140819135816 Info :- [Aborted] : name: 'abc', vendor: 'XXXX.com',
    20140819135816 Info :------------------------
    20140819135816 Info :===== Summary - Deploy Result - End =====
    20140819135816 Info :]
    20140819135816 Info :end of log
    20140819135816 Info :End deployment:
    20140819135816 Info :
    20140819135816 Info :Summary of deployment
    20140819135816 Info :==> deployment finished for abc (103) with rc=12
    20140819135816 Info :deployment finished for buildspace: NDI_NDITK080_D
    Thanks.

    Dear Pranay
    manual deployment can be done in two ways
    1. right click your dc in the studio ->Development Components->Deploy .
    before doing this , in your studio go to windows->preference->sap j2ee engine -> fill the message server host and message server port i.e on selecting deploy it will ask for password , enter sdm password and your ear file will be deployed.
    message server host --> host entry or IP address of the server to which you want to deploy and
    message server port - > ask the basis person to give the port or else you can check via
    http://serverhost:portno/index.html -- > click on system information --> it will prompt for user id and password .. fill the crendentials if you have and you will find the message port info in the top left corner. for more info refere the below link.
    http://scn.sap.com/thread/1443866 -- to get message server port go through this link
    2. you can take the ear file from your dc , in nwds studio open Navigator, expand the dc then dril down to gen->default->deploy -> here ear file will be available , copy the ear file and give that to your basis guys to deploy directly from SDM.
    or follow this link
    http://scn.sap.com/thread/1884858 .
    Regards
    Govardan

  • Hide "Last Active" status on profile

    I would like to see an option for hiding your last active status on your profile.  Even though you can sign in as invisible, your active status always shows when you have been on line.  This causes problems amongst friends sometimes, because you would like to jump on tagged to check messages only or pets, and you may not always have time to reply to them.  Then you get it in the neck from friends saying they were on line at the same time and you get accused of ignoring them.  I feel this is a privacy issue and we all should be able to have this feature. There is actually one profile I have come across that shows no "Last Active" status and was wondering if they have found a way around this or there is something wrong with their profile.

    +2 

  • Issue using Get-DatabaseAvailabilyGroup -Status Exch 2010

    When trying to use this CMDLET (Get-DatabaseAvailabilyGroup -Status) on Exch 2010, I get a powershell error message:
    A server-side administrative operation has failed. The Microsoft Exchange Replication service may not be running on ser
    ver mail02.domain.local Specific RPC error message: Error 0x6d9 (There are no more endpoints available from t
    he endpoint mapper) from cli_GetDagNetworkConfig
        + CategoryInfo          : NotSpecified: (0:Int32) [Get-DatabaseAvailabilityGroup], ReplayServiceDownException
        + FullyQualifiedErrorId : 749A084,Microsoft.Exchange.Management.SystemConfigurationTasks.GetDatabaseAvailabilityGr
       oup
    What I don't understand is this server that it's referencing is the witness server to the DAG and SHOULDN'T have this service installed.  Has anyone run into this issue before, and if so, how did you fix it?  I have not tried rebuilding my DAG
    thus far.
    Thanks for any input.
    Thanks, Jeffrey - Infrastructure Administrator

    Hi,
    Have you checked Jared Van Leeuwen's suggestions? Is there any update?
    The Status parameter instructs the command to query Active Directory for additional information, and to include real-time status information in the output. Please add the DomainController parameter to specify a domain controller to retrieve data to check
    the result.
    If you have multiple DCs in your environment, please make sure there is no replication issues.
    If the issue persists, could you please use the ExBPA to check against your Exchange server health?
    Best regards,
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Belinda Ma
    TechNet Community Support

  • Workflow Process stuck in Active status

    Hi,
    My workflow stuck in Active status and user is not able to proceed further. But it is not happening every time. Sometimes the process activty gets stuck. Could anyone please let me know the reason for this behaviour and how to fix this issue?
    Thanks

    You need to get more information as to what is going on, identify more facts around the issue:
    1. First off, run wfstat.sql to get a history of the activities of the process as well as its attribute values.
    2. Once the workflow gets 'stuck' what makes it progress? For instance, does running the background engine with parameter Stuck processes=Yes fix the problem?
    3. Are there activities deferred that do not get process by the background engine?
    4. Does the process get stuck after a notification is responded to but 'nothing' happens?
    It would also be useful to have the complete DB version.
    Regards,
    Alejandro

  • How to get the status of the backgroud job?

    Hi all,
    I have a job, there are two steps. I have checked in the table TBTCP, the status is always 'P', which means:job step scheduled, even the step is finished. How can we get the status of every step? Many thanks in advance!

    try FM  BP_JOB_STATUS_GET
    but Table TBTCO(field-status) gives the status of the job i.e whether scheduled,released,active,finished,ready or terminated job.
    check  following tables
    <b>TBTCJSTEP - Background Job Step Overview
    TBTCO - Job Status Overview Table
    TBTCP - Background Job Step Overview</b>
    Message was edited by:
            Vasu G

  • How to get the status of MessageBridge STATUS consistently?

    Hi
    I am using Mbean to get the status of messaging Bridge.
    try {
    Iterator iterator = localHome.getMBeansByType("MessagingBridgeRuntime").iterator();
    while (iterator.hasNext()) {
    MessagingBridgeRuntimeMBean bridgeInfo = (MessagingBridgeRuntimeMBean)iterator.next();
    if (bridgeInfo != null && bridgeInfo.getName().indexOf(bridgeName) > 0 )
    return bridgeInfo.getState();
    } catch (Throwable e) {
    e.printStackTrace();
    System.out.println("Exception Occured " + e.getMessage() );
    If MessageBridge is active, i am not consistently getting the same status. I am getting active. when i ask second time it is returning ""(blank). But when i refreshed using admin console, i will again get the correct status.
    Please help me to resolve this issue.

    Hi
    I am using Mbean to get the status of messaging Bridge.
    try {
    Iterator iterator = localHome.getMBeansByType("MessagingBridgeRuntime").iterator();
    while (iterator.hasNext()) {
    MessagingBridgeRuntimeMBean bridgeInfo = (MessagingBridgeRuntimeMBean)iterator.next();
    if (bridgeInfo != null && bridgeInfo.getName().indexOf(bridgeName) > 0 )
    return bridgeInfo.getState();
    } catch (Throwable e) {
    e.printStackTrace();
    System.out.println("Exception Occured " + e.getMessage() );
    If MessageBridge is active, i am not consistently getting the same status. I am getting active. when i ask second time it is returning ""(blank). But when i refreshed using admin console, i will again get the correct status.
    Please help me to resolve this issue.

Maybe you are looking for

  • How to get that values in to Query

    It is a sales Report in which EBO Qty is Restricted Keyfigure & EBO Value is Formula This query is based on Multi Provide: Stock Analysis. Multi provider is based on Stock Analysis (Inocube) Material Valuation (ODS) One condition is there for EBO Val

  • Setting GUI Status on CL_SALV_TABLE

    Hi All, I'm calling CL_SALV_TABLE in a method in the popup mode: *    Set popup display   lo_alv->set_screen_popup( start_column = 10                                   end_column   = 200                                   start_line   = 5             

  • Singleton Class ArrayCollection within Flashbuilder (Mobile) empty?

    Hi, I am currently trying to implememnt a Singleton Class in order to store a ArrayCollection of items that I can then access and manipulate across the lifecycle of my app. I have created the below Singleton Class that is designed to hold the ArrayCo

  • Encoder opens and  project is not added to the render (bug with several plugins)

    if i apply Neat Video Plugin in After Effects and send to the renderer in the media encoder Encoder opens and the project is not added to the render if i remove this plugin in Ae and again send to render it all works! What's the problem? Last Ae cc 2

  • Transfer from 2G to 3G removed all music from iTunes library

    When I got my used 3G iPhone today, the AT&T store told me to plug it into my laptop (dell, windows xp) and it will sync and that is all I need to do. Well, I didn't sync or back up the 2G, I just put the new one in and that synched and backed up all