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==]

Similar Messages

  • OIM sql Query for getting the status of the task which got failed

    Hi Everyone,
    We have a requirement like we need to get the status of a particular task(say Create User in OID resource - Completed\Rejected status) for the particular user.We are able to get the status of the resource provisioed to the user but not the status of the particular task getting trigerred for the user.can someone put some light on this.We need to get the SQL query for this.
    Thanks in Advance.
    Regards,
    MKN

    Hi
    Use this sample query to get the task status, also check the cooments
    SELECT USR.USR_LOGIN, OSI.SCH_KEY,SCH.SCH_STATUS,STA.STA_BUCKET FROM
    OSI,SCH,STA,MIL,TOS,PKG,OIU,USR,OBJ,OST
    WHERE OSI.MIL_KEY=MIL.MIL_KEY
    AND SCH.SCH_KEY=OSI.SCH_KEY
    AND STA.STA_STATUS=SCH.SCH_STATUS
    AND TOS.PKG_KEY=PKG.PKG_KEY
    AND MIL.TOS_KEY=TOS.TOS_KEY
    AND OIU.USR_KEY=USR.USR_KEY
    AND OIU.OST_KEY=OST.OST_KEY
    AND OST.OBJ_KEY=OBJ.OBJ_KEY
    AND OSI.ORC_KEY=OIU.ORC_KEY
    AND OBJ.OBJ_NAME='AD User'
    AND OST.OST_STATUS = 'Provisioning' -- filter accordinglly
    AND STA.STA_BUCKET = 'Pending' -- filter accordinglly
    AND PKG.PKG_NAME='AD User' -- filter accordinglly
    AND MIL.MIL_NAME='System Validation' ---- filter accordinglly
    Thanks,
    Kuldeep

  • Which table i will  get the  status of the User decision Result status

    Hi Experts
    Which table i will  get the  status of the User decision Result status
    (eg : Inspection completion forced )
    This i can see in QA33

    Hi jag
    Ok fine actually it is not storing in any table...these r all text symols...if u see this program MQEVAF22...U EILL GET SOME IDEA
    CALL FUNCTION 'QAST_STATUS_CHECK'
           EXPORTING
                I_OBJNR          = QALS-OBJNR
                I_STATUS         = C_STATUS_PAKO
           EXCEPTIONS
                STATUS_NOT_ACTIV = 01.
      IF SY-SUBRC NE C_RC01.
        MOVE C_KREUZ TO L_STAT_PAKO.
      ELSE.
        CLEAR L_STAT_PAKO.
      ENDIF.
    Prüfen, ob Los bestandsrelevant ist
      MOVE RQEVA-STAT_BERF TO L_STAT_BERF.
    Prüfen, ob Los auf SKIP sitzt
      CALL FUNCTION 'QAST_STATUS_CHECK'
           EXPORTING
                I_OBJNR          = QALS-OBJNR
                I_STATUS         = C_STATUS_SKIP
           EXCEPTIONS
                STATUS_NOT_ACTIV = 01.
      IF SY-SUBRC NE C_RC01.
        MOVE C_KREUZ TO L_STAT_SKIP.
      ELSE.
        CLEAR L_STAT_SKIP.
      ENDIF.
      IF QALS-STAT35 >< C_KREUZ.
    VE noch nicht getroffen !
        IF     ( QALS-OFFENNLZMK > CI_0 OR QALS-OFFEN_LZMK > CI_0 )
           AND QALS-STAT13     = C_PPKTTYP-PHPR
           AND G_ANZAHL_PPKT_LOEVM > CI_0.
    Es wurden physische Proben storniert !              PRIORITÄT 1A
            MOVE TEXT-I17 TO RQEVA-INFO_LINE.  L_TEXT_NR = 'I17'.
        ELSEIF ( QALS-STAT14 = C_KREUZ AND QALS-OFFENNLZMK > CI_0 )
          OR ( L_STAT_PAKO = C_KREUZ
               AND ( QALS-OFFENNLZMK > CI_0 OR QALS-OFFEN_LZMK > CI_0 ) ).
    Prüfung wurde abgebrochen !                         PRIORITÄT 1
          MOVE TEXT-I04 TO RQEVA-INFO_LINE.    L_TEXT_NR = 'I04'.
          MOVE C_KREUZ TO L_ICON.
        ELSEIF G_ANZ_RUECK_MK > 0.
    Es wurden Merkmale rückgewiesen  !                  PRIORITÄT 2
          MOVE TEXT-I01 TO RQEVA-INFO_LINE.    L_TEXT_NR = 'I01'.
          MOVE C_KREUZ TO L_ICON.
        ELSEIF QALS-OFFENNLZMK > CI_0 OR QALS-OFFEN_LZMK > CI_0 .
          IF QALS-OFFENNLZMK > CI_0.
    Es sind nicht alle Merkmale abgeschlossen !         PRIORITÄT 3
            MOVE TEXT-I02 TO RQEVA-INFO_LINE.  L_TEXT_NR = 'I02'.
          ELSEIF QALS-OFFEN_LZMK > CI_0.
            MOVE TEXT-I05 TO RQEVA-INFO_LINE.  L_TEXT_NR = 'I05'.
          ENDIF.
        ELSEIF QALS-WERK NE QALS-WERKVORG.
        Prüflosmenge wurde umgelagert auf anderes Werk   Priorität 4
          MOVE TEXT-I16 TO RQEVA-INFO_LINE.    L_TEXT_NR = 'I16'.
        ELSEIF QALS-LMENGEIST > QALS-LOSMENGE.
        Istmenge im Los größer als Losmenge!             Priorität 5
          MOVE TEXT-I15 TO RQEVA-INFO_LINE.    L_TEXT_NR = 'I15'.
        ELSEIF L_STAT_SKIP    = C_KREUZ.
    Prüfverzicht: Los ist geskippt !                    PRIORITÄT 6
          MOVE TEXT-I03 TO RQEVA-INFO_LINE.    L_TEXT_NR = 'I03'.
        ENDIF.
      ELSE.
    VE getroffen bzw. eingetragen
       IF     ( QALS-OFFENNLZMK > CI_0 OR QALS-OFFEN_LZMK > CI_0 )
           AND QALS-STAT13     = C_PPKTTYP-PHPR
           AND G_ANZAHL_PPKT_LOEVM > CI_0.
    Es wurden physische Proben storniert !              PRIORITÄT 1A
            MOVE TEXT-I17 TO RQEVA-INFO_LINE.  L_TEXT_NR = 'I17'.
        ELSEIF ( QALS-STAT14 = C_KREUZ AND QALS-OFFENNLZMK > CI_0 )
          OR ( L_STAT_PAKO = C_KREUZ
              AND ( QALS-OFFENNLZMK > CI_0  OR QALS-OFFEN_LZMK > CI_0 ) ).
    Prüfung wurde abgebrochen !                         PRIORITÄT 1
          MOVE TEXT-I04 TO RQEVA-INFO_LINE.    L_TEXT_NR = 'I04'.
          MOVE C_KREUZ TO L_ICON.
        ELSEIF L_STAT_PAKO EQ SPACE
           AND ( QALS-OFFENNLZMK > CI_0 OR QALS-OFFEN_LZMK > CI_0 ).
    Es sind noch Langzeitmerkmale zu bearbeiten !       PRIORITÄT 2
          MOVE TEXT-I05 TO RQEVA-INFO_LINE.    L_TEXT_NR = 'I05'.
        ELSEIF L_STAT_BERF = C_KREUZ AND QALS-STAT34 EQ SPACE.
    Los ist bestandsmäßig noch nicht entlastet !        PRIORITÄT 3
          MOVE TEXT-I06 TO RQEVA-INFO_LINE.    L_TEXT_NR = 'I06'.
        ELSEIF QALS-WERK NE QALS-WERKVORG.
        Prüflosmenge wurde umgelagert auf anderes Werk   Priorität 4
          MOVE TEXT-I16 TO RQEVA-INFO_LINE.    L_TEXT_NR = 'I16'.
        ELSEIF QALS-LMENGEIST > QALS-LOSMENGE.
        Istmenge im Los größer als Losmenge!             Priorität 5
          MOVE TEXT-I15 TO RQEVA-INFO_LINE.    L_TEXT_NR = 'I15'.
        ELSEIF L_STAT_SKIP = C_KREUZ.
    Prüfverzicht: Los ist geskippt !                    PRIORITÄT 6
          MOVE TEXT-I03 TO RQEVA-INFO_LINE.    L_TEXT_NR = 'I03'.
        ENDIF.
      ENDIF.

  • 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

  • From which table can we get the status of sales order

    hi
    from which table can we get the status of sales order

    Hi
    Check the Table <b>VBUK for HEADER level status</b> of Sales order
    and <b>VBUP for Item level statuses</b>
    enter VBELN  = Sales order and VBTYP = C for sales orders
    as VBUK and VBUP stores all Sales documents like deliveries, Invoices, quotations, contracts etc
    <b>Reward points for useful Answers</b>
    Regards
    Anji
    Message was edited by:
            Anji Reddy Vangala

  • Getting Error Msg " System Status INCM is active (confirmation 7300012896)"

    Hi ,
    Whlie confirming Goods in "Confirm Goods/ Services" user is getting Error " System Status INCM is active ( confirmation 7300012896)
    Can you please tell how to rectify this error message and confirm goods against PO.
    Regards,
    Avdhut

    check - click before doing confirmation
    there many other error message thrown at bottom side
    any user locked of for network / PM order  order in the PO
    some message will be thrown
    share taht message for more help.
    Muthu

  • Getting Error User Status DPND is active

    Hi Experts,
    I am getting error User Status DPND is active ,  during saving User Decision.
    I am getting this error only If i am doing Defect recording in QE01.
    Without Defect Recording there is no error ....
    Plz let me know what is this error & how to resolve it ?
    Warm Regards,
    Dheeraj Sharma

    Hi Dheeraj,
    With Defect recording, system creates Q Notification based on the Notification type assignment to the
    Inspection Type in Config step QM>QN >Defects recording
    This assignment is at client level, not advisable to change
    There is one more setting at Defect Class level, (You assign Defect class for Defect code while creating catalog Type 9) In defect class if you uncheck "Activate Q-Notification" in the "Next fuctions in results recording section" system will still genrate QN but will not be activated
    QM>QP>Basic Data>Catalog>Define Defect class
    This Notification will be Automatically closed, while UD
    For existing Notifications already created while DR , you can go to QM02
    Select the item created, go to Task, create new Task and Mark that task as complete, the status of the notification will change to ATCO , complete the UD after this, it will mark the QN status to NOCO and complete stock posting
    Thanks
    DD

  • 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.

  • "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

  • The status of the Activity AALK

    Activity status is AALK REL SPCF.The WBS status is REL.As a result of this we are getting the following error while running the CN30 report which is used to check Incorrect Confirmations that has occured during the daily posting of timesheets:
    "System status AALK is active"
    How do I go about it?

    Hi
    T code --CJ20N
    Click on activity- EditStatus-Unlock Account assignment
    Regards

  • System status CMPL is active

    We are using SRM 5.0-Extended classic scenario. The Purchase order which was created and replicated to the backend R/3 system . But now the *status changed to *"Transaction complete " status and if am going to change the PO am getting pop-up message as "System status CMPL is active".
    Is any way to change the PO status ? Or any other function module is available , I have tried function module
    BBP_PD_PO_STATUS_CHANGE. But am getting the same status.
    Kindly advice

    Hi,
    Its great that you were able to solve the problem. May be you dint specify the required keywords for this thread to appear. Its always a good habit to search the forum before posting the question. We really appreciate that here in SDN.
    P.S: I dint have any hand in restricting that thread from appearing in the search list
    Thanks,
    Pradeep

  • 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

  • Getting Changed [Status] rows between multiple rows in SQL Server 2012 based on MonthYear Field

    I am trying create Stored Proc which takes 2 inputs from user  @PreviousMonthYear,@CurrentMonthYear
    Below is my table schema.[TableIPPortStatus]
    Such 1000's of rows will be available in TableIPPortStatus for every IP Port combination for every Scan. Stored Proc will take input as @PreviousMonthYear = 'Jan-2013' and @CurrentMonthYear = 'Feb-2013'
    Expected stored proc o/p is to get changed status in @CurrentMonthYear rows compared with the same IP/Port combination from @PreviousMonthYear rows. so for for above e.g. expecting to get below result.
    Since in Scan 2222 Port 80 of IP 1.0.0.0 got closed & Port 80 of IP 1.0.0.1 got open and for 1.0.0.2 status was unchanged.
    Also, if any new IPPort combination is added in Feb-2013 that needs to make available in the output.
    Please suggest way to accomplish this in SQL. Thanks in Advance!

    DId you try this? ACtually you dont even need prevmonthyear parameter. you can simply get result using single parameter
    If its sql 2012 this is very easy
    DECLARE @CurrentMonthYear varchar(30)
    SET @CurrentMonthYear = 'Feb-2013'
    SELECT ScanId,MonthYear,IP,Port,Status
    FROM
    SELECT *,
    LAG(Status,1,'') OVER (PARTITION BY IP,Port ORDER BY CAST('01-' + MonthYear AS datetime)) AS PrevStatus
    FROM Table
    )t
    WHERE PrevStatus <> Status
    And if its sql 2008 or below
    DECLARE @CurrentMonthYear varchar(30)
    SET @CurrentMonthYear = 'Feb-2013'
    ;With CTE
    AS
    SELECT *,
    ROW_NUMBER() OVER (PARTITION BY IP,Port ORDER BY CAST('01-' + MonthYear AS datetime)) AS Seq
    FROM Table
    WHERE MonthYear = @CurrentMonthYear
    )t
    SELECT c1.*
    FROM CTE c1
    LEFT JOIN CTE c2
    ON c2.IP = c1.IP
    AND c2.Port = c1.Port
    AND c2.Seq = c1.Seq - 1
    WHERE c2.Status <> c1.Status
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Error in F110: System status CRTD is active (ORD 603625)

    Hi All,
    In APP, one of the vendor is going in to error .
    The log says System status CRTD is active (ORD 603625)
    When I check, for the particular item in vendor line item display, that is linked to the
    purchase order, which in turn is linked to the internal order 603625 . The internal Order 603625 is
    in CRTD status.
    I think the status of the order needs to be changed to TECO.
    But I have two questions here.
    1. What factors should be looked in to before changing the
         status of the order to TECO.
    2. Why the system is not able to make a payment when the ORDER is in CRTD status.
    Regards
    Rudra

    Hi Rudra,
    You received this error from the Status Management of the Internal Order.
    1. What factors should be looked in to before changing the status of the order to TECO.
    Actually, you should not change the status to TECO (Technically Complete) rather you should Release it then APP will be processed.
    2. Why the system is not able to make a payment when the ORDER is in CRTD status.
    Every status in the Order is assigned to the Transactions Allowed
    Common Scenario
    1. When status of the order is CRTD then you can only post budget to the order, you can not make FI Posting.
    2. When status is RELE then you can make an FI Posting.
    Ask the owner of the Internal Order to shift the status if conditions have been met.
    Regards,
    Chintan Joshi

  • System status REL is active , Message no. BS013,CO88 COST-BY-SALES-ORDER

    Hi Experts,
    I meet error when i do the production order settlement"CO88" ,
    Which the production mode is cost-by-sales-order undifferentiated mode.
    the error information as bellow:
    System status REL is active (ORD XXXXX)
    Message no. BS013
    Diagnosis
    Object ORD XXXXXX has system status REL (Released).  According to this status, transaction 'settelemtn' is not allowed.
    Procedure
    You can only carry out the requested function if this is allowed according to the status of the object.
    Pls. Help in resolving.
    Best Regards,

    Dear Szymon and Mukthar,
          Fisrtly,Thank you for your help!
          I have changed the status "TECO"(the status is "TECO PCNF DLV  PRC  GMPS MANC SETC"),then I settlement the production order.
         The system still error:
    "Debit from actual settlement" not allowed (Sys. status REL, object VB0000000015000010)
    Message no. BS051
    Diagnosis
    The status check for the status object VB0000000015000010 indicated that the procedure "Debit from actual settlement" cannot be performed because Sys. status REL forbids it.
    System Response
    Procedure "Debit from actual settlement" is not performed.
    Procedure
    If procedure "Debit from actual settlement" is to be performed, the Sys. status REL of object VB0000000015000010 must be reset.
    Other statuses than Sys. status REL can also prevent the procedure. This message does not tell you all statuses which currently prevent procedure "Debit from actual settlement".
    Regards!
    Gang.Tian
    remark:
    I use the MTO mode, the receiver of settlement is SALES ORDER.(the settlement rule is SDI)

