Using Resources to distribute the load 
Resources are a way of restricting jobs to run on process servers that have certain facilities available. Job definitions can optionally require a resource, when they have, they are forced to run on a process server that offers that resource. Such job definitions will only run on a process server that provides that resource. Process servers may provide one or more resources.
Resources are part of the Definitions section in the navigation bar. There are no standard resources provided with SAP CPS
Resources support the basic actions of New, Edit, Delete, and Refresh.
Resources support the following actions:
Action |
Description |
Export |
Export the resource into a CAR file |
Edit |
Edit the resource |
Edit Security |
Edit the security of the resource |
Delete |
Delete the resource |
Duplicate |
Make a copy of the resource to create a similar one |
Expand All |
Expand all resources in the current filter |
New |
Create a new resource |
Filter > New Filter |
Create a new resource filter |
Filter > Edit Filter |
Edit current resource filter |
Filter > Delete |
Delete current resource filter |
You can search for resources using filters and the Search Resources box on the Resources tab. This box is known as the intelliSearch box and located under your username on the top right-hand side of the user interface. Filters allow you to specify a list of objects with static criteria. IntelliSearch allows you to specify complex queries in a simple way using prefixes. Prefixes are used to specify which property you are searching in and have short and long syntaxes. For example, if you want to display all resources with the term production in the comment, you would use the search criteria as follows:
c:production
You can search more than one property, as follows:
c:production n:Bi
Note
No spaces should be entered before or after the colon (:).
See the Advanced Object Search for more information.
The following table illustrates the available prefixes for resources:
Prefixes |
Description |
n, name |
searches the name property |
c, com, comment |
searches the comment property |
d, desc, description |
searches the description property |
a, app, application |
searches the application property |
You can only delete resources when no other objects relate to them. For example, if there are still jobs or job definitions that reference the resource, the resource cannot be deleted until all references have been deleted. You can see all references to the resource in Related Objects in the lower detail pane and on the show page. Resources used by process servers are shown in the Process Server Resources table.
The table in related objects contains three columns:
Type - the type of object, like Job Definition for a job definition with a link to it
Related Object - the name of the object with a link to it
Used As - objects can sometimes be used as different object types
For example, resources that are used in job job definitions, will have the call-reference in Related Objects. The type will be Job Definition, for examnple and the Related Object will be the name of the job definition.
Note
When a job definition is displayed with a timestamp in the name, this indicates that there still is a job that refers to the resource. You might have changed the job definition, but as long as that job is in the system you will not be able to delete the resource.
Privilege |
Description |
Resource.Create |
Create resources |
Resource.Delete |
Delete resources |
Resource.Edit |
Edit resources |
Resource.View |
Access resources |
You can grant privileges on two levels, Access and Admin; a privilege granted on Admin level allows the grantee to grant the privilege to other users. These privileges can be granted system-wide, per partition or isolation group.
If you have the security module, which requires the Module.Security license key, you have an additional Security tab on the resource. It allows you to specify which users can access, edit, and delete the resource.
Choose .
Choose Refresh to see all existing resources.
Choose New to create a resource.
Fill in the details, refer to the section below.
Choose Save and Close to save the resource.
Name - The name of the resource.
Application - The name of the application used to group this object.
Description - An optional description of the resource.
Comment - An optional comment about the resource.
Resource Providers
Process Server - The name of the process server that will provide the resource.
Choose in the Navigation bar.
Choose New from the context menu and fill in the values below.
Choose the Resource Providers tab.
Choose the New button and select a process server that will provide this resource.
Choose Save and Close to save the new resource.
Name: PRINTER
Description: Printer resource
Comment: Process servers that provide this resource have a printer available.