BPMSetSAPServerProperties command
Traditional:
Use the BPMSetSAPServerProperties command
to set the connection information to an SAP server for a specific
snapshot.
The BPMSetSAPServerProperties command is run using the AdminTask object of the wsadmin scripting client. The variables that are updated by this command must already exist.
Prerequisites
- Run the command in the connected mode; that is,
do not use the wsadmin
-conntype noneoption. - In a network deployment environment, an application cluster member runs the Workflow Server and Workflow Center applications. Therefore, you must run this command on the node that contains that application cluster member. Do not run the command from the deployment manager profile.
Location
Start the wsadmin scripting client from the install_root/bin directory.
Syntax
BPMSetSAPServerProperties
-containerAcronym process_application_acronym
-containerSnapshotAcronym process_application_snapshot_acronym
-serverName server_name
[-systemName systemname]
[-location location]
[-client client]
[-httpPort httpport_number]
[-httpsPort httpsport_number]
Parameters
- -containerAcronym process_application_acronym
- A required parameter that identifies the process application acronym. For example, the BillingDispute process application might have an acronym of BILLDISP.
- -containerSnapshotAcronym process_application_snapshot_acronym
- A required parameter that identifies the process application snapshot
acronym. Note: Use the BPMShowProcessApplication command to obtain process application information, including the snapshot acronym.
- -serverName server_name
- A required parameter that identifies the server to be updated.
- -systemName String
- An optional parameter that identifies the SAP system name.
- -location String
- An optional parameter that identifies the location of the SAP system.
- -client String
- An optional parameter that identifies the SAP client.
- -httpPort String
- An optional parameter that identifies the HTTP port number of the SAP system.
- -httpsPort String
- An optional parameter that identifies the HTTPS port of the SAP system for secure communication.
Example
The following examples first show how to set the SAP server connection variables on the SAP_SYSTEM server. These variables are in a snapshot of the FrenchFinance process application. In the next example, the location is updated to paris.com. When a property value is set to null, the command does not update the property value. The next example shows a short form of the same example. The last example removes the location value. To remove a value, use "" or do not pass a value to the property.
In the example, the user establishes a SOAP connection to the Workflow Center server.
wsadmin -conntype SOAP -port 8880 -host ProcessCenterServer01.mycompany.com -user admin -password admin -lang jython
wsadmin>AdminTask.BPMSetSAPServerProperties('[-containerAcronym FRENCHFINANCE -containerSnapshotAcronym V001 -systemName SAP_SYSTEM
-location mycorp.com -client 500 -httpPort 8010 -httpsPort 8020]')
wsadmin>AdminTask.BPMSetSAPServerProperties('[-containerAcronym FRENCHFINANCE -containerSnapshotAcronym V001 -serverName SAP_SYSTEM
-location paris.com -client null -httpPort null -httpsPort null]')
wsadmin>AdminTask.BPMSetSAPServerProperties('[-containerAcronym FRENCHFINANCE -containerSnapshotAcronym V001 -serverName SAP_SYSTEM
-location paris.com]')
wsadmin>AdminTask.BPMSetSAPServerProperties('[-containerAcronym FRENCHFINANCE -containerSnapshotAcronym V001 -serverName SAP_SYSTEM
-location ""]')