Maybe you are looking for

  • Device instance error, vista can't see media card

    hello, I have a pearl 8110, with desktop 6 and vista.  After upgrading to version 6 I get this device instance error and specifically can't load any media onto the memory card via usb.  USB\VID_0FCA&PID_8001\5&3100FCC1&0&5 been through the forums for

  • How do I import GPS information for all of my images from Bridge into Lightroom 5.3?

    After importing my images into Lightroom 5.3, I discovered that the GPS location data was imported for some images, but not for others.  When I checked the metadata files for the same images in Bridge, the location data was present for all of my rece

  • Error in "Create iPod or iPhone version" take 2

    Apologies: an unfinished version of this question was inadvertently posted a few minutes ago. A slip of the finger. Again, sorry. In the Advanced pull-down menu, there is an option, "Create iPod or iPhone version," presumably for making video on the

  • Error in DBMS_HS_UTL

    Hi, I have configured the Transparent gateway for Teradata. However, I am unable to compile the DBMS_HS_UTL package in Oracle 9i and I am getting such errors even when there is no login timeout at Teradata end. I have executed the scripts as given be

  • ITSPLIT-Getting error in RHINTE30

    Hi I am getting certain error message while running RHINTE30 program for a list of employees as "u201CPerson is not integratedu201D. and surprisingly the start date is missing for all the personnel number in the log. I am using a variant where open p