Skip to Content

How to create and trigger class based workflow – Part 2 continue..

Now Click on Ok.

/wp-content/uploads/2012/03/35_83741.jpg

Click on binding as shown below.

/wp-content/uploads/2012/03/36_83742.jpg

You can see the binding automatically exists with the matching types, since we click on yes in the above step.

/wp-content/uploads/2012/03/37_83743.jpg

Now we can see the Required Mapping. Click on Ok.

Now Click on Transfer Button.

/wp-content/uploads/2012/03/38_83747.jpg

Step 4: Creating Send Mail Step

  Now we can see the Created Task. Click on Create as shown below to create the Mail Step.

/wp-content/uploads/2012/03/39_83750.jpg

Select Send Mail Step and Click on Ok as shown below.

/wp-content/uploads/2012/03/40_83748.jpg

Enter Subject and Click on insert expression to insert Value as shown below.

/wp-content/uploads/2012/03/41_83749.png

Select EMP_ID (which holds Employee ID) and click on Ok.

/wp-content/uploads/2012/03/42_83751.jpg

Enter the Body of Mail and click on insert expression under body to insert Value.

/wp-content/uploads/2012/03/43_83752.jpg

Now Click on transfer button.

/wp-content/uploads/2012/03/44_83753.jpg

Enter abbreviation and Name and click on Ok.

/wp-content/uploads/2012/03/45_83754.jpg

Now the Work Flow looks like this.

/wp-content/uploads/2012/03/46_83755.jpg

Triggering Workflow from Web Dynpro ABAP

Step 1: Create a Web Dynpro Component.

        Go to the SE80 transaction and create a web dynpro component.

/wp-content/uploads/2012/03/47_83756.jpg

Click on Yes to create.

/wp-content/uploads/2012/03/48_83757.jpg

Enter Description and click on ok.

/wp-content/uploads/2012/03/49_83758.jpg

Save and Activate the Web Dynpro component.

Now double click on MAIN View and go to Context tab of MAIN view. Create node EMPLOYEE with cardinality 1..1 and create an attribute EMP_ID.

/wp-content/uploads/2012/03/50_83759.jpg

Step 2: Layout Design.

   Now Go to Layout tab:

  1. Create label with text ‘Employee ID ‘   and
  2. Create an input field EMP_ID and bind it to EMP_ID of EMPLOYEE node.

/wp-content/uploads/2012/03/51_83760.jpg

  3. Create a button with text “Register” and create an Action for the button.

4. Create a Message Area to Display message.

/wp-content/uploads/2012/03/52_83761.jpg

Enter Action Name and description and click on Ok.

/wp-content/uploads/2012/03/53_83762.jpg

Continuing the remaining in the last part How to create and trigger class based workflow – part 4 ( as the max. no.of images reached )..

To report this post you need to login first.

7 Comments

You must be Logged on to comment or reply to a post.

  1. SAYAN SUBHRA JANA

    Hi,

    firstly thanks for sharing 🙂 but i am stuck a bit. please help me out

    while creating the task to get the employee name it is asking to enter a terminating event.

    what should we enter?

    (0) 
    1. Kiran Kumar Valluru Post author

      Hi Sayan,

      Select the checkbox ‘Synchrounous Object method’ . For Asynchronous method you need to maintain the terminating Events. Please check the updated version of Part 2 Document.

      Thank You.

      Best Regards,

      Kiran.

      (0) 

Leave a Reply