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

if the workflow doesnot have any event to trigger it in the basic data section how to find out how does it get triggered?

Hi guys,

If i am given with a wf without any event in its basic data than how am i suppose to find out how is it getting triggered please help.

Regards,

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 25, 2013 at 04:47 AM

    If i want to find the source of trigger than by using where used list on above FMs will give lot of unnecessary hits, is there any easy way to pin point the source...................... nyway thanks for your suggestion😳

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      But did you actually try it? I thought you would be able to narrow down the hit list pretty quickly - especially if it's a custom workflow / custom Z program.

      If not, your other option is to use the code inspector (transaction SCI) to search for your workflow template id (eg WS90000010).

      cheers

      Paul

  • Posted on Feb 25, 2013 at 12:27 AM

    Hi,

    If you can't find any triggering events, the it's possible that the workflow is started directly from a program (yuk), or perhaps from a form.

    Try doing a where-used search on the function modules SAP_WAPI_START_WORKFLOW, SWU_START_WORKFLOW, SWW_WI_START and so on.

    cheers

    Paul

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 25, 2013 at 11:13 PM

    You can set a break-point in the function modules Paul mentioned above. Then, perform the action that starts the workflow and see whether either one of those function modules is called. you should also turn the event trace on just in case there was an event that you didn't know about.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 26, 2013 at 08:27 AM

    HI,

    You can start debugging with putting the breakpoint at the following FMs suggested by Paul from new debugger from menu.

    BREAKPOINTS -> BREAKPOINT AT -> BREAKPOINT AT FUNCTION MODULE

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 06, 2013 at 12:10 PM

    thanks guys .........issue is solved

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 07, 2013 at 06:41 AM

    i got the solution in hit& trial so once i get the proper solution that is sharable will post it.....................

    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.