You use this procedure to execute an executable model class using code snippets in Web Dynpro.
You have imported the appropriate Model of the type that has been used in an application.
For more information, see Importing Adaptive Web Service Models
For more information, see Importing Adaptive Remote Function Call (RFC 2 ) Models
For more information, see Importing Enterprise JavaBean (EJB) Models
In the Web Dynpro perspective, choose
Show ViewsSnippets.In the Web Dynpro Explorer, select the required view.
Choose
using the right mouse button.Drag Execute Model snippet and drop it in the suitable user code area of the Java editor.
Choose Yes in the confirmation dialog box.
In the Insert Snippet: Execute Model dialog box, select Execute a particular model.
Select the required executable model class and choose Insert.
System inserts the code to execute the executable model class from a model.