In transaction code BBP_PD the status of the workitem is not updating showi

Hi Gurus,
We have implemented N-Step BADI BBP_WFL_APPROV_BADI For Approvals Levels in SRM.
Work flow is triggering correctly and workitem is sent at all the levels. But in transaction code BBP_PD the status of the workitem is not updating showing the error message "NO WORKITEM FOUND" also status is not updating in BBP_PD.
Please reply with your suggestions.
Thanks in advance.
Madhukar

Hi
Thanks for your reply.
We are getting "No workitem found" status in BBP_PD transaction. But all approval process is happening perfectly and when we check status through "Status Monitor " through web it is updating correct status.
Status is updating in BBP_PD .Status of main workflow is displaying correctly and approval levels and corresponding approver names are displaying correctly, but only the status and time of approval is missing.
can you suggest something on this issue.
Workflow Item:                                                                               
Workitem-ID        000002009126                                                                               
Task                      WS90000040                                                                               
Text                       Shopping Cart Approval N-Step 185522 (BADI)                                                                               
Status                    STARTED                                                                               
Statustext              In Process                                                                               
Date                      09/24/2008                                                                               
Time                     08:18:09                                                                               
Node ID            Agent                    User                         State        Workitem       Created at                   
0040000000      Kotesh APP       APP_KOTESH          No workitem found                                                  
0040000002                                                                    No workitem found                                                  
0040000001      shiva APP         APP_SHIVA               No workitem found                                                  
0040000004                                                                    No workitem found                                                  
0040000003     shiva APP         APP_SHIVA               No workitem found                                                  
0040000006                                                                   No workitem found                                                  
0040000005      SM1                 NNA_FA_SM_1         No workitem found                                                  
0040000008                                                                   No workitem found                                                                               
Regards
Madhu

Similar Messages

  • How to set the status of an Workitem, while processing?

    Hi,
    My requirement is to set/ Change the workitem status after/ while procecssing if certain condition is not met for all the users. I have one workitem assigned to multiple users. If any one of the user's executes the workitem, it displays a zprogram, but the user has not taken any action (SAVE), he simply came out of the transaction using "BACK" button. Here the Workitem has been vanished/disappeared from the other two users Inbox, and the workitem is in "In Processu201D Status for the User who executed the workitem. But my requirement is to set the workitem to be in "READY" status for all the users to whom the workitem is assigned; until the user "SAVE" the transaction I need the workitems to be in "READY" status only.
    Please suggest me with your ideas to get the above results.
    Note: I have used the function modules u201CSAP_WAPI_SET_WORKITEM_STATUS (or) SWW_WI_ADMIN_READY ", to change the status of the workitem while processing, it's throwing an error u201CWork item & locked by user & (enqueue erroru201D.
    Thanks in advance,
    Ajay Kumar

    Thanks Florin,
    Your piece of code has worked alot, and it was very helpful in changing the Status of the Workitem to "READY" for all the Users fo the workitem.
    Points have been rewarded for your help.
    Process: We have acheived this using the "Work Item Exits", Usng "AFTER_EXECUTION" Method.
    Note: The Exit will be executed if "exit_cancelled"  statement is present/used in the work item method. if not it is not taking to the exit code. I'm unable to find the reason for it. Florin can u please explain this point.
    Please check the link for adding the code in Work Item Exits.
    http://wiki.sdn.sap.com/wiki/display/ABAP/ProgramExitsIn+Workflow
    Please find the Code:
    method IF_SWF_IFS_WORKITEM_EXIT~EVENT_RAISED.
    Get the context of the workitem
      me->wi_context = im_workitem_context.
    After execution of the workitem call the method AFTER_EXECUTION
      if im_event_name eq swrco_event_after_execution.
        me->after_execution( ).
      endif.
    endmethod.
    METHOD AFTER_EXECUTION.
    This method acts as the Event Handler for SWRCO_EVENT_AFTER_EXECUTION
      DATA: LCL_L_WID TYPE SWW_WIID,
            L_STATUS TYPE SWR_WISTAT-STATUS,
            L_NEW_STATUS  TYPE SWR_WISTAT,
            L_SWR_MESSAG  TYPE STANDARD TABLE OF SWR_MESSAG,
            L_SWR_MSTRUC  TYPE STANDARD TABLE OF SWR_MSTRUC.
    Get work item
      CALL METHOD WI_CONTEXT->GET_WORKITEM_ID
        RECEIVING
          RE_WORKITEM = LCL_L_WID.
      L_STATUS = 'READY'.
      CALL FUNCTION 'SAP_WAPI_SET_WORKITEM_STATUS'
        EXPORTING
          WORKITEM_ID    = LCL_L_WID
          STATUS         = L_STATUS
          USER           = SY-UNAME
          LANGUAGE       = SY-LANGU
          DO_COMMIT      = 'X'
        IMPORTING
          NEW_STATUS     = L_NEW_STATUS
         RETURN_CODE    = SY-SUBRC
        TABLES
          MESSAGE_LINES  = L_SWR_MESSAG
          MESSAGE_STRUCT = L_SWR_MSTRUC.
      IF SY-SUBRC EQ 0.
      ENDIF.
    ENDMETHOD.
    Thank You Once Again,
    Ajay Kumar Chippa

  • Changing the status of the sales order item based on reason for rejection

    Hi All,
    When a Sales order item is rejected then the status at the item level is changed as 'TECO'.When the reason for rejection is removed the status 'Teco' is reset.This status change can be achieved using the user exit 'MV45AFZZ'.But the exit does not allow re-atp calculation whenver a blocked item is release.I have use the exit 'MV45AFZB' ,through this the status change as well as re-atp calculation takes place.But the status changed(Based on reason of rejection) does not appear in the same screen.The change gets reflected only when the sakes order is saved and i open it again.
    I want the status change to appear in the same screen.I am doing my code in the form 'userexit_check_vbap' of the exit 'MV45AFZB'. Please let me know if there are any user exits or BADI's available for the same(Changing the status of the sales order item based on reason for rejection ).
    Regards,
    S.Subasree

    Hi subburamaiah
    If you want the report you can create a separate SIS report . In that take the input field  as a Reason for rejection.. and ask for the output the list of sales orders .Now when you check this user defined report you will give the reason for rejection and check what all orders got rejected on that reason for rejection.
    Regards
    Srinath

  • Display the status of the production order

    Hi Friends,
    I have a task which should display the status of the production order.
    If an order number(AUFNR) is given, it should display whether the order is available or not. Also it should display the status of the order whether it is delivered, completed, blocked etc.
    Can anyone send me the code for the above task.
    Waiting for ur reply.
    Raj
    Message was edited by: Craig Cmehil

    Please mark this post as "Solved on my own" as it is a duplicate of your post which has already been answered.  Thanks. 
    Also, please remove the email address from the subject line.
    Regards,
    Rich Heilman

  • Retrieve the status in the contract document tab in master agreement

    Hi,
    I am unable to retrieve the status in the contract document tab in master agreement. Please help me if you know the code.
    Regards
    Swastik

    contractsColl=doc.getContractDocuments();
    contractBean =contractsColl.get(0);//retrieve the First document
    phase=contractBean.getCurrentPhase().getDisplayName(session);
    Phase gives the status of the contract document. in this case the Status of the first contract document.
    iterate through the collection to get the individual contract documents and perform a similar operation to retrieve the respective status.
    Regards
    Immanuel

  • Change the status of the service ticket in crmd_order

    Hi,
    i want to change the status of the ticket with out changing manually in  the transcation crmd_order.
    I need the program to change the status based on transction number(service ticket number)
    Please guide me is there any FM to get that.
    Thanks in advance,
    Suresh

    Got the solution:-)
    It is defined in customization that when the status is closed, no changes can be done. So by removing that customization my code works both for both closed and open charms.
    Thanks,
    vinod.

  • Change the status of the notification center in iPhone programmatically or atleast read what the status is  for a particular application

    Is it possible to control and change the status of the notification center in iPhone for a particular application.
    1)      In the application push notification is implemented.
    2)      Once this application is installed we can see the app in the notification center.
    3)      There is an option to ON or OFF
    4)      In the application we need an option to check if the above option is ON or OFF.
    5)      If the option is OFF we need to provide the user an alert stating that  in the notification center has it option off and here we have to provide an option to user to switch ON the option at the notification center.

    Well, I could find a fix for that.
    My mistake was that 1: I wasn't getting the correct ntype code for my value list type. And 2: I wasn't giving the Id name.
    The new result came as this:
    statusObjRef = doc.getStatusRef();
    statusHome = IBeanHomeLocator.lookup(session,statusObjRef);
    status = statusHome.findUniqueByNameType("Drafting Agreement", 1);
    doc.setStatusRef(status.getObjectReference());
    In case anyone has this problem, you should check the collection of values internal id, that's the actual ntype code (the number you send on the second parameter).
    But I could still use help having some advice on the Master Agreement elements handling (getting data from the master agreement or the data thas is being edited at the moment before saving).
    If anyone could give some advice, they would be very welcome

  • Can we reverse the status of the planned/prod order with ATP check

    Dear all,
    i ahve 1 query. When in the product view, if u select any planned order/prod order, and click on ATP check.
    if the quantity is confiremd, then the stutus of the orde change to checked and confirmed.
    i want to know can we change this status. can we reverse this status.??
    let me know ASAP. if yes plz explain in deatils
    Regards
    Pravin Mukkawar

    hi Praveen
    You can reverse/change the status of a Planned Order if it shows "checked and fully confirmed/partially confirmed" in
    /sapapo/rrp4( process receipts).
    To do this, enter your location product and run the transaction. be sure you are in change mode.you will get a list of planned orders.select your planned order and select the "pegging structue conversion" push button. then in the next screen select the valid line and push the "delete ATP status" button.
    refresh product view and you can see the new status "Not Checked" for your product.
    Hope this helps you.
    Regards
    Mohan V R Chunchu

  • How do i find out the status of the ink in the HP 5510 machine?

    Please can you advise how i find out what the status of the ink is in the "HP 5510" machine?

    Hi,
    Please use this:
    From the Printer Home screen, touch the right directional key, and then touch the Ink icon to display the estimated ink
    levels.
    Regards,
    Note: The ink icon is similar to a drp\op of water.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Auto Approval EBP Purchase Order is not updating the status at the header

    Hi There ,
    We are facing an issue in EBP auto approval PO ,
    The process level schema is set to Auto Approval  (Standard 9CBUS2201_EX01_55)
    During the PO creation , the standard schema is triggered and it gets approved .
    The status of the PO in the Approval Tab is showing as Approved .
    But in the docuemnt level the status is still Awaiting Approval .
    While checking in SWI1 we came to know that an error has happened in the Task TS40007972
    and the Guid ID of SRM Purchase is initial that has made the status(EV_STATUS) as initial .
    The ERROR is from the below class & method.
    Class: /SAPSRM/CL_WF_PROCESS_MGR_SBWF
    Method:GET_PROCESS_DECISION_STATUS
    Can anyone suggest to overcome this issue .It will be very usefull if anyone could suggest debugging possibility if any .
    Regards,
    Arun.

    Have you tried notes?
    1625513 - Workflow without approval is Awaiting approval status
    1724251 - Workflow log error: CREATE_DECISION_SETS cannot be executed

  • I sent in my iPod nano to the replacement program about two weeks back. However, I checked the status of the repair and it still says it has not been received yet. Is there any way to follow up on where the nano could be? I sent it via FedEx.

    I sent in my iPod nano to the replacement program about two weeks back. However, I checked the status of the repair and it still says it has not been received yet. However, my boyfriend sent in his the same time I did and his repair status says repair being diagnosed. I still have the "receipt" of the package when they first sent it to me. I sent it via FedEx. Is there any way to follow up on where the nano could be or maybe find out if I can still get a replacement even though my nano might be lost in transit?

    I sent it via FedEx. 
    Call FedEx.  They will be able to track their own packages.  They will let you know if your iPod Nano was delivered and to who!

  • RE: Mail notification on changing the status of the spport desk messages

    Hi,
    I am facing problem with the automatic mail notification in service desk configuration.
    When i create a support desk message in the satellite system, the message appears in crn_dno_monitor in solution manager. When i change the status of the message from new to in process, i get a mail only with the subject line "MESSAGE IN PROCESS STATUS' and the pdf attachement (sapscript) is missing. I have checked all the configurations in SPPFCADM but i am not able to figure out the problem. Please help me out of this problem.
    Regards,
    Sowmya

    Hi,
    there is a SAP Note with a tutor for send_mail via action. See Note 691303 and the attached .zip-file.
    It shows step by step how to set it up and is a very good tutorial. You'll need additional (free) software to let it run.
    Regards,
    Dirk
    @Sowmya: what content does the mail have? None? There is a possibility in SolMan where you can choose whether you want the content as a .PDF-Attachment (which, in my eyes, isn't that sparkling) or as regular mail text.
    It is located in TA SCOT. Double klick on "SMTP", then klick on "Internet" and there choose in the Drop Down Menu of Sapscript. When you have trouble, look at my [screenshot|http://home.arcor.de/dirk.malas/solman/Mail_TXT_PDF.JPG].

  • Checking the status of the insert query in JSP

    frendz,
    i am working with JSP .i have some content to be inserted in the database.i have used the insert query in SQL for that.i am able to check whether it has been inserted properly in the SQL but i want to check the status of the insert query with its return value(so that i can confirm it does not return a error).so please help.

    The Statement#executeUpdate() returns an int with the row count. Get hold of it.
    Also see the Statement API: http://java.sun.com/javase/6/docs/api/java/sql/Statement.html
    Apart from this, I recommend you to use PreparedStatement instead. It will not only ease setting Java objects in a query (no hassle anymore with quotes), but it will also prevent you from SQL injections.
    Prepare here: http://java.sun.com/docs/books/tutorial/jdbc/basics/prepared.html
    SQL injections: http://en.wikipedia.org/wiki/SQL_injection

  • Attachment Downloading in Mail - How do you know the status of the download

    Hi,
    I'm trying to send a keynote presentation from my iMac to my MacBook and it doesn't seem to be working. The attachment shows up in my email, I click on it, and it doesn't really do anything. Is there a way to check the status of the download, or clear all the downloads for mail? I think it's just the size of the file, because pages files work, and even very small keynote files, but not a 3 slide keynote presentation.
    Any help with this would be much appreciated.
    Brandon

    Hi Brandon
    If you want to know quite a lot: http://en.wikipedia.org/wiki/LAN
    In short a Local Area Network is your network at home. Both your computers are somehow conncted to the internet. Most people don't want to afford seperate internet lines for each computer they own, so they build a LAN.
    Many internet providers will give you a modem with more than one network port so you can plug in more than one computers. If there's only one port, most people connect a router to get more ports. If you have wireless at home, you also have a LAN.
    Now to the better options: On both copmuters: Go to system preferences > Sharing. Enable File Sharing. To learn more about it, just click on the question mark button at the lower right.
    After you did this, open a Finder window. In the sidebar there will be a new item: Shared. If you open the triangle you'll see the computer name of your other computer. This can take a few seconds to show up.
    Now you just place the files you want to share in your Public folder so the other Mac can access it.
    Regards,
    --greg

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

Maybe you are looking for

  • SQL%ROWCOUNT problem in Oracle 9i

    We have migrated our application from 8i to 9i. There is a PL/SQL procedure which returns number of rows inserted in the table. In Oracle it was returning correct number of rows but when we have migrated same procedure on Oracle9i it is returning 0 (

  • Can't change settings in Project Settings dialog

    Hi, I'm using the CS4 version of Premiere Pro and Encore on Windows 7.  I started with footage from an AVC HD camera.  I brought it into Premiere Pro and created a sequence from the "AVHCD 1080i30 (60i)" preset.  This results in a 1920x1080 frame wit

  • Creating error message in enter query mode

    Thanks u3 and am0x, Thanks for your answer.Now i want to implement the same thing for another scnerio. Suppose i have entered a certain date but there is no related data in the database for .I am concedering it as a error and want to show a message.

  • Please help with Overdrive reader

    I use Overdrive to read digital books from my library. After changing to a new iPhone, I was not able to download any books using the Adobe ID. The message I get is "This Adobe ID has been authorized too many times". Does anyone know why this happene

  • CUCIMOC OCS 2007 and CCM7

    We are trying to integrate OCS 2007SR2 with Call manager 7 ver 7.1.3 i can dial user from OCS  by internal extension if i use dialpad in OCS What is really weird is that for some users i can click on their Contact drag it and drop on Call button - an