Forward Work Item And Restart Workflow

My problem is that:
Requester: John
Manager: Peter
John shops a SC. when the workitem comes in Peter´s Inbox, he decided to Forward this Shopping Cart to Jonh again.
In this moment Peter can change the shopping cart and he has the button "Save".
When he saves, the SC is automatically approved!!!!! I would like that when the shopping cart back to John the workflow must restart... It is possible?
Thanks!

System checks workflow start condition. You can search information in the <a href="http://help.sap.com">http://help.sap.com</a> .
<a href="http://help.sap.com/saphelp_srm50/helpdata/en/37/830b3b7e7ef74de10000000a114084/frameset.htm">http://help.sap.com/saphelp_srm50/helpdata/en/37/830b3b7e7ef74de10000000a114084/frameset.htm</a>
Regards,
Masa

Similar Messages

  • How to handle the situation to forward work item manually?

    Hi All,
    In my workflow -
    For agent determination I have some custom logic to determine agents. If custom logic donu2019t return any agents then the requirement is work item needs to send back to workflow initiator.
    My issue-
    When no agent determines
    1.Work item needs to send back to workflow initiator - and he should not able to Approve or Reject work item - He Can only forward work item to any other person manually (he determines to whom it should forward).
    2. After manually forwarding the work item it is normal process 2 level of approval from that point .
    Please let me know for the first item how to handle the situation?
    I have developed 2 section - one goes with regular agent determination -
    and the other one when no agent determines then I am assigning back to workflow initiator. Now I want to handle that - initiator should not accept or reject and he can only forward to someone. How to develop this?
    Please let me know your thoughts.
    Thanks in advance.
    Rajesh,

    Hi All,
    Thanks for the answers.. sorry for late replay.. requirement was not confirmed.
    1. As I described in my question
    After my custom conditions.. I have to send workitem back to initator ( Now initiator forwards the work item to someone else  ( need to restrict  users  based on role - )..
    While doing this process initiator should not have access to approve or reject he should only forward the workitem.
    After forwarding the work item -this person should have approve or reject options.
    My question is not answered..
    1. As Vijay told..
    Dont give Approve and Reject Options and in Description u specify like
    If I dont provide approve/reject when I am sending the work item to initiator - After initiator forwarding this work item - how do we the other approver will get options  Approve and Reject?
    2.  AS -surjith kumar
    If your Using the Rule or Expression you have to restrict via coding -  This will solve one of my problem -
    How I can restict  users with role based?
    My problem is not solved.. Initiator should not have access to approve but He should only forward the work item...
    Please let me know...

  • BPE crash - Trying to remove work item and SXMB_MONI message that caused it

    Hi,
    I have a file to IDOC scenario with BPE.  We have had a large file that was picked up by XI in error, but the adapter engine did process the XML conversion successfully.  This message was sent to the BPE but due to the message size, the BPE crashed.  Currently the work flow that caused the crash is in started status in report RSWF_XI_SWPC - continue workflow after system crash.  and we have a message in SXMB_MONI for this workflow that is still in status outbound to PE "message being sent".  We would like to remove or cancel the workflow and the message in XI.  I have searched around for the best way to do this in this situation but have not found anything.  We cannot cancel the message in SXMB_MONI due to the status it is currently in.  Can we:
    1. stop and start BPM to resolve the issue or
    2. some how change the status of the workflow to error so the message in SXMB_MONI can be cancelled.
    3. Should we just leave the work item and messge as is, because it is not affecting anything else in XI.
    Any help would be apprecieated.
    thanks.
    Jamie
    Edited by: Jamie Bullen on Jan 22, 2008 4:04 PM

    Hi,
    Thanks for your reply.  I'm pretty sure I can delete the work item from SWWL but I don't think the outbound status of the message is SXMB_MONI will change once this is done.
    thanks.
    Jamie

  • Forwarding work item

    Hi Forum,
    When we forward a workitem from Inbox of an approver..
    1)Which BADI is trigered?
    I tried puting a break point in workflow BADI but it is not trigered when i pushed the Send button.
    2)Are any mails trigered?
    Regards,
    Anubhav

    HI,
       To the best of my knowledge , there is no Specific BADI for forwarding Work Item.
    But inorder to allow forwarding the Work item, Purchasing Org structure (PPOSA_BBP) , Flag:FORWARD Work Item attribute need to be set.
    Regards,
    Kalandi

  • 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

  • One of the user is unable to remove obsolete Tags from new work items and search query

    Hi I am new to TFS Administration, User has some obsolete Tags in TFS site which is removed on the Backlogs but user can see those tags when he is creating new work items and while querying the Work Items but he is not able to see any obsolete tags in Backlogs.
    TFS version: TFS 2013 SP2
    Steps followed:
    we queried each tags, we see 0 work items associated with the tags
    As per MSDN, we have to remove associated tags which automatically removes the Tags after 3 days
    The user is facing the same from past week
    Am i missing something? or will the list of Tags be available in new work items and  querying WITs? Please help
    Thanks in Advance

    Hi BE,  
    I tested this scenario in my TFS 2013 Update 4 Server, and found that Tags will disappear  from Tags dropdown list automatically after serverl days, if there’s no any work item associated that Tags. 
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Catching a forwarded work item in workflow.

    We have a workflow with an escalation loop.  An e-mail is sent every 5 days until a work item is finally completed.  However if that work item is forwarded, the original owner is still notified.
    Is it possible to catch that a work item was forwarded and trigger a modification of the container so the forwarded approvers are notified?

    Hi
    Assuming that email is sent from the Escalation Outcome of the Decision Item, here is what you need to do to get the work item of the Escalated Item.
    Create a container element f=to hold that Workitem.
    From the decision step to the workflow binding pass the workitem (you will have a workitem object in the step / task container, expand that and get the ID) -> Pass  to that local variable of the workflow
    In the escalation branch, create an activity step, pass this workitem to a method
    In the method, call SAP_WAPI_GET_WI_AGENTS, pass them back to workflow (APPEND to the existing notification agent list).
    regards,
    Modak

  • Can I just add a state to bug work item and not set the state to the workflow

     Hi,
    Based on my team, we need to add a state/states to the bug work item, just add the bug state, and let it displayed in the state dropdown list. We don't want to add the state to the workflow. Can I do that? 
    Thanks,
    shmily

    Hi shmily,
    If you add a state for the bug in your work item definition file, you have to define the transition for the state. If not, when you change the state, the backlog page or task board will not display the work item correctly.
    Please check the links below for more information about workflow design guidelines and customization for work item type:
    http://msdn.microsoft.com/en-us/library/ms194981.aspx
    http://msdn.microsoft.com/en-us/library/hh409273.aspx
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Viewing ALL Open Work Items and Corresponding Approvers in System

    Is there a workflow report in ECC that displays ALL open work items in the system at any given time and their approvers that need to take action?

    Hi ,
    SWIA -  You can give a status of the workitem ( Ready , Inprocess ...........), workitem type (dialog....)
    in the selection criteria and also the time then you can find all the open workitems.
    And also you can check Header table SWWIHEAD it includes all the information related to workflows
    but this is a lenghty process need to process object type and need to refer so many attributes.
    best way is need to create one report make use of it.

  • SWIA -- Forwarding option is grayed out... can not forward Work Item

    Hi,
    When I use SWIA to forward one Work Item to another user, that option is grayed out there.
    While another use with same access is getting this option for the same work item.
    Any user specific setting preventing this?
    DA

    Usually when you try to forward an already forwarded item then the option is greyed out. Which is why one user can forward it and another cannot.

  • Auto Forward Work items

    Hi,
    I would like to know do we have this in standard functionality
    Leave Request.
    When manager is going on vacation ,the manager will assign the user id in UWL inbox to whom  all or leave request work items should be forwarded for time interval eg 10 days /end date.
    Can anyone faced this same kind of requirement.
    IF this is possible in standard ,how authorization should be handled when it is automatically forwarded to another user.
    Thanks,
    Nachy

    Hi Nachy,
    For this you have to actiivate the sustitution for that particular user.
    Say user A --> substitute (User B).
    Once the substitution is activated, you can verify the same in HRUS_D2 table.
    Thnaks and egards,
    Swaminathan

  • No work item found for workflow WS14000109 Urgent

    Hi,
    I am using Extended classic scenario, I have created a PO in SRM having a PO value of 100000 INR and the work flow which is triggered is WS14000109 i.e. spending limit worlflow.
    My approval limit is 25000 INR and I have three approver
    Approver A has approval limit 50000 INR
    Approver B has approval limit 75000 INR
    Approver C has approval limit 12500 INR
    Now the problem is that the PO has the status " Awaiting Approval" and when I checked the PO in transaction BBP_PD, I got the  message that no work item is found for all the three approver.
    I am not able to understand why the workitem is not being sent to appover A and later on to B and C
    Please help me out as this is really urgent
    Regards,
    Yatendra

    Hi Yetendra,
    You approval workflow task should be a general task.
    Make it a general task and you will work items flying around.
    Please reward few points if you feel this answer is helpful.
    Regards
    Pras Durafe

  • Forward work item that has been completed

    Can I know if there is anyway that I can forward the work item to someone even though the transaction has already completed?
    Also I would like to know if I can forward the work item to someone when it's not in a dialog step?

    Hello Shreya,
                You can forward the workitem from the transaction code SWIA.
                 You can also forward the non-dialog work item too from the same transaction code.
    Regards,
    S.Suresh
    Edited by: Suresh Subramanian on Jun 17, 2010 10:33 AM

  • API to get Work Item and Attached Information

    Dearl all,
    Is there any API to get the work items assigned to specific users and their attached information during runtime?
    Thanks, Jerome

    HI Jerome,
    This code will help you: API FM is " 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    DATA : w_name TYPE sos04-l_adr_name.
    SELECT-OPTIONS :
    Recipient address
      s_name FOR w_name DEFAULT sy-uname NO INTERVALS.
    START-OF-SELECTION.
    E-mail Abap report
      PERFORM f_send_mail.
    Form f_send_mail
    FORM f_send_mail.
    Data Declaration
      DATA:
        l_datum(10),
        ls_docdata    TYPE sodocchgi1,
        lt_objpack    TYPE TABLE OF sopcklsti1 WITH HEADER LINE,
        lt_objhead    TYPE TABLE OF solisti1   WITH HEADER LINE,
        lt_objtxt     TYPE TABLE OF solisti1   WITH HEADER LINE,
        lt_objbin     TYPE TABLE OF solisti1   WITH HEADER LINE,
        lt_reclist    TYPE TABLE OF somlreci1  WITH HEADER LINE,
        lt_listobject TYPE TABLE OF abaplist   WITH HEADER LINE,
        l_tab_lines TYPE i,
        l_att_type  LIKE soodk-objtp.
      WRITE sy-datum TO l_datum.
    List of Users According to Logon Date and Password Change
    NOTE: Create ALI/OTF Document in Spool
        MESSAGE ID 'ZWF' TYPE 'I' NUMBER '001'.
      SUBMIT ZMM_MIR_RPT_FOR_WORKFLOW VIA SELECTION-SCREEN WITH valid = 'X'
                      WITH notvalid = space
                      WITH unlocked = 'X'
                      WITH locked = space
                 EXPORTING LIST TO MEMORY AND RETURN.
                 IF sy-subrc = 0.
      ENDIF.
    MESSAGE ID 'ZWF' TYPE 'I' NUMBER '000'.
    Read list from memory into table
      CALL FUNCTION 'LIST_FROM_MEMORY'
        TABLES
          listobject = lt_listobject
        EXCEPTIONS
          not_found  = 1
          OTHERS     = 2.
      IF sy-subrc <> 0.
      Error in function module &1
        MESSAGE ID '61' TYPE 'E' NUMBER '731'
           WITH 'LIST_FROM_MEMORY'.
      ENDIF.
    IF sy-subrc = 0.
      CALL FUNCTION 'WRITE_LIST'
        TABLES
          listobject = lt_listobject.
    ENDIF.
    IF sy-subrc = 0.
    endif.
    Because listobject is of size RAW(1000)
    and objbin is of size CHAR(255) we make this table copy
      CALL FUNCTION 'TABLE_COMPRESS'
        TABLES
          in             = lt_listobject
          out            = lt_objbin
        EXCEPTIONS
          compress_error = 1
          OTHERS         = 2.
      IF sy-subrc <> 0.
      Error in function module &1
        MESSAGE ID '61' TYPE 'E' NUMBER '731'
           WITH 'TABLE_COMPRESS'.
      ENDIF.
    NOTE: Creation of attachment is finished yet.
    For your report, the attachment should be placed into table
    objtxt for plain text or
    objbin for binary content.
    Now create the message and send the document.
    Create Message Body
    Title and Description
      ls_docdata-obj_name = 'Outstanding MIR'.
      CONCATENATE 'Outstanding MI-Report sent by' sy-uname l_datum                                     "#EC *
            INTO ls_docdata-obj_descr SEPARATED BY space.
    Main Text
      lt_objtxt = 'Outstanding MIR Report' &
                  'List of Outstanding Goods Receipts under inspection 103 movement'.                       "#EC *
      APPEND lt_objtxt.
    Write Packing List (Main)
      DESCRIBE TABLE lt_objtxt LINES l_tab_lines.
      READ TABLE lt_objtxt INDEX l_tab_lines.
      ls_docdata-doc_size = ( l_tab_lines - 1 ) * 255 + STRLEN( lt_objtxt ).
      lt_objpack-transf_bin = 1. " If u want to CLEAR inbox evrytime
      lt_objpack-head_start = 1.
      lt_objpack-head_num = 0.
      lt_objpack-body_start = 1.
      lt_objpack-body_num = l_tab_lines.
      lt_objpack-doc_type = 'RAW'.
      APPEND lt_objpack.
    Create Message Attachment
    Write Packing List (Attachment)
      l_att_type = 'ALI'.
      DESCRIBE TABLE lt_objbin LINES l_tab_lines.
      READ TABLE lt_objbin INDEX l_tab_lines.
      lt_objpack-doc_size = ( l_tab_lines - 1 ) * 255 + STRLEN( lt_objbin ).
      lt_objpack-transf_bin = 'X'.
      lt_objpack-head_start = 1.
      lt_objpack-head_num = 0.
      lt_objpack-body_start = 1.
      lt_objpack-body_num = l_tab_lines.
      lt_objpack-doc_type = l_att_type.
      lt_objpack-obj_name = 'ATTACHMENT'.
      lt_objpack-obj_descr = 'Outstanding MIR'.                   "#EC *
      APPEND lt_objpack.
    Create receiver list
      LOOP AT s_name.
        lt_reclist-receiver = s_name-low.
        lt_reclist-rec_type = 'B'.
        APPEND lt_reclist.
      ENDLOOP.
    Send Message
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = ls_docdata
          put_in_outbox              = ''
        TABLES
          packing_list               = lt_objpack
          object_header              = lt_objhead
          contents_bin               = lt_objbin
          contents_txt               = lt_objtxt
          receivers                  = lt_reclist
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          OTHERS                     = 8.
      IF sy-subrc = 0.
      Document sent
        MESSAGE ID 'ZWF' TYPE 'S' NUMBER '002'.
      ELSE.
      Document <&> could not be sent
        MESSAGE ID 'SO' TYPE 'S' NUMBER '023'
           WITH ls_docdata-obj_name.
      ENDIF.
    ENDFORM.
    Thanks and Regards,
    Prabhakar Dharmala

  • AL BPM work items and tasks

    Hi,
    I am a newbie with AL BPM, and am trying to use it for a project. We are trying to manage breaks for incoming events. An event could have multiple breaks associated with it and would be assigned to a user to resolve.
    One of the key requirements is that the user would see only a single work item per event in the Inbox, but would see the break tasks in the detailed screen associated with it.
    Can I use the AL BPM work item/ task mechanism to do this? Is it possible to display work items alone in the inbox, if it has multiple tasks associated with it?
    Thanks in advance,
    AB

    Hi,
    If you'd like each individual person to execute the tasks, you might want to have a Split-N activity (now called "Multiple" in 10g) to create a work item instance for each person and assign it to that specific person using "participant.next" logic (inside the logic for the Split-N, you'd need to assign the specific participant using "next participant" logic to the specific work item instance).
    Following the Split-N, you could do the multiple task thing several different ways.
    1. Using a screenflow, you could have them accomplish the tasks in one sitting in the various screens that would be associated with the screenflow's flow of tasks. If you go this route, you might want to add "Save" button functionality so they could save their work and return to the screen where the left off when they come back.
    2. If the tasks are done in a specific sequence, you could have a series of Interactive activties following the Split-N with different screenflows. If you go this route, be sure to make the predefined variable participant property called "sticky" set to true so the instance stays stuck to the same participant.
    3. If the tasks could be done in any order, you could have a Split following the Split-N with each of the branches in the Split going to a different task. You'd want to make sure you've assigned the original participant as the next participant for each of the branches going to Interactive activities coming out of the Split activity.
    Hope this helps,
    Dan

