!--a11y-->
Using a Trading Partner Directory
Implementation for CompaniesYou 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.
To use a custom implementation of the Trading Partner Directory interface, you must set the UME properties ume.tpd.imp.class and ume.tpd.classloader.
This option is only available with SAP Supplier Relationship Management.
· 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.
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 will be 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 will most probably be library: com.sap.myapp.tpd.imp
For more
information about these properties, see also
UME Properties
®
Companies.

For example, 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
