Skip to Content

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.

To report this post you need to login first.

7 Comments

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

  1. Saujanya GN
    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

    (0) 
  2. kumar CKP
    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

    (0) 

Leave a Reply