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

Error "Approval workflow fragment has no user assignment"

Hi,

I am implementing SRM Server 5.50 (SP08) - Self Service Procurement - Extended Classic scenario.

I am using 'N' step PO approval workflow WS14000145. When I try to add approver, I am getting Error Msg "Approval workflow fragment has no user assignment".

I have already done following user assignment.

WS14000145 - General Task

TS14008026 - General Task

Can somebody suggest solution to this problem

Regards,

Milind

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 01, 2007 at 09:15 PM

    Hi

    <u>It comes from OSS Note -></u>

    <b>Note 983128 - Approval WF Fragment Has No User Assignment</b>

    <b>In BADI BBP_CHNG_AGNT_GET we were setting the agent assignment to 'X' instead of 'G' (general task).</b>

    <b>Also, Try this. Assign agent for task TS10008126. Don't forget to generate it.</b>

    If all your task are classified as general, this is a bug in a FM (SRM5, SP4). No idea if a note exist for this but check source of function BBP_PDH_WFL_APP_ASSIGNTYPE_GET, the task type (WF, TS) is hard coded, you may want to change it )

    FUNCTION bbp_pdh_wfl_app_assigntype_get.
    *"----------------------------------------------------------------------
    *"*"Lokale Schnittstelle:
    *" IMPORTING
    *" VALUE(IV_TASK) TYPE SWD_STEP_T OPTIONAL
    *" EXPORTING
    *" VALUE(EV_ASSIGNMENT) TYPE CHAR1
    *" TABLES
    *" ET_POSSIBLE_AGENTS STRUCTURE SWHACTOR OPTIONAL
    *"----------------------------------------------------------------------
    
    DATA:
    lv_general_task LIKE p1217-general,
    lt_related_agents TYPE swhactor OCCURS 0 WITH HEADER LINE,
    lv_task TYPE swd_step_t.
    *{ INSERT DE2K901025 1
    *PVA correction
    data: lv_otype type OTYPE.
    lv_otype = iv_task(2).
    *} INSERT
    
    lv_task = iv_task+2.
    
    * evaluate the agent assignment of the whole workflow fragment
    CALL FUNCTION 'RH_TASK_AGENTS_INDEX'
    EXPORTING
    *{ REPLACE DE2K901025 2
    * task_otype = 'WS'
    *PVA correction
    task_otype = lv_otype
    *} REPLACE
    task_objid = lv_task "workflow fragment
    IMPORTING
    act_general = lv_general_task
    TABLES
    related_agents = et_possible_agents
    EXCEPTIONS
    no_active_plvar = 1
    no_agents_of_task_found = 2
    no_task_otype = 3
    OTHERS = 4.

    <u><b>See related link -></b>

    after-add-approver-by-approver-preview

    agent-assignment-does-not-exist

    unable-to-change-shopping-cart-approvers---workflo

    srm-50-approval-wf-fragment-has-no-user-assignment</u>

    <i>If this does not help in your case, report the problem to SAP by creating a new customer OSS message.</i>

    Do let me know.

    Regards

    - Atul

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 02, 2007 at 02:07 AM

    Atul,

    I am not clear about solution suggested by you.

    Note 983128 is not applicable for me as my system is already at SP08.

    All links given by you are about Shopping Cart Workflow where as I am working on PO Approval workflow WS14000145.

    Please elaborate what exactly I need to do.

    Regards,

    Milind

    Add a comment
    10|10000 characters needed characters exceeded

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.