Defining Actions for the Web Dynpro
Project
As with the actions that you created for the permissions checked in the EJB methods, you also have to create actions that apply to the permissions checked in the Web Dynpro client. For this tutorial, you will include these actions in the actions.xml file that you created for the J2EE application. However, depending on the scope and structure of your application, you can create a separate actions.xml file to be used by the Web Dynpro client application.
|
|
The Web Dynpro perspective is displayed in the SAP NetWeaver Developer Studio. |
|
|
The Web Dynpro car rental project, TutWD_CarRental, is displayed in the Navigator. |
...
1. Return to the Navigator.
2. Expand your development component project and open the actions.xml file that you created in the last part of the tutorial (in the src directory).
3. Choose the Source tab page from the multi-page editor.
4. Enter the XML tags for the action to access the Web Dynpro car rental application as follows:
... |
5. Save the data.
6. Rebuild and redeploy the actions archive.
a. Open the context menu for the project and choose Development Component → Build.
b. In the dialog that follows, select your actions and choose OK.
The actions archive is built.
c. Expand the gen → default → deploy subfolder.
d. Select the SDA file, open the context menu and choose Deploy.
The changed actions are deployed to the AS Java.
Modifying the UME Roles and User Assignments