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

FM to raed all work item id against a work flow initiator

Hi experts

I want to read all the work item id's generated at runtime for a user (who had triggred that work flow ). I need all the work itemid's which are completed to . For that I want a Function module which takes user id , from date , end date and gives me all work item id against that user id between this given period .

Thanks in advance

Abhay

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Dec 22, 2008 at 07:04 AM

    Hi Abhay,

    You can query database table SWWWIHEAD to get all the workitems for a user.

    Also funtion module RH_MULTIPLE_OBJ_WI_SELECT should help you.

    Hope this answers your query.

    Regards,

    Saumya

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 22, 2008 at 06:46 AM

    Hi,

    You can use FM RH_MULTIPLE_OBJ_WI_SELECT

    Import:

    Act_otype: US

    Act_objid: userid

    Search_wegid: WS_TASKS

    Search_date: ...

    Regards,

    Ronit.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 22, 2008 at 07:29 AM

    Hi Ronit

    Thanks for reply . but this FM only work item id's which are not completed.

    I want to read all the work item id for the given period .

    Thanks

    Abhay

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 22, 2008 at 07:31 AM

    Hi Saumya

    Thanks a lot for the table name. Seems like it should solve my problem .

    Abhay

    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.