Skip to Content
avatar image
Former Member

How to trigger workflow starting from Webdynpro

Hi all,

DO any one knows how to trigger workflow starting through webdynpro application. Please reply.

Thank you


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Apr 30, 2007 at 12:22 PM

    Hi Maruti,

    To trigger a workflow please Follow these steps,

    • Create a Adaptive RFC model for "SWE_EVENT_CREATE" and "BAPI_TRANSACTION_COMMIT".

    • Pass the values to Key, Object Type, Event Id.



    <b>Ramganesan K</b>

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 11, 2006 at 08:31 AM

    It is very general question. Probably, if you following MVC methodology, you model is in JavaBeans, and workflow in WebDynpro Controller (eq. MyController). You want start workflow clicking on some button in View (calling function eq. startWorkFlow() in Controller).

    If is that correct, View must have Data Link (in Diagram View) and on ButtonÂ’s event onAction put

    wdThis.wdGet<controller name>Controller().<function name>();

    or like upper


    Add comment
    10|10000 characters needed characters exceeded

    • Sharadha K Sathish Kumar Murugesh

      Hi sukumar,

      If you want to trigger a workflow when an event occurs, you have to add that event in the 'Triggering events' tab when you define the workflow.



  • avatar image
    Former Member
    Jun 08, 2006 at 10:03 AM


    I don't think the others understand your question correctly as they are just describing how to create and then raise events in Web Dynpro - not how to call Workflow...

    Are you trying to call SAP workflow on an R3 system?

    I don't know anything about SAP workflow unfortunately but one option may be to use standard SAP RFC modules if they exist for triggering your workflow events, or even writing custom RFC modules to do this.

    If this is the case have a look at the BAPI/RFC Web Dynpro tutorials on SDN for creating an adaptive RFC model.

    Hope this helps,


    Add comment
    10|10000 characters needed characters exceeded