In this section: |
To browse mySAP business objects, you must create a target for the system you intend to use. The target serves as your connection point and is automatically saved after you create it. You must establish a connection to this system every time you start iWay Explorer or after you disconnect from the system.
A list of supported application systems appears in the left pane of iWay Explorer. The list is based on the adapters that you installed and have licenses to use.
To connect to an mySAP system, you must define a new target. The target holds your logon parameters for the mySAP system.
The following image shows a window with a navigation pane on the left that lists supported adapters. The right pane displays information about a selected adapter.
To create a new target:
Descriptive information (for example, title and product version) about the iWay Application Adapter for mySAP ERP appears in the right pane.
The Define a new target menu option appears as well as title and product version information for the adapter in the right pane as shown in the following image.
The Add a new MYSAP target pane opens on the right as shown in the following image.
The default value is Application Server.
The Set connection info pane opens on the right. The following tabs are available: User, System, Advanced, and Security. The User tab is active as shown in the following image.
The User (required) tab enables you to provide authentication information for the mySAP system to which you are connecting.
Note: For systems based on 6.40 UNICODE, all parameter values are case sensitive. As a result, the values you specify using iWay Explorer must match those that have been configured on your system. This also applies to user names and passwords.
EN (English) is the default.
Secure Network Communications (SNC) provides protection for the communication links between the distributed components of an ERP System. Using SNC, mySAP ERP can support products that adhere to the GSS-API Version 2 standard. SNC supports application level (end-to-end security), Smartcard authentication, and Single Sign-On (SSO).
Note: Depending on the mySAP system release, logging on using SSO or X.509 certificates is supported.
For SSO, specify the user to be $MYSAPSSO2$ and pass the base64 encoded ticket as the passwd parameter.
For X509, specify the user to be $X509CERT$ and pass the base64 encoded certificate as the passwd parameter.
For more information, see your mySAP system documentation.
The System tab becomes available as shown in the following image.
The System (required) tab enables you to provide the application server name, system number, and connection pooling information for the mySAP system to which you are connecting.
Note: The mySAP connection parameters are consistent with those found in your mySAP system. For more information on parameter values that are specific to your mySAP configuration, consult your mySAP system administrator.
Note: A value of 1 does not create a connection pool. Instead, a single mySAP connection with sequential processing is shared. A pooled connection invokes multiple connections to SAP with parallel processing.
If you are using iWay Explorer to create Web services, the connection pool size value is used by your Web service during runtime. As a result, ensure that the connection pool size is sufficient for your purposes.
Connections to an ERP server take up valuable resources on both the client and the remote server. You can create a pool of connections to minimize the resource and time constraints. In estimating the size of the pool, you may calculate pool size by the amount of server resources to be consumed, the number and size of the documents to be received, and the size of your Java Virtual Machine. The section of mySAP documentation "Memory Management (BC-CST-MM)" explains in detail the resources required on the mySAP system.
The Advanced tab becomes available as shown in the following image.
The Advanced tab enables you to specify your EDI and IDoc versions, and configure error handling. The following fields are available:
Version 3 is the default value.
If your application is Java centric, select Throws Exception so that code components can catch the exception and react accordingly.
If your application is document based, select Creates Error Document to create an XML document that contains the Java exception.
It is up to your application to read the XML document and obtain the error.
The adapter waits until all records are physically written to the database before returning from the function call. The "Commit With Wait" has a performance impact on adapter performance, so consider carefully before selecting it. The commit behavior of BAPIs is described in the mySAP documentation under "BAPI Programming Guide and Reference (CA-BFA)."
All mySAP Business Objects that change data must commit work to the database. Some BAPIs developed in version 3.1 of the ERP system use an internal commit behavior, and their commit behavior cannot be changed by the adapter. As soon as they are called, they commit the work they did.
BAPIs developed since release 3.1 use the external commit method. The adapter issues a commit command, and the commit is put in the database queue. If there is an application error in the first part of the commit, the error message "Posting could not be carried out" is returned, and the adapter rolls back the transaction. If in writing to the database, a database error occurs, a short dump is issued in the database records of mySAP, but no message is returned to the adapter about the failure.
This option is disabled by default.
The Security tab becomes active as shown in the following image.
The Security tab enables you to specify Secure Network Communication (SNC) information for the mySAP system to which you are connecting.
SNC provides protection for the communication links between the distributed components of an ERP System. Using SNC, mySAP ERP can support products that adhere to the GSS-API Version 2 standard. SNC supports application level (end-to-end security), Smartcard authentication, and SSO.
If you are using SAP Enterprise Portal, the J2EE engine generates the SAP logon ticket automatically. A possible SNC scenario would be from SAP Enterprise Portal to the iWay Application Adapter for mySAP ERP.
If you want to use SAP logon tickets to enable SSO to non-SAP components, consult the SAP documentation regarding Pluggable Authentication Services. A possible SNC scenario in this case would be from a non-SAP Enterprise Portal to the iWay Application Adapter for mySAP ERP.
By default, SNC is disabled.
The mySAP target appears below the sap node in the left pane as shown in the following image. You are now ready to connect to your mySAP target.
To connect to mySAP, you use a target you defined, for example, the one in the previous procedure, mySAPTarget.
To connect to a target:
The following image shows the target, with a red 'x', selected in the left pane. In the right pane, the Operations menu appears in its expanded form.
The Connect to mySAPTarget pane opens on the right, which contains fields with information for a client, user, and language, as well as fields for entering a password and a code page as shown in the following image. Additionally, you can select to enable an mySAP trace and to enable security.
The mySAPTarget node in the left pane changes (the red 'x' disappears) to reflect that a connection was made as shown in the following image.
The following mySAP business objects appear:
Although you can maintain multiple open connections to different application systems, it is a good practice to close connections when you are not using them.
To disconnect from a target:
The following image shows the target selected in the left pane. In the right pane, the Operations menu appears expanded to display options.
Disconnecting from the application system drops the connection, but the node remains.
In the left pane, the mySAPTarget node changes to reflect that a connection was closed (a red 'x' appears) as shown in the following image.
After you create a target for mySAP using iWay Explorer, you can edit the information that you provided previously.
To edit a target:
The Operations menu appears in the right pane, as shown in the following image.
The Edit pane opens on the right with the target name, a description and a target type selected from the drop-down list as shown in the following image.
In addition to closing a target, you can delete a target that is no longer required. You can delete it whether or not it is closed. If open, the target automatically closes before it is deleted.
To delete a target:
The Operations menu appears in the right pane, as shown in the following image.
A confirmation dialog box opens, asking if you want to delete the target.
The mySAPTarget node disappears from the left pane.
iWay Software |