Roadmap node (element) type
Hi,
I am beginner at the Solution Manager and currently try to understand how we can use the Roadmap. We can create, copy, use sap pre-defined roadmap in our projects.
I create the structure of my own Roadmap. When I create subnodes of roadmap in transaction RMAUTH - Authoring Environment Roadmap, I have to choose the node type.
What do these node types mean? I understand that Milestone identify the project phases but:
1) What do other define?
2) What purpose do these types pursue?
3) When we selected the Roadmap for our project in transaction SOLAR_PROJECT_ADMIN - Project Administration, why only milestones from Roadmap are reflected in the Milestone Tab? Where are other types like service packages, methods and outputs operated?
Thanks for dealing with my thread and hopefully for replying )
Olya
Hello Olya,
'M' stands for Method and 'O' stands of Output.
Method and Output are used in the view 'filtering'. You can select the view in the menu 'Settings' -> 'View' -> Method View or Output View. It is a kind if additional filtering.
On node with type Service package, you can see in the transaction RMMAIN a new tab Service Session which will contains some service information about the service you have selected when creating a node of type Service Package
For your question about the Milestone tab, what would you expect to appear in this tab ? The milestone are retrieved from the roadmaps which were set into the project scope. And in this tab you will be able to select a start/end/actual date.
There are some basis information at the following link
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/ae/64c33af662c514e10000000a114084/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/ae/64c33af662c514e10000000a114084/frameset.htm</a>
please check the path:
SAP Solution Manager -> Projects -> Roadmap
Best regards,
Thierry
Similar Messages
-
Import not allowed on nodes of type element declaration
I have 2 very simple transformation processes, consisting of:
1. hit a web service
2. filter the output
3. transform into a variable of type defined by a schema document
4. get the variable as a string
5. call another web service and pass the string
The processes are identical except for the variable type. One process works, the other fails when converting to a string. Here is the error message:
<2005-10-25 11:33:40,627> <ERROR> <default.collaxa.cube.xml> ORABPEL-09500
XPath expression failed to execute.
Error while processing xpath expression, the expression is "orcl:get-content-as-string(bpws:getVariableData("OutputDocument"))", the reason is import not allowed on nodes of type element declaration.
I can successfully use an xsl to convert the variable to a string, but when I utilize the assign activity, it produces the error above. Obviously, the schema files are different for the 2 variables, but I cannot see a problem. The schemas are both valid.
Has anyone encountered this error?
Thanks,
DaveThe cast does not throw an exception, but the resulting string is empty.
The problem is that I do not understand the error message. I am not sure what import it is referring to.
Thanks -
Store XML node value into an array with node element name
Hi,
I have the following code that displays the node element with the
corresponding node value. I want to store the values in an array in
reference to the node name.
i.e.
XML (my xml is much bigger than this, 300 elements):
<stock>
<symbol>SUNW</symbol>
<price>17.1</price>
</stock>-----
would store the following:
*data[symbol] = SUNW;*
*data[price] = 17.1;*
Thanks in advance,
Tony
test.jsp
Here's my source code:
<html>
<head>
<title>dom parser</title>
<%@ page import="javax.xml.parsers.*" %>
<%@ page import="org.w3c.dom.*" %>
<%@ page import="dombean.*" %>
</head>
<body bgcolor="#ffffcc">
<center>
<h3>Pathways Info</h3>
<table border="2" width="50%">
<jsp:useBean id="domparser" class="dombean.MyDomParserBean" />
<%
Document doc = domparser.getDocument("c:/stocks/stocks.xml");
traverseTree(doc, out);
%>
<%! private void traverseTree(Node node,JspWriter out) throws Exception {
if(node == null) {
return;
int type = node.getNodeType();
switch (type) {
// handle document nodes
case Node.DOCUMENT_NODE: {
out.println("<tr>");
traverseTree
(((Document)node).getDocumentElement(),
out);
break;
// handle element nodes
case Node.ELEMENT_NODE: {
String elementName = node.getNodeName();
//if(elementName.equals("MOTHER-OCC-YRS-PREVIOUS")) {
//out.println("</tr>");
out.println("<tr><td>"+elementName+"</td>");
NodeList childNodes =
node.getChildNodes();
if(childNodes != null) {
int length = childNodes.getLength();
for (int loopIndex = 0; loopIndex <
length ; loopIndex++)
traverseTree
(childNodes.item(loopIndex),out);
break;
// handle text nodes
case Node.TEXT_NODE: {
String data = node.getNodeValue().trim();
//if((data.indexOf("\n") <0) && (data.length() > 0)) {
out.println("<td>"+data+"</td></tr>");
%>
</table>
</body>
</html>
{code}
*MyDomParserBean.java*
Code: package dombean;
{code:java}
import javax.xml.parsers.*;
import org.w3c.dom.*;
import java.io.*;
public class MyDomParserBean
implements java.io.Serializable {
public MyDomParserBean() {
public static Document
getDocument(String file) throws Exception {
// Step 1: create a DocumentBuilderFactory
DocumentBuilderFactory dbf =
DocumentBuilderFactory.newInstance();
// Step 2: create a DocumentBuilder
DocumentBuilder db = dbf.newDocumentBuilder();
// Step 3: parse the input file to get a Document object
Document doc = db.parse(new File(file));
return doc;
{code}
Edited by: ynotlim333 on Sep 24, 2007 8:41 PM
Edited by: ynotlim333 on Sep 24, 2007 8:44 PM
Edited by: ynotlim333 on Sep 24, 2007 8:45 PMI still need to store it in an array because its 300 elements in the XML stocks.
I've done the following but its not working, i'm getting error codes. I think its an easy fix. I'd also like to pass a String instead of a .xml document b/c my xml is stored inside a DB. Any suggestions on that?
<html>
<head>
<title>dom parser</title>
<%@ page import="javax.xml.parsers.*" %>
<%@ page import="org.w3c.dom.*" %>
<%@ page import="org.*" %>
</head>
<body bgcolor="#ffffcc">
<center>
<h3>Pathways Info</h3>
<table border="2" width="50%">
<jsp:useBean id="domparser" class="org.MyDomParserBean" />
<%
Document doc = domparser.getDocument("c:/stocks/stocks.xml");
traverseTree(doc, out);
%>
<%!
public String element_store = null;
public String[] stock_data = new String[400];
private void traverseTree(Node node,JspWriter out) throws Exception {
if(node == null) {
return;
int type = node.getNodeType();
switch (type) {
// handle document nodes
case Node.DOCUMENT_NODE: {
out.println("<tr>");
traverseTree
(((Document)node).getDocumentElement(),
out);
break;
// handle element nodes
case Node.ELEMENT_NODE: {
String elementName = node.getNodeName();
element_store = elementName;
//if(elementName.equals("MOTHER-OCC-YRS-PREVIOUS")) {
//out.println("</tr>");
NodeList childNodes =
node.getChildNodes();
if(childNodes != null) {
int length = childNodes.getLength();
for (int loopIndex = 0; loopIndex <
length ; loopIndex++)
traverseTree
(childNodes.item(loopIndex),out);
break;
// handle text nodes
case Node.TEXT_NODE: {
String data = node.getNodeValue().trim();
if((data.indexOf("\n") <0) && (data.length() > 0)) {
out.println("<tr><td>"+element_store+"</td>");
out.println("<td>"+data+"</td></tr>");
stock_data[element_store]=data;
%>
</table>
</body>
</html> -
Cannot click on steps in RoadMap UI Element
Hello experts,
Is it possible to select a particular step on the RoadMap UI element, by clicking on it?
The idea is to be able to click on a step and be able to navigate to the content of that step directly instead of clicking through Prev/Next.
I do not see an "OnClick" event on a Step wherein I can create a handler. I am on NW 7.0 SPS15
Regards,
PujaHi Puja,
I guess you are takling about the step being highlighted with some different color when the user selects the step . if it is so then there is definatly an option for highliting the step with a color when you click on it . Let me expalin you a very simple example by which you can understand iit more clearly.
Step 1. You create a steps for instance (3)(step1, step2, step3). so here when i try clicking it on each step 3 different compeonents needs to be called wiht the step being highlighted.
Step2:Create a node in the context say Roadmap (0:1) cardinality and attributes as (set_step(property as string) (set_next (wdy_boolean) set_previous (wdy_boolean).
Step2. In compoent controller of your component create 3 methods hope u are already aware of this.
set_step( ), Set_next( ), Set_previous( ). and in attributes of component controller "Navigate" and in importing values giv 'Target'. whcih will capture the the target when we click on the steps.
Step3: create inbound plugs and method Onselect.
hope you know the procees to be done futher.
Note: if you are not able to get the step as highlighted plz chekc in the method set_step wether the step values are being passed correctly if no then pass the value of step properly then i am sure that it will higlight the step when u click on it .
if you want the code for the above senario will surely send it to u .
GoodLuck!.
Regards,
Sana. -
How to get current node element for recursive node.
Hello Xperts,
I have a requirement where I need to find the current node element of the recursive node.
I was trying following code for the same
Data:
selected_elem type ref to if_wd_context_element.
selected_elem = WDEVENT->GET_CONTEXT_ELEMENT( NAME = 'CONTEXT_ELEMENT' ).
selected_elem ->get_static_attributes(
IMPORTING
static_attributes = sel_attri ).
But it does not work for me and I always get 1st node value.
Please help me in this issue.
-AshutoshHello ,
If you implementing a simple tree ( not table tree ) and you want the selected element for
OnLoadChildren event .
Then create an importing parameter CONTEXT_ELEMENT of type IF_WD_CONTEXT_ELEMENT
in the event handler of onLoadChildren .
Webdynpro framework automatically filled up the context element with the current node in the tree .
I tried it , It really worked for me .
If you have a table tree then you need to create an importing parameter PATH of type String in tha event handler .
Webdynpro frame automatically fills the PATH .
the use can use the following method to get the element from the PATH .
wd_context->path_get_element( path ).
I tried it , It also worked for me .
Regards
Vivek
PS : please provide the points if answer is helpful . -
Complete steps of RoadMap UI element in webdynpro
hi all,
Can some one tell me the complete steps of how to implement RoadMap UI element in webdynpro.
Thanks in advance.Hi Amol
I need help in implementing RoadMap.
My code is as follows:
public void onActionStep1(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionStep1(ServerEvent)
final String stepId = wdContext.currentContextElement().getStepSelected();
wdComponentAPI.getMessageManager().reportSuccess("step selected ---> "+wdContext.currentContextElement().getStepSelected());
wdComponentAPI.getMessageManager().reportSuccess("stepId ---> "+stepId);
if ("Steps1".equals(stepId))
wdComponentAPI.getMessageManager().reportSuccess("step selected ---> "+stepId);
wdComponentAPI.getMessageManager().reportSuccess("Welcome to Step 1");
else if ("Steps2".equals(stepId))
wdComponentAPI.getMessageManager().reportSuccess("step selected ---> "+stepId);
wdComponentAPI.getMessageManager().reportSuccess("Welcome to Step 2");
}else if("Steps3".equals(stepId))
wdComponentAPI.getMessageManager().reportSuccess("step selected ---> "+stepId);
wdComponentAPI.getMessageManager().reportSuccess("Welcome to Step 3");
}else if("Steps4".equals(stepId))
wdComponentAPI.getMessageManager().reportSuccess("step selected ---> "+stepId);
wdComponentAPI.getMessageManager().reportSuccess("Welcome to Step 4");
}else if("Steps5".equals(stepId))
wdComponentAPI.getMessageManager().reportSuccess("step selected ---> "+stepId);
wdComponentAPI.getMessageManager().reportSuccess("Welcome to Step 5");
//@@end
StepSelected is a context attribute of type String.
RoadMap.selectedStep is binded with StepSelected
RoadMap.onSelect event with the action Step1
But i'm not able to display msg on selecting the step.
The above code is from the following link:
RoadMap!!
9 -
hai ,
I have an requirement where in to use the roadmao ui element.
I have 3 screens and i need to use the road map in the 3 screens.
if it is in the first screen first box in the roadmap shub be highlighted and same with 2nd and 3rd page.
can anyone guide me with what node i need to declare in the context and if any programming is required ,help me with some logic.
It is urgent,plz help ASAP.
REGARDS,
MADHUHi madhu,
Have a look at this blog.It explains step by step.
/people/david.halitsky/blog/2006/09/29/sap-ui-element-metadata-gold-or-fools-gold-part-3-of-dynamic-roadmap-tutorial
also refer this thread.It is already discussed here
Complete steps of RoadMap UI element in webdynpro
Regards,
sharadha -
Any example using roadmap ui element....
Hi ,
Please post examples which used roadmap ui elements in their design.
Thanks
KotiHi,
Steps to create Roadmap.
1>Insert a child->select Roadmap
Properties:
StartPointDesign->selected
2>Under that Insert RoadmapStep.
Proeprties:
Description:Give the name as u like:Ex:View1
Design:Selected
Runtime:create one attribute(setCtx_Rdmap) in the view context and set the type as:
com.sap.ide.webdynpro.uielementdefinitions.RoadMapStepDesign
In the code u can select the roadmap by using this code:
wdContext.currentContextElement().setCtx_Rdmap(WDRoadMapStepDesign.SELECTED);
name:Either u can give the numbers to identify the step.For ex:1
Reagrds,
Lavanya.G -
Getting error while creating the variable of Schema Element type
Hi everybody,
For creating a variable of schema element type I am doing the following steps...
Select 'Variables' after right clicking on bpel process. IN this window, go to 'Create VAriable' then select 'Element' type. Now in Type Choose, I expanded the my imported schema files. And selected a element type, then click ok to create this variable... I am getting the message...
IN ORDER TO SAVE IMPORTED WSDL/SCHEMA FILES, YOU MUST HAVE A PARTNER LINK LOCATED UNDER THE CURRENT PROJECT DIRECTORY.
What is mean by that.
I have imported the schema files in project. AFter that I have imported them into the WSDL also. Now why I am getting error while creating the variable. However I can create variable directly in .BPEL file then everything is fine. And it is working also. But what is mean with the above error? Why I am not able to create variable through GUI?
Thanks.Hi,
I have this same problem this morning, and I was going crazy, until I found this webpage on the internet:
[http://technology.amis.nl/blog/1803/problem-importing-xml-schema-in-bpel-process|http://technology.amis.nl/blog/1803/problem-importing-xml-schema-in-bpel-process]
The idea is that the jdeveloper is not very good working with directories with spaces on the directory name. If you move all your work to a directory without spaces, it will work smoothly. At least, it had worked for me.
Regards,
Nacho -
I am facing error while running Quickpay in Fusion payroll that "The input value Periodicity is missing for element type KGOC_Unpaid_Absence_Amount. Enter a valid input value". Any idea?
This is most probably because the Periodicity input value has been configured as "Required" and no value has been input for it.
Please enter a value and try to re-run Quick Pay. -
How to pass all values from one node element to created node element?
Hi
I have model node element under which there are 7 values, and I've created value node element and trying to pass the values from the model node Element to this value node element. But instead of passing all the values its listing only one value.
How do we rectify this problem!!!
Thanks in Advance
SrikantHi Anil
I've created the node named: TableNode
and the name of the node from which i want to get the data is : Li_Required_Node
the Node Structure is
Context
|_ Zs_Quantity_Input
|_Output
|_Node_Required_Node
|_Schddt
|_TableNode
|_CmpDate
The Schddt has some 7 values
The code Snippet is as follows:
IPublicPricesComp.ITableNodeElement nodeElement;
IPublicPricesComp.ILi_Required_NodeElement scheduleElement;
int counter3Max = wdContext.ILi_Required_Node().size();
for( int counter3= 0 ; counter3 < counter3Max ;counter3++ )
nodeElement = wdContext.createTableNodeElement();
scheduleElement = wdContext.nodeZs_Quantity_Input().nodeOutput_Contract_Qty().nodeLi_Required_Node().getLi_Required_NodeElementAt(counter3);
nodeElement.setCmpDate(scheduleElement.getSchddt());
wdContext.nodeTableNode().addElement(nodeElement);
On writing the above code and then binding the node to a table column only one value getting displayed
Where can be the error?
Thanks in Advance
Srikant -
Regarding creation of node element
Hi
i hav a doubt regarding creation of node element. u can create new node element using method create(cn)Element available either directly from wdContext or from wdContext.node(cn) where cn is any context node.
can any one plz explain me what's the difference between two.
does it has any thing to with node being singelton or non-singelton?
also can anyone explain me the difference between add and bind method.
thanks.hi
good
Data Binding Methods
If a property can, or must be bound to the context, the respective bind and bound methods are available.
● The bind methods bind the value of a property to the context element specified by the path.
The name of the method is created according to the following pattern:
BIND_<runtime name of the property>.
Example: table, property: design, method: BIND_DESIGN.
● The bound methods return the path of the context element to which a property is bound and return NULL if no binding exists.
The name of the method is created according to the following pattern:
BOUND_<runtime name of the property>.
Example: table, property: design, method: BOUND_DESIGN.
ADD METHOD->
Two add methods that add an element.
○ If only the element is transferred as parameter, then the element is added at the and of a list
○ If an index is transferred as well, then this element is transferred at the specified index position.
http://help.sap.com/saphelp_erp2005/helpdata/en/66/18b44145143831e10000000a155106/content.htm
thanks
mrutyun^ -
I am getting the following error message when I try invoking
a webservice.
Could not generate stub objects for web service invocation.
Name: ProgrammePrivilege. WSDL:
https://clientaccweb.reseaudistinction.com/CardHolderInfo.asmx?WSDL.
org.xml.sax.SAXException: Fatal Error: URI=null Line=11: The
element type "META" must be terminated by the matching end-tag "".
It is recommended that you use a web browser to retrieve and
examine the requested WSDL document for correctness. If the
requested WSDL document can't be retrieved or it is dynamically
generated, it is likely that the target web service has programming
errors.
The problem is, the webservice is working fine, the
application was working yesterday, the error message just appears
after a couple of days and I have to refresh the service in the CF
Administrator. Once I refresh it, everything starts working again.
Anyone else got this problem? ANY help would be appreciated!
If you guys need my code anyway, I can attach it but like I
said, everything works for a couple of days, then, out of the blue,
it stops working so I doubt that it's my CFINVOKE that's the
problem...Similar kind of problems here - reported back to Adobe a
couple of months ago, so let's wait and hope for the best. My
problems have related to registering multiple web services and
executing them. One problem is that, If I register two identical
(and quite complex) web services, I can only execute either of
them. After CF restart, either of them works, but invoking the
other doesn't work.
For example; CF_Restart -> Try A first, A works -> B
doesn't. Also, CF_Restart -> Try B first, B works -> A
doesn't.
CFMX7.0.2, Apache 2.2, WinXP -
How to get the current node element by its value?
e.g,:
wdContext.current<b>Deal</b>Element().setAttributeValue("<i>deal_id</i>","<i>aaaaaaa</i>");
above code can get the result i wanna.
but now i wanna in terms of its node'name to set attribute vaue of itself. in other words,i have no idea about how to get the current node element by its name"<b>Deal</b>".Hi Wing,
The answer is there in your question itself.
wdContext.currentDealElement()
will give you the current node element by its name"Deal" or you could use
wdContext.nodeDeal().getCurrentElement()
or you could use
wdContext.nodeDeal().getElementAt(wdContext.nodeDeal().getLeadSelection())
Regards,
Sudeep -
Hi all,
So I've have built an application on flash builder 4.5 using Christophe Coenraets' tutorial "Building an EmployeeDirectory" (http://www.adobe.com/devnet/flex/articles/employee-directory-android-flex.html#articlecont entAdobe_numberedheader).
I'm getting this error message "In initializer for 'mxmlContent', type Object is not assignable to target Array element type mx.core.IVisualElement." and then the debugger highlights my code this line of my code "</s:List>" in my EmployeeDetails.mxml file. This started after I coded Part 5, Step 2 "Integrating with the Device Capabilities: Triggering the Actions". The rest of the code debugged fine.
I think it relates to Christophe's note "Note: Make sure you import spark.events.IndexChangeEvent (and not mx.events.IndexChangedEvent) for this code to compile.". I don't know where to place this
" import spark.events.IndexChangeEvent;" line of code.
Any help? Tks in advance..
Any help would be greatly appreciated. ThanksYou have a DataGrid directly inside a State element. Perhaps wrap it in an AddChild element?
More information on using states can be found here:
http://livedocs.adobe.com/flex/3/html/help.html?content=using_states_1.html
Maybe you are looking for
-
Smartform to PDF, how to suppres Print/Preview dialog
Hi Experts, Facing some issues in downloading PDF converted from Smartform. In the program I am trying directly download a smartform converted into PDF format and save it in local system. When ever I am trying to execute the program it shows up the P
-
I have tried to restore my old iPhone 3, but when i tried the itunes logo and a pic of a USB cable have come up on my phone and now i cant do anything with my phone.Any ideas how i can fix this? I can make/receive call. iPhone 3GS(Ireally don't remem
-
Why can't I find "content aware" in Photoshop Elements 12?
I am trying to remove a tower from a photo and do not have "content aware" on my drop down menu.
-
I upgraded to ios 7 and now my phone will not turn on or charge what can I do?
What can I do?
-
[svn:osmf:] 14361: Updated Project files.
Revision: 14361 Revision: 14361 Author: [email protected] Date: 2010-02-23 10:27:48 -0800 (Tue, 23 Feb 2010) Log Message: Updated Project files. Modified Paths: osmf/trunk/framework/OSMF/.actionScriptProperties osmf/trunk/framework/OSMF