Comboboxes in CAF GP Callable Object
Web Dynpro Form Callable Objects make it possible to create forms within Guided Procedures Design Time. By using a Web Dynpro Forms Callable Object, you can create simple screens without using anything other than the Portal.
You should know the Composite Application Framework Guided Procedure Design Time (look at the CAF SDN Launch page to get more information about this -> click on the link above).
1. Open your Enterprise Portal via http://:/irj/portal, navigate to tab Guided Procedures and to tab Design Time.
2. In the left ‘You Can’ section of the screen, choose Create Callable Object to open the Callable Object Design Time.
3. In the first screen select the type Callable Object ‘Web Dynpro Form’. Enter the basic data for the Callable Object:
– Location (Click the Choose button to select the folder for the location)
4. Now you can add and remove form elements. To add an element, click Add. A drop-down list will appear where you can select the type of form element you want to add. To remove an element, click Remove. To remove a single element, first select it by clicking on its radio button on the left.
You can create a combo-box using a simple input field to enter ‘free-text’ and drop-down list to select pre-defined key-value pairs:
5. Create an input field by clicking ‘Add’, and then add Input Field from the drop-down list.
6. Fill the input fields to create a form element of type string . Notes: Read only: Indicates that this input field cannot be changed during runtime. Optional: indicates that the user can decide whether to give a value or not during runtime. When completed, press Create.
7. The form element is now created.
8. Now create a Dropdown Field by clicking on Add, and then Add Dropdown Field in the drop-down list.
9. Fill-in appropriate key-value pairs.
10. To create new entries (value types) for the drop-down press Add Entry.
11. When completed, press Create, to create the form element.
12. As a result you should have a Callable Object from type Web Dynpro Form that contains an input field and a drop-down list with pre-defined key-value pairs. After activating this Callable Object, you can now integrate it into your Guided Procedures process.