FPM step navigation.
Hi,
We have just begun to develop applications with the FPM and we have a serious problem. We need your help.
In a roadmap with a number of steps we are not able to change perspective (and thus move from one step to the next) launching an user event (eg SELECT).
In the onEvent () method we get the event launched but the step does not change.
Anyone knows that it can be? is very rare ...
Regards.
Hi Aishwarya,
There is the entire code of my Configuration Component Interface:
public void loadConfiguration( com.sap.pcuigp.xssfpm.java.IFPM fpm )
//@@begin loadConfiguration()
log4j.info("Inicio del Cc Prueba: loadConfiguration");
this.fpm = fpm;
String dcName = "sap.com/PruebaSteps";
String packageName = "com.ibermatica.pruebas.";
//VACs
VAC vac1 = new VAC(dcName, packageName + "vc1.Vc1");
VAC vac2 = new VAC(dcName, packageName + "vc2.Vc2");
//perspective composition
VAC[] startVac = new VAC[] {vac1};
VAC[] selectVac = new VAC[] ;
//Perspectives
Perspective startPerspective =
new Perspective("START", Perspective.LAYOUT_ROW, startVac);
Perspective selectPerspective =
new Perspective("SELECT", Perspective.LAYOUT_ROW, selectVac);
// fill the perspectives
perspectives = new HashMap();
perspectives.put(startPerspective.getName(), startPerspective);
perspectives.put(selectPerspective.getName(), selectPerspective);
//Navigation Paths
NavigationPath start =
new NavigationPath("", IFPM.EVENT_START,
startPerspective.getName());
NavigationPath toStep2 = new NavigationPath(startPerspective.getName(),
IFPM.EVENT_SELECT,
selectPerspective.getName());
NavigationPath toStep1 = new NavigationPath(selectPerspective.getName(),
IFPM.EVENT_BACK,
startPerspective.getName());
NavigationPath[] navigationPaths =
new NavigationPath[]
{start, toStep2, toStep1};
//Navigation graph
navigationGraph = new NavigationGraph(navigationPaths);
//Roadmap steps
ROPStep ropStep1 = new ROPStep(startPerspective.getName(),
"Paso 1",
null);
ROPStep ropStep2 = new ROPStep(selectPerspective.getName(),
"Paso 2",
null);
//Roadmap
ROPStep[] ropes = new ROPStep[]
{ropStep1, ropStep2};
ROPState rop1State = new ROPState
(ropes, ropStep1.getId());
ROPState rop2State = new ROPState
(ropes, ropStep2.getId());
//ROP States HashMap
ropStates = new HashMap();
ropStates.put(startPerspective.getName(),rop1State);
ropStates.put(selectPerspective.getName(),rop2State);
//@@end
public com.sap.pcuigp.xssutils.java.CAPState getCAPState( com.sap.pcuigp.xssfpm.java.Perspective perspective )
//@@begin getCAPState()
log4j.info("CcPrueba: getCAPState");
return null;
//@@end
public com.sap.pcuigp.xssfpm.java.Perspective getNextPerspective( com.sap.pcuigp.xssfpm.java.Perspective currentPerspective, java.lang.String eventName )
//@@begin getNextPerspective()
log4j.info("CcPrueba: getNextPerspective");
if(currentPerspective != null)
log4j.info("current perspective: "currentPerspective.getName()" "+currentPerspective.getEmbeddedVACs()[0].getComponentName());
log4j.info("event name: "+eventName);
String currentPerspectiveName =
(currentPerspective == null) ? "" : currentPerspective.getName();
String toPerspectiveName =
navigationGraph.getNextNode(currentPerspectiveName, eventName);
if (toPerspectiveName == null) {
fpm.getMessageManager().raiseException(
wdThis.wdGetAPI().getComponent(), null,
IMessageManager.DEFAULT_EXCEPTION,
wdThis.wdGetAPI().getComponent().getTextAccessor().getText("err_no_next_perspective"));
return null;
Perspective toPerspective = (Perspective) perspectives.get(toPerspectiveName);
if(toPerspective == null) {
fpm.getMessageManager().raiseException(
wdThis.wdGetAPI().getComponent(), null,
IMessageManager.DEFAULT_EXCEPTION,
"The next perspetive "" + toPerspectiveName
+ "" not defined");
return null;
log4j.info("To Perspective: "toPerspective.getName()" , VACs:"+toPerspective.getEmbeddedVACs()[0].getComponentName());
return toPerspective;
//@@end
public com.sap.pcuigp.xssfpm.java.Perspective getStartPerspective( )
//@@begin getStartPerspective()
log4j.info("CcPrueba: getStartPerspective");
return getNextPerspective(null, IFPM.EVENT_START);
//@@end
public com.sap.pcuigp.xssutils.java.ROPState getROPState( com.sap.pcuigp.xssfpm.java.Perspective perspective )
//@@begin getROPState()
log4j.info("CcPrueba: getROPState");
log4j.info("CcPrueba: Llega la perspectiva con estado activo: "+perspective.getName());
ROPState ropState = (ROPState) ropStates.get(perspective.getName());
log4j.info("ropState activo: "+ropState.getActiveStep());
return ropState;
//@@end
I hope this will help more.
Thank you very much for your effort Aishwarya.
Thanx¡¡
Edited by: Jon Elizondo on Jun 11, 2009 2:28 PM
Similar Messages
-
The MSS ECM FPM Steps are not working after the upgrade
Hi all,
The MSS ECM FPM Steps are not working after the upgrade. We use Java Webdynpro and MSS ECM (SP17), version 603.
On cliking the FPM steps, nothing is happening, however we can navigate using the buttons.
But this functionality was working before the upgrade.
Please let me know what should I do.
Thanks,
Sarayoodharan.Kclinet provided in the backend system was not correct during SSO certificate using tx-code strustsso2 - Cleint should be 000
-
I installed ios6 on my ipad but the step-by-step navigation doesn't speak
It's turn by turn.
After you select route and it shows you the router, hit the blue start button on the upper right. -
Hi Gurus,
I am using FPM GAF to create a roadmap for several different components. 2 of the steps however use the same component but different views. How can I determine which step I am on? I see there is a function get_current_state() but have no idea of how to access it.
Thanks,
GarthHI,
When you click on next or previous button - method Process_Event will be called ( present in comp controller ).
This method has io_event, it_interface_views as input.
To find out on which view next button is pressed, you can use the followin code in process_event method.
DATA: ls_interface_view TYPE string.
CASE io_event->mv_event_id.
WHEN if_fpm_constants=>gc_event-next_step. "next step of GAF
* loop at all views to fetch which view triggered this action
LOOP AT it_interface_views INTO ls_interface_view.
IF ls_interface_view = 'W_OIF_DETAILS'. " your window name which u configured in FPM
* do the processing
ENDIF.
IF ls_interface_view = 'W_CONFIRM'.
* do the processing
ENDIF.
ENDLOOP.
WHEN if_fpm_constants=>gc_event-previous_step.
LOOP AT it_interface_views INTO ls_interface_view.
IF ls_interface_view = 'W_OIF_TREE'.
* ur code
ENDIF.
ENDLOOP.
ENDCASE.
Hope this helps
Regards
manas dua -
Hi,
I have designed one aplication in which we have initial screen having some input fields.
Based on this input values, I want to disable / remove one step from the nagivation area.
Is there any way to achieve this?
Thanks & Regards,
-HareshHi,
As you might know that keying in some values to the input fields does not trigger any action. There has to be an event e.g., clicking of a button, ticking a checkbox, selecting a radiobutton etc. You can code at the event handler method of the applicable events to achieve your functionality.
Let me know if you need more help.
Regards
Prasenjit -
How to use a link bar or navigation bar for display only?
My app has a link bar in an Application Control bar that is bound to the view stack of the steps in my application.
I would like to use this as a mechanism to show the user which step he is on and how many are left, but NOT to click on it to navigate between steps. I have provided wizard-like buttons to step navigation.
How can I have the link bar not respond to clicks, or, if not, programmatically disable certain steps in it (e.g. "step 2" not available until I say so)?OK, I have decided it might be easier to use a repeater with buttons in it, such as:
<mx:Repeater id="toolbar" dataProvider="{dataXML}" >
<mx:Button label="{toolbar.currentIndex+1}. {toolbar.currentItem..stepTitle}" enabled="false" />
</mx:Repeater>
So now I'd like to progressively change the buttons in the repeater to "enabled" as I am ready.
However, toolbar.getChildAt(0).enabled = true fails with:
1119: Access of possibly undefined property enabled through a reference with static type flash.display:DisplayObject. -
Workflow Builder [Tcode: SWDD] - Navigation Area...
Hello everyone,
Quick question: I just inserted a step in an already existing workflow using the drag-n-drop user interface facility and, from a graphical point of view, the step was inserted exactly where I wanted it. However, in the "Navigation Area" section (left side of th screen), the step appears at the "bottom" (last step) of the Steps list but, graphically, this step isn't the last one.. it's the 4th of a 5 step workflow.
Everything works OK but I find it confusing when you compare the "textual" list of steps (Navigation Area) and the Graphical view of the all the steps since they do not show up in the same order.
Anyway to fix the "Navigation Area" so that the steps will be listed in the "natural" workflow order ?
Thanks.
JoséHello José,
this is nothing to bother about. The list of steps is ordered by the internal step Id. This Id depends on the order of step creation and not on the order of the flow of the workflow. As a workflow can include different parallel / alternative branches the steps can't be brought into a sequential list so the Id is used for ordering.
Kind Regards
Roman -
Hi sdn friends,
I´m triying to reduce the FPM steps of the banking service. I need to allow just-read data for my ess users (remove step 2 an 4. My problem is when I'm triying to remove an FPM step from the FPM application it's explodes when accesing the service.
Guru's can you help me.
NW 2004s and ERP ECC 6.0
Regards,David,
For this you have to use the Self Service Administrator Role on the portal which comes in a separate package as a .sca file in Service Market Place ....download it and deploy it using JSPM....then assign the role to user and make the change there in FPM Applications....
Hope it helps...
Shikhil -
Multi-step NavigationBar Alignment
I have a question about JDeveloper 9.0.3.
I have app with bc4j and UIX JSP. The multi-step navigation bar (previous...next) generated by the TableBean is located on the right of page. I would like to display it at on the left hand side of the page.
Is it possible ?
Thanks.Andy,
Thanks. Any idea when 2.2 may be coming out?UIX 2.2 will be included in whatever release of JDev comes after JDev 9.0.4. Someone from the JDev team would need to provide info about the official post-JDev 9.0.4 release plans/schedule.
Is there a UIX home page?Not yet, but there will be shortly! :-)
We are working on this now - hopefully our home page will be available sometime within the next week or two.
Also, can I download a version of
UIX w/o having to download all of JDeveloper?
Not at the moment, but this is something that we are actively investigating.
Andy -
Hi experts,
Here are some questions for u pls send answers asap.
1. What are the exceptions in function module?
2. What is Return code?
3. What are the interface programs we have?
4. What is the typical structure of ABAP/4 Program?
5. How can we make the user to get satisfaction while developing the code?
6. What is production order report?
7. Generally What are the objects we have to develop in end to end full life cycle implementation project w. r. to SD and MM functional modules?
8. How can u find a required exit , include and form routines in an user exit ?
9. What is the difference between SMOD and CMOD ?
10. What is the difference between AT NEW and ON CHANGE OF ?
11. We have two fields Customer and Batch in selection screen. If we select Batch field down arrow button( for F4 help) we will get a popup with possible values.
To get that What code we have to write and where?
12. Explain SD Flow?
13. Can we only process synchronously in CALL Tr. Cant we process in asynchronous? Actually What is processing?
14. Can we use only one application at a time in CALL Tr. ?
15. If we have a data in integer and numeric format in flat file , is it possible to upload data or not ? if yes how?
16. Technical specs preparation comes under blueprint phase or Realization phase?
17. In which phase a developer can work ?
18. While handling a Tabstrip Report, Where we have to maintain selection screen of each tabstrip report? Wheather it is in source code or in screen painter? Explain in detail with one tabstrip report which is having different tabs in selection screen?
19. In which event we have to write SET CURSOR FIELD logic in a report?
20. How can u add different tabs in a report?
21. Hoe can u handle a tabstrip in areport?
22. Explain Cluster and Pooled Tables with definitions and what is the advantage of cluster and pooled tables?
23. What is the structure of VIEW?
24. How we provide F4 help in DDIC? What are steps (Navigation)?
25. What is primary key and foreign key. What they will do?Did you get the job then? :o)
Kind regards
Ash Thomas
<a href=http://www.ashthomas.com>Sap Abap Developer & Sap Abap Programmer</a>
<a href=http://www.ashthomas.com>www.ashthomas.com</a> -
Query time lengthened after additional indexes added
I had been frequently getting results from my query in about .5 - 1.5 seconds. However, I added additional indexes to my container on fields that I am not even using in my query at the moment. When I did this, my query went to about 35 seconds. Can anyone tell me how to fix this problem
Here is my query:
for $record in collection("Catalog.dbxml")
/*[T245[contains(.,"augustine") or contains(.,"Augustine") or contains(.,"AUGUSTINE")]] return $record
Here are my indexes:
Index: node-element-substring-string for node {}:T050
Index: node-element-substring-string for node {}:T090
Index: node-element-substring-string for node {}:T100
Index: node-element-substring-string for node {}:T110
Index: node-element-substring-string for node {}:T111
Index: node-element-substring-string for node {}:T245
Index: node-element-substring-string for node {}:T246
Index: node-element-substring-string for node {}:T700
Index: node-element-substring-string for node {}:T710
Index: node-element-substring-string for node {}:T711
Here is my queryplan:
<XQuery>
<Navigation>
<QueryPlanFunction result="collection" container="Catalog5.dbxml">
<OQPlan>n(V(node-element-substring-string,T245,=,'ine'),V(node-element-substring-string,T245,=,'tin'),V(node-element-substring-string,T245,=,'sti'),V(node-element-substring-string,T245,=,'ust'),V(node-element-substring-string,T245,=,'gus'),V(node-element-substring-string,T245,=,'aug'),V(node-element-substring-string,T245,=,'ugu'))</OQPlan>
</QueryPlanFunction>
<Step axis="child" uri="*" name="*" nodeType="element"/>
<DbXmlFilter>
<Navigation>
<Step axis="child" name="T245" nodeType="element">
<Predicates>
<Operator name="or">
<Navigation>
<DbXmlContains>
<OQPlan>n(V(node-element-substring-string,T245,=,'ugu'),V(node-element-substring-string,T245,=,'gus'),V(node-element-substring-string,T245,=,'ine'),V(node-element-substring-string,T245,=,'sti'),V(node-element-substring-string,T245,=,'tin'),V(node-element-substring-string,T245,=,'ust'),V(node-element-substring-string,T245,=,'aug'))</OQPlan>
<Sequence>
<AnyAtomicTypeConstructor value="augustine" typeuri="http://www.w3.org/2001/XMLSchema" typename="string"/>
</Sequence>
</DbXmlContains>
</Navigation>
<Navigation>
<DbXmlContains>
<OQPlan>n(V(node-element-substring-string,T245,=,'ine'),V(node-element-substring-string,T245,=,'tin'),V(node-element-substring-string,T245,=,'ust'),V(node-element-substring-string,T245,=,'sti'),V(node-element-substring-string,T245,=,'gus'),V(node-element-substring-string,T245,=,'ugu'),V(node-element-substring-string,T245,=,'aug'))</OQPlan>
<Sequence>
<AnyAtomicTypeConstructor value="Augustine" typeuri="http://www.w3.org/2001/XMLSchema" typename="string"/>
</Sequence>
</DbXmlContains>
</Navigation>
<Navigation>
<DbXmlContains>
<OQPlan>n(V(node-element-substring-string,T245,=,'ust'),V(node-element-substring-string,T245,=,'aug'),V(node-element-substring-string,T245,=,'ugu'),V(node-element-substring-string,T245,=,'gus'),V(node-element-substring-string,T245,=,'tin'),V(node-element-substring-string,T245,=,'sti'),V(node-element-substring-string,T245,=,'ine'))</OQPlan>
<Sequence>
<AnyAtomicTypeConstructor value="AUGUSTINE" typeuri="http://www.w3.org/2001/XMLSchema" typename="string"/>
</Sequence>
</DbXmlContains>
</Navigation>
</Operator>
</Predicates>
</Step>
</Navigation>
</DbXmlFilter>
</Navigation>
</XQuery>Hi Andrew,
You experience surprises me a little - I'd like to look into reproducing what you are seeing.
Can you tell me which indexes you had to start with and which indexes you then added to cause the slow down? Is it possible for you to send me some sample data that exhibits this behavior - either the XML, or your container? If so, can you upload it to ftp.sleepycat.com/incoming and let me know what you've named the file.
Thanks,
John -
Not able to find Source System in BI 7......
Hi All,
I am working on BI 7
I am exctracting the data from Flat File Source System like SMID(Characterstic) and PQTY,SALE,PROFIT as a KeyFigures
I have taken SMID as Characterstic and PQTY,SALE,PROFIT as a KeyFigures..
I hav created InfoObject Catalog for Characterstic and Keyfigures...
I Created a Application Componenet and Assigned Objects to InfoSource also...
But i struckked while assigning the Source System to the InfoSource...
I am not able to find how to assign the Source System like we do in 3.0b,3.1c & 3.5..
Can anybody tell me the Step by Step Navigation procedure for to assign Source System to the InfoSource and Other Things also....
Regards,
Kiran TelkarHi,
These are the settings needed for the broadcaster:
http://help.sap.com/saphelp_nw70/helpdata/en/55/1b9940ccd42a54e10000000a1550b0/frameset.htm
Eddy
PS. Reward useful answers and earn points yourself -
PNP Selection Screen Modification
Hi All,
Can anyone tell how to remove the payroll period section completely from the pnp selection screen. I tried all the means going to HR Report Category, I couldnt find the perfect category to hide the payroll period selection. It neither allow me to create a new one for my program. Please help me out as soon as possible with steps/navigation whichever possible..
Thanks in advance,
Charanyou can create your own selection screen by going to Attributes -> HR Report Category -> New Report Category(button on the bottom of popup screen).
here, you can select/deselect selection criteria.
it looks like you were in the correct place - why didn't it let you create a new report category?
if helpful, please don't forget to reward points.
thanks,
robert. -
Want to load data with selection criteria
Hi Everyone,
I want to load data from X ODS to Y ODS , X ods is a datasource to Y ods.
On Y ods i don't have any data loaded.
But on X ods i am having 10 requests with 200000 records.
In X ods i am having a request with 2 records.
I want to load the 2 records request to Y ODS.to check data on Y ods
Can anyone help me in solving these, b'cos i am new to BW, It's urgent Please.
Can you tell me step by step navigation.Hi,
Just select Full upload; it will bring the InfoPackage and then in the Selection tab give the range value. If this is required only one time then this method is fine or full load is fine, otherwise you will have to write a code to pick the records. If you frequently want to load data from one ODS to another ODS then better go for init and then from next time onwards do the delta load. If you don't want to provide selection in the InfoPackage then the other way is to load all the data from X to Y and do selective deletion on Y ODS.
Hope this helps.
PB -
Index in Berkeley DB XML - Problems with time
I have some querys that not show a better time after have been indexed.
I saw that this query that show problems with index realize : ordering , substring and empty values or tag.
This query was extracted from benchmark xbench x toxgene
I will post the queryPlan and results before and after add index.
computer configuration : pentim RAM : 2Gb HD : 160
Results
Query 1
dbxml> query 'for $a in collection("container_db_xbench_250Mb.dbxml")/article w
here every $b in $a/body/abstract/p satisfies contains($b, "hockey") return $a
/prolog/title'
Query - Starting query execution
Query - container_db_xbench_250Mb.dbxml - U : [405] 2 3 4 5 6 7 8 9 10 11 1
2 13 14 15 16 17 18 19 20 21 ...
Query - Finished query execution, time taken = 168.522ms
102 objects returned for eager expression 'for $a in collection("container_db_xb
ench_250Mb.dbxml")/article where every $b in $a/body/abstract/p satisfies cont
ains($b, "hockey") return $a/prolog/title'
dbxml> queryPlan 'for $a in collection("container_db_xbench_250Mb.dbxml")/articl
e
where every $b in $a/body/abstract/p satisfies contains($b, "hockey")
return $a/prolog/title'
<XQuery>
<FLWOR>
<ForBinding name="a">
<Navigation>
<QueryPlanFunction result="collection" container="container_db_xbench_25
0Mb.dbxml">
<OQPlan>U</OQPlan>
</QueryPlanFunction>
<Step axis="child" name="article" nodeType="element"/>
</Navigation>
<Where>
<EveryFLWOR>
<ForBinding name="b">
<Navigation>
<Variable name="a"/>
<Step axis="child" name="body" nodeType="element"/>
<Step axis="child" name="abstract" nodeType="element"/>
<Step axis="child" name="p" nodeType="element"/>
</Navigation>
</ForBinding>
<Navigation>
<Variable name="b"/>
<DbXmlContains>
<Sequence>
<AnyAtomicTypeConstructor value="hockey" typeuri="http://www.w3.
org/2001/XMLSchema" typename="string"/>
</Sequence>
</DbXmlContains>
</Navigation>
</EveryFLWOR>
</Where>
</ForBinding>
<Navigation>
<Variable name="a"/>
<Step axis="child" name="prolog" nodeType="element"/>
<Step axis="child" name="title" nodeType="element">
<OQPlan>P(node-element-equality-string,prefix,title)</OQPlan>
</Step>
</Navigation>
</FLWOR>
</XQuery>
dbxml>
dbxml> query 'for $a in collection("container_db_xbench_250Mb.dbxml")/article w
here every $b in $a/body/abstract/p satisfies contains($b, "hockey") return $a
/prolog/title'
Query - Starting query execution
Query - container_db_xbench_250Mb.dbxml - U : [405] 2 3 4 5 6 7 8 9 10 11 1
2 13 14 15 16 17 18 19 20 21 ...
Query - container_db_xbench_250Mb.dbxml - P(title) : [405] 2(0x04020204) 3(
0x04020204) 4(0x04020204) 5(0x04020204) 6(0x04020204) 7(0x04020204) 8(0x04020204
) 9(0x04020204) 10(0x04020204) 11(0x04020204) ...
Query - Finished query execution, time taken = 710.093ms
102 objects returned for eager expression 'for $a in collection("container_db_xb
ench_250Mb.dbxml")/article where every $b in $a/body/abstract/p satisfies cont
ains($b, "hockey") return $a/prolog/title'
Query 2
dbxml> query 'for $a in collection("container_db_xbench_250Mb.dbxml")/article/pr
olog order by $a/dateline/country return <Output> {$a/title} {$a/dateline/
country} </Output>'
Query - Starting query execution
Query - container_db_xbench_250Mb.dbxml - U : [405] 2 3 4 5 6 7 8 9 10 11 1
2 13 14 15 16 17 18 19 20 21 ...
Query - Finished query execution, time taken = 248.939ms
405 objects returned for eager expression 'for $a in collection("container_db_xb
ench_250Mb.dbxml")/article/prolog order by $a/dateline/country return <Outpu
t> {$a/title} {$a/dateline/country} </Output>'
dbxml> queryPlan 'for $a in collection("container_db_xbench_250Mb.dbxml")/articl
e/prolog order by $a/dateline/country return <Output> {$a/title} {$a/datel
ine/country} </Output>'
<XQuery>
<FLWOR>
<ForBinding name="a">
<Navigation>
<QueryPlanFunction result="collection" container="container_db_xbench_25
0Mb.dbxml">
<OQPlan>U</OQPlan>
</QueryPlanFunction>
<Step axis="child" name="article" nodeType="element"/>
<Step axis="child" name="prolog" nodeType="element"/>
</Navigation>
</ForBinding>
<Sort>
<Specification modifier="ascending|empty_least">
<Navigation>
<Variable name="a"/>
<Step axis="child" name="dateline" nodeType="element"/>
<Step axis="child" name="country" nodeType="element">
<OQPlan>P(node-element-equality-string,prefix,country)</OQPlan>
</Step>
</Navigation>
</Specification>
</Sort>
<DOMConstructor type="element">
<Name>
<Sequence>
<AnyAtomicTypeConstructor value="Output" typeuri="http://www.w3.org/20
01/XMLSchema" typename="string"/>
</Sequence>
</Name>
<Children>
<Navigation>
<Variable name="a"/>
<Step axis="child" name="title" nodeType="element"/>
</Navigation>
<Navigation>
<Variable name="a"/>
<Step axis="child" name="dateline" nodeType="element"/>
<Step axis="child" name="country" nodeType="element">
<OQPlan>P(node-element-equality-string,prefix,country)</OQPlan>
</Step>
</Navigation>
</Children>
</DOMConstructor>
</FLWOR>
</XQuery>
dbxml>
Query - container_db_xbench_250Mb.dbxml - P(country) : NONE
Query - container_db_xbench_250Mb.dbxml - P(country) : NONE
Query - Finished query execution, time taken = 1573.17ms
405 objects returned for eager expression 'for $a in collection("container_db_xb
ench_250Mb.dbxml")/article/prolog order by $a/dateline/country return <Outpu
t> {$a/title} {$a/dateline/country} </Output>'
Query 3
dbxml> query 'for $a in collection("container_db_xbench_250Mb.dbxml")/article/pr
olog where empty ($a/genre) return <NoGenre> {$a/title} </N
oGenre>'
Query - Starting query execution
Query - container_db_xbench_250Mb.dbxml - U : [405] 2 3 4 5 6 7 8 9 10 11 1
2 13 14 15 16 17 18 19 20 21 ...
Query - Finished query execution, time taken = 207.782ms
170 objects returned for eager expression 'for $a in collection("container_db_xb
ench_250Mb.dbxml")/article/prolog where empty ($a/genre) return <NoGenre>
{$a/title} </NoGenre>'
dbxml> queryPlan 'for $a in collection("container_db_xbench_250Mb.dbxml")/articl
e/prolog where empty ($a/genre) return <NoGenre> {$a/title}
</NoGenre>'
<XQuery>
<FLWOR>
<ForBinding name="a">
<Navigation>
<QueryPlanFunction result="collection" container="container_db_xbench_25
0Mb.dbxml">
<OQPlan>U</OQPlan>
</QueryPlanFunction>
<Step axis="child" name="article" nodeType="element"/>
<Step axis="child" name="prolog" nodeType="element"/>
</Navigation>
<Where>
<Function name="{http://www.w3.org/2005/04/xpath-functions}:empty">
<Navigation>
<Variable name="a"/>
<Step axis="child" name="genre" nodeType="element">
<OQPlan>P(node-element-presence-none,=,genre)</OQPlan>
</Step>
</Navigation>
</Function>
</Where>
</ForBinding>
<DOMConstructor type="element">
<Name>
<Sequence>
<AnyAtomicTypeConstructor value="NoGenre" typeuri="http://www.w3.org/2
001/XMLSchema" typename="string"/>
</Sequence>
</Name>
<Children>
<Navigation>
<Variable name="a"/>
<Step axis="child" name="title" nodeType="element"/>
</Navigation>
</Children>
</DOMConstructor>
</FLWOR>
</XQuery>
dbxml>
0x0402025E) 9(0x040202D0) 10(0x0402023F) 11(0x0402020F) 14(0x0402020F) 15(0x0402
0253) 17(0x0402025E) 20(0x040202EE) 23(0x040202C0) ...
Query - container_db_xbench_250Mb.dbxml - P(genre) : [235] 4(0x0402024G) 5(
0x0402025E) 9(0x040202D0) 10(0x0402023F) 11(0x0402020F) 14(0x0402020F) 15(0x0402
0253) 17(0x0402025E) 20(0x040202EE) 23(0x040202C0) ...
Query - Finished query execution, time taken = 2362.08ms
170 objects returned for eager expression 'for $a in collection("container_db_xb
ench_250Mb.dbxml")/article/prolog where empty ($a/genre) return <NoGenre>
{$a/title} </NoGenre>'
Query 4
dbxml> query 'for $a in collection("container_db_xbench_250Mb.dbxml")/article/pr
olog/authors/author where empty($a/contact/text()) return <NoContact> {
$a/name} </NoContact>'
Query - Starting query execution
Query - container_db_xbench_250Mb.dbxml - U : [405] 2 3 4 5 6 7 8 9 10 11 1
2 13 14 15 16 17 18 19 20 21 ...
Query - Finished query execution, time taken = 680.503ms
212 objects returned for eager expression 'for $a in collection("container_db_xb
ench_250Mb.dbxml")/article/prolog/authors/author where empty($a/contact/text())
return <NoContact> {$a/name} </NoContact>'
dbxml> queryPlan 'for $a in collection("container_db_xbench_250Mb.dbxml")/articl
e/prolog/authors/author where empty($a/contact/text()) return <NoContact>
{$a/name} </NoContact>'
<XQuery>
<FLWOR>
<ForBinding name="a">
<Navigation>
<QueryPlanFunction result="collection" container="container_db_xbench_25
0Mb.dbxml">
<OQPlan>U</OQPlan>
</QueryPlanFunction>
<Step axis="child" name="article" nodeType="element"/>
<Step axis="child" name="prolog" nodeType="element"/>
<Step axis="child" name="authors" nodeType="element"/>
<Step axis="child" name="author" nodeType="element"/>
</Navigation>
<Where>
<Function name="{http://www.w3.org/2005/04/xpath-functions}:empty">
<Navigation>
<Variable name="a"/>
<Step axis="child" name="contact" nodeType="element">
<OQPlan>P(node-element-presence-none,=,contact)</OQPlan>
</Step>
<Step axis="child">
<ItemType testType="text"/>
</Step>
</Navigation>
</Function>
</Where>
</ForBinding>
<DOMConstructor type="element">
<Name>
<Sequence>
<AnyAtomicTypeConstructor value="NoContact" typeuri="http://www.w3.org
/2001/XMLSchema" typename="string"/>
</Sequence>
</Name>
<Children>
<Navigation>
<Variable name="a"/>
<Step axis="child" name="name" nodeType="element">
<OQPlan>P(node-element-equality-string,prefix,name)</OQPlan>
</Step>
</Navigation>
</Children>
</DOMConstructor>
</FLWOR>
</XQuery>
2(0x0402020E) 2(0x04020212) 2(0x04020216) 2(0x0402021B) 2(0x0402021F) 2(0x04020
223) 2(0x04020227) 2(0x0402022C) 2(0x0402022G) ...
Query - Finished query execution, time taken = 48724.8ms
212 objects returned for eager expression 'for $a in collection("container_db_xb
ench_250Mb.dbxml")/article/prolog/authors/author where empty($a/contact/text())
return <NoContact> {$a/name} </NoContact>'
Query 5
dbxml> query 'for $a in collection("container_db_xbench_250Mb.dbxml")/article w
here contains ($a//p, "the hockey") return <Output> {$a/prolog/ti
tle} {$a/body/abstract} </Output>'
Query - Starting query execution
Query - container_db_xbench_250Mb.dbxml - U : [405] 2 3 4 5 6 7 8 9 10 11 1
2 13 14 15 16 17 18 19 20 21 ...
Query - Finished query execution, time taken = 3605.86ms
383 objects returned for eager expression 'for $a in collection("container_db_xb
ench_250Mb.dbxml")/article where contains ($a//p, "the hockey") return <O
utput> {$a/prolog/title} {$a/body/abstract} </Output>'
dbxml> queryPlan 'for $a in collection("container_db_xbench_250Mb.dbxml")/articl
e where contains ($a//p, "the hockey") return <Output> {$a/prolo
g/title} {$a/body/abstract} </Output>'
<XQuery>
<FLWOR>
<ForBinding name="a">
<Navigation>
<QueryPlanFunction result="collection" container="container_db_xbench_25
0Mb.dbxml">
<OQPlan>U</OQPlan>
</QueryPlanFunction>
<Step axis="child" name="article" nodeType="element"/>
<DbXmlFilter>
<Navigation>
<Step axis="descendant" name="p" nodeType="element"/>
<DbXmlContains>
<Sequence>
<AnyAtomicTypeConstructor value="the hockey" typeuri="http://www
.w3.org/2001/XMLSchema" typename="string"/>
</Sequence>
</DbXmlContains>
</Navigation>
</DbXmlFilter>
</Navigation>
</ForBinding>
<DOMConstructor type="element">
<Name>
<Sequence>
<AnyAtomicTypeConstructor value="Output" typeuri="http://www.w3.org/20
01/XMLSchema" typename="string"/>
</Sequence>
</Name>
<Children>
<Navigation>
<Variable name="a"/>
<Step axis="child" name="prolog" nodeType="element"/>
<Step axis="child" name="title" nodeType="element">
<OQPlan>P(node-element-equality-string,prefix,title)</OQPlan>
</Step>
</Navigation>
<Navigation>
<Variable name="a"/>
<Step axis="child" name="body" nodeType="element"/>
<Step axis="child" name="abstract" nodeType="element"/>
</Navigation>
</Children>
</DOMConstructor>
</FLWOR>
</XQuery>
dbxml>
time taken = 6038.12msHi Miriam,
What storage model are you using, and are you using DBXML_INDEX_NODES? What indexes did you try to add to make these queries faster?
John
Maybe you are looking for
-
Trying to install Itunes 10.5 update problems.
Trying to install Itunes 10.5 update onto my netbook running windows xp and it keeps telling me it can't continue the update due to missing something from the windows installer package. My installer package is the latest I can find which is 4.5 from
-
Purchase Info Record - Price Determination (Pricing) Date Control
Dear Guru, Can i get some advice here for the "Price Determination (Pricing) Date Control" (Pr. Date. Cat ) setting which is maintain in the Purchase Info Record --> Purchasing Organization Data 1. Can anyone advice me on the purpose and where is the
-
When I go to gmail, and enter my username and password I get the error message: ''The page isn't redirecting properly. Firefox has detected that the server is redirecting the request for this address in a way that will never complete. * This problem
-
Update ALWAYS_TAKE_DISC_FLAG = N for AP suppliers and sites
Is there an existing API to update the following tables and set ALWAYS_TAKE_DISC_FLAG = N? AP_INVOICES_READY_TO_PAY_V AP_INVOICES_V AP_PRODUCT_SETUP AP_SUPPLIERS AP_SUPPLIERS_INT AP_SUPPLIER_SITES_ALL AP_SUPPLIER_SITES_INT AP_SYSTEM_PARAMETERS_ALL AP
-
Search Help for Business Partners in tcode UKM_BP
Hi all, In tcode UKM_BP or UDM_BP, I have to create a new search help for the business partner field. Can anyone help me with this? Should I create my search help in collective search help BUPA? Or is there a better way to to this? Thanks in advance!