Show TOC Start of Content Area

Procedure documentation Creating a Data Input Form  Locate the document in its SAP Library structure

Use

For the purposes of this tutorial, you create a Data Input Form for entering the user data, which is used in the next step of the process. The input form must contain at least one field for the User ID.

As a basis for the input form, you can use one of the Web Dynpro components available in Guided Procedures (GP). You need to expose it as a callable object, and then attach it to an action.

Procedure

1. Create the Callable Object

...

       1.      Launch GP design time and create a folder named Exception Handling to hold all GP development objects for this project.

       2.      Choose Create Callable Object from the contextual panel.

       3.      Enter the following data:

¡        Type – select Form Data Input Form

¡        Name – enter User ID Input Form

¡        Description – enter a brief description of the callable object; for example, User ID Input Form

¡        Original Language – choose English

¡        Location – choose the Exception Handling folder

       4.      Choose Next.

Choose Insert New to enter an output parameter for the form. For example, add User ID of type String. Its value is required.

       5.      Choose Next and then Finish and Open.

The design time for the callable object opens.

       6.      Choose This graphic is explained in the accompanying text (Activate).

2. Create the Action

...

       1.      Open the gallery and choose Create Action from the contextual panel.

       2.      From the Original Language dropdown box, select English and choose Create.

       3.      Enter the following data:

¡        Name – enter User ID Input Form

¡        Description – enter a brief description of the action; for example, User ID Input Form

¡        Folder – select the Exception Handling folder

       4.      Make sure that Callable Object for Execution is selected from the Item dropdown list, and choose This graphic is explained in the accompanying text (Insert).

       5.      Browse to select User ID Input Form.

To confirm, choose Select.

       6.      Choose This graphic is explained in the accompanying text (Activate).

Result

You have implemented the action that represents the first step in the process. Your next step is to create an action that handles the exception, defined by the User Details callable object.

More information: Creating an Action to Handle the Exception

End of Content Area