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

Business Object Type and Events

Hi all,

for my new workflow i've created a new Business Object Type named ZmyObject. In my Workflow i've a 'Wait for event' task which waiting a event of my ZmyObject object.

When i use the transaction SWUE for create a new event it's work fine, but the finality is to generate an event starting from a ABAP function module by using the SWF_CREATE_EVENT function but by doing that doesn't work, no event was generated. Did i forget something ?

Regards,

Eric

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 20, 2005 at 09:48 AM

    Hi Eric,

    I guess you have checked the object type linkage is active (transaction SWETYPV)?

    Furthermore you check the event queue (SWEQADM) to find any errors.

    Regards,

    John.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 24, 2005 at 09:46 PM

    You must issue a commit work after calling the function 'SWE_EVENT_CREATE'.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 27, 2005 at 08:41 AM

    Also - much easier to use WAPI SAP_WAPI_CREATE_EVENT than SWF_CREATE_EVENT. You will still need a commit work after the FM call, however.

    Hope that helps.

    Abby 😊

    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.