Creating Web Dynpro Form Callable Objects
Use
You can create a Web Dynpro-based form as a callable object in Guided Procedures (GP). You can define the form's fields and elements using the GP design time.
Procedure
- Open the gallery and choose Create Callable Object from the contextual panel.
- From the Type list, select Form → Web Dynpro Form and enter the required basic data as follows:
Parameter Description Name
Select a name that is used to distinguish the object in the gallery.
Description
Describe the callable object by entering a brief description of its functions, for example.
Original Language
Choose the language in which the translatable texts of the callable object definition are being created.
Folder
Select a folder in the gallery where the callable object definition is stored.
- Choose Next to open the Define Object screen.
You can design the form by adding different components to it. To add a component, choose Add and select the required type from the dropdown list. The following table describes the component types that you can add.
UI Component Procedure Input field
- Choose Add → Add Inputfield.
- Specify the following parameters:
- Inputfield ID - you can overwrite the default; the identifier must be unique
- Inputfield Label - enter a name that describes the field's purpose
- Read only - enable this option if the field is to be used for displaying data
- Optional - enable this option if filling in the field is not mandatory
- Type - choose either String or Date.
- Choose Create.
Button
- Choose Add → Add Button.
- Specify the following parameters:
- Button ID - you can overwrite the default; the identifier must be unique
- Button Label - enter a name that describes the button's purpose; for example, Submit.
- Choose Create.
Dropdown List
- Choose Add → Add Dropdown field.
- Specify the following parameters:
- Dropdown ID - you can overwrite the default; the identifier must be unique
- Dropdown Label - enter a name that describes the list's purpose.
- Read only - enable this option if the field is to be used for displaying data
- Language Dependent - enable this option to make the list localizable
- Optional - enable this option if filling in the field is not mandatory
- To create a list entry, choose Add Entry and type the key and the value directly in the selected row of the table.
- Choose Create.
Checkbox Group
- Choose Add → Add Checkbox group.
- Specify the following parameters:
- Checkbox Group ID - you can overwrite the default; the identifier must be unique
- Checkbox Group Label - enter a name that describes the group's purpose.
- Read only - enable this option if the field is to be used for displaying data
- To create a checkbox entry, choose Add Entry and type the identifier and the label directly in the selected row of the table.
- Choose Create.
- To create an additional checkbox entry, select the group and choose Add → Add Checkbox.
Radiobutton Group
The procedure is similar to the one described for checkbox groups (see above).
Table
- Choose Add → Add Checkbox group.
- Specify the following parameters:
- Table ID - you can overwrite the default; the identifier must be unique
- Table Label - enter a name that describes the group's purpose.
- Visible Rows - from the dropdown list select the number of rows that are displayed.
- To create a table row, choose Add Entry and type the required data directly in the selected row. You must enter a row identifier and label.
Choose either String or Data for the type, and enable the read-only option if the field is to be used for displaying data.
- Choose Create.
A table with a single column is created.
- To create an additional table column, select the table and choose Add → Add Table Column.
- Choose Next and then Finish and Open.
The design time of the callable object opens.
- Switch to edit mode using
(Edit) and choose
(Activate).