Maybe you are looking for

  • Flash player installed in wrong folder?

    Ok I have this poker program that uses flash player to run, but the program cant seem to find flash play since in 64 bit windows it is installed in syswow64 file instead of sys32 file. Flash player works fine except with this one program. how can I p

  • Problem with updating Time component of an Oracle Date field in ALBPM

    Hi. I'm new to ALBPM and am experiencing the following problem I hope someone can take the time to help out with. I'm using a Date and Time Picker element in a Form to enter the date and time information. Within ALBPM the date and time representation

  • Error in Notification Tab

    Hi All, In Portal Employees are not receiving the Notifications. When they click on the notification tab its giving some warning message. as shown below. SAP_ECC_Humanresources     SomProviderConnector     Jul 26, 2009 11:48:50 AM      Exception occu

  • Adobe Premiere Pro audio distortion

    Hi, I have Adobe Premiere CS2 and some audio distortion problems. I captured a footage from my Sony DV Digital-8 camcorder. It's a standard DV footage with 16-bit PCM audio. When audio is nearly-peaking (not peaking), it gets distorted in Premiere, b

  • Can we stop the process chain in middle of the process ?

    hi experts,     Can we stop the process chain in middle of the process after scheduled.     my process chain is like  start--->load>psa>ods1-->further updates--->ods2. In this case I have already scheduled but i want to stop the process how can i. Af