Show TOC Anfang des Inhaltsbereichs

Vorgehensweisen Using a Trading Partner Directory Implementation for Companies  Dokument im Navigationsbaum lokalisieren

Use

You can retrieve company information from a backend system using a custom implementation of the Trading Partner Directory interface. In this case, companies are handled in the backend system and only a reference is stored with the user object.

This option is only available with SAP Supplier Relationship Management.

Prerequisites

     You have created a custom implementation of the interface com.sapmarkets.tpd.master.TradingPartnerDirectoryInterface. To avoid cyclic dependencies, this implementation can only be dependent on com.sap.security.api and not com.sap.security.core or the UME service.

     The Software Deployment Archive (SDA) containing the implementation of the Trading Partner Directory interface has been deployed using the Software Deployment Manager (SDM).

     The custom implementation must be fully available (including any services or resources on which it depends) before com.sap.security.core or the UME service.

Procedure

To use a custom implementation of the Trading Partner Directory interface, set the following UME properties:

·        ume.tpd.imp.class: Name of the class that implements the interface com.sapmarkets.tpd.master.TradingPartnerDirectoryInterface.

·        ume.tpd.classloader: Name of the class loader that loads the class named in ume.tpd.imp.class. You can find the name of the class loader in the Visual Administrator in the ClassLoader Viewer service. Normally the name is of the form <library/service>:<sda_name>.

For example, if the custom implementation is provided in a separate SDA with the name com.sap.myapp.tpd.imp.sda, the name of the class loader is probably library: com.sap.myapp.tpd.imp

For more information about these properties, see also UME Properties ® Companies.

Beispiel

If you have a class called com.sap.myapp.tpd.imp.AppTPDImpl that is contained in an SDA called apptpd.sda, example values for these properties would be:

ume.tpd.imp.class=com.sap.myapp.tpd.imp.AppTPDImpl

ume.tpd.classloader=library:apptpd

 

Ende des Inhaltsbereichs