Skip to Content
avatar image
Former Member

HOW TO GET WORKITEM-ID

HI

we are using process controlled workflow , in single step approval process ,srm 7.0 version , we have to find the workitem id for the shopping cart , it is just being created , based on workitem id i need to find the approver name . please help me is there any function module to get approver?

Thanks in advance.

Regards

kamakshi.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 24, 2011 at 09:32 AM

    Hi

    First of all work item will be created only when the event gets triggered, in this case S/C Created event. Without creation of shopping cart, i hope we cannot get the work item id. However, you can get the work item id if you keep the s/c status as held.

    Or

    What is your logic to determine the agent (approver) ? If you want to have the approver name itself before creation of shopping cart, you can get it through relevant function module according to your logic currently in place. YOu can view those details under Approval Preview tab of shopping cart also.

    Thanks

    Rajesh K

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      Here my requirement is we are using process controlled workflow , in which we are having single step approval process .We have set the approver in SPRO under RR_EMPLOYEE ,

      To display the approver name before SC is created through approval preview then you dont need to develop any FM. This is standard.

      now we need to develop a custom FM , which retrieves this approver name or BP number .

      We need to show this approver name even before any SC is created . Where do you want to show?

      where do you want to use FM?

      Saravanan