Assigning a datasource for a TREX index
I'm trying to create an index to search an internal web site at my company. I've created a web crawler, a web repository and other necessary items. Following the instructions I have to create the index, I need to set the data source of the index to the web repository I created earlier. However, when I try to do this I'm presented with a list of directories. Presumably my repository is listed somewhere in this directory tree. But I have no idea. Am I doing something wrong? Which directory should I look in to find my repository?
Hi Mike,
For Repository Manager Configuration
Go to System Administration->System Configuration->Knowledge Management->Content Management->Repository Managers->WebRepository Managers
View your Repository Manager properties. Check the property root directory.
For Component Monitor
Go to System Administration->System Configuration->Monitoring->Knowledge Management->Component Monitor.
Regards
Prakash
Similar Messages
-
Maximum number of datasources for an index.
Hello,
Could someone comment on what is the maximum number of datasources allowed for an index-? Can we have 10 -15 datasources for a single index? I am not planning huge datasources ,each ds will be only a document in a FS rep.
bcause this is the only option.
RgdsHello Robert ,
Thanks for replying. I am not trying to index large datasources.
Each datasource would be only a single document in a FS rep.
i.e an index with about 10-15 datasources like this. I need to get this done for nearly 50 docs. Thats why I wanted to check how to split this up in a proper way.
This is a hard requirement , so no other option than to index individual docs in the repositories rather than the whole rep.So then 10 -15 datasources per index should be fine,is it?.
Currently made 6-9 data sources for an index(all docs in FS rep's), But index admin shows red and states that some document has not been indexed correctly.
There are no errors in the indexing/trex monitor.
Also search also picks up the document . Is this a known problem/bug?
Rgds -
TREX indexing from content server(maxdb)
Hello.
I've installed standalone TREX on Linux, configured the connection to R3 system and to Portal as well. On the R3 I have configured connection to the SAP Content serve(via archive link) where we save some documents(pdf, doc. files). The part which I don't understand is how can I configure the repository of the content server as a source for the Trex index?
Any hint would be useful. Thanks in advance.
VitHi,
the question is what exactly do you wanna do?
Integrating a archivelink in the Portal or indexing the documents via ERP?
In the first case you must create a web repository and define an index.
In the other case it depends on the SAP Solution but mostly you have to customize the SM59, SRMO, SKPR06.
Best reagrds
Frank -
Creation of DataSource for FlatFile Interface in BI 7
Hi Y'all!
Can anyone please give me urgent assistance in creating/defining a DataSource for the FlatFile Scenario in BI 7.0. I've been trying to no avail. I certain I am doing this incorrectly, as such I seek your assistance. Can anyone please be so kind as to give me a step-by-step walkthrough of the specific individual steps (in sequence) in creating/defining DataSources... Also can this be accepted as a character (08-MAY-07)?
Much thanks!
PhilipsHi,
The following step can help you..
1. create a info source and assign the data source -
2. select data source as PC File ( give any name tech & desc)
3. create a info source structure by include all individual info objects / har. keyfig
those are available in your file
4. you can always take the reference of the info objects from the cube/ODS as to
make info source staructure easy
5. map the corresponding info objects in the trasfer structure
6. save and activate the info source
7. go to your info provider cube/ODS and right click - select - create update rules
select the name of the file data source name as given above
8. map them as defult one-to-one mapping until other wise you have some require
ment in data manipulation through update rules.
9. save and activate.
10. come to the info source - create a info package - select source as .CSV file
and preview it before you actually load.
11. as far as date is concern in your falt file..select the entire column of the date
then goto-format column-select 'customize' then put format as 000000 (six
zeros ) for 0calmonth.
12. when you lookat the date at infoprovider it shows like 20070508 but
when you execute in a query it displays its text as 08-May-2007
I hope it would help you to understand and get your purpose solve.
Thanks=points.
Cheers. -
Creating DataSources for File Source Systems in csv format in sap bw 7.0
Hi,
Please explain how to Create DataSources for File Source Systems in csv format in sap bw 7.0. WITH SCREENSHOTS
Thanks
JINI
Edited by: Jini Jayan on Jun 11, 2008 11:36 AMStep 1. Select Source systems under Modelling in the left panel. In the right panel, right-click Source systems and select Createu2026.
Step 2. Select the FileSystem, manual meta data, data using file inte option, and then click to continue.
Step 3. Enter a name and a description for the source system, and then click to create the source system.
Now create an application component
Step 1. Select InfoSources under Modelling in the left panel. In the right panel, right-click InfoSources and select Create application componentu2026.
Step 2. Enter a name and a description for the application component, and then click to continue. (BW automatically adds a prefix of "Z" to the technical names of application components, unlike the naming system used for other BW objects.If u give the name as AC_DEMO it will be saved as ZAC_DEMO in the system.
Now create infosource
Step 1.Select InfoSources under Modelling in the left panel. Right-click the newly created Application Component , and then select Create InfoSourceu2026.
Step 2. Select the option Master data/texts/hierarchies, and then click to continue.
Step 3. Enter your infoobject name, and then click to continue.
Now you will be asked
Infosource(name) assigned to Appln component(name)?
Click continue
Now go back to workbench and see the Infoobject listed under the Application component name (under Infosource)
Right click the infoobject name and select Assign Datasource
Enter the Infoobject name as Infosource name and the source system name and continue
Now you ll get datasource assignment confirmations for Infosource_ATTR and Infosource_TEXT for master data and text.
Click yes and continue
Now you ll be taken to the Infosource(master data) change screen
Source system name will be given
Below that u need to give the datasource name u2026.._ATTR
Click Activate.
Now Click the tab transfer rules
Copy the communication str infoobject names to an excel sheet
For ex if your infoobj are IO_MATNUM and IO_MATNAME (material number and material name) copy and paste as
IO_MATNUM IO_MATNAME
MAT001 TEA
MAT002 COFFEE
MAT003 SUGAR
GIVE YOUR DATA IN THE EXCEL. AND CLICK File Save As CSV(comma delimited) and save to ur system. Give file name as something like infosourcename_ATTR.csv
Now back to the Infosourcechange screen
Source system name will be given
Below that u need to give the datasource name u2026.._TEXT
And activate
Now Click the tab transfer rules
Copy the communication str infoobject names to an excel sheet
GIVE YOUR DATA IN THE EXCEL. AND CLICK File Save As CSV(comma delimited) and save to ur system. Give file name as something like infosourcename_TEXT.csv
Now create Infoobject to load data
Go to Infosourceu2014Appln Componentu2014InfoObju2014SourceSystemu2014rightclick->create Infopackage
Step 2. Select the DataSource Material number (Master data), enter a description for the InfoPackage, and then click to continue.
Give infopackage description as Infopackage:InfoObj_ATTR
Now take care to select the first item in datasource and click continue
In the next screen click external data tab
Click client workstation
Datafileu2026.file name (browse to give the file u saved in ur system)
There will be an option to remove header data from file.remove 1 row.
File typeu2014csv file
Now click schedule tabu2014start dataload immediatelyu2014start.
In the same way
Go to Infosourceu2014Appln Componentu2014InfoObju2014SourceSystemu2014rightclick->create Infopackage
Step 2. Select the DataSource Material number (text)enter a description for the InfoPackage, and then click to continue.
Give infopackage description as Infopackage:InfoObj_TEXT
Now take care to select the second item in datasource and click continue
In the next screen click external data tab
Click client workstation
Datafileu2026.file name (browse to give the file u saved in ur system)
There will be an option to remove header data from file.remove 1 row.
File typeu2014csv file
Now click schedule tabu2014start dataload immediatelyu2014start.
Click the icon below admn workbench to go to monitor and check the load
Or you go back to Infosourceu2014Appln Componentu2014InfoObju2014right clickmaintain master data
Click execute
You can see the data load
Hope this helps!!! -
MD datasource for Purchase orders in Procurement(MM)
Hi Friends,
Do I need to activate all the MD datasources under MM or are there any particular MD datasource for Purchase Orders ....
Points will be awardedHi,
Follow this link in SAP's marketplace to Best Practices in Purchasing:
http://help.sap.com/bp_biv170/index.htm
Depending on the InfoCube you are planning to use, review appropriate Best Practices document. In addition to step-by-step procedure on how to activate and fill the InfoCube, it will list which InfoObjects are necessary.
Regards,
Stan -
Transporting KM documents and TREX indexes
Hi,
We are planning to transport KM contents with folder permissions and their asscoiated TREX indexes to a new set of EP-KMC and TREX system.
Can KM migration tool be used for transporting contents from one server to another with permissions.. Or shud we use ICE? Is there any recommended way ?
How do we transport serach indexes from one server TREx installion to another of the same version..
Any help ?
Regards
BharathwajHi Bharathwaj,
At the moment, the normal way to transport KM content (including ACL) is the ICE way. There are some known restrictions, see http://help.sap.com/saphelp_nw04/helpdata/en/e2/61701deb253242bea2ebeafa190e83/frameset.htm , but if you can live with that, it's the most straight forward way.
I'm unsure if the migration tool can do that / how easy that would be; never used it.
A real KM transport tool will be part of the next major release...
TREX indexes are not transportable at the moment. You have to re-create them on the target system.
Hope it helps
Detlev -
Hi Experts,
may I request, can anyone suggest whether it is possible to extend TREX indexes, how it is done, if it possible to extend the search interfaces for TREX in ABAP?
With unfeigned regards,
Ramana MalladiHi,
It seems that you have not the actual TREX version and there is some database incompatibilities.
Download the actual version from service.sap.com:
TREX 6.1 for Search and Classif. (TREX) (From SP000 To SP025 or higher (Recommendation: SP027))
Greetings,
Praveen Gudapati
[Points are always welcome for helpful answers] -
How to assign the role for created user thru dynpro App
Hi All
How to assign the role for currently created user from Webdynpro App.
when i enter into the portal after creating the user
i am getting the following messgae in the portal
"No portal roles are assigned for this user.If this problem persists, contact your system administrator."
how to assign the user defined role for the created user from dynpro App
Regards
Dhina Kar J
Edited by: Dhinakaran Jeyachandran on Feb 1, 2008 12:19 PM
Edited by: Dhinakaran Jeyachandran on Feb 1, 2008 12:35 PMIn the User Administration section of your portal find your newly created user and below select "Assigned Roles" tab then press <Modify> button and look through available roles on portal then just simply add and save. But if you want to do it programmatically see below:
IUserAcountFactory userFactory = UMFactory.getUserAccountFactory();
// IUser - read only but with IUserAccount is possible to set up user data
IUserAccountSearchFilter userFilter = userFactory.getUserAccountSearchFilter();
userFilter.setLogonUid("superuser", ISearchAttribute.LIKE_OPERATOR, false);
ISearchResult sr = userFactory.search(userFilter);
for (final Iterator i = new PrincipalIterator(sr); i.hasNext();) {
IUserAccount user = (IUserAccount) i.next();
Execute the same search for IRole (or IGroup if needed) get the unique id of them and use newRole(...) and addUserToRole(...) methods from IRoleFactory.
Of course you don't need search for this principals if you know uniqueness of them. Use appropriate factories to get'em all by this unique id.
All the features see in [javadocs|http://help.sap.com/javadocs/NW04S/current/se/index.html] -
We have a portal with two dispatcher servers one CI and the other one being the dialog instance.
In the TREX monitor under system administration->monitoring->Knowledge management->TREX monitor, everything looks green. But in the another dialog too I maintained the same entries and strangely, thhe TREX monitor shows as TREX name server not configured.
Here is my issue:
in the Indexing monitor under system administration->monitoring->Knowledge management->indexing monitor, for all the indexes status is showing green.
But when I check the application log, I get the following error
Communication error. Invalid entry in configuration: section nameserver, key backupserverlist, value tcpip://<nameserverhost2>:<nameserverport2> is invalid (Errorcode 7213)
We do not have any backup server. What entry do we have to maintain there?
For the dialog instance, the name server was maintained only now. For additional dispatcher server is there any special procedure to follow apart from the configuring TREXservice in visual administrator.
Thanks
KasiWe have a portal with two dispatcher servers one CI and the other one being the dialog instance.
In the TREX monitor under system administration->monitoring->Knowledge management->TREX monitor, everything looks green. But in the another dialog too I maintained the same entries and strangely, thhe TREX monitor shows as TREX name server not configured.
Here is my issue:
in the Indexing monitor under system administration->monitoring->Knowledge management->indexing monitor, for all the indexes status is showing green.
But when I check the application log, I get the following error
Communication error. Invalid entry in configuration: section nameserver, key backupserverlist, value tcpip://<nameserverhost2>:<nameserverport2> is invalid (Errorcode 7213)
We do not have any backup server. What entry do we have to maintain there?
For the dialog instance, the name server was maintained only now. For additional dispatcher server is there any special procedure to follow apart from the configuring TREXservice in visual administrator.
Thanks
Kasi -
How to create DataSource for FlatFile Source Systems
Hi,
I am practicing BI7.I am familiar with BW 3.5 but while practicing BI7 i am facing some problems.I am trying to load master data of an infoobject (STUDENTID) STUDENTID ATTR.
After creating Appl Comp and when i am trying to create transformations for the master data attribute i am unable to assign data source.I came to know that i have to create datsource at this step.But dont know how to create datasource for FlatFiles.
Can anyone give me stpes how to create DataSource.
Thanks in advance,
SunnyHi
Find below help link for procedure
http://help.sap.com/saphelp_nw04s/helpdata/en/43/01ed2fe3811a77e10000000a422035/frameset.htm
and below are some help links which will be usefull in BI7.0
http://help.sap.com/saphelp_nw04s/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
Look at this new features in Bi 7.0
http://help.sap.com/saphelp_nw04s/helpdata/en/a4/1be541f321c717e10000000a155106/content.htm
how to's in BI 7.0
http://help.sap.com/saphelp_nw04s/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
Demo's
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/ba95531a-0e01-0010-5e9b-891fc040a66c [original link is broken]
Report designer new component
Most of ur solutions u can get through help or SDN search
Regards,
Ravi -
ERROR - no available datasource for source system exist
I tried to load the master for 0Bill_Type
1) Install infoobject business content and Create infoobject
2) Activate datasource in R/3
3) Replicate datasource
4) Assign infosource ---> the error said no available datasource for source system exist
When I go to source system--> Object overview --> I don't see anything at all?
Please advise what went wrong ?Hi Pandadda,
I think you have not transferred the APPLICATION COMPONENT HIERARCHY yet. If not, then do the following:
1. In your R/3 system execute TCODE = SBIW.
2. Go to BUSINESS CONTENT DATASOURCES
3. Execute TRANSFER APPLICATION COMPONENT HIERARCHY by clicking the CLOCK.
Replicate you datasource then check it on your BW system
R,
Adwin -
Question to assigning Source System for Activation
We want to assign source system for activation, before business content-InfoObject catalog activation. The steps as follows:
1.On the Data Warehousing Workbench: Business Content view from the menu choose Edit  Source System Assignment.->This step is ok, no question.
2. In the Choose source system by default? dialog box select the checkbox in the column Default assignment in the row containing the source systems you need to load data from.->Now we can see BI system as default call DEGCLNT500 displayed, in my case we only connect one R/3 system call DHHCLNT100 to BI system.
So, the question to that is shoud we select both R/3 source system and BW source system as default or just select R/3 source system as default and dis-select BW source system?
Which one should we choose, both or only R/3 source system?
Pls help, thanks!Hi hi ni,
If what you are activating it's going to retrieve data only from R/3, then select R/3 and uncheck BW.
You can change this whenever you want, if in the future you need bw, before activating, you can change it.
This doesn't means where is going to get the data from, this is just to look for active (and replicated) datasources to connect to the business content you are activating.
Hope this helps.
Regards,
Diego -
Portal Search Not Working - Only Returns Portal Content, Not TREX Indexes
I have configured two indexes using the portal. One is for documents that reside on the portal, and the other one is for a website that we have configured in TREX using Cruiser. The TREX Admin console shows that the website information has been indexed. However, when I search on a word in Portal, only the portal contents are displayed. Is there a different search field for looking up TREX/indexed files? I'm using the search field that's on the front page of the portal. Also, both indexes belong to the same index group. I did use the serach feature built-in to TREX Admin to verify that there were documents stored in the index.
Please check Below Link
http://help.sap.com/saphelp_nw04/helpdata/en/46/5d5040b48a6913e10000000a1550b0/frameset.htm
And Edit Crawler Parameter's field Follow Redirects on Web-Sites to YES -
Searching TREX Index through Web Dynpro
Hi experts,
I'm trying to search through my TREX indexes with Web Dynpro. I have found some sources on this website and they seem to work, but when I test my Application, the table I want to fill stays empty.
The strange thing is that the "getNumberResultKeys()" variable is returning a correct value, but that the "ISearchResultList" stays empty.
I'm a newbie in Web Dynpro, so any help will be appreciated!
I wrote the following code:
try{
com.sap.security.api.IUser nwUser = UMFactory.getAuthenticator().getLoggedInUser();
com.sapportals.portal.security.usermanagement.IUser user;
user = WPUMFactory.getUserFactory().getEP5User(nwUser);
ResourceContext resourseContext = new ResourceContext(user);
IIndexService indexService = (IIndexService)ResourceFactory.getInstance().getServiceFactory().getService ( "IndexmanagementService");
IFederatedSearch federatedSearch = (IFederatedSearch)indexService.getObjectInstance("federatedSearchInstance");
List indexlist=indexService.getActiveIndexes();
SearchQueryListBuilder sqb = new SearchQueryListBuilder();
sqb.setSearchTerm("SomeSearchTerm");
IQueryEntryList qel = sqb.buildSearchQueryList();
ISearchSession session = federatedSearch.searchWithSession(qel, indexlist,resourseContext);
ISearchResultList results = session.getSearchResults(1, session.getTotalNumberResultKeys());
ISearchResultListIterator iter = results.listIterator();
while (iter.hasNext())
ISearchResult result = iter.next();
IPrivateDetailView.IPracticeDataElement PracticeData = wdContext.createPracticeDataElement();
PracticeData.setContentSnippet(result.getContentSnippet());
PracticeData.setResource(result.getResource().toString());
wdContext.nodePracticeData().addElement(PracticeData);
} catch (ResourceException e1) {
throw new WDRuntimeException(e1);
} catch (UserManagementException e2) {
throw new WDRuntimeException(e2);
} catch (WcmException e3) {
throw new WDRuntimeException(e3);
Thanks in advance for you help,
Edwin
nullMy context:
value node - PracticeData
value attribute - Resource
value attribute - ContentSnippet
The results are written to the context here (inside the while - statement):
IPrivateDetailView.IPracticeDataElement PracticeData = wdContext.createPracticeDataElement();
PracticeData.setContentSnippet(result.getContentSnippet());
PracticeData.setResource(result.getResource().toString());
wdContext.nodePracticeData().addElement(PracticeData);
I created a table with databinding to the value node (and value attributes).
Maybe you are looking for
-
Error Occurred while saving the purchase order
Dear Experts, While changing PO and Schedule Agreement using T.Code : ME22, ME32 we are facing below error message. Problem occurred While altering and saving the purchase order. Error message FGV004 - "SYST:date 00.00.0000 is not permitted" is gener
-
Why can I not add my Iphone 5s to my itunes devices on my windows 8 laptop?
I just bought myself my first iphone, the 5s. When I went to add it to itunes to add music to it, it doesn't come up no matter how many times I plug it in and take it out. I have reinstalled itunes and everything. I have tried my old ipofd touch and
-
Database tables in CRMLDB_SERVICE_MON
Hi friends, CRMLDB_SERVICE_MON is an LDB used on t-code crm_dno_create,while debugging crm_dno_monitor , Can anybody tell me which are the database tables involved in this LDB thanks in advance
-
Split the log file based on size
Hi All, I have created a log on oracle directory by using UTL_FILE. Now I need to create a new file based on the old file size. How to create a new file based on the size? Please provide your suggestion.. Thanks & Regards Sami
-
Smartforms tittle heading formating
Hello Gurus, I have a smart form. In the main window, I am outputting 3 tables. Only the first table contains data like few columns. Other 2 tables just gives the total and invoice amount. In order to make the heading of the first table appear in al