Managing SAP User Store
Managing the SAP User Store
IBM webMethods Adapter 7.1 for SAP provides the $user and $pass input parameters for all RFC Adapter Services and for the public client services "pub.sap.client:*" to implement overriding the default user at runtime.
With the previous Adapter for SAP versions, you have to store the SAP user names and SAP passwords as cleartext in $user and $pass input parameters in the application services.
IBM webMethods Adapter 10.1 for SAP extends the user overriding functionality by providing an indirect SAP User Alias mechanism for the RFC client call execution. It provides an SAP User Store user interface to maintain the SAP user aliases together with their associated SAP user names and passwords.
The indirect SAP User Alias mechanism allows you to :
- Remove the SAP passwords from the application services
- Change the SAP username and password centrally without modifying the application services.
The User Alias name is used during runtime to retrieve the SAP username and password from the SAP User Store.
The SAP User Store user interface allows to add, modify and delete the required SAP User Alias entries.
Runtime Behavior
If both the $user and $pass values exist in the input pipeline, the runtime behavior remains unchanged. IBM webMethods Adapter 10.1 for SAP will interpret the values as cleartext username and password in the same way as previous versions of Adapter for SAP. Existing Adapter for SAP application will show the same runtime behavior with Adapter for SAP in this case.
However, if only $user value exists in the pipeline and $pass is undefined, the IBM webMethods Adapter 10.1 for SAP will take the $user value as the User Alias name to retrieve the SAP username and password from the SAP User Store.
Differences in the runtime behavior when executing RFC client services
| Pipeline | IBM webMethods Adapter 7.1 for SAP | IBM webMethods Adapter 10.1 for SAP |
|---|---|---|
| Empty. No values for $user and $pass | Service will be executed with the default user of the RFC connection. | Service will be executed with the default user of the RFC connection. |
| $user and $pass exist in the pipeline | Service will be executed with the provided user if the SAP user name exists and the password is valid. | Service will be executed with the provided user if the SAP user name exists and the password is valid. |
| $user and $pass exist in the pipeline, but the logon information is incorrect. | Service execution will cause an error with the error message JCO_ERROR_LOGON_FAILURE "Name or password is incorrect" or "Incomplete logon data" if the password is missing. | Service execution will cause an error with the error message JCO_ERROR_LOGON_FAILURE, "Name or password is incorrect". |
| $user exists in the pipeline, but $pass does not exist. | Service execution will cause an error with the error message JCO_ERROR_LOGON_FAILURE "Incomplete logon data". |
Adapter for SAP will use $user as User Alias name to look-up the SAP user name and password in the User Store:
|
Adding Entries to SAP User Store
Before you begin
After the installation of Adapter for SAP, the SAP User Store is initially empty and the administration user has to add the required SAP user names and passwords and provide each entry with a unique SAP User Alias name.
Procedure
Changing Entries in SAP User Store
Procedure
Removing Entries from SAP User Store
Procedure
- In Integration Server Administrator Adapters menu, click Adapter for SAP.
-
Click
SAP Users, then click
for the
User Alias
entry to be removed.

-
Confirm the deletion by clicking
OK. Click
Cancel to cancel the deletion.
Clicking on Ok deletes the selected entry and displays the updated content of the User Store.







