8 Replies Latest reply: May 20, 2012 6:34 PM by Suresh Subramanian RSS

Workitem not coming in SAP Business work place in PO release strategy.

Tushar Das
Currently Being Moderated

Dear Friends,

 

When a PO is created my workflow is triggered (BUS2012/RELEASESTEPCREATED) but the release strategy workitem is not coming is not SAP Business work place. I'M GETTING THE BELOW ATTACHED ERROR, PLEASE SEE THE ATTACHED SCREEN SHOT.

 

I have checked and re-checked and my bindings are correct. PLEASE TELL ME IF I HAVE MISSED SOMETHING.

 

Please advice how to solve it.

 

Regards,

Tushar.

  • Re: Workitem not coming in SAP Business work place in PO release strategy.
    Pavan Bhamidipati
    Currently Being Moderated

    Hi,

     

    May be the below things should be check list to resolve the error

     

    1. Make sure You have done all the necessary bindings

    2. Make sure you have refreshed the buffer by using SWU_OBUF

    3. Make sure you try to check the consistency of the workflow from SWUD transaction and try to refresh the org environment.

     

     

    Regards

    Pavan

    • Re: Workitem not coming in SAP Business work place in PO release strategy.
      Tushar Das
      Currently Being Moderated

      Dear Pavan,

       

      After doing some research, I found out that my AC rule is not assigning any agent. I did a simulation in PFAC it is working fine. I declared a container wi_actua_agent type wsyst-agent and moving the agent exported from my AC Rule. I dont see ay container _wi_actual_agent in workflow container but I see one in the task container (as export only). I have copied BUS2012 and using SINGLERELEASE for the release strategy. In my step I'm using AC rule to assign an agent. I know my rule is working because in the rule I have written a code to send an email and I'm getting the email in SOST. But some how the AGENT form the AC Rule is not applying to the step.

       

      Any advices?

       

      Regards,

      Tushar.

      • Re: Workitem not coming in SAP Business work place in PO release strategy.
        Pavan Bhamidipati
        Currently Being Moderated

        Hi,

         

        I declared a container wi_actua_agent type wsyst-agent and moving the agent exported from my AC Rule.

         

        You do not have to export any thing to the workflow container from rule you cannot export anything from rule container to workflow container  and even system also will not allow you to export anything other than ACTOR_TAB.

         

        1. Check the actor tab and what is the object ID and object type are getting assigned the valid OBJECT types are 'US' User O - Organization P -Personnel Number S - Position C - JOB so if the object ID is not a valid object the workflow doesn't understand to whom the workitem needs to be sent

         

        Also check the object ID what ever you are passing is valid on the current date... and available in the org. structure or at least it should be a valid user ID.

         

        In my step I'm using AC rule to assign an agent. I know my rule is working because in the rule I have written a code to send an email and I'm getting the email in SOST.

        This should never be done in the rule the main purpose of the rule is to just determine the agents and assign it to the workflow. Do not include any extra functionality in the rule apart from deriving the approvers.

         

        Regards

        Pavan

         

        Message was edited by: Pavan Bhamidipati

      • Re: Workitem not coming in SAP Business work place in PO release strategy.
        Rick Bakker
        Currently Being Moderated

        Hello,

         

        How did you implement the rule, with a function module?

        Before you remove the email, use it to send you the input to the fm so you can check if that part is working correctly.

         

        regards

        Rick Bakker / hanabi technology

      • Re: Workitem not coming in SAP Business work place in PO release strategy.
        Anjan Paul
        Currently Being Moderated

        Share the code of the rule function module

  • Re: Workitem not coming in SAP Business work place in PO release strategy.
    Anjan Paul
    Currently Being Moderated

    Hi,

    Did you use any Check funtion module. If yes there may be some condition fail. For that reason workflow may not created.

  • Workitem not coming in SAP Business work place in PO release strategy.
    Tushar Das
    Currently Being Moderated

    Dear Anjan,

     

      Since I had copied the BUS2012 into my workflow, The single release method in the task was considering the default agent rule instead of my AGENT AC rule. Once I removed the default rule and used my Agent rule instead everything is working as expected except one issue.

     

    When I process the work item in the SBWP, it is not going to ME35K, it gives some administrator related error. I have configured BUS2105 for PR release and it works as expected, Processing the workitem for PR release takes me to the PR release screen. Do you have any idea why it is not working in the case of PO and CONTRACT release. Since the work items are not getting processed, my workflow step in SWI2_FREQ says 'IN PROCESS" though I have released the PO/CONTRACT completely. Do u have any hints how to end the workflow "IN PROCESS".

     

    i was thinking to use BUS2012 RELEASED event to terminate the task in BUS2012 RELEASESTEPCREATED by using the RELEASED EVENT in the TERMINATING EVENT tab of the TASK in RELEASESTEPCREATED EVENT.

    Basically, use RELEASED event to terminate RELEASESTEPCREATED , since after the RELEASE too my workflow step is in "IN PROCESS" state.

     

    Any advices?

     

    Regards,

    Tushar.

Actions