Preparing KM for Enterprise Search 
To be able to obtain search results from Knowledge Management (KM), the KM content must be indexed and made available for SAP NetWeaver Enterprise Search.
KM is connected to Search and Classification (TREX).
More information: Specifying the Address of the TREX Name Server
Launch the portal and in the KM configuration, create a KM repository for the content that you want to be able to search through using an index in SAP NetWeaver Enterprise Search.
More information: Repositories and Repository Managers
Create an index for the repository.
Note
Make a note of the index ID, you need this ID when creating a KM search object connector.
More information: Creating an Index
Assign the repository to the index.
More information: Assigning Data Sources
Enable KM for SSO.
The KM system must accept logon tickets from SAP NetWeaver Enterprise Search.
More information: Creating a Trusted Relationship with Enterprise Search
Note
You can also configure KM so that the search is carried out using a service user, but in this case no authority check is performed for the search results.
Check whether or not a fully-qualified URL is entered in the Host parameter in the KM URL generation service. If not, specify the host URL in fully-qualified form.