SAP Connect User's Guide

APPENDIX A

Document Management

 
Top of page

About Document Management

Each SAP Function action has two document names and aliases associated with it: the SAP Request Document and the SAP Response Document. Regardless of whether Use Mapping Model is selected, these aliases are saved with the action. The SAP Component keeps a table of these names so that new unique names can be generated and prevent you from accidentally using a name already in use.

If you delete an SAP Function action, the alias name associated with that action is not removed from the table. To reuse these names, you must either close and reopen the component (thus purging the names from the cache), or execute the Reload XML Documents command from the Component menu.

Documents are loaded on an as-needed basis. When you click on or in an SAP Function action, the Native Environment Pane will load the needed documents by creating the XML documents with the alias names based on the model definitions stored within the action as well as storing them in the document manager.

When a user executes the Reload XML Documents, the following tasks are performed:

You can share Alias names among multiple SAP Function actions by copying and pasting the SAP Function actions. This can create problems keeping the Native Environment Pane in synch with the current SAP Function action. To handle this problem, each SAP Function action has a unique idenitfier that is stored along with the alias names in the Alias table. When you click on an SAP Function action, the Native Environment Pane checks for the entry for each alias to see if it is associated with the current action. If it is, a request is made to the document manager. If it is not, a request is made to the document manager with the reload flag set to true and then update the entry in the Alias table with the SAP Function action's identifier.



Copyright © 2004 Novell, Inc. All rights reserved. Copyright © 1997, 1998, 1999, 2000, 2001, 2002, 2003 SilverStream Software, LLC. All rights reserved.  more ...