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

Workflow Get Event

Hi Guys,

I am new to workflow, and seem to have a problem Get Event Item for My workflow. The process goes thus,

I'm trying to create a workflow for approval of a quotation.

Now I have created the workflow and also created an event in zbus2031 called approvalstatus (note i had already delegated bus2031 to zbus2031).

Now once the release status of the quotation is changed, I call the sap_wapi_create event function module, and it creates the event as expected. Meanwhile i have created a Wait Event in my workflow which has to wait for the the approval status till the approval status changes the then take the workflow to the next workitem.

My Process Flow

a. Quotation is created.

b. Workflow Sends a mail to User1 for approval.

c. User1 changes the status of the quotation

d. Workflow sends a mail to User2.

e. User2 makes final changes and releases it.

From C, when User1 makes the change, My SAP_WAP_EVENT_CREATE is called and it creates the event, but when I check SWI1, its says "WAITING FOR APPROVAL STATUS" whereas when I check SWEL is tells me that event have been created and was received successfully, but nothing happens, i check the graphic its still on the event and havent moved to the next step.

If I then try to edit the document and save, the work item gets executed.

Please Assist.

Thanks.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Nov 19, 2012 at 03:29 PM

    Hi,

    share the screenshot of grphical log, also share wait for event step

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 19, 2012 at 08:32 PM

    Hello,

    First, do you mean "mail" or do you mean "workitem"?

    Second, why not have the workflow change the status of the quotation?

    Check SWEL to see if the event has the object id you expect.

    regards

    Rick Bakker

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 20, 2012 at 12:28 AM

    Hi,

    Are you sure you have your workflow runtime environment correctly configured? The jobs RSWWCOND, etc? You can view this thru transaction SWU3.

    Good luck!

    Sue

    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.