You can test the services you created in SAP NetWeaver Developer Studio with the Service Browser. The applications hierarchy is the same as in the Composite Application Explorer of the SAP NetWeaver Developer Studio.
To change the prefix for the names of the tables generated for each business object node, navigate to Preferences → CAF and enter a value in the Default table name prefix (only capital Latin letters allowed)field.
· You have generated, built, and deployed your application on the Application Server Java (AS Java).
· The user you are logging to the system is assigned the SAP_CAF_DEVELOPER UME role.
· You have opened the Service Browser. To access the testing tool, go to: http://<host>:<port>/caf and choose Service Browser.
· You have chosen one of the option from the DataSource dropdown box: MMR(obsolete) or Metadata Repository. If your project is created with a previous version of CAF, it is listed under the MMR(obsolete) DataSource. If the project is created with the current version of CAF, it is listed under Metadata RepositoryDataSource.
...
1. Navigate to the application and the business object node you want to create an instance of.
2. To create a new instance of the business object, choose New.
3. Enter the details for the instance and save your changes.
4. Optional: To add associations to other business object instances, proceed as follows:
a. Navigate to the business object node
b. Choose the association from the Association Name dropdown box
c. Choose Add Association and enter the key of the business object node instance you want to add as association.
Note that when you have created a PARENT-CHILD association, the deletion of the parent deletes the instance of the child business object node. The type of the association is defined at design time.
...
1. Navigate to your composite application and the application service operation you want to test.
2. Click the node of the operation and, under Details, enter the input parameters.
You can use the following buttons for easier navigation when you test operations:
§ To add an input parameter that is a part of a collection, choose .
■ To remove an element from the collection, choose .
■ To display a table with the parameters you have entered, choose .
■ To add optional attributes to an input parameter of a complex data type, choose . To remove them, choose .
3. Choose Execute Operation.
...
1. Navigate to the business object node in the tree.
2. Expand the node with its operations, enter the parameters of the query, and choose Execute FindBy Operation.
3. (Optional) To create an association to another business object nodes at runtime, select the business object node from the tree and choose Add Association.