Wizard creation in SAP

By Venkatraman.N, SAP Labs

Pre-requisites:

The readers must have the knowledge on basic ABAP programming.  

Purpose of this tutorial:

This tutorial demonstrates how to create a wizard to do a step by step job in SAP.

Introduction:

Wizard is a tool that guides a user to do a certain task in SAP step by step. The real time example of a wizard is the one, which guides us while installing any software in our systems. The following function modules play vital role in wizard customization.  

ü  SWF_WIZARD_CALL

ü  SWF_WIZARD_DIALOG_DATA_GET

ü  SWF_WIZARD_DIALOG_DATA_SET

ü  SWF_WIZARD_DIALOG_MODIFY

ü  SWF_WIZARD_DIALOG_OKCODE_GET

ü  SWF_WIZARD_DIALOG_OKCODE_SET

ü  SWF_WIZARD_DIALOG_REFRESH

ü  SWF_WIZARD_PROCESS

ü  SWF_WIZARD_PROCESS_INTERNAL

ü  SWF_WIZARD_PROCESS_MODIFY

ü  SWF_WIZARD_PROCESS_READ  

Have a look the following flow chart, for which we are going to build in wizard.

 

Step 1 : Create a program with three screens:  

 

First screen to get two numbers as input with two radio buttons of arithmetic operations(Add/Subtract).

 

Second screen to show the addition result.

 

Third screen to show the subtraction result.

 

All these screens should be “subscreens”. So that they can be placed in wizard.  

Step 2 : Wizard title and description creation:  

To have wizard title and description in every screen of wizard, we need to create document text object. Go to transaction SE61 and create a dialog text object.

 

Create the title with a brief description, save and activate.  

Click here to continue...

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image