Show TOC Start of Content Area

Procedure documentation Exposing WD4VC Applications as Callable Objects  Locate the document in its SAP Library structure

Use

You can expose Web Dynpro for Visual Composer (WD4VC) applications as callable objects in the Guided Procedures (GP) design time.

The WD4VC application is a composite view created in Visual Composer and deployed as a Web Dynpro development component, which can be exposed as a callable object and attached to an action in a process flow.

Prerequisites

·        You have the appropriate rights to work with Guided Procedures (GP) design time.

For more information, see Setting Up Portal Roles.

·        You have created a composite view in Visual Composer and you have compiled and deployed it as a Web Dynpro component.

For more information, see Modeling Composite Views with Visual Composer.

 Procedure

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

       2.      From the Type list, select User Interface   WD4VC Application and enter the required basic data as follows:

Parameter

Description

Name

Enter a name for the new object.

Description

Provide a short and meaningful description.

Original Language

Choose the language in which the translatable texts of the callable object definition are created.

Folder

Select a destination folder in the gallery.

Note

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

       3.      Choose Next.

       4.      On the Define Object screen, select a development component.

Note

In the list, you can see the name of the component and the corresponding WD4VC application name.

       5.      From the Rendering Client dropdown box, select one of the following:

       Web Dynpro HTML

       Web Dynpro Flex

       6.      On the Define Input screen, you can view all input parameters defined previously for the component. You cannot add more input parameters but you can reorder the existing ones.

Note

WD4VC applications support clustered data sets of parameters. Sets can be seamlessly transferred between components, for example between a Visual Composer component and GP process, thereby keeping the cluster structure intact.

For more information, see Modeling Composite Views for Use in Guided Procedures.

       7.      On the Define Output screen, you can view all output parameters defined previously for the component. You cannot add more output parameters but you can reorder the existing ones.

       8.      Choose Next to continue and Finish and Open to open the design time of the object.

       9.      You can now test and activate the callable object.

Note

On the Test tab page, you can only test WD4VC callable objects for which you have selected Web Dynpro HTML rendering. Flex-rendered callable objects must be included in a process to be tested.

Result

Once you have activated the callable object, you can insert it in an action.

If you have defined result states for the composite view, you should be able to see them in the action design time.

End of Content Area