Search does not return my documents
Hi Gurus,
I have created few documents using CM SDK. I could able to see these documents using IFS browser.
Now I wrote content search method to search document content.When I search for "cmsdk" string it returns 13 documents.But when I search for a string in the document, I created , for example a text like "struts" it does not return any result , though this document I can see in IFS browser.What could be the reason?.
BTW I didn't create any FORMAT type while I am storing the document. Can any one point me to a document where I can find some instructions on "must and should things to do before search".
I am using CM SDK 9.0.3.
Thanks in advance.
Giri.
have you set the indexing on?
Similar Messages
-
TREX Search does not return Job Postings
Hello:
Recently our TREX engine stopped returning job postings. We ran RCF_CREATE_SP_FOR_CDCY_IN_JOB and did not stop the periodic services job. Since then, the TREX engine has not been able to return any job postings. We have tried everything under the sun but no luck in resolving this. Has anyone encountered this issue?
CheersHI Areez
There can be many reasons for this issue
Please check all the troubleshooting steps in the following notes
1300398
817145
One of the first things to try to narrow down cause is to do a test search in SKPR07, if the test search does not work,
the error may be caused by TREX
RCF_PERIODICAL_SERVICES must be running periodically and successfully in SM37
It may also be necessary to stop PERIODICAL_SERVICES and update the search profiles then restart PERIODICAL SERVICES
Also worth checking TREX configuration as per note 1082004
In some cases TREX may need to be re-indexed in order to find the job postings
Best regards
Stuart -
Custom Search does not return search results
I created a custom search application and another aaplication for choosing different pages from a list of values.
When I add both of these applications in the same page with search on the top and the other application on the bottom, everything works fine. But if I add search on the bottom and the other application on the top, I get a page not found for search results.
any idea why this is happening?
note: I took the html code from the standard search to create the custom search application.
Thanks.It was a minor coding issue. Problem solved.
-
Content scope document library does not return result for non farm administrator
Hi
I have a situation where I had to go with a unique permission applied subsite to store 1000 documents in the document library. This site has a set of 50 users. I was able to create content scope and library path for search. It returns results for me(creator/owner/administrator)
however if I add other users as contributor or full permission, even after full crawling it does not return result for others.
I saw some article that security broken site wont be indexed normal way and to include and I did that as well but no result for other users. I always get result.
Please suggest if there are any specific security permissions that I need to include, so the document library target search will return result for others.
Thanks
ShriHi Shri,
For administrator search results, it looks like the documents could be crawled and searched.
For other users you grant full control permission on subsite with unique permission where you store 1000 dcouments in document library, please make sure these 50 users have access permission(at least view permission) on documents from the
library, then test again.
Also test if users search on search center site without search scope, see if it's scope issue or search web part issue.
If above doesn't work, please check ULS log for related useful information around the time when users search the documents, there should be more info to verify if issue is related to unique permision.
Thanks,
Daniel Yang
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
My PC does not return to the source document I print from
I had a setting control for
this in XP but can't find the page I got it from.<o:p></o:p>
<o:p> </o:p>
In ANY application or browser
this happens. I print from a specific Excel workbook, by example, when I
have a number of them open. The system does not return to the workbook I
printed from. This is maddening and causes all kinds of issues.
Searching the web for this now produces nothing and I know I can't be the
only person who experiences this.<o:p></o:p>
<o:p> </o:p>
This is a Windows 7 platform
in a networked business environment. I'm running the Classic Menu add-in
from Addintools because I can't stand the ribbon and have never liked it.
In Windows 7, I'm running a couple of other add-ins that restore the XP
use of the task bar properly so one can work efficiently.<o:p></o:p>
<o:p> </o:p>
None of the add-ins are what
is causing this issue because I'd run the same Classic Menu add-in on the XP
box and it had the same issue until I found the work-around that I can't
remember now.<o:p></o:p>
<o:p> </o:p>
Has anyone else experienced
this issue?<o:p></o:p>
<o:p> </o:p>
Jeff Lynch<o:p></o:p>Hi,
"I print from a specific Excel workbook, by example, when I
have a number of them open. The system does not return to the workbook I
printed from."
If I'm not misunderstanding, do you mean that the workbook is automatically closed after you print from that workbook, right?
As I know, if we use the default ribbon in Excel, no matter in Windows XP or Windows 7, the opened workbook should be stay opened after you print from that Excel workbook.
So the question is that: what is the version of office? What is the Classic Menu add-in you're running now? Did you manually download and install it to your system? Could you please share a picture with us about the add-ins you're using?
Yolanda Zhu
TechNet Community Support -
Ctxrule - match does not return expected result
v.11.1.07 - I have created a ctxrule index as detailed below. However, although a query should match on the given document, it does not return. Any ideas?
begin
ctx_ddl.create_preference('ot_lexer', 'basic_lexer');
ctx_ddl.set_attribute('ot_lexer', 'index_stems', 'ENGLOSH');
end;
begin
ctx_ddl.create_section_group('ot_sec_group', 'auto_section_group');
end;
create table ot_profile_test
(profile_id number,
query clob);
create index ot_profile_rule_ndx on ot_profile_test(query)
indextype is ctxsys.ctxrule parameters
('stoplist ctxsys.empty_stoplist
section group ot_sec_group
lexer ot_lexer');
insert into ot_profile_test values(1, '($apple and $pear) and (1 within food)');
commit;
exec ctxsys.ctx_adm.set_parameter('log_directory', '/yourdir');
exec ctx_output.start_log('ot');
exec ctx_output.add_event(ctx_output.event_index_print_rowid);
exec ctx_output.add_event(ctx_output.event_index_print_token);
exec ctx_ddl.sync_index('ot_profile_rule_ndx', '2040M', null, 1, null, ctx_ddl.lock_nowait_error);
exec ctx_output.end_log;Then, run a query:
declare
a clob := 'apple orange pears banana
<metadata>
<indicators>
<food>1</food>
</indicators>
</metadata>
vn_profile_id number;
begin
select profile_id into vn_profile_id
from ot_profile_test
where matches(query, a) > 0;
dbms_output.put_line(vn_profile_id);
end;
ERROR at line 1:
ORA-01403: no data found
ORA-06512: at line 8Shouldn't profile_id = 1 be returned?
Also, shouldn't the logfile have 2 rows written to $I?
WRITING TOKEN APPLE:((PEAR) = (PEARS)) * ((1) WITHIN FOOD),0
WRITING TOKEN APPLES:((PEAR) = (PEARS)) * ((1) WITHIN FOOD),0You need to use a basic_wordlist instead of a basic_lexer and ENGLISH instead of ENGLOSH in order to use stemming and your clob (variable a) must be valid html or xml in order to search within sections. Please see the simplified demonstration below.
SCOTT@orcl_11gR2> begin
2 ctx_ddl.create_preference ('ot_wordlist', 'basic_wordlist');
3 ctx_ddl.set_attribute ('ot_wordlist', 'stemmer', 'ENGLISH');
4 ctx_ddl.create_section_group ('ot_sec_group', 'auto_section_group');
5 end;
6 /
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> create table ot_profile_test
2 (profile_id number,
3 query clob)
4 /
Table created.
SCOTT@orcl_11gR2> create index ot_profile_rule_ndx
2 on ot_profile_test (query)
3 indextype is ctxsys.ctxrule
4 parameters
5 ('stoplist ctxsys.empty_stoplist
6 wordlist ot_wordlist
7 section group ot_sec_group')
8 /
Index created.
SCOTT@orcl_11gR2> insert into ot_profile_test values
2 (1, '($apple and $pear) and (1 within food)')
3 /
1 row created.
SCOTT@orcl_11gR2> commit
2 /
Commit complete.
SCOTT@orcl_11gR2> exec ctx_ddl.sync_index ('ot_profile_rule_ndx')
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> declare
2 a clob :=
3 '<table>
4 <fruits>apple orange pears banana</fruits>
5 <metadata>
6 <indicators>
7 <food>1</food>
8 </indicators>
9 </metadata>
10 </table>';
11 begin
12 for r in
13 (select profile_id
14 from ot_profile_test
15 where matches (query, a) > 0
16 order by profile_id)
17 loop
18 dbms_output.put_line (r.profile_id);
19 end loop;
20 end;
21 /
1
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> -
CQWP does not return result for a specific query when filtering on a managed metadata field.
Hi,
We are facing a serious production issue. We've search the web extensively but to no avail.
Problem:
CQWP does not return result for a specific query when filtering on a managed metadata field.
ULS log:
The Uls logs provides 3 different messages that I could relate to every time the query is executed. The last item(level Medium) is displayed 14 times. For readability I've moved the ULS logs to the bottom of this question.
Query:
The query is as follows:
(I've translated this from dutch so pardon any typo's)
Query: (top selection) Display items from all sites in the site collection
ListType: Documentlibrary
Contenttype:
Items from this group:Custom Document Contenttypes
Items from this content type: Verklaring
Filter: Soort is equal to X
extra info: the field soort (Type) is a managed metadata field that was assigned the value X
Managed Metadata Structure:
-managed metadata service
-Contoso
-Enterprise Taxonomy (term set)
-Document (term)
-Verklaring (term)
-Soort (term)
-x (term)
EXTRA INFO:
When I modify the filter to filter on Title the CQWP DOES return the correct document!
When I modify the query settings to search a specific library the CWQP also does return the correct document! (In this case I am filtering on a managed metadata field).
QUESTION:
Why doesn't the CQWP return the document when filtering on a managed metadata field over the entire site collection.
Why does the CQWP return the document when filtering on a managed metadata field over a single library.
(The type of information the CQWP should return (Soort:x) is stored in a dozen document libraries!)
Here are the ULS logs.
Product: Web Content Management
Category Publishing
Level: Monitorable:
CrossListQueryCache::GetSiteData() caught exception (Microsoft.SharePoint.SPException: Kan deze actie niet voltooien. Probeer het opnieuw. ---> System.Runtime.InteropServices.COMException (0x80004005): Kan deze actie niet voltooien. Probeer
het opnieuw. bij Microsoft.SharePoint.Library.SPRequestInternalClass.CrossListQuery(String bstrUrl, String bstrXmlWebs, String bstrXmlLists, String bstrXmlQuery, ISP2DSafeArrayWriter pCallback, Object& pvarColumns)
bij Microsoft.SharePoint.Library.SPRequest.CrossListQuery(String bstrUrl, String bstrXmlWebs, String bstrXmlLists, String bstrXmlQuery, ISP2DSafeArrayWriter pCallback, Object& pvarColumns) --- Einde van intern uitzonderingsstackpad
--- bij Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx) bij Microsoft.SharePoint.Library.SPRequest.CrossListQuery(String bstrUrl, String bstrXmlWebs, String bstrXmlLists, String bstrXmlQuery,
ISP2DSafeArrayWriter pCallback, Object& pvarColumns) bij Microsoft.SharePoint.SPWeb.GetSiteData(SPSiteDataQuery query) bij Microsoft.SharePoint.Publishing.CachedArea.GetSiteData(SPWeb web, SPSiteDataQuery
siteDataQuery, Boolean useSpQueryOnList) bij Microsoft.SharePoint.Publishing.CachedArea.GetCrossListQueryResults(SPSiteDataQuery query, SPWeb currentContext, Boolean onlyPopulateCache, Boolean useSpQueryOnList, Int32 lcid)
bij Microsoft.SharePoint.Publishing.CrossListQueryCache.GetSiteDataResults(CachedArea cachedArea, SPWeb web, SPSiteDataQuery query, Boolean useSpQueryOnList)) for query: '<ViewFields><FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}"
Nullable="True" Type="Text"/><FieldRef ID="{94f89715-e097-4e8b-ba79-ea02aa8b7adb}" Nullable="True" Type="Lookup"/><FieldRef ID="{1d22ea11-1e32-424e-89ab-9fedbadb6ce1}" Nullable="True"
Type="Counter"/><FieldRef ID="{28cf69c5-fa48-462a-b5cd-27b6f9d2bd5f}" Nullable="True" Type="DateTime"/><FieldRef ID="{1df5e554-ec7e-46a6-901d-d85a3881cb18}" Nullable="True" Type="User"/><FieldRef
ID="{d31655d1-1d5b-4511-95a1-7a09e9b75bf2}" Nullable="True" Type="User"/><FieldRef ID="{8c06beca-0777-48f7-91c7-6da68bc07b69}" Nullable="True" Type="DateTime"/><FieldRef ID="{30bb605f-5bae-48fe-b4e3-1f81d9772af9}"
Nullable="True" Type="Lookup"/><FieldRef ID="{ba3c27ee-4791-4867-8821-ff99000bac98}" Nullable="True" Type="Text"/><FieldRef ID="{c5c4b81c-f1d9-4b43-a6a2-090df32ebb68}" Nullable="True"
Type="Lookup"/><FieldRef ID="{8fca95c0-9b7d-456f-8dae-b41ee2728b85}" Nullable="True" Type="Lookup"/><FieldRef ID="{39360f11-34cf-4356-9945-25c44e68dade}" Nullable="True" Type="Text"/><FieldRef
ID="{543bc2cf-1f30-488e-8f25-6fe3b689d9ac}" Nullable="True" Type="Image"/><FieldRef ID="{43bdd51b-3c5b-4e78-90a8-fb2087f71e70}" Nullable="True" Type="Number"/><FieldRef ID="{9da97a8a-1da5-4a77-98d3-4bc10456e700}"
Nullable="True" Type="Note"/><FieldRef ID="{aea3cd20-8da0-4cb7-803b-5a33079a0e4d}" Nullable="True" Type="Lookup"/><FieldRef Name="ScopeId" /><FieldRef Name="_Level" /><FieldRef
Name="UniqueId" /><ListProperty Name="DraftVersionVisibility" /></ViewFields><Lists ServerTemplate="101"></Lists><Webs Scope="Recursive" /><RowLimit>45</RowLimit><Query><Where><And><BeginsWith><FieldRef
Name="ContentTypeId" Nullable="True" Type="ContentTypeId"/><Value Type="ContentTypeId">0x010100C5FEE83B67FA6445B0C14AE8B7761BB8011E</Value></BeginsWith><In><FieldRef ID="{aea3cd20-8da0-4cb7-803b-5a33079a0e4d}"
LookupId="TRUE"/><Values><Value Type="Counter">783</Value></Values></In></And></Where><OrderBy><FieldRef ID="{8c06beca-0777-48f7-91c7-6da68bc07b69}" Nullable="True"
Type="DateTime" Ascending="FALSE"/></OrderBy></Query>' at url: /. Titel webonderdeel: Inhoudsquery
Product: Web Content Management
Category Publishing
Level: Warning
Error occured while processing a Content Query Web Part. Performing the following query '<ViewFields><FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Nullable="True" Type="Text"/><FieldRef ID="{94f89715-e097-4e8b-ba79-ea02aa8b7adb}"
Nullable="True" Type="Lookup"/><FieldRef ID="{1d22ea11-1e32-424e-89ab-9fedbadb6ce1}" Nullable="True" Type="Counter"/><FieldRef ID="{28cf69c5-fa48-462a-b5cd-27b6f9d2bd5f}" Nullable="True"
Type="DateTime"/><FieldRef ID="{1df5e554-ec7e-46a6-901d-d85a3881cb18}" Nullable="True" Type="User"/><FieldRef ID="{d31655d1-1d5b-4511-95a1-7a09e9b75bf2}" Nullable="True" Type="User"/><FieldRef
ID="{8c06beca-0777-48f7-91c7-6da68bc07b69}" Nullable="True" Type="DateTime"/><FieldRef ID="{30bb605f-5bae-48fe-b4e3-1f81d9772af9}" Nullable="True" Type="Lookup"/><FieldRef ID="{ba3c27ee-4791-4867-8821-ff99000bac98}"
Nullable="True" Type="Text"/><FieldRef ID="{c5c4b81c-f1d9-4b43-a6a2-090df32ebb68}" Nullable="True" Type="Lookup"/><FieldRef ID="{8fca95c0-9b7d-456f-8dae-b41ee2728b85}" Nullable="True"
Type="Lookup"/><FieldRef ID="{39360f11-34cf-4356-9945-25c44e68dade}" Nullable="True" Type="Text"/><FieldRef ID="{543bc2cf-1f30-488e-8f25-6fe3b689d9ac}" Nullable="True" Type="Image"/><FieldRef
ID="{43bdd51b-3c5b-4e78-90a8-fb2087f71e70}" Nullable="True" Type="Number"/><FieldRef ID="{9da97a8a-1da5-4a77-98d3-4bc10456e700}" Nullable="True" Type="Note"/><FieldRef ID="{aea3cd20-8da0-4cb7-803b-5a33079a0e4d}"
Nullable="True" Type="Lookup"/><FieldRef Name="ScopeId" /><FieldRef Name="_Level" /><FieldRef Name="UniqueId" /><ListProperty Name="DraftVersionVisibility" /></ViewFields><Lists
ServerTemplate="101"></Lists><Webs Scope="Recursive" /><RowLimit>45</RowLimit><Query><Where><And><BeginsWith><FieldRef Name="ContentTypeId" Nullable="True" Type="ContentTypeId"/><Value
Type="ContentTypeId">0x010100C5FEE83B67FA6445B0C14AE8B7761BB8011E</Value></BeginsWith><In><FieldRef ID="{aea3cd20-8da0-4cb7-803b-5a33079a0e4d}" LookupId="TRUE"/><Values><Value Type="Counter">783</Value></Values></In></And></Where><OrderBy><FieldRef
ID="{8c06beca-0777-48f7-91c7-6da68bc07b69}" Nullable="True" Type="DateTime" Ascending="FALSE"/></OrderBy></Query>' generated the following error: Kan deze actie niet voltooien. Probeer het opnieuw.
at the following url: /. Titel webonderdeel: Inhoudsquery
Kan deze actie niet voltooien. Probeer het opnieuw. This is Dutch. It means something like: Cannot complete this action. Please try again.
Product: Web Content Management
Category Publishing
Level: Medium (this message is displayed 14 times)
ConsoleUtilies.GetContextualControlMode had no currentPage so the current SPWebPartManager mode cannot be retrieved.Hi,
while digging through the logging (again) I found some extra logging regarding the same correlation id (see details below).
We have a fairly large term store (4000+ lines).
If somebody has a clue or tip that would greatly appreciated!
03-19-2014 13:49:51.87 w3wp.exe (0x2098) 0x23BC SharePoint Foundation Database fa42 Monitorable A large block of literal text was sent to sql. This can result in blocking in sql and excessive memory use on the front
end. Verify that no binary parameters are being passed as literals, and consider breaking up batches into smaller components. If this request is for a SharePoint list or list item, you may be able to resolve this by reducing the number of fields. 1971313a-6baa-49e9-bace-d024ce67f25c
03-19-2014 13:49:51.87 w3wp.exe (0x2098) 0x23BC SharePoint Foundation Database fa43 High Slow Query Duration: 127.1515 1971313a-6baa-49e9-bace-d024ce67f25c
03-19-2014 13:49:51.87 w3wp.exe (0x2098) 0x23BC SharePoint Foundation Database fa44 High Slow Query StackTrace-Managed: bij Microsoft.SharePoint.Utilities.SqlSession.OnPostExecuteCommand(SqlCommand command,
SqlQueryData monitoringData) bij Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock) bij Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean
retryfordeadlock) bij Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean retryfordeadlock) bij Microsoft.SharePoint.Library.SPRequestInternalClass.CrossListQuery(String bstrUrl, String bstrXmlWebs, String
bstrXmlLists, String bstrXmlQuery, ISP2DSafeArrayWriter pCallback, Object& pvarColumns) bij Microsoft.SharePoint.Library.SPRequest.CrossListQuery(String bstrUrl, String bstrXmlWebs, String bstrXmlLists, String bstrXmlQuery, ISP2DSafeArrayWriter
pCallback, Object& pvarColumns) bij Microsoft.SharePoint.SPWeb.GetSiteData(SPSiteDataQuery query) bij Microsoft.SharePoint.Publishing.CachedArea.GetSiteData(SPWeb web, SPSiteDataQuery siteDataQuery, Boolean
useSpQueryOnList) bij Microsoft.SharePoint.Publishing.CachedArea.GetCrossListQueryResults(SPSiteDataQuery query, SPWeb currentContext, Boolean onlyPopulateCache, Boolean useSpQueryOnList, Int32 lcid) bij Microsoft.SharePoint.Publishing.CrossListQueryCache.GetSiteDataResults(CachedArea
cachedArea, SPWeb web, SPSiteDataQuery query, Boolean useSpQueryOnList) bij Microsoft.SharePoint.Publishing.CrossListQueryCache.GetSiteDataResults(CachedArea ca, Boolean useSpQueryOnList) bij Microsoft.SharePoint.Publishing.CrossListQueryCache.GetSiteDataResults(SPSite
site, String webUrl, Boolean useSpQueryOnList) bij Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.IssueQuery() bij Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.GetXPathNavigator(String
viewPath) bij Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) bij Microsoft.SharePoint.WebPartPages.DataFormWebPart.PerformSelect()
bij Microsoft.SharePoint.WebPartPages.DataFormWebPart.DataBind() bij Microsoft.SharePoint.WebPartPages.DataFormWebPart.EnsureDataBound() bij Microsoft.SharePoint.WebPartPages.DataFormWebPart.CreateChildControls()
bij System.Web.UI.Control.EnsureChildControls() bij System.Web.UI.Control.PreRenderRecursiveInternal() bij System.Web.UI.Control.PreRenderRecursiveInternal() bij System.Web.UI.Control.PreRenderRecursiveInternal()
bij System.Web.UI.Control.PreRenderRecursiveInternal() bij System.Web.UI.Control.PreRenderRecursiveInternal() bij System.Web.UI.Control.PreRenderRecursiveInternal() bij System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) bij System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) bij System.Web.UI.Page.ProcessRequest()
bij System.Web.UI.Page.ProcessRequest(HttpContext context) bij ASP.BLANKWEBPARTPAGE_ASPX_1653093133.ProcessRequest(HttpContext context) bij Microsoft.SharePoint.Publishing.TemplateRedirectionPage.ProcessRequest(HttpContext
context) bij System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() bij System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
bij System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error) bij System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) bij System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest
wr, HttpContext context) bij System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) bij System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr
managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) bij System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32
flags) bij System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) 1971313a-6baa-49e9-bace-d024ce67f25c -
FM HRTRV_IF_GET_TRIP does not return USERDATA
Hi, it's me, yet again...
I'm using the FM "HRTRV_IF_GET_TRIP" in FITE_VC_GENERA_DATA in a post exit of comp-controller method "ON_SHOW" to get the structure/Table USER/PTK99 from the TE Cluster for binding to the context afterwards. At least that's the plan. The FM does not return me the data I expect in parameter USERDATA, although there is data in the TE Cluster and within the FM, I can see the global Table USER being filled whilst the macro RP-IMP-C1-TE. But this data is not further process neither is seems the strucutre USERDATA to be touched at any point of the FM. Am I calling the FM 'wrong' in any way? I'm close to making an implicit enhancement at the end and forcefully fill userdata from user....
Too long, didn't read: USERDATA is not returned filled --> WHY?
CALL FUNCTION 'HRTRV_IF_GET_TRIP'
EXPORTING
employeenumber = wd_assist->GS_COMMON_RFC_INPUT-employee_number
tripnumber = lv_tripno
* LANGUAGE = SY-LANGU
* CALCULATE_AMOUNTS = 'X'
* GET_TRIP_FROM_MEMORY = ' '
IMPORTING
* FRAMEDATA =
* STATUS =
USERDATA = ls_user " should contain cluster values, but it doesn't
tables
* RECEIPTS =
* ADDINFO =
* GUESTS =
* TEXT =
* MILEAGE =
* STOPOVER =
* DEDUCTIONS =
* COSTDIST_TRIP =
* COSTDIST_STOP =
* COSTDIST_RECE =
* COSTDIST_MILE =
* AMOUNTS =
* ADVANCES =
return = lt_bapiret " says method was executed successful
In the insides of the FM:
* IF CALCULATE_AMOUNTS <> 'X'. "XJY
* import the trip because it was NOT imported before
READ TABLE T_PERIO INDEX 1.
TE-KEY-PERNR = T_PERIO-PERNR.
TE-KEY-REINR = T_PERIO-REINR.
TE-KEY-PERIO = T_PERIO-PERIO.
TE-KEY-PDVRS = T_PERIO-PDVRS. " Once this line is executed, the global table USER is fileld with the data I expect
RP-IMP-C1-TE.
* ENDIF. "XJY
if t_perio-abrec = '0' or
t_perio-abrec = '1'.
clear te-key-pdvrs.
import beler from memory id te-key.
endif.
I hope somebody has ever used this one and can tell me what I'm doing wrong...
Cheers, Lukasgood to know. that you have already implemented similar thing. In our case if employee want to pick a manager he will only be given option from a custom table entries.
They way i was thinking was that there will be a checkbox that will say "Override Approver"
and when that will be checked text filed will be enabled with search help restricted to custom table entries.
I have one question. When I am enhancing FITE_VC_REVIEW and adding field in that view, I m finding it hard to track it. Looks like adding to General data screen will be much easier.
R u using ABAP memory to track field and use it at SMOD or you are using SAP memory ?
I am just starting on this one and not expert at webdynpros.. will ping you if i need any more help
and yes i just added following like in FM HRTRV_IF_GET_TRIP
read TABLE user INTO userdata INDEX 1
to get it to load userdata.. -
Xpath result nodes not returned in document order
An XPath expression over a mixed text element does not return the result nodes in document order (see example below). I am using dbxml 2.3.0.
let $x := <a>this <i>is</i> <b>mixed</b> text</a>
return $x/node()}
dbxml> query {let $x := <a>this <i>is</i> <b>mixed</b> text</a> return $x/node()}
4 objects returned for eager expression 'let $x := <a>this <i>is</i> <b>mixed</b> text</a>
return $x/node()'
dbxml> print
<i>is</i>
<b>mixed</b>
this
textTo improve formatting :
An XPath expression over a mixed text element does not return the result nodes in document order (see example below). I am using dbxml 2.3.0.
let $x := <a1>this <a2>is</a2> <a3>mixed</a3> text</a1>
return $x/node()
dbxml> print
<a2>is</a2>
<a3>mixed</a3>
this
text -
Personalized Simple Search with new messageLovInput - Search does not work
I have currently set an Message LOV Input into a Simple Search Panel for IcxPorRcvSrchPG.
I have got the LOV bringing back the correct values, but when I hit the GO button the Search does not work.
Can someome please help me on how I am able to get the search working in the Simple Search Panel.
Details of VO's are as follows:
xxReceiveItemsDueVO (extended from ReceiveItemsDueVO)
xxReceiveMyItemsVO (extended from ReceiveMyItemsVO )
xxReceivePurchaseItemsVO (extended from ReceivePurchaseItemsVO)
xxReceiveReqItemsVO (extended from ReceiveReqItemsVO)
Extended Attribute I am looking to search with is xxWono.
Current search items are working 100% with extended VO's, but when I try and search with new item, I am having no luck. The search is acting as though the new item has not even been created.
Additional Lov Details are as follows:
Level: Site
Item Style: Message Lov Input
ID: xxWONumSearch
Data Type: VARCHAR2
External LOV: /oracle/apps/icx/lov/webui/WorkOrderLovRN
Prompt: Work Order Number
Search Allowed: False
Search Criteria: False
Lov Map
ID: xxWipEntityName
Criteria Item: xxWONumSearch
LOV Region: WipEntityName
Programmatic Query: False
Required: False
Return Item: xxWONumSearch
Framework version: 11.5.10.6RUP
Is there a way of doing this through Personalization?
With the version of framework I am not able to add a simpleSearchMapping through Personalization.
Can someone please advise?
Thanks
LeeWhen I generate and then view the help, it looks perfect! I changed the name of the project folder since the information is proprietary. I have several pictures including the parent folder and the only 3 folders that are generated. I cannot find the Webhelp output folder. I think this is what you need to see.
-
Server does not return metadata, check the query.
Hi,
I need your help in using report designer of Bex, The issue is when we try to open a query in the report designer we get a Error Server does not return metadata, check the query.
Thanks in Advance
Kind Regards
PhutaneHi,
All the yellow and red lights will have an effect on query performance or execution. Read up on them as there are too many to explain via this forum.
There is a document on SDN on query performance. Some useful links:
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9f4a452b-0301-0010-8ca6-ef25a095834a]
[http://help.sap.com/saphelp_nw70/helpdata/en/41/b987eb1443534ba78a793f4beed9d5/frameset.htm]
[http://help.sap.com/saphelp_nw70/helpdata/en/d9/31363dc992752de10000000a114084/frameset.htm]
[http://help.sap.com/saphelp_nw04/helpdata/en/2e/caceae8dd08e48a63c2da60c8ffa5e/frameset.htm]
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0501cb9-d51c-2a10-239c-c141a22c45a6]
Cheers... -
Server does not return query metadata check the query
hi,
i want know how to use bex query designer,
when i insert a data provider,the message is appear "server does not return query metadata check the query",
who can help me ?
thanks a lot !
addition: my current entironment is: gui710 with sp4,bi710 with sp2.Hi,
All the yellow and red lights will have an effect on query performance or execution. Read up on them as there are too many to explain via this forum.
There is a document on SDN on query performance. Some useful links:
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9f4a452b-0301-0010-8ca6-ef25a095834a]
[http://help.sap.com/saphelp_nw70/helpdata/en/41/b987eb1443534ba78a793f4beed9d5/frameset.htm]
[http://help.sap.com/saphelp_nw70/helpdata/en/d9/31363dc992752de10000000a114084/frameset.htm]
[http://help.sap.com/saphelp_nw04/helpdata/en/2e/caceae8dd08e48a63c2da60c8ffa5e/frameset.htm]
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0501cb9-d51c-2a10-239c-c141a22c45a6]
Cheers... -
Why does App store take me to a different country store, yet does not return me back
Why does App store take me to a different country store, yet does not return me back.
Im in u.s., was searching for app, was asked to change store, i did, tried downloading canadian app, was informed i had to purchase from u.s. store (is this true, even though it is a free download) then it left me there without instructions on how to return to u.s. store.
Now ipad is stuck in canadian store. How do i return to u.s. store?You have to find an app that is only available in the US store.
If the problem is on an iPad, etc:
Go to a search engine (like google) on the iPad/iPhone Safari and type in abc app download. Then find find a link that says iTunes.apple.com/us/app/abc-player. Tap it, and it will access the App Store. Eventually, a box should pop up that asks you if you want to switch to the US store. Confirm that, and it should bring you back to the US store. You don't need to download the abc app.
If on a computer:
I haven't confirmed it yet, but I believe there is a flag icon at the bottom of the iTunes Store main page similar to the one at the bottom of this page that you can use to change your country. -
WebI does not return failed when scheduling a report which only holds parti
WebI does not return failed when scheduling a report which only holds partial results.
We have scheduled reports which take some time to run. When they are scheduled they sometimes show successful even though the report only holds partial results. The only indication is when you open the report as webi report you see the warning that it holds partial results.
When running the report manually, it works file.
The issue is not in the no of rows in the universe settings because we this unselected. The issue is that it times out.
The reason that it times out is that a lot of resources are used for loading and processing data when the report is scheduled. When running it manually, it works because at this time the serverload is less. the time in the universe is set to 10 min.
The version we have is BOXIR2-SP4.
Ok. Issue identified.
The question is - why is the report successful when it holds partial results? If this is normal behavior, noone can really trust the scheduled reports, especially when you save it to excel and send it by mail.
Is there a solution for this except increasing the allowed query time which would not solve the issu but only allow more reports to complete?
Edited by: Karlgren Michael on Sep 17, 2009 1:22 PMHi ,
Currently this problem exists in XI R2. This feature will be part of thenext Service Pack i.e XI R2 SP6.
This CER will be delivered from IDC Webi and BIP Platform as part of Jupiter Sp6.
Problem Statement:
Scheduled WebI Reports which are partially refreshed are distributed to the destinations for Users to View and make decisions. These users arenu2019t usually aware that these reports have u201CPARTIAL RESULTSu201D
Recomended Solution:
Allow the Schedule Creator / Modifier to set a parameter to stop the distribution of the u201CPARTIALLY REFRESHEDu201D WebI report.
Thanks
Salini -
"The stylesheet does not contain a document element" error
Hi,
I'm using Hyperion Financial Management 11.1.1.3
I successfully created intercompany transactions but when I select the "auto match" to perform the matching process, the running task page ensure that the process is completed successfully. However, when I press "log" I found the following error:
Error Number:-2147467259
Error Description:The stylesheet does not contain a document element. The stylesheet may be empty, or it may not be a well-formed XML document.
Error Source:msxml6.dll
Page On which Error Occurred:/hfm/Administration/ShowRunningTaskLog.asp
My environment is win server 2003 on a VM and EPM 11.1.1.3
Thank you and best regards,
Ahmed.Hi taku,
Yes I've solved my issue.
Firstly, make sure that the entities and accounts used in the Intercompany Transaction are allowed for ICP in the metadata file by setting the attribute "IsICP=Y" to yes.
Then, after you press the "Match" button, wait until the process finished and don't open the log. Just close the running task page, after the status showed that it is completed, and open the "process IC transactions" page again you will find the square sign becomes green which means that the transactions are matched.
I followed the following example on Oracle by Example [http://www.oracle.com/technetwork/middleware/financial-management/tutorials/mictrans-094190.html?ssSourceSiteId=otncn]
It's about "Managing Intercompany Transactions in Financial Management".
I wish you can solve your issue soon.
Best wishes,
Ahmed.
Maybe you are looking for
-
Can't get it working - just want to view another desktop on my home network
I need to be able to view (not control) the desktop of my PowerMac that is connected to my Zoom DSL modem in another room. I want to view that desktop from my MacBook Pro connected wirelessly to the modem. The PowerMac is running Mac OS X 10.3.9. The
-
Getting a program Dump Error in Herarchial ALV
Hello All, I am getting a dump error when I am executing the below program. Kindly help as I am not getting the output. However all the subroutines are getting properly populated with data. Getting a dump error while calling the function : REUSE_ALV_
-
New IPhone not working ?
Hey ! I just baught the IPhone 4 today and it's not working. It only worked for about 2 hours, if that then it turned off. Did not give me the "heads up" that I had a low battery ( which I didn't). However, I did charge the IPhone, but it would not t
-
Layer Thumbnail Preview Problems CS4
I recently started having an issue with the layer thumbnails. In the past, when I would create a new shape (with the rectangle tool for instance) the layer thumbnail preview would look like the first image I've inserted. Now when I create a new sha
-
Can an autosuggest cfinput be controlled/filtered by a select menu?
I'm working on a search service where there are going to be at least 3 types of searches, each of which can be made easier by using an autosuggest. Is it possible to change the binding/returned values for the autosuggest based on what the user has s