Skip to Content
Author's profile photo Former Member

How to use Workflow wizards?

Workflow wizards are one of the very strong tools available in workflow builder.

 

Dialog-oriented user guide that simplifies the definition of workflows in standard situations.There are wizards that just create step sequences within a workflow definition.

These can be found in the Workflow Builder.Wizards that create a new workflow definition are located in the Workflow Wizard Explorer. You can, however, also use these wizards in existing workflow definitions.

In this case, a new workflow definition is not created.For example I want to attach a report in a workflow, workflow wizards will make this very easy and effective.

For it go for the transaction SWDD (Workflow Builder)

Click on Step type that can be inserted and the select Workflow Wizard

 image

 

After that Double Click On Include “Exclude Report” from Others tab.

 

 image

 

 

go for continue

 

image

 

There will be two option for Executing the report in Dialog/ Background Processing chooose what you want(for example i take dilaog).

 

image

 

 

Give the Repot name which is going to be executed. Here i am taking the report Name is ZWORKFLOWTEST.

 

*****For example purpose for SDN

*&———————————————————————*
*& Report  ZWORKFLOWTEST
*&
*&———————————————————————*
*&
*&
*&———————————————————————*

REPORT  ZWORKFLOWTEST.
tables: t001w.
select-options s_werks for t001w-werks.

data i_t001w type table of t001w.

SELECT werks
FROM t001w
INTO TABLE i_t001w
WHERE werks IN s_werks.

*if Success
IF sy-subrc EQ 0.
  write : ‘HI’.
ELSE.
  write : ‘BYE’.
ENDIF.

******End of report

image

 

 

 

Here you will automatically get the select options and parameter.

 image

 

select the execution method

 

image

 

Enter the work Item text.

 

image

 

 

 

Edit the basic data of the task that the new step references

 

image

 

 

With this we are into the last step of this process. press the complete step from the screen.

 

image

 

Now see workflow :

 

image

 

 

In the further step agent assignment is done.In my case i am making it golbal(you can do your own agent setting).

 

image

 

 

image

 

 

Now i will go for testing:

image

 

And u will get the report selection screen.

image

 

image

 

image

 

 

 

We have wizards available for modeling/approval/circular/application/release and some additional other. You can test them and add a flavor in workflow.

Assigned Tags

      7 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member
      Always wanted to learn Workflow...Never needed but I think it's a must -:) Thanks!

      Greetings,

      Blag.

      Author's profile photo Former Member
      Former Member
      hi sunil,

      I have been going through your series of blogs on workflows.

      Its really interesting and good info packed blogs.

      good work..keep it going.

      Best Regards,
      Saujanya

      Author's profile photo surjith kumar
      surjith kumar
      Hello Yaar,

      This is nice one.

      Regards,
      Surjith

      Author's profile photo Former Member
      Former Member
      Thank you for sharing it. Keep going.
      BR.
      Kimi
      Author's profile photo Former Member
      Former Member
      Hi Sunil,
          when i was trying to do the workflow scenario i double clicked on include " execute report/job" in work flow wizard i am getting the message 'Function not permitted on selected node'.  This is the first time i am using the workflow T.codes on my system. could u please let me know wheather i need to do change any settings before working with the workflow T-codes.  Thanks in  advance.

      Thanks & Regards,
      Rao v

      Author's profile photo SeethaRamaiah Bharani
      SeethaRamaiah Bharani
      Hi Rao,

      Keep a cursor on the unidentified STEP and follow as above , I also faced same problem then came to know how to proceed further...

      Regards,
      Bharani

      Author's profile photo Former Member
      Former Member
      it's my first time to wrok with sap workflow,, so after doing what you told me, what next?