'In Preparation' status of workitem

Hi all..
I have a workitem with status 'in preparation'...what should i check for this..
I have checked the binding
I have checked the import/export propert of elements involved in binding
I have checked that the value is set to the export parameters
I have checked the method in SWO1,its working fine there..
Now i am testing workflow in SWUS and the first step is in status 'in process'.what should i do...?
Thanks and regards,
Jhansi

Hi.
SAP online help says the following about the status 'in preparation':
"The work item has been created, but the condition defined for starting the work item has not yet been fulfilled. Work items in this status are not displayed in the workflow inbox."
Maybe you should check the condition in SWB_COND.
Or is there a condition in the condition tab of the work item?
Kind regards.
Jasper Blok

Similar Messages

  • Call of duty aw pre order still in "preparing" status

    My online pre order for the call of duty advanced warfare atlas pro edition has been in "preparing" status for quite some time now and the game was released today. I'm wondering if this is just an issue with the system or is the game back ordered? I selected the standard shipping but I figured since it was released today that it would have at least been shipped.

    Hi hmdg187,
    Thanks for reserving your copy of Call of Duty: Advanced Warfare with us! I can imagine how anxious you must feel to start playing.
    I've had the chance to review your account and it looks like your Atlas Pro edition was shipped earlier today. When you can, I'd encourage you to check both your inbox and junk mail folders for a confirmation message with tracking details. Please also keep in mind that the tracking number may not be recognized by UPS' website site immediately -- it can sometimes take 24 hours for updates to be available.
    Let us know if you need assistance with any other issues.
    Aaron|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Workflow in 'In Preparation ' Status

    Hi All,
              I have a worklfow triggered and it is in 'IN PREPARATION' Status for more than 1 day.
    The status is in preparation 'SET CQM Document status step.
    since i am new to workflow, i dont know why this status has come. how to move further. it is not going to error also. I checked SWPR and SWPC.
    I checked the BOR , it is a custom BOR
    CALL METHOD zcl_workflow_utilities=>set_cqm_appr_wf_flag
      EXPORTING
        iv_run_from_cqm_wf = 'X'.
    CALL FUNCTION 'Z_CQM_UPDATE_STATUS'
      EXPORTING
        iv_process_type  = lv_process_type
        iv_approval_step = lv_approval_step
        iv_header_guid   = lv_header_guid
        it_items         = lt_items
      IMPORTING
        et_return        = lt_return
        ev_message       = lv_message
      EXCEPTIONS
        error_occurred   = 01
        document_locked  = 02
        OTHERS           = 03.
    can anyone throw some inputs.
    Thanks a lot

    Hi,
    Maybe it is how it has been designed to work? The work item stays in the preparation status until a condition is met:
    http://help.sap.com/saphelp_nw04/helpdata/en/8d/25f336454311d189430000e829fbbd/content.htm
    Now it is impossible to say without seeing your workflow that what is this condition. The code that you posted hardly has nothing to do with the problem, and even if it has, we cannot help, since we don't know what is inside these Z-objects that are being called from the code.
    Regards,
    Karri

  • J2EE application after new start in "prepared" status

    Hi all,
    we have the problem with J2EE applications. After new start of WLS the application get "prepared" status.
    How can I find the reason of the issue?
    Regards,
    Moh

    Is this application ever came to active state?
    when you deployed this application intial there might be errors so it never went to active state
    when ever you did a restart the application is in prepared state.
    try to bring into active and see if your geeting any exceptions.

  • Change status of workitem in his method (ABAP OO)

    Hello!
    I have class Z_TTT with implementation IF_WORKFLOW. And I have method DISPLAY of this class.
    This method executing in task.
    How can I change status of this task inside method DISPLAY thus task not to be completed after executing.
    (In BOR I could use SAP_WAPI_SET_WORKITEM_STATUS (to ready) and then exit_cancelled.)
    How in ABAP OO?

    Thanks a million. Didn't know that    I'll edit my post, that it's more correct.
    In the method definition you declare the Exception class CX_BO_ACTION_CANCELLED to be thrown.
    In the method coding you use the following statement to raise the exception.
    RAISE EXCEPTION TYPE cx_bo_Action_Cancelled.

  • How to restart WorkItem if the status is completed

    Hello,
    Due to my mistake in PRD not in DEV i changed the WI status from started to completed.
    Now i have 110 WI affected and i dont know how to restart them, or make them finish normaly the right path.
    In the LOG i can see: Execution was ignored (work item has final status)
    Area: SWF_RUN
    Msg: 568
    Regards
    Laurynas Prikockis
    Edited by: Laurynas Prikockis on Apr 15, 2009 7:59 AM

    Resetting the status of a completed workitem? I think it is not possible , because you can reset the status of a workitem which is in in process state to ready state or the workitem which is in error state( May be not sure) but the status of completed workitem , not possible, because the workitem will not be in any of the users inbox.
    But will let you  know , if there is any possiblity
    Check this error when I tried to reset the status of workitem which is completed by using the FM
    SAP_WAPI_SET_WORKITEM_STATUS
    Status change from COMPLETED to READY is not allowed/possible

  • Workitem in status ready

    Dear Experts,
    I have a workitem (activity step) in status ready. I have bind a webdynpro java application for this in SWFVISU tcode. So once user clicks workitem from portal dynpro java application will open. But workitem in R/3 remains in status ready even after user clicks submit from the java application. So on action submit I need to complete that workitem. Is there any FM to complete a workitem which is in status ready. This workitem is from a task of activity step. This is just a dummy workitem that is I have given a BO method inside it that does not have any code. I use this to start the dynpro java appln alone.
    First i will be using sap_Wapi_write_container FM. Then I will complete the workitem. Then using sap_wapi_read_container I will read the written values. If i use sap_wapi_workitem_complete FM then the written values change back to old values again.
    KR,
    Bharath
    Edited by: bharath padmanabhan on Dec 29, 2009 10:06 AM
    Edited by: bharath padmanabhan on Dec 29, 2009 10:28 AM

    Dear All,
    Thanks a lot for your replies. I have solved the problem. First I set the status of workitem to started and then completed it. Please find the code below.
    CALL FUNCTION 'SAP_WAPI_SET_WORKITEM_STATUS'
    EXPORTING
    workitem_id = lv_wi_id     " workitem id
    status = 'STARTED'
    USER = SY-UNAME
    LANGUAGE = SY-LANGU
    DO_COMMIT = 'X'.
    CALL FUNCTION 'SAP_WAPI_DECISION_COMPLETE'
    EXPORTING  
    workitem_id = lv_wi_id     " workitem id
    LANGUAGE = SY-LANGU
    USER = SY-UNAME
    decision_key = '0001'
    DO_COMMIT = 'X'.
    KR,
    Bharath

  • DMS-Status-In preparation by default

    Hi guys,
    I have one requirement from the client
    Iam maintaining different statuses like
    In preparation
    Client Approval
    Released
    While creating the document system promts to enetr the status,is it possible to maintain In preparation as default status to start with?If so  pls tell me the necessary setting to be done
    Thanks,
    Vijai

    Hi Vijai,
    therefore SAP supports different status types. So I would suggest to set in TA DC10 for status 'in preparation' status type P (primary status, see below) and to define 'in preparation' as previous document status for 'Client approval'.
    Best regards, Daniel
    Document status type:
    Key which represents the features of a document status.
    Use
    There is not usually an entry for the status type.
    If you want to represent special features of status, you can choose from the following status types:
    Initial status (I)
    This status is set when a new document is created and can be linked into a cycle. This means that the document can be given this status again at a later point in time.
    Primary status (P)
    This status is only set when a new document is created. It cannot be set at a subsequent stage of processing.
    Locked status (S)
    Most of the data in the document info record can no longer be changed.
    Temporary status (T)
    This status is used to log events, for example, an interim printout can be logged.
    The current status of the document is not changed.
    The system sets the following stuses automatically:
    Original in work (O)
    The system sets this status when you choose Original applicationfile -> Change.
    The system makes the following checks:
    Is the user authorized to use the function?
    Is there a status with status type O for the document type?
    If this is the case, the system carries out all the necessary checks for the status network (such as checking the previous status).
    If the system checks determine that this status is not allowed, you cannot process the document.
    Archive status (A)
    The system sets this status when you choose Archive -> Check into archive.
    The system makes the same checks as for status type "O".
    If the status cannot be set, the document cannot be archived.
    Check-in status (C)
    The system sets this status all original application files of document info are in a secure storage area.

  • Workflow status report

    Hi
    i wanted to develop a report which shows the current status of the  workflow .
    for example i have created a PO No  10001 and workflow 9001 has been triggered
    kindly tell me
    the table name
    how i related those two
    and then workflow and there task
    Regards
    Ammad

    >
    Raj  Karunanidhi wrote:
    > You can check SWW_CONTOB table to get the WI_ID based on PO number and Business object.
    > Once you get the workitem ID, you can get the status of workitem/PO from SWWWIHEAD table.
    NO, NO, NO!!!!
    Please do NOT access tables directly unless you know what you're doing because these change - that one is one example of a table that has changed over the versions. SAP_WAPI_WORKITEMS_TO_OBJECT will give you the same info in a manner that is supported by SAP.
    Next, before developing a report, are you aware of the standard functions? Most sites I've worked on users are happy to look at the log from within the PO using the object services button. Alternatively there's tx SWI6 - the only ugly thing is that you'll need to teach folk to put in BUS2012, but that can also be worked around.

  • Regarding the change status of leave workflow.

    hi friends,
    i have copied the standard leave worklfow "WS12300111" and customized it just to meet our requirement means for multiple approvers.
    everything is working fine in production  means if user ID "AIHR01' raise a leave request the workitem will go to "AIHR02" after his approving the workitem will go to the final approver means "AIHR03" after his approval the leave request will be completed and the status in the TC - PTARQ is coming as "APPROVED" means only after the approving of "AIHR03" the status is coming "APPROVED" but in some cases when user id "AIHR02" is approved instead of coming status "SENT" it is coming "APPROVED"  in TC-PTARQ and because of this status the workitem is coming blank in UWL of "AIHR03".
    I have already incorporated the given below method in the "WORKFLOW" just to change the status from "APPROVED"  to "SENT" after the approval of user ID "AIHR02" but in some cases it is not working fine it is giving BUG.
    begin_method changestatus changing container.
    DATA:request TYPE ptreq_header-request_id,
              wi_id TYPE swwwihead-wi_id.
    DATA: request_instance TYPE REF TO if_pt_req_request,
               event   TYPE tim_req_xfer_event VALUE
               cl_pt_req_const=>c_reqtrans_send,
               ex_status TYPE tim_req_status,
               container_wi TYPE swcont OCCURS 0,
               agents TYPE STANDARD TABLE OF swhactor WITH HEADER LINE.
              swc_get_element container 'REQUEST' request.
              swc_get_element container 'Wi_id' wi_id.
    DO.
      CALL FUNCTION 'ENQUEUE_EPTREQ'
       EXPORTING
        MODE_PTREQ_HEADER       = 'S'
        MANDT                   = SY-MANDT
         request_id              = request
        X_REQUEST_ID            = ' '
        _SCOPE                  = '2'
        _WAIT                   = ' '
        _COLLECT                = ' '
       EXCEPTIONS
         foreign_lock            = 1
          system_failure          = 2
          OTHERS                  = 3
        IF sy-subrc = 0.
          EXIT.
        ENDIF.
        WAIT UP TO 60 SECONDS.
      ENDDO.
      IF sy-subrc = 0.
        CALL METHOD ca_pt_req_header=>agent->get_request
          EXPORTING
            im_request_id     = request
          IMPORTING
            ex_request        = request_instance
          EXCEPTIONS
            request_not_found = 1
            OTHERS            = 2.
        IF sy-subrc = 0.
          CALL METHOD request_instance->initiate_state_trans
            EXPORTING
              im_transfer_event = event
               im_external_call  = 'X'
       im_ret_value      = 0
                     ex_new_status     = ex_status
       ex_ret_code       =
          swc_set_element container 'Ex_Status' ex_status.
        ENDIF.
        CALL FUNCTION 'DEQUEUE_EPTREQ'
         EXPORTING
      MODE_PTREQ_HEADER       = 'S'
      MANDT                   = SY-MANDT
           request_id              = request
      X_REQUEST_ID            = ' '
      _SCOPE                  = '3'
      _SYNCHRON               = ' '
      _COLLECT                = ' '
      ENDIF.
      swc_create_container container_wi.
      swc_set_element container_wi 'WI_ID' wi_id.
      agents-otype = 'US'.
      agents-objid = sy-uname.
      APPEND agents.
      CALL FUNCTION 'SWW_WI_START_SIMPLE'
        EXPORTING
          task                         = 'TS90000089'
          called_in_background         = 'X'
        TABLES
          agents                       = agents
          wi_container                 = container_wi
        EXCEPTIONS
          id_not_created               = 1
          read_failed                  = 2
          immediate_start_not_possible = 3
          execution_failed             = 4
          invalid_status               = 5
          OTHERS                       = 6.
      end_method.
    Request you to plesase help me to solve this issue .why in some cases instead of coming status "SENT" it is coming "APPROVED"  after the approval of user id "AIHR02".
    BECAUSE of the  "APPROVED" staus the same workitem is coming blank in the UWL OF "AIHR03".

    solved by own

  • Workitem not triggered for Inbound IDOC Error (ORDERS05)

    Hi,
    The work item is triggered for the Syntax Error in the Idoc (EDI: Partner profile Not Available).
    But, as per my requirement i need to get the idoc error status (as Workitem) , any help regarding the resolution of this issue is highly appreciated.
    Regards,
    Rusidar S.

    Hi Uwe,
      Many thanks for your response, well i did run the report name that you said me.. when i executed that report i got a workitem as "ALARM Message from Active IDoc Monitoring" and workitem for EDI  syntax errors"EDI: Partner profile inbound not available"
    But my objective remains unsolved.. i need the error status of idoc to be generated, do u have any idea or solutions, kindly share it as its the 3rd day that am still into the same task....
    Regards,
    Rusidar S.

  • Disabled sub-status in appraisal form customizing

    Dear all,
    maybe someone could help me with following issue.
    I'm customizing a personnel appraisal form using PHAP_CATALOG including several statuses. In order to complete status customizing, I need to activate all sub-statuses of "In Preparation", but all these checkboxes in tab "Status Flow" are disabled.
    I already added these new statuses to the category group, so they are definitely available, but I don not understand, why I can not select them.
    Does anyone have an idea about this? Are there any requirements to have "In Preparation" sub-statuses active?
    Thanks a lot!
    Tobias

    Hi Tobias,
    Apologies for the delay in replying.
    What you can do is:
    1. Create one substatus for "In Planning" as "Supervisor Input"
    2. Once the phap_prepare or BDC is run and all appraisal templates are attached to employees, as per your status flow templates will be in "In Preparation" status. You need not have any pushbuttons created for this status.
    3. Now using PHAP_ADMIN_PA transaction code (administrator's login), push all templates to next status as "In Planning" and substatus as "Supervisor Input".
    4. For this you design pushbuttons which will be accessed by manager.
    5. So when manager will login to portal, he will have the template available for him to take action on the same.
    Please let me know in case of any clarifications.
    Thanks!
    Best Regards,
    Chetan Shriraj Wahane
    Edited by: Chetansw on Nov 30, 2010 6:42 AM

  • MY POSSIBLE FIX for Time Machine preparing for ages every hour

    Like many others, i have had problems with Time Machines backups - ever since upgrading to 10.5.2. Every hour it would say 'preparing' for ages, and then, when it did finally backup, the data transfer was incredibly slow. Not to mention the amount of cpu usage it was using during the preparing status!
    I have no idea if this is a FIX, or if i was just lucky, but Time Machine now works as it should, i.e. it backs-up seamlessly.
    Anyway, this is what i did: booted from my Tiger disc (yes, even though i have Leopard) and went into its 'disc utility', from there i selected 'repair permissions'. Once the Tiger disc had completed repairing the permissions, i quit out of it and restarted my MacBook normally, i.e. not from the Tiger disc. When it had finished restarting, i went to disc utility and selected 'repair permissions'.
    Ever since, TM has been just perfect. Coincidence? - i honestly do not know.
    By the way, i don't know if repairing the permissions from within Leopard did anything or not, but this is the sequence i used. Plus also, it might be good to note that i had repaired permissions many a time, but with no success in fixing TM, but once doing it from the Tiger disc it fixed TM.
    I hope it helps someone, because i know just how annoying it was when TM was not working correctly!

    I upgraded from Tiger to Leopard, which is why i believe i have had trouble.
    What is 'A&I or E&I'?

  • Restrict documents from being assigned to a BOM while status is not release

    Hi,
    I need certain documents to be restricted while they are still 'In preparation' status.
    Currently eventhough the status is not released, user can assign a document to a BOM.
    I am sure i am missing something. Let me know if anyone has done this. We are not using ECM at this stage.
    Regards,
    Edi

    Hi,
    You can do this via workaround of authorization matrix.
    1. Create two users: Creator, Approver & Assigner
    2. Creator will not have authorization to release the document as well as to assign the document to BOM. Authorization to release the document can be prevented by authorization object C_DRAW_STA. The authorization of object linkage is controlled by object C_DRAD_OBJ               
    3. Approver will have authorization to release the document.
    4. finally assigner will have only document to access the change document when it is released and only then he/she will be able to assign the object linkage.
    Or you can go for BASi/User exit at the time of save to control the same.
    Thanks
    SUMIT GUPTA

  • Ehat happen after logical deletion of workitem

    Hi experts,
    what happens after deletion of workitem.
    does it automatically restart the workflow of it only change the status of workitem to cancelled.???
    if it automatically restart the workflow how can we stop it.?????
    thanks in advance

    If you delete the workitem manually no workflow will be triggered automatically.
    Thanks
    Arghadip

Maybe you are looking for

  • Best IDE and how-to create HTML for a swing Applet

    Can you help me out? I've been using, and teaching with the old Symantec VisualCafe product from long, long, ago. It still works fine & I can even use it to build JFC/Swing Applets etc. But a few things have occurred. For one, a way back, Symantec so

  • How to run an "Automator" application at regular time intervals

    I would like to find out how to run an "Automator" application at regular time intervals, say at every 5 minutes. Is there any program, AppleScript or any method to do this? I would very much appreciate a help. Suwan

  • PL/SQL Parsing of XML File

    Hi, I need to use PL/SQL to read from XML file and from what I understand, create a table in the db where the data from XML file will go. I'm pretty new to PL/SQL and XML...how do I get started? Am on 10g XE on local machine, but have access to dev 1

  • What is the keyboard shortcut to sleep display on the Macbook Air?

    On my Macbook Pro it's ctrl-shift-eject. There is no eject button on the Macbook Air so what is it? Yes I know about Hot Corners. Yes I know you can turn the brightness right down. I want the keyboard shortcut.

  • File Error - FCP-6 - "not enough memory" ---DVDPro disk is slightly jerky..

    I have a macbook. 2GHz Intel Core Duo, 1 GB 667 DDr2 SDRAM. Final Cut Pro 6.0.1 OS 10.4.11 I have a project file - HD that has worked fine up until now. And wouldn't you know it - it's just when I need to be able to burn to quicktime that this occurs