Show TOC Start of Content Area

Procedure documentation Creating Web Dynpro Form Callable Objects  Locate the document in its SAP Library structure

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

...

       1.      Open the gallery and choose Create Callable Object from the contextual panel.

       2.      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.

Note

You can either use an existing folder, or create a new one.

       3.      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

                            a.      Choose Add  Add Inputfield.

                            b.      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.

                            c.      Choose Create.

Button

...

                            a.      Choose Add  Add Button.

                            b.      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.

                            c.      Choose Create.

Dropdown List

...

                            a.      Choose Add Add Dropdown field.

                            b.      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

                            c.      To create a list entry, choose Add Entry and type the key and the value directly in the selected row of the table.

                            d.      Choose Create.

Checkbox Group

...

                            a.      Choose Add  Add Checkbox group.

                            b.      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

                            c.      To create a checkbox entry, choose Add Entry and type the identifier and the label directly in the selected row of the table.

                            d.      Choose Create.

                            e.      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

...

                            a.      Choose Add  Add Checkbox group.

                            b.      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.

                            c.      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.

                            d.      Choose Create.

A table with a single column is created.

                            e.      To create an additional table column, select the table and choose Add  Add Table Column.

       4.      Choose Next and then Finish and Open.

The design time of the callable object opens.

       5.      Switch to edit mode using This graphic is explained in the accompanying text (Edit) and choose This graphic is explained in the accompanying text (Activate).

 

End of Content Area