To configure the OLE Application protocol in SAP:
- Navigate to the OAA3 transaction.
-
Double-click on the application protocol. A list of functions is displayed.
There are two functions that require coding:
-
The Display Stored Document function must be configured to display documents using the Unity Client for use with SAP ArchiveLink, UnityPop, or DocPop.
-
The Archive from Frontend function must be configured to save a document in OnBase via the Unity Client for use with SAP ArchiveLink.
-
-
Double-click the Display Stored Document function to configure its commands.
- In the Application field, enter the OLE application name that was created on the SOLE access screen. For example, SAPUNITY.
-
In the first command line, enter DisplayDocument @AID,@DID. There is no space between @AID and @DID. Verify that the M option is selected next to the command.
Recall that M = Method, S = Set, and G = Get. These settings are used to signify the code's function. Altogether, this command sends a DisplayDocument call to the Unity Client for use with SAP ArchiveLink, DocPop, or UnityPop to display the selected document. The @AID parameter stores the content repository ID while the @DID represents the SAP document ID.
- In the second command line, enter @EID=ErrorCode and select G. This command is to handle any errors.
- Click Back when finished to return to the list of functions. Note that the Status of the Display Stored Document function is now Maintained.
- Double-click the Archive from Frontend function to configure its commands.
- In the Application field, enter the OLE application name that was created in the SOLE access screen. In the previous example, SAPUNITY was used.
- In the first command line, enter StoreDocument @AID. Verify that M is selected next to the command.
- In the second command line, enter @EID=ErrorCode and select G.
-
In the third command line, enter @DID=LastSAPDocumentID and select G.
These commands call the Unity Client for use with SAP ArchiveLink to archive a document into OnBase.
- Click Back when finished to return to the list of functions.
- Click the Save button or press Ctrl + S to save the changes to functions.
-
Next, the SAP document classes must be attached to the protocol functions. Click the Back button twice to navigate to the ArchiveLink Protocols: Overview of Protocol screen.
-
Depending on whether you want to use DocPop, UnityPop, or the Unity Client for use with SAP ArchiveLink, you must complete different configuration steps.
-
To configure the application to use the Unity Client for use with SAP ArchiveLink, follow the steps in Configuring the Protocol to Use the Unity Client for use with SAP ArchiveLink.
-
To configure the application to use DocPop or UnityPop for retrieval, follow the steps in Configuring the Protocol to Use DocPop or UnityPop for Retrieval.
-