Skip to Content
author's profile photo Former Member
Former Member

Issues with Approval Step in Subworkflow WS50000033

Hi Folks,

as this is my very first post to SDN, here is a quick introduction: I've been involved with SAP and ABAP for almost 8 years (prior to that I did PL/1-development) but I'm completely new to Workflow (just had BIT601 two weeks ago). I already spent some time reading and searching through the SDN-Forums/Blogs/Wikis this site provides, but I guess, that I'm suffering from "information overload" - especially as I cannot really place all the provided information. I therefore hope, that I at least managed to place this question in the proper forum!

Now for my current issue:

I'm involved with a project to make use of the Manager Self Service (MSS) functionality provided by SAP. A colleague and I are trying to follow the information provided by SAP in these three documents: "Configuration Guide for the Personnel Change Request (Release 60.1)", "Developing your own personnel change requests (Release 50.1/50.2)" and "Internal Service Request (ISR) cookbook (July 2004)". We are running Netweaver 04, SAP Basis 620, SAP_HR 470.

As a prototype, we've managed to get scenario SPPD for "Change Position (enhanced)" set up in the MyHRManager-section of the portal. We can submit the form for one of the employees we've set up in the development system and we also see (via transaction SWEL) that Standard Workflow WS50000041 is triggered. Subworkflow WS50000033 is triggered as well but we are not able to get its first approval step to work. A "possible agent" is determined and it looks correct, but still, the work-item doesn't get a "responsible agent" assigned.

Checking out the container-elements, I can see that roleID 50000133 is passed into the subworkflow via field APPROVER1_ROLEID. Interestingly enough, standard task TS50000075 is using Rule AC50000134 for the agent-determination and I'm wondering if that could/should work or if this might not be the cause for our issue?

If I use transaction PFAC_DIS to test rule AC50000133, the system is able to determine the agent properly for the test-notification.

Did anybody experience this same or a similar issue when trying to get MSS set up for the first time?

Being new to Workflow and posting to SDN, I'm quite certain that I haven't provided all the necessary information yet. So please let me know if I need to provide more/other details.

Thanks and Cheers

Baerbel

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Nov 27, 2007 at 08:04 AM

    Hi Baerbel,

    First of all welcome to the forum. I must say you provide a lot more information than a lot questions we normally see, which is good.

    Did you try testing rule 50000134 with the same data as in the workflow, maybe even debugging it? You say when you test rule 50000133 it gives back a result, is this also one of the possible agents? If not the task will not be delivered.

    Regards,

    Martin

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi again, Folks!

      We are still having the issue with the <b>HTTP-related</b> errors and don't seem to be able to find the root-cause for them.

      1.

      Work item 000000319008: Object method SWW_WW_EXECUTE_S cannot be executed

      Message no. <b>WL821</b>

      2.

      HTTP handler for starting an external service cannot be read

      Message no.<b> SWK045</b>

      I did find a reference to WL821 in OSS where it says that this is usually a very meaningless message, but I didn't find anything for SWK045. Does anybody have any ideas which configuartion settings we might need to check and possibly modify? Unfortunately, neither my colleague nor myself really know what we need to be on the lookout for, so any information will be helpful.

      Before we can progress with our project, we are fairly certain that we first have to get the SAP-supplied PCRs working - otherwise we'll later never know where any issues are coming from!

      Thanks and Cheers

      Baerbel

  • author's profile photo Former Member
    Former Member
    Posted on Nov 27, 2007 at 11:45 AM

    hi Baerbel,

    Well I can think of followig check-points:

    1. Check if the container element &APPROVERROLEID& has the value 50000133 (being passed by main workflow) or not ?

    2. in the rule both the elements have been marked as mandetory. So check if both Notification and ApproverRoleId are having valid values.

    check if these help u .. or atleast give sm direction.

    regards,

    Anuj Sethi

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Anuj,

      yes, as far as I can tell 50000133, gets passed in from the main to the sub-workflow and the notification number looks correct as well.

      The thing is, that I'm not really sure if I'm looking at the correct container-information (too much information in the workflow-logs to really properly understand yet!).

      This is what I see in the log for the two red "traffic lights" in step 4 "EVALUATE_AGENT_VIA_RULE":

      Agent determination for step '0000000004' failed
      Message no. SWF_RUN519
      
      Diagnosis
      An error occurred when determining users for step 0000000004. This error can be caused by a problem in the resolution of a rule for agent determination. See the additional messages within the workflow log.
      
      System Response
      If no recipients could be determined because the responsible agents determined do not belong to the possible agents of the task, the work item without recipients is set to the status ready.
      
      If an error occurs in the execution of the rule for agent determination and if the corresponding indicator is set, the work item is set to the status error.
      
      Procedure
      Remove the cause of the error and start the workflow again using the administration environment.
      
      Procedure for System Administration
      The following agent determination failed: EXE
      
      EXE Recipient 
      NOT Notification when editing is complete 
      LED Notification of missed latest end 
      LST Notification of missed latest start 
      DED Notification of missed requested end

      and

      Result of agent resolution does not agree with agents of task
      Message no. SWF_RUN544
      
      Diagnosis
      When determining the recipient, the system established that none of the responsible agents determined belong to the possible agents of the task used in this step.
      
      System Response
      The work item is created without recipients and appears in no workflow inbox.
      
      Procedure
      
      Refer to your workflow system administrator.
      
      Procedure for System Administration
      Correct the agent assignment:
      
      Check and if necessary change the assignment of the possible agents for the task used.
      Check and if necessary correct the determination of the agent responsible.
      In the workflow administration, choose Work items without agents and perform the agent determination for this work item again there.

      I looked at transaction SWI2_ADM1 as indicated, but it didn't really provide any addiitonal information.

      And before I forget: it won't do us a lot of good to contact the workflow-administrators as my colleague and I are supposed to fill that role 😉

      Thanks and Cheers

      Baerbel

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.