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

workflow triggering using "Z" object's event

hi ,

i have created an object , have attached an event & two methods.

now i want to use this event as a triggering event of a workflow.

for this i am using SWE_EVENT_CREATE function module in a report program.

but at the time of creation of workflow, it is not showing the event that i have attached to my object.

how do i attach events to workflow for a "Z" object?

how do i check whether an event is attached correctly to an object ??

Any sample code or example would help.

thanks in advance .

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 16, 2005 at 09:41 AM

    Hi Ashish,

    1) Goto Tcode SWEC.

    2) Create a new eventfor change document

    3) on the left, click on the field restrictions

    4) type the table name and the field against which this event has to be triggered.

    This way you can attach an event to a Z Object.

    Hope this helps.

    Cheers,

    Sam

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Ashish,

      1) Change doc object -> Give the Zobject name eg ZBASICPAY etc whic you've created using SWO1.

      2) Object Category -> Choose BOR Object Type

      3) Business Object type -> Give the ZOBJECT Name again

      4) Event -> Give the new event that you've created for the ZObject eg. Changed or Created or posted etc..

      After this choose this row that has been created by you, and dbl clikc on the left on field restrictions.

      It'll show another screen where you can enter Table name -> e.g: MARA, Field Name-> e.g: Matnr, Old Value: * , New Value: *

      5) Save this and now check your workflow.

      Cheers.

      Sam

  • author's profile photo Former Member
    Former Member
    Posted on Aug 16, 2005 at 10:48 AM

    Hi Ashish,

    You need to check if you have activated your object or not. you can go to transaction SWETYPV and link your workflow to object type and event.

    Regards,

    Vin

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 09, 2008 at 05:36 PM

    Hi Ashish,

    Am of the same requirement. I need to build workflow for transaction BP, in that i need to trigger the workflow when the user assigns a credit limit to the customer. Am not able to find any events to trigger the workflow. Can you please guide me to build a workflow.

    I don't have any previous experience in doing this...Please guide me.please help me..

    Thanks

    Ak vee

    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.