Character Restriction in Node Name
Hi,
Anyone can advise where the character restriction is set for a node name (member name).
I want to add a member into a hierarchy, but I does not allow me to enter the following characters:
(space), + ( ) & %. Everytime I type the character, it just like the keyboard has been locked. No message or
error saying the character is not allowed because of a specific validation.
Thanks.
Hi Tanuja,
Thanks for your help. That is correct.
Is there a way to set the restriction into a specific hierarchy, not in system preference?
For example, if the account name is used in HFM, then do not allow + - character in any of the name.
While if the account name is used in Essbase only, allow the use of + - character?
Regards,
Lian
Similar Messages
-
Load special character £ in node name
Hi,
I am importing the hierarchies with special character £ and once imported it shows as following before the node name:
small square box in place of £ with UTF8 as character encoding while importing and
? mark in place of £ with ASCII or ANSI as character encoding while importing.
Please let me know how to get the £ in the node name.
Thanks,
RaviGot it,
Save the text file itself in UTF format and then import with UTF8 encoding in DRM.
Thanks,
Ravi -
Invalid node name in Sun Cluster 3.1 installation
Dear all,
I need your advice in Sun Cluster 3.1 8/05 installation.
My colleague was installing Sun Cluster 3.1 8/05 on 2 servers Sun Netra 440 that given hostname 01-in-01 and 01-in-02. But when he want to configuring the cluster, the problem occured.
The error message is:
running scinstall: invalid node name
And when we changed the host name to in-01 and in-02, the cluster can be configured well.
Why did this problem happened?
Is it related with the given hostname that using numeric in the beginning? If yes, can you give the documentation that state about that?
Or maybe you have another explanation?
Thank you for your help.
regards,
HenryA bug is being logged against this. (though obviously you could manually fix the shell script yourself if you were in a hurry).
The problem partly stems from the restriction on hostnames being relaxed by RFC 1123 which relaxed RFC 952's limitation of the first character to only alpha characters.). See man hosts for more info. I guess our code didn't catch up :-)
Tim
--- -
Hierarchy from flat file loading with errors - duplicate node names
Hello experts,
I am loading a product hierarchy from a flat file into a custom hierarchy
object. The issue is that it errors out saying I am loading
duplicates within nodes, however all node IDs within a level are unique.
It seems to be looking at the node name to determine uniqueness and I know
we have some duplication within the text there especially when you factor
in the 32 character limitation for the node name. Does anyone have an idea
as to whether it is possible to have it only consider the node ID instead
of the node name to determine uniqueness?
A colleague suggested using the link ID to fix this problem but I don't know how that field works or how to populate it.
I'm working in a BI 7.0 environment (I don't know if that makes a difference since you still have to use the 3.x objects to extract the hierarchy).
Any help would be appreciated.
NancyHi Nancy,
You may wish to check this OSS Note 1026749 - Hierarchies: Consistency check for duplicate nodes and 912115 (old one)
Symptom -
When you load or activate a hierarchy it terminates with error message RH 109 or RH 211. The hierarchy contains duplicate nodes and this is not allowed. The long texts of messages RH 109 or RH 211 do not describe the reason for the problem sufficiently or they are partially incorrect.
There is uncertainty about in which cases duplicate nodes exist in a hierarchy and in which cases duplicate nodes are allowed.
Hope this helps,
Bye...
Naga Timmaraju -
Xml: how to get node value when pasing node name as a parameter
Hi,
I've got some xml:
var xmlData:XML =
<1stNode>
<buttonID>first child node value</buttonID>
<imageID>second child node value</imageID>
<labelID>third child node value</labelID>
</1stNode>
Then I want to read specific node value based on a value passed to a function. .
var buttonID = new Button;
var imageID = new Image;
var labelID = new Label;
getNodeValue(buttonID); //the value here is set dynamically
private function getNodeValue (nodeName:String):void {
trace (xmlData.nodeName) //doesn't work
var str:String = "xmlData." + nodeName;
var xml:XMLList = str as XMLList //doesn't work
I'm don't know how to get the value when node name is dynamically changed.use:
getNodeValue(buttonID); //the value here is set dynamically
private function getNodeValue (nodeName:String):void {
trace (xmlData[nodeName]) -
How to map the node id to the node name in database view just like "V$GES_RESOURCE"
i have a rac with 3 nodes,and the node id is from 1 to 3,i can check it with command olsnodes.
$ olsnodes -p -n -i
tdsdb1 1 tdsdb1-priv tdsdb1-vip
tdsdb2 2 tdsdb2-priv tdsdb2-vip
tdsdb3 3 tdsdb3-priv tdsdb3-vip
and i also can check it in gv$instance
SQL> select inst_id,instance_number,instance_name from gv$instance;
INST_ID INSTANCE_NUMBER INSTANCE_NAME
1 1 jftds1
3 3 jftds3
2 2 jftds2
but when i select the master node of some resource ,it shows some value of node id =0
SQL> select resource_name,master_node from v$ges_resource;
RESOURCE_NAME MASTER_NODE
[0xdcc9fa12][0x246658a5],[QQ] 2
[0x932][0x70c230e],[IV] 0
[0xd9fb][0x13181703],[IV] 0
[0xddae][0x0],[TM] 0
[0xb970fb05][0x729b596a],[LB] 2
[0xb580][0x70c2e1c],[IV] 0
[0x31ad56fb][0x7e4c3daa],[QQ] 2
[0x3][0x797609],[HW] 0
[0x2bf04627][0xf28b1575],[QI] 0
[0x19c89f33][0xd06ef447],[QQ] 0
[0x529ae82][0x86e25d46],[QQ] 0
it seems that the master node id is from 0 to 2
i want to get the node name from the node id from v$ges_resource,so i check the table cluster_nodes ,cluster_instances,but there are nothing.
SQL> select * from CLUSTER_NODES;
no rows selected
SQL> select * from CLUSTER_INSTANCES ;
no rows selected
how can i get the node name from the node id in the tables just like " v$ges_resource"? thank you .my cluster ware version is 10.2.0.5
database version is 10.2.0.5
and the source of rac is all online
$ crsctl query crs activeversion
CRS active version on the cluster is [10.2.0.5.0]
SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
PL/SQL Release 10.2.0.5.0 - Production
CORE 10.2.0.5.0 Production
TNS for IBM/AIX RISC System/6000: Version 10.2.0.5.0 - Productio
NLSRTL Version 10.2.0.5.0 - Production
$ crs_stat -t
Name Type Target State Host
ora.jftds.db application ONLINE ONLINE tdsdb2
ora....tds1.cs application ONLINE ONLINE tdsdb1
ora....s1.inst application ONLINE ONLINE tdsdb1
ora....ds1.srv application ONLINE ONLINE tdsdb1
ora....tds2.cs application ONLINE ONLINE tdsdb2
ora....s2.inst application ONLINE ONLINE tdsdb2
ora....ds2.srv application ONLINE ONLINE tdsdb1
ora....tds3.cs application ONLINE ONLINE tdsdb3
ora....s3.inst application ONLINE ONLINE tdsdb3
ora....ds3.srv application ONLINE ONLINE tdsdb3
ora....SM1.asm application ONLINE ONLINE tdsdb1
ora....B1.lsnr application ONLINE ONLINE tdsdb1
ora.tdsdb1.gsd application ONLINE ONLINE tdsdb1
ora.tdsdb1.ons application ONLINE ONLINE tdsdb1
ora.tdsdb1.vip application ONLINE ONLINE tdsdb1
ora....SM2.asm application ONLINE ONLINE tdsdb2
ora....B2.lsnr application ONLINE ONLINE tdsdb2
ora.tdsdb2.gsd application ONLINE ONLINE tdsdb2
ora.tdsdb2.ons application ONLINE ONLINE tdsdb2
ora.tdsdb2.vip application ONLINE ONLINE tdsdb2
ora....SM3.asm application ONLINE ONLINE tdsdb3
ora....B3.lsnr application ONLINE ONLINE tdsdb3
ora.tdsdb3.gsd application ONLINE ONLINE tdsdb3
ora.tdsdb3.ons application ONLINE ONLINE tdsdb3
ora.tdsdb3.vip application ONLINE ONLINE tdsdb3 -
How to Restrict the node level in account hierarchy
Hi experts,
I want to restrict the node level in account hierarchy. I attached one example. in that if i click 6000 node again it want to show error message. for one parent node i want to create only two child node. Further if i create means it want to show error msgs and not allow to create the node..
Regards,
gopiHi ,
The component is bp_hier, and method is onnew_node.
IF lv_tree->is_locked( ) = abap_false.
lv_tree->lock( ).
ENDIF.
CHECK lv_tree->is_locked( ) = abap_true.
lv_index = typed_context->accounthierarchy->selected_index.
lv_tree_node = typed_context->accounthierarchy->get_node_by_index( lv_index ).
*key = lv_tree_node->node_key.
CALL METHOD lv_api->get_node_parent
EXPORTING
iv_node_key = key
IMPORTING
ev_parent_node_key = lv_paent_key
* ev_tree_guid =
* lv_parent = lv_tree_node->parent_entity.
* typed_context->accounthierarchy->parent_entity.
CALL METHOD lv_tree_node->get_children
receiving
rt_children = rt_child.
CHECK lv_tree_node IS BOUND.
lv_tree_node->is_leaf = abap_false.
TRY.
lv_proxy_node ?= lv_tree_node.
TRY.
lv_object ?= lv_proxy_node->bo.
CATCH cx_sy_move_cast_error.
lv_mixed_node ?= lv_proxy_node->bo.
lv_object ?= lv_mixed_node->if_bsp_wd_ext_property_access~get_model_node( ).
ENDTRY.
lv_object_name = lv_object->get_name( ).
IF lv_object_name = 'BuilHierarchyNode'.
lv_relation_name = 'BuilHNodeRel'.
ELSEIF lv_object_name = 'BuilHierarchyHeader'.
lv_relation_name = 'BuilHeaderNodeRel'.
ELSE.
RETURN.
ENDIF.
lv_tree_node->get_children( ).
lv_object = lv_object->create_related_entity( lv_relation_name ).
lv_child_node = lv_proxy_node->node_factory->get_proxy(
iv_bo = lv_object
iv_proxy_type = 'CL_BP_HIER_HIERARCHYTREEV_CN05'
iv_parent_proxy = lv_tree_node ).
lv_tree_node->expand_node( ).
typed_context->accounthierarchy->refresh( ).
typed_context->accounthierarchy->deselect_all( ).
lv_child_node->selected = abap_true.
lv_child_node->is_leaf = abap_true.
*accounthierarchy
* selectedhierarchynode
lv_col_wrap = typed_context->selectedhierarchynode->get_collection_wrapper( ).
lv_col_wrap->clear( ).
This is the code.
i wrote . but its not getting. -
HELP NEEDED!!!displaying xml node name in an input text box
Hello everybody
Have a simple proble. I have imported an XML file into flash
using the Tree component and the XML_conn component. So i have the
xml tree displying in flash when i have run it.
I have created an input text box called 'subject'
All i really need is when a user clicks on any node for that
node name to be displayed in a the input text box. thats it. ITS
DRIVING ME CRAZYTry something like this. (if your Tree is called myTree)
var myTreeListener = {}
myTreeListener.change = function(evtObj) {
subject.text = evtObj.target.selectedNode.nodeName;
myTree.addEventListener("change",myTreeListener) -
Function Module to get the node name in particular level name in Hierarchy
Hi All,
We have 0Material hierarchy which consists of 14 levels and materials are in the 14th level.
We have a requirement to update the 4th level node name to all materials.
So we have created the attribute to this 0Material and thought of updating in the transformation.
Could you please suggest us to which function module i can in this scenario.
Thanks in advance,..
PrasannaCan you explain in more detail what exactly you want to do?
do you want to limit hierarchy to level4?
Regards
Sudeep -
Read Document in FileUtilities cannot search a file with french character in the file name
Hi,
I am trying to search a file with french character in the file name like 'captures écran.doc' in my unix server directory, and Write the file somewhere, say in a list of documents or, write on file system to another directory.
I am using to Read Document in FileUtilities of Foundation, but it cannot read the file due to french character in its name. Although it can find any other file name without these french characters.
Tried renaming but that also cannot find the file with french character name.
Please provide any idea to solve it using LC operation.
Regards,
Rohan Raj.Hi Thomas,
Thanks for the post, but I have already found a solution to it a month ago. Sorry for not posting the solution.
You just have to set the '-Djava.property.file.encoding=ISO8859-1' into JVM argument of your server startup, and bounce the server back to pick the new JVM arg set. And now the service Read Document in FileUtilities of Foundation will read all french characters.
ISO8859-1refers to "Latin alphabet no. 1," consisting of 191 characters from the Latin script. This character-encoding scheme is used throughout The Americas,Western Europe, Oceania, and much of Africa. It is also commonly used in most standard romanizations of East-Asian languages.
regards,
Rohan Raj. -
ABAP MAPPING Querry - How to create Different Target NODE NAME as of Source
Hi,
In abap Mapping
<b>DATA READ FROM SOURCE XML NODE into <u>incode</u></b> ******
data: incode type ref to if_ixml_node_collection.
incode = idocument->get_elements_by_tag_name( 'BUSINESS_DAY' ).
<b>CREATE OUTPUT XML NODE WITH SAME NAME AS <u>'BUSINESS_DAY'</u></b> **
data: outcode type ref to if_ixml_node.
outcode = incode->get_item( index = 0 ).
data irc type i.
irc = msgtype->append_child( outcode ).
*<b>BUT TO CREATE OUTPUT XML NODE WITH <u>DIFFERENT NAME AS 'BUSS_DAY'</u></b>*
data: ws_val type string VALUE 'xyz'.
data: elementsender type ref to if_ixml_element.
elementsender = odocument->create_simple_element(
name = 'BUSS_DAY'
value = ws_val
parent = msgtype ).
<b>Please guide me how I can assign <u>incode</u> value to ws_val.
So that I can generate <u>OUTPUT XML NODE with different name as of SOURCE XML NODE</u></b>
i.e. How to create Different Target NODE NAME as of
Source with same Data
<Note>: I am using "How to... Use ABAP Mapping in XI 3.0 ver.1.00" and to create different NODE name as of source
is not given in it.
Thanks & Regards.Hi ABAPers,
Please Guide Me .....
<u>This is ABAP Mapping problem in XI.</u>
<b>How can I read data from incode into ws_val.</b>
data: <b>ws_val</b> type string
data: <b>incode</b> type ref to if_ixml_node_collection.
<b>incode</b> = idocument->get_elements_by_tag_name( 'BUSINESS_DAY' ).
Best Regards -
XPATH to determine node name in condition of Interface determination
Hi,
does anybody out there know whether one can use a condition such as "name(/p1:Envelop/p1:Body/*)" to retrieve the name of the first element underneath the Body structure which is usually the payload. In the example below. I'd like to retrieve "ns0:BAPI_USER_GET_DETAIL" or just "BAPI_USER_GET_DETAIL" which I would like to than compare in my "=" condition.
<?xml version="1.0" encoding="iso-8859-1"?>
<sap:Envelope xmlns:sap="urn:sap-com:document:sap" version="1.0">
<sap:Header xmlns:rfcprop="urn:sap-com:document:sap:rfc:properties">
<saptr:From xmlns:saptr="urn:sap-com:document:sap:transport">BC1</saptr:From>
<saptr:To xmlns:saptr="urn:sap-com:document:sap:transport">BC2</saptr:To>
</sap:Header>
<sap:Body>
<ns0:BAPI_USER_GET_DETAIL xmlns:ns0="urn:sap-com:document:sap:rfc:functions">
<CACHE_RESULTS/>
<USERNAME>bauerd</USERNAME>
</ns0:BAPI_USER_GET_DETAIL>
</sap:Body>
</sap:Envelope>
I have a client that once to migrate his SAP BC interfaces to PI without having to change the sending application which is a CICS mainframe application. The mainframe application invokes various BAPI's by just passing in a different payload into the above envelope. The payload is always the request structure for the BAPI. The message is send synchronously to SAP BC which than calls the BAPI and returns the response to the caller, again in form of the above envelope and as payload the BAPI response structure.
To convert this to PI I have to be able to initiate different interface mappings depending on what BAPI is requested. This is pretty straight forward as there are no special mapping transformation taking place in SAP BC for both the BAPI request and response. However I need to determine what interface mapping to call depending on BAPI requested by the CICS application.
As said the customer does not want to change the sending application. The only part we are allowed to change is the URL which changes from SAP BC to the SAP PI Plain HTTP sender adapter. The post will always use the same outbound message interface. Therefore I can't use SAP PI's standard receiver determination. Using this adapter I will also be able to get access to the whole message envelope as outlined above.
I already got all of this working nicely with the exception that I can't determine what BAPI is requested and therefore what interface mapping I have to trigger in my interface determination.
Has anybody used a condition as above and if so how should it look like in the condition editor. The one outlined above does not seem to work. However it is also not failing in PI.
Also I don't want to change my approach for doing this. However if it is not possible to retrieve the node name using the xpath statement (as outlined above) in the condtion editor than I will have to look for a different approach to resolve this problem. Any suggestions would than be more than welcome.
Many thanks in advance.
DieterIf the structure is not too big, you can use:
//ns0:BAPI_USER_GET_DETAIL EX
otherwise take the full path:
/p1:Envelop/p1:Body/ns0:BAPI_USER_GET_DETAIL EX
The namespaces have to be declared.
Regards
Stefan -
Node names of siblings in xslt
I have following xslt code
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="*">
<root>
<xsl:for-each select="*/*">
<xsl:variable name="mainNode" select="name()" />
<xsl:if
test="starts-with($mainNode,'Add_1') and contains($mainNode,'street1')">
<Add>
<xsl:value-of select="." />
<!-- I want something that goes in here that allows me to select next node name of "mainNode" and its next node-- i.e. Node names of next two siblings of mainNode -->
</Add>
</xsl:if>
</xsl:for-each>
</root>
</xsl:template>
</xsl:stylesheet>As mentioned in the code, I want to find node names of next two siblings of mainNode
Any suggestions?
Thanks...I tried something like this:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="*">
<root>
<xsl:for-each select="*/*">
<xsl:variable name="nodeName" select="name()" />
<xsl:if
test="starts-with($nodeName,'Add_1') and contains($nodeName,'street1')">
<Add>
<xsl:value-of select="." />
<xsl:value-of select="following-sibling::nodeName[1]" /> <!-- This is what I added-->
</Add>
</xsl:if>
</xsl:for-each>
</root>
</xsl:template>
</xsl:stylesheet>My input XML file is as below:
<?xml version="1.0" encoding="ISO-8859-1"?>
<root>
<person>
<id>1 </id>
<Add_1_street1>happy street</Add_1_street1>
<Add_1_street2>A Road</Add_1_street2>
<Add_1_city>City1</Add_1_city>
</person>
<person>
<id>2</id>
<Add_1_street1>sad street</Add_1_street1>
<Add_1_street2>B Road</Add_1_street2>
<Add_1_city>City2</Add_1_city>
<Add_2_street1>Bore street</Add_2_street1>
<Add_2_street2>C Road</Add_2_street2>
<Add_2_city>City1</Add_2_city>
</person>
</root>It does not give me any compiler issue but it does not print the value of next sibling. Can't figure out why. Any pointers?
Thanks! -
How to Display Detailed navigation passing Top level navigation node name
Hi All,
I have prepared a DLN par file but unfortunatly my requirement is such that I need to pass one of the toplevel node name as input parameter and that should display the corresponding DLN which is from 3rd level.
I have checked in sdn for passing a value to the navigation tag lib which will consider it as a selectednode but could find none.
Can some body suggest me how to acheive this.
Thanks in Advance.
Sai Krishna. KHi Kiran,
Thanks for your Reply..
Following is my Scenario:
I use 2 same versions of portals connected via federated portal concept.
I have my detailed navigation par file in portal2 and was calling it from portal1 from a iview.
Since I am not physically navigating in portal2(which mean there is no selected node to iterate ), when I call that iview in portal1 it is picking up only 1st node in top level navigation.
So i need to pass "My reports" (as 1st level) & "India" (as 2nd level) as parameters such that it gets only its DTN at all times from 3rd level.
Hope you understand my scenario, below is my iteration code logic.
<div id="myslidemenu" class="jqueryslidemenu">
<ul>
<nav:iterateSelectedNavNodesLevel level="<%=START_LEVEL%>">
<%-- the 'currentDepth' attribute provides the byte value of the current level --%>
<nav:recurseNavNodeChildren currentDepth="depth">
<% current = start + depth.intValue() - 1; %>
<%=writeClosingTags(last - current)%>
<%
last = current;
%>
<%-- we want to distinguish between folder and leaf nodes so we can use different graphics --%>
<%-- complete the html syntax for the 'class' attribute pass it as an anchor attribute--%>
<li><nav:navNodeAnchor navigationMethod="byURL" />
<%-- checks for additional navigation level and the appropriate html tags to accomodate them --%>
<nav:ifNextRecursionDepthWillIncrease>
<ul>
</nav:ifNextRecursionDepthWillIncrease>
<nav:ifNextRecursionDepthWillNotChange>
</li>
</nav:ifNextRecursionDepthWillNotChange>
</nav:recurseNavNodeChildren>
<%=writeClosingTags(last - start)%>
<% last = start; %>
</nav:iterateSelectedNavNodesLevel>
</ul>
</div>
As per the passing parameter concept please explain me a bit more clear with step by step procedure.
<b>Here if not passing parameters, providing static values will also do for my requirement.</b>
Many Thanks,
Sai Krishna.
Edited by: Konchada Sai Krishna on Feb 14, 2009 9:42 PM -
In Unicode Programs , the "-" CHARACTER CANNOT APPEAR IN NAME
HI,
I am checking the routines for the transfer rules(0SRM_GLSPEND_INVOICE) in the ODS Object (0GLS_INV).
WARNING :In Unicode programs, the "-" character cannot appear in names, as it does here in the name
" L-LOCAL_ID"
this is only before unicode conversion .
thanks & regards
subba reddy.HI,
I am checking the routines for the transfer rules(0SRM_GLSPEND_INVOICE) in the ODS Object (0GLS_INV).
WARNING :In Unicode programs, the "-" character cannot appear in names, as it does here in the name
" L-LOCAL_ID"
this is only before unicode conversion .
thanks & regards
subba reddy.
Maybe you are looking for
-
FBL1N/FBL5N - Display of Material
Hi All We want to display material in vendor/customer line item (FBL1N/FBL5N). We have already activated material by T Code OBVU. But still system is not showing material in customer/vendor line items. Regards Rajesh Gupta
-
Trouble downloading movies to iCloud
How can I download movies to my iCloud account, so that I don't use up all my internal memory on my iPad, or iPhone.
-
User Defined Form problem...
Hi, I have the Item Master Data form opened with the User Defined Form opened. Now the Form has the focus and I'm trying to get an User Defined Item control on the User Defined Form but it says Form not found and I did try to select it or to use the
-
hello when I run query in bex and sap i have error no application data,I don't have Bi accelator index may it error depents on it ? I want to know if I define bi acceleator this problem solve? or it dosen't depends on it? plz help me
-
CS6 for windows on mac laptop and windows desktop?
I have a CS6 license for windows but want to use the same license on my desktop Windows PC and my laptop mac, is it possible?