Binding from workflow to work item aborted

Hi,
In my workflow  the first two steps are  multi condition.
after my second condition  i have created activity   step   - Task   and  binding the  bapi attribute value.
i checked binding  no error.
I am getting error in this part.
The error is
Workflow 'TEST' step number 1039: work item could not be created                          
Source (expression '&PurchaseRequisition.Zvalue&') of binding assignment is not available   
Error in the evaluation of expression '&PurchaseRequisition<???>.Zvalue&' for item '20'     
Step 15 of WS23000111: Binding from workflow to work item aborted                               
Error when determining attribute 'Zvalue' of object instance '[BO.BUS2105.001039]'   
Step 15 of WS23000111: Binding from workflow to work item aborted
Message no. WFEA031
Diagnosis
Serious errors have occurred in the binding from workflow to work item in step 15 of multistep task WS23000111. As a consequence, workflow 1039 has been forced into error status.
Procedure
"Change Workflow Container" then "Restart After Error" may suffice. It is probable, however, that the binding definition in WS23000111, step 15will have to be changed.
pl help me to proceed further.
Thnks in advance.
sharma

Hi,
Seems that your custom BOR is not delegated to the supertype, please do the same in SWO6 and
also check the binding from event to workflow.
Thanks and Regards,
Swaminathan

Similar Messages

  • Error: Binding from workflow to workitem aborted

    Hi ,
    I am getting an error in binding which I am not able to resolve. Let me try to explain the scenario first.
    1) In the workflow a container element is existing with the name ZBUS2081 which is having reference to object type BUS2081.
    2) BUS2081 is having an <b>attribute</b> "Company code" which is again having reference to object type BUS0002. BUS0002 has a key field "CompanyCodeId" which is having reference to database table T001-BUKRS.
    3) In a particular step of the workflow there is a binding between ZBUS2081.Companycode.CompanyCodeId ->CCODE where CCODE is a task container element having dictionary reference T001-BUKRS.
    4) When the workflow is executing it is giving error in this particular step. The error description are "Binding from workflow to workitem aborted"         "ZBUS2081.Companycode.CompanycodeId of binding assignment is not available    " Error when determining attribute COMPANYCODE of object"
    5) When I check the container in the technical details I see that ZBUS2081.Companycode.CompanycodeId is set to a value. I also checked the corresponding database table for the invoice document and found that this value is existing.
    Can anybody please help me on this as to why this binding error is occuring?
    Thanks in advance,
    Abhishek

    Hi Kjetil,
    the workflow started when a document is parked. Its triggering event is BUS2081-Parked. Even I was thinking in the same lines that may be the workflow is trying to access database information which has not been updated at that moment.
    When I checked the attribute Companycode of object BUS2081 I even found that the source is set to "Database field" and not "Virtual".
    But when I check the workflow container ZBUS2081.Companycode.CompanycodeId is having the correct value. This means the data <b>has</b> been fetched correctly from the database.
    Hence I feel if we cannot use an attribute with object reference directly in the binding, rather use a container operation to assign the value to another workflow container element and then use this element in the binding.
    Any inputs from any body to confirm this are welcome.
    regards,
    Abhishek

  • Need to open an ABAP WebDynpro application from Portal UWL work item

    Hi All
    I need some suggessions on how to navigate to an ABAP WebDynpo application iview from a mail(Work Item) in portal UWL.
    Requirement in detail:
    Agreements will be created from portal( Agreement Creation Application is developed in ABAP webDynpro and iview has been created with in the portal for this WD application). as and when the agreement is created a mail (ECC Workitem) should trigger to the approver, who has access to portal and check the mail(Work Item) from the portal UWL.
    The mail body should consist the link to the Agreement created in portal ( Link to navigate to the Agreement Creation ivew).
    So, the main requirement is user should navigate to the Agreement creation iview when he open the mail from UWL.
    Mail can be sent from ECC by using ABAP Function modules or by creating a workflow
    Please advice me on how can we achieve this requirement.
    Thanks & regards
    Vijay Bedamsetty
    Edited by: VIJAY BEDAMSETTY on Apr 19, 2011 5:42 PM

    Hi,
    You can call the iView directly by using NavigationTarget..
    http://myServer:50000/irj/portal?
    NavigationTarget=ROLES://portal_content/myFolder/myRole/myIview
    Plz note that the iView you are calling should be part of a Role.
    And the PCD location of the iView in the Role must be given for Navigation Target.
    Check this URL
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/014421d21d6fade10000000a11466f/frameset.htm
    Thanks
    Prashant

  • How to secure the users from deleting the work items

    Hi all,
    I have a question like this.........whether we could secure the users from deleting the work items by someone in the Project and also assigning a specific user to allow them to delete the idoc. 
    Please help me on this as this is critical.........
    Thanks in advance
    Chakri

    One of t he possible way is, ask the basis team to create users as Service Users and you can determine whether the login user is whether a service or dialog user  by using the a bapi BAPI_USER_GET_DETAIL under the exporting parameter logondata with field USRTYP where if the logged in user is Service user then this field will be populated as S if the user is a dialog user then it will be populated as A.
    Now in more efficient way of fixing this is get the list of users for whom you donot want to give the authorization of deleting workitems and assign the appropriate role for all the listed users...
    for roles and authorizations i hope the basis team is the right team to consult....

  • Workflow - passing work item automatically from one inbox to the next one

    Hi,
       We have a pretty customized work flow and SAP is configured to start the workflow after creation of PO. For some POs created by a user, we want the POs / work item to be sent automatically  / by background job from that user's inbox to his /her manager's inbox for approval without manually executing the work item.
    I looked at the FM SWU_PROCESS_MANUEL_DECISION, but could be called only by dialog. I checked the transaction SWIA, but need manual input.
    We are in 4.6b, can anyone tell me how to do the same?
    BTW, I tried to create a custom FM based on above, but lots of issues on that as well.
    If I can change the workflow, all I want is, check the initiator and PO types then based on that either forward directly to next approver or just leave it in the inbox of the initiator so that the initiator can approve manually after verifying the PO.
    Regards,
    Sundar.

    Moderator note: As per comments, IA's answer was accepted as correct, thus marked accordingly.
    Please note that even if you found the answer before someone posted the same, it is still a good idea to mark an answer as correct:
    Firstly they did make the effort to help you, and - more importantly - it shows someone else reading this thread later on what the correct answer is.

  • How to display a message from program in work item text in workflow

    Hi,
    I need to display an error message in the work item text in workflow  . The error message is contained in the container t_container and the field in which the error message is contained is t_container-textvarfortextelements
    the text that is contained in the field " t_container-textvarfortextelements " is "Incorrect store mapping ".
    I need to display "Incorrect stor Mapping" in the work item text.
    I am working in 40B .

    4.0B?
    Just add a new element in the task container (input variable) and add the variable to the Task text. Don't forget to pass the value from the WF container to the Task.
    Regards, Uwe

  • Workflow error " Work item could not be found"

    Hi Experts,
    I used transaction SWI2_DIAG to diagnose the error and tried to restart the workitem manually .The changes were made to Org chart  and now everything is fine but I am still getting error message:
    Work item could not be found                                                             
    Workflow 'Post with Clearing Workflow' step number 4: work item could not be created     
    Agent determination for step '0000000004' failed                                         
    Workflow WS93000005 no. 000004806372 activity 0000000004 role 'AC00000168': No agent found
    Resolution of rule AC00000168 for task TS93000019: no agent found   
    Can someone explain what this error message mean and why i cant restart the workitem manually?
    Thanks.

    This is my message from Production:
    Resolution of rule AC00000168 for task TS93000019: no agent found                         
    Workflow WS93000005 no. 000004806372 activity 0000000004 role 'AC00000168': No agent found
    Agent determination for step '0000000004' failed                                          
    Workflow 'Post with Clearing Workflow' step number 4: _work item could not be created_      
    This is my message from development.. I recreted the scenario and getting different message.
    Workflow 'Journal Entry Approval- Approval WF' step number 36: work item could not be created 
    Agent determination for step '0000000036' failed                                              
    Workflow WS93000001 no. 000000986124 activity 0000000036 role 'AC93000003': No agent found    
    Resolution of rule AC93000003 for task TS00007914: _no agent found_
    Edited by: Sergey on Nov 2, 2010 5:05 PM

  • Workflow - marking work items as obsolete

    I'm working on a workflow that allows cost center managers to approve or reject purchase requisitions.  I'm trying to create some logic that will trigger the workflow when the purchase req is significantly changed, in addition to just being created.  When it gets changed, I want to be sure that it's not deleted.  If it was deleted rather than being changed some other way, I want to mark all active work items for that particular req as obsolete so they're no longer out there for approval.  I put in a "set obsolete" step for each piece of the workflow that creates a work item prior to terminating the workflow.  When I try to test this, however, the workflow DOES recognize that the req was deleted, but it doesn't even show the "set obsolete" steps in the log, it just terminates.  The "set obsolete" step doesn't seem to have much to it, but is it possible that I'm just doing something wrong?
    Thanks,
    Eric

    Hi Eric
    You shouldn't use "set obsolete" for this.
    Depending on your version, you can either use a fork and a wait for the event "Deleted" in one of the branches or simply, in the new version, define a terminating event on the header level.
    Check this thread, it explains how, the example is based on restart, but you can use the methodology to cancel you workflow instances as well.
    Re: Restart Workflow ?
    Regards
    Morten Nielsen

  • Invoice Workflow : Dialog work item created

    Hi,
    I am not fully aware of workflow but can manage to check the logs and status.
    My question is: My Invoice workflow status is 'READY' but i dont know how to find to whom the work item it currently held.
    When i check the log it says:
    WF-BATCH                       Dialog work item created
    How can i check, which approver currently held work item so that i can chase them to approve the item.
    There are no agents assigned to the workflow and it is General Task.
    I would apprecaite if you could share me some information about this.
    Thanks,
    Macs.

    Hi,
    About Invoice Workflow :
    WS10400016 – Without approval,
    WS10400017 – One-step approval,
    WS10400018 – Two-step approval,
    WS10400021 – Administrator approval
    The relevant approval workflow is started, depending on completion status, invoice category (credit memo or invoice), creator role, and total value of the invoice.
    You should have maintained approver in your org structure (PPOMA_BBP)
    Please have a look at  :
    http://help.sap.com/saphelp_srm50/helpdata/en/58/c14e3c59bfe747e10000000a11402f/frameset.htm
    Kind regards,
    Yann

  • Calling Interactive Adobe Form from workflow work-item

    Hi Experts,
    Here is the requirement.
    WE have Interactive Adobe Form developed and now the requirement is to call this form in our workflow as work-item.
    When the work-item agent double-click on the work-item he must call the adboe form.
    Please provide your inputs/suggestions/Solution/Tips.
    Regards
    Krishna

    Hi Gurprit,
    Thanks for answering my question , appreciated.
    When I am in transaction SWFVISU in the drop-down for the Visualization type I dont see "Adobe Form" .  Whether we need to create an ABAP Webdynpro to call Adobe form.
    Please explain.
    Regards
    Krishna

  • How to create distribution list in workflow? for  sending mail or work-item

    Hi,
    How to create distribution list in workflow? for  sending mail or work-item to multiple users.
    Regards,
    Surjith

    Hi Surjith,
    A.Working with Distribution Lists Creating a Distribution List.
    1 Businees Workplace->shared folder - create new subfolder name = WF_distributor
    2.Then click on the distribution list in Businees Workplace.
    say create Name = WF_Vliste
    folder Name = WF_distributor
    3.distribution list content tab
    Enter Recipient (SAP User ID)
    B.Wrkflow Builder
    Find out the dialig step in which u want to use distribution list
    Use workflow Rule 30000012 (SWX_READ_DLI).
    Maintain the binding from workflow container to rule container.
    Just pass the name of the distribution list from WF to Rule container.
    Regards
    Sagar S

  • Error when executing a work item (cannot execute a method, biding problem?)

    Hello,
    I created a specific workflow, triggered by an event, from a class I also created.
    From this event, I get some data about a Document (CV01/02/03N...).
    The first step is a task which refer to a method (from the same class above).
    The binding Task <=> Method is the data about the Document and the Workflow ID.
    After I start the workflow, I execute the work item in SWI1, with a breakpoint in the method.
    I can't go in debug, and the work item is in error (in Workflow log) :
    - "Work item 000000590208: Object ZCL_SA3_WF_GED_RECL_FOURN method UPDATE_FID cannot be executed"
    - "EXECUTE_METHOD_OBJECT_SYNC : Dereferencing of the NULL reference".
    Note: The task is not in background processing, in the aim of debugging the source code.
    I did SWU_OBUF and quit/relog SAP.
    Do you have any ideas to solve this problem ?
    I think it's a biding problem, because I can' t even go in debug mode...
    Thanks.
    Regards
    (sap version: ECC 6.0)

    Hi
    Looking at the error message I feel like there is something wrong in the task object and object method. You are using a class in the task make sure that class has the IF_WORKFLOW. Mak sure the task is enabled with synchronous task method check box.
    Regards
    Pavan

  • Issue in sending mail to SAP Inbox from Workflow

    Hi All,
    I need to send the mail to the creator of the document about the user decision. If i am executing the workflow through the event ( ouput type) , the workflow processing in SWIA is complete but the mail is not sent in the SAP Inbox. But If i try to manually execute the workflow, mail is sent to the SAP Inbox.
    I've used WF_INITIAITOR in the Expression. I need to send the mail not to the approver but to the creator of the workflow.
    Thanks,
    Neha

    Hi,
    the event is also triggered from my Id but in that case I do not recieve any e-mail. None of the users recieve the e-mail in the SAP Inbox for the mail step after the decision.
    In workflow Log the last step shows the details as
    name of the manager and the workflow background for mail sent step as shown below
    Sumit Vij     Background work item created     10.01.2012     12:08:43     
    Sumit Vij     Execution started automatically     10.01.2012     12:08:43     
    Workflow Hintergrund     Work item processing complete     10.01.2012     12:08:44     
    Thanks

  • Terminating Event to Event Queue due to Work Item Lock

    I have a dialog workflow task based on an asynchronous method defined with a terminating event.  When the user executes the work item, the method generates the terminating event (via a V2 change document) but the work item is enqueued (locked) by the same user (locked when they execute the work item from SBWP) and therefore the terminating event goes into error and is placed in the event queue.  The background job which processes the event queue does not redeliver the event so it stays in the event queue and the work item fails to complete.  Other than dequeing the work item lock myself with a function call how do I get around this catch 22?

    Hello Martin,
    Actually, the locking happens whether I have the task as asynchronous or synchronous.  The problem is the timing. If the user does not release the lock (by backing out of the dialog which is executed) prior to the terminating event attempting to enqueue and complete the work item then the event goes into error and is inserted into the event queue (and lingers there indefinitely, almost). Another issue with the asynchronous approach is that even if the user backs out of the dialog before the event actually attempts to complete the work item they will still see the work item in the inbox unless they click the refresh button when they get back to the inbox. 
    I have changed the task to synchronous but here is my scenario and another question.
    The process being workflowed is the approval of service entrysheets (similar to an invoice if you are not familiar with External Services).  In our process, there are a large number of documents being created and requiring approval by particular approvers.  It is a normal scenario for an approver to have, lets say 25 documents in his inbox awaiting approval. It was not practical for him to have to navigate back and forth between his inbox and the approval task screen.  Therefore, I give the users the option of (when executing a work item) having all the documents in his in-box (for this particular task) be presented in an approval list screen.  They can then do a mass approval of the 25 documents with 1 click and 1 navigation.  This list screen is also available to be executed outside workflow via a tcode.  So, when the user executes the mass approval (either from the inbox or outside workflow) the work items are terminated via the terminating event assigned to the approval task.
    A couple of issues remaining:
    1) Given my example of 25 work items (user executes 1 work item from in-box
    and I displayed all 25) being approved, when the user returns to the in-box, the 24
    items remain in his inbox until he clicks the refresh button since these were not actually "executed" from the workflow engines point of view.  However, these were terminated successfully because they were not "locked".
    <b>Question:</b> Is there a way (user exit?) to trigger the inbox refresh automatically.
    2) Now, the issue with the actual work item which the user executes from the inbox.  As I mentioned, the work item is locked as soon as the user executes it and is not released until they back out of the dialog or logoff.  So, here is what happens:  If the terminating event is sent before the lock is released the event is sent to the event queue.  If they then back out back to the in-box, its OK since I put some code in the SWO1 object type program (rememeber, its now synchronous) which will determine if they did the approval/rejection and the work item will complete and the event in the event queue will be deleted the next time the Event Queue Background job runs (it deletes any events for work items already in COMPLETED status). However, lets say they simply log off rather than backing up to the in-box or they don't do anything and are eventually logged off by timeout. In this case the code in the object type program to determine if the approval/rejection was done does not get executed (control does not return to the object type program) and the work item remains in "STARTED" status and remains in the users inbox and the event is in the event queue. So, now we have a work item that should be completed still sitting in the users in-box and the terminating event in the event queue. So the next time the user goes to their inbox the work item is still there.  The interesting thing is that though this may be confusing to the user, if they then attempt to execute the work item, they will get a message: "Work item currently being completed by event" (Message SWF_RUN 644) and the event sitting in the event queue gets redelivered and completes the work item.  To alleviate this problem I was thinking of adding a call to SAP_WAPI_WORKITEM_COMPLETE in the approval list screen after they do the approval but I'm guessing it wont work since it probably will try to enqueue the work item and it will still be locked. 
    Hopefully you haven't nodded off reading this rambling note...
    Thank you,
    Bob

  • Work Item Forwarding

    Hello,
    Here is the scenario:
    I have a task in a workflow. I have defined possible agents (in task definition) and responsible agents (in WF definition). The task attribute is "General Forwarding Allowed".
    In the scenario, a responsible agent receives work item in his inbox. He then forwards it to the user who is NOT a possible agent of the task. The system gives the warning message but allows the forwarding. This forwarded agent then executes the work item.
    Question
    Is there a way to ALLOW forwarding of the work item to any user who is not a possible agent. But to PREVENT that user from executing the work item.
    Any help would be appreciated and will be rewarded!
    Regards,
    Sandeep

    Hi Sandeep
    If you want to Allow general forwarding but restrict execution to only the users allowed, You need to rely on SAP's Authorizations.
    If an action is allowed or not for a specific user, should not ("<i>can not</i>") be based on your workflow design. It must be based on your SAP security design (Your SAP Roles).
    Remember that Forwarding isn't the only that another user can gain access to a workitem. If a user assigns a substitute that's not allowed to execute you will face the same problem, or even if an administrator executes the workitem from transaction SWIA.
    If you are using SAP Standard functionality, the SAP Standard authorization check, for the called functionality, would be checked. In order to find out exactly which objects has been checked, you can use the trace functionality in transaction ST01.
    If it's your own development you need to include the nescesarry checks in the ABAP code.
    Regards
    Morten Nielsen

Maybe you are looking for

  • SSO to SAP EP6 (for Employee Self Service) using WebSEAL

    Hi SDN friends, We are about to embark on a SSO implementation using IBM WebSEAL for SAP EP6 ESS (Employee Self Service) connecting through to an SAP R/3 4.7 server.  Since the ESS solution for 4.7 still uses ITS services, this means that we have ITS

  • Mac Mini is very slow and rebooting takes 20-30 minutes

    Hi My Mac Mini has just been updated to 10.10.3 and it seems to work very good. Then same days ago the new smaller update arrived and I installed it. It is extremely slow and a reboot can take about 20-30 minutes. The Task monitor does not show any e

  • PI 7.1 ,WSDL

    Hi, Have a PI 7.1 system , need to do soap to proxy sync scenario. Created a wsdl in PI ,and saved in Altova XML spy ,trying to send a request to server : i see an erro : WSDL document has to begin with a < definitions> element in namespace:http :..s

  • App store not working after upgrade

    Hi all! I can't seem to search for apps on my iphone 3gs after the latest update to ios6. Anyone knows any solution?

  • Can anyone help with my Mini 210 Bios Password

    Can anyone help with my Mini 210 Bios Password master password after enter 3x comes CNU9491VLG Thanks in advance