BOPF: What is attribute assignment in node assignments for determination?
BOPF: What is attribute assignment in node assignments for determination?
It gives you the flexibility to maintain certain attributes of the node(for which determination is configured) for loading the data into buffer. BOPF will load the data into buffer based upon any change in the mentioned attributes of that node.
Similar Messages
-
Assigning a node value from an XML variable to a String type in Weblogic Process Integrator
Hi,
Is there any way to assign a node value from an XML variable to a String variable
in Weblogic Process Integrator...
Thanx.
Narendra.Nerendra
Are you talking about using Xpath on the XML document and assigning to a
variable, it is unclear what you are asking
Tony
"Narendra" <[email protected]> wrote in message
news:3bba1215$[email protected]..
>
Hi,
Is there any way to assign a node value from an XML variable to a Stringvariable
in Weblogic Process Integrator...
Thanx.
Narendra. -
How to create a node with attributes at runtime in webdynpro for ABAP?
Hi Experts,
How to create a node with attributes at runtime in webdynpro for ABAP? What classes or interfaces I should use? Please provide some sample code.
I have checked IF_WD_CONTEXT_NODE_INFO and there is ADD_NEW_CHILD_NODE method. But this is not creating any node. I this this creates only a "node info" object.
I even check IF_WD_CONTEXT_NODE but i could not find any method that creates a node with attribute.
Please help!
Thanks
GopalHi
I am getting the following error while creating a dynamic context node with 2 attributes. Please help me resolve this problem.
Note
The following error text was processed in the system PET : Line types of an internal table and a work area not compatible.
The error occurred on the application server FMSAP995_PET_02 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: IF_WD_CONTEXT_NODE~GET_STATIC_ATTRIBUTES_TABLE of program CL_WDR_CONTEXT_NODE_VAL=======CP
Method: GET_REF_TO_TABLE of program CL_SALV_WD_DATA_TABLE=========CP
Method: EXECUTE of program CL_SALV_WD_SERVICE_MANAGER====CP
Method: APPLY_SERVICES of program CL_SALV_BS_RESULT_DATA_TABLE==CP
Method: REFRESH of program CL_SALV_BS_RESULT_DATA_TABLE==CP
Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE_DATA of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_DATA~UPDATE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_VIEW~MODIFY of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMPONENT~VIEW_MODIFY of program CL_SALV_WD_A_COMPONENT========CP
My code is like the following:
TYPES: BEGIN OF t_type,
CARRID TYPE sflight-carrid,
CONNID TYPE sflight-connid,
END OF t_type.
Data: i_struc type table of t_type,
dyn_node type ref to if_wd_context_node,
rootnode_info type ref to if_wd_context_node_info,
i_node_att type wdr_context_attr_info_map,
wa_node_att type line of wdr_context_attr_info_map.
wa_node_att-name = 'CARRID'.
wa_node_att-TYPE_NAME = 'SFLIGHT-CARRID'.
insert wa_node_att into table i_node_att.
wa_node_att-name = 'CONNID'.
wa_node_att-TYPE_NAME = 'SFLIGHT-CONNID'.
insert wa_node_att into table i_node_att.
clear i_struc. refresh i_struc.
select carrid connid into corresponding fields of table i_struc from sflight where carrid = 'AA'.
rootnode_info = wd_context->get_node_info( ).
rootnode_info->add_new_child_node( name = 'DYNFLIGHT'
attributes = i_node_att
is_multiple = abap_true ).
dyn_node = wd_context->get_child_node( 'DYNFLIGHT' ).
dyn_node->bind_table( i_struc ).
l_ref_interfacecontroller->set_data( dyn_node ).
I am trying to create a new node. That is
CONTEXT
- DYNFLIGHT
CARRID
CONNID
As you see above I am trying to create 'DYNFLIGHT' along with the 2 attributes which are inside this node. The structure of the node that is, no.of attributes may vary based on some condition. Thats why I am trying to create a node dynamically.
Also I cannot define the structure in the ABAP dictionary because it changes based on condition
Message was edited by: gopalkrishna baliga -
How to get the name and value of an attribute on a node/element that is not a child
Hello,
Can someone shed some wisdom on how I can compare 2 xml nodes for differences.
My main challenge is I need to use the attributes/values of 'ProductDescription' and 'Features' as 'key' to identify the same node in
another doc with the same layout, but different content.
I am having trouble getting the name of the attribute on the node, 'ProductDescription' and 'Features'. I can only seem to get the node names, but not the attributes on the node. I need the name, because it can be different from doc to doc, so
I can't hardcode this.
Can someone please help with how to retrieve an attribute name/value on a node that is not a child. Here's an example of what
my xml looks like:
DECLARE
@myDoc1 xml
,@mydoc2 xml
DECLARE
@ProdID int
SET @myDoc1 ='<ProductDescription ProductID="1" ProductName="Road Bike">
<Features featureID = "1" featureName = "body">
<Warranty>1 year parts and labor</Warranty>
<Maintenance>3 year parts and labor extended maintenance is available</Maintenance>
</Features>
<features featureID = "2" featureName = "seat">
<Warranty>1 year parts and labor</Warranty>
<Maintenance>2 year parts and labor extended maintenance is available</Maintenance>
</Features>
</ProductDescription>
SET @myDoc2 ='<ProductDescription ProductID="1" ProductName="Road Bike">
<Features featureID = "1" featureName = "body">
<Warranty>2 year parts and labor</Warranty>
<Maintenance>3 year parts and labor extended maintenance is available</Maintenance>
</Features>
<features featureID = "2" featureName = "wheel">
<Warranty>1 year parts and labor</Warranty>
<Maintenance>2 year parts and labor extended maintenance is available</Maintenance>
</Features>
</ProductDescription>
I need to compare the attributes of 'ProductDescription' and 'Features' from @mydoc1 against @mydoc2 to see if they are the same based on those 2 nodes first. If they are, then i want to show the difference in the child elements.
This will eventually be an outer join to give me the differences betw the 2 docs based on those key values (node attributes).
I used node('//*') for the path, and value('local-name(../.)', 'varchar(50)') as element
,value('.[not(@xsi:nil = "true")]','VARCHAR(255)') AS new_value
...etc...
but that only gives me the node names, and the child elements. It does not give me back the attribute names and values from the node itself.
Thanks in advance for your help.
ceeAre you looking for something like this:
DECLARE @myDoc1 xml
SET @myDoc1 ='<ProductDescription ProductID="1" ProductName="Road Bike">
<Features featureID = "1" featureName = "body">
<Warranty>1 year parts and labor</Warranty>
<Maintenance>3 year parts and labor extended maintenance is available</Maintenance>
</Features>
<Features featureID = "2" featureName = "seat">
<Warranty>1 year parts and labor</Warranty>
<Maintenance>2 year parts and labor extended maintenance is available</Maintenance>
</Features>
</ProductDescription>'
SELECT T.c.value('local-name(.)', 'nvarchar(50)') AS name,
T.c.value('.', 'nvarchar(50)') AS value
FROM @myDoc1.nodes('ProductDescription/@*') AS T(c)
Erland Sommarskog, SQL Server MVP, [email protected] -
DW extension dev, what special attributes are available for setTranslatedAttribute
I'm developing an extension for Adobe Dreamweaver. Let's assume CC 2014+.
Part of the extension are new widgest that i would like to add.
Came by the notion of translated attributes, which allows me to program a special view for design time.
Through inspecting the existing code of the jQuery UI implementation i came by some attributes that are special and have meaning.
For example, using the following i can create a highlight over the segment of code that is affected by the widget:
ele.setTranslatedAttribute("outline", outlineLabel + ": " + widgetId);
ele.setTranslatedAttribute("outlineId", "unique");
ele.setTranslatedAttribute("outlineForSelection", "outlineForSelection");
ele.setTranslatedAttribute("hiliteChildrenOnSelect", "false");
There is even an ability to define a context button:
buttonContainer.setTranslatedAttribute("dwedit:hascontextbutton", "hascontextbutton");
buttonContainer.setTranslatedAttribute("dwedit:contextbuttonurl", JQuery.DesignTime.Widget.Base.getShowPanelIcon());
buttonContainer.setTranslatedAttribute("dwedit:contextbuttontooltip", dw.loadString("jquery/widget/tooltip/show panel"));
[This button can also later raise a click event, mind you that can be caught by listening to:
DWContextButtonActivate]
So...i can see none of this is documented anywhere.
And i'm looking for whatever i can get my hands on in order to enrich the GUI experience for my users.
So i wanted to know whether anyone knows of a better method than running around rev-enging the existing JS code to figure out what special attributes exist.
Also, is it only possible to set style, class and attributes in tranlsation...or for instance is it also possible to add html nodes?
Regards,
Gal.yes, that sounds ok.
Patrick. -
Attribute Assignation in Rules File
Hi!
I am using a Rules File to automatic attributes assignation. The particular thing of this cube, is that the cube acept duplicated members.
The structure of the dimension is as follow:
- CC
-> CC1
----> E1
--------> C1
--------> C2
- Eje [Attribute Dimension]
-> Eje 1
-> Eje 2
The Rules File is as follow:
Level0,CC; Level1,CC; Eje1,CC
C1; E1; Eje1
The result of the execution of the Rules Files is as follow:
- CC
-> CC1
----> E1
--------> C1
--------> C2
-> E1 [Attribute: Eje1]
----> C1
I don't know what is the problem here, because the rules file don't search if the member exists in the structure and only create a new member with the attribute association.
Do you know what is happen here?By attribute we are passing some extra information (like resourceBundle, unique etc) about property/item-descriptor etc.
you can refer below url:
http://docs.oracle.com/cd/E23507_01/Platform.20073/RepositoryGuide/html/s1605samplecompositerepositorydefinit01.html
-RMishra -
What is attribute changerun and process chain?
hi experts,
what is attribute changerun and processchain. pl explain these two with a business case.
thanks & regards
venkatHi Venkata,
For attribute changerun,
It's used after you change (add/delete/modify) attribute in the master data. You've to make it in order to have an effect after you modify it.
To get it :
1. tcode : RSA1.
2. Tools -> Apply Hierarchy/Attribute Change
3. tap on Info-object list button (checking what master data you've modified before).
4. tap on selection button for type of job
5. Execute.
link(s):
http://help.sap.com/saphelp_nw2004s/helpdata/en/80/1a67ece07211d2acb80000e829fbfe/frameset.htm
For process chain,
Using this you can make a flow of process sequentially.
e.g.
the flow :
1. generate program YWS001
2. get the data from table zcrm001
3. load data to ods : zods_001
link(s):
http://help.sap.com/saphelp_nw04/helpdata/en/8f/c08b3baaa59649e10000000a11402f/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/6e/192756029db54192427cf6853c77a7/content.htm
Hopefully it can helps you a lot ..
Regards,
Niel
(Many thanks for any points you choose to assign). -
Can anyone explain me what is Attribute Changerun, in detail, Urgent
Can anyone explain me what is Attribute Changerun, in detail
If you assign the process type Attribute Change run to a process chain you must define a variant. With this variant you have to define the InfoObjects for which you want to activate the master data. There are four different possibilities:
HIERARCHY: direct selection of the hierarchy which need to be activated
INFOOBJECT: direct selection of the infoobjects which need to be activated
LOADING: indirect selection: reference to an InfoPackage, which must be loaded before in the process chain. Combined with the meta data of these objects and the instance information the system derives the affected InfoObjects and hierarchies. If the chosen LOADING object is not in the process chain, the system automatically inserts the chosen infopackage in process chain.
REPORTVARIANT: indirect selection: reference to a change run variant which you can define with RSDDS_AGGREGATES_MAINTAIN (SE38) or TCode RSATTR Executing the Attribute/hierarchy change run with Variant:
Instead of applying the InfoObjects or hierarachies directly to the process variant in RSPC you can create a central variant for the report RSDDS_AGGREGATES_MAINTAIN. You can assign InfoObjects and hierarchies to this report variant. This central variant could be used by several process variants in RSPC. The benefits are central maintenance, .. -
What is this - Indicator: all account assignments ?
Hello,
I want to know what this is - Indicator: all account assignments on a/c assignment category screen on Purchase order. This is a checkbox with caption More.
How this checkbox turn on automatically while creating auto PO for sales order. If this is turn on then it brings new dialog screen --Coding Block with Business Area, Cost center and CO area.
Please let me know if there is any stuff in customizing which can help me to turn off this option.
Regards,
AdityaIt is just a virtual machine. It is not a tool, so you cannot do anything with it. But you can have a couple of benefits after downloading it.
-
How can I add an attribute to a node?
Hi,
How can I add an attribute to a node of a DOM Document?
I want to add attribute Maximum="6" for all Grade node as <Grade Maximum="6">.
Grade is a third level node in my document.
ThanksHi,
How can I add an attribute to a node of a DOM
Document?
I want to add attribute Maximum="6" for all Grade node
as <Grade Maximum="6">.
Grade is a third level node in my document.
ThanksGet the father of "Grade" elements as an element. Then get all elements named "Grade", and for each one set attribute "Maximum" with value "6". If you read api documentation you will know which methods to use.
But for helping you in getting the "Grade" parent.
1) get the root element of the Dom Doc
2)get the father of the "Grade" father: getElementsBytagName("his name") -> it will return a Node List get the first element casting as Element if there's only one, or elese if not case
3)the same method in 2 get the "Grade" father
4)getElementByTagName("Grade") over the "Grade" father -> for each "grade" element on nodelist do whatever you need
i hope u understood... -
How to access multiple attributes of a node at the same time in XML AS3
<chapter id="1" title="">
<screen title="lesson">
<swf>EXCEL/CH01/CH01_S01.swf</swf>
<ltitle>Chapter 1</ltitle>
<rtitle>Setting Up a Workbook</rtitle>
<prompt>Choose a lesson</prompt>
</screen>
<screen title="lesson" tasks="3">
<swf>EXCEL/CH01/CH01_S02.swf</swf>
<ltitle>Chapter 1</ltitle>
<rtitle>Setting Up a Workbook</rtitle>
<prompt>Click Next to continue</prompt>
</screen>
I have 2 attributes of screen node which are title and tasks.
how can I access these 2 attributes at the same time in AS3
Is that correct:
excel.chapter.screen.(@title == "lesson").@tasks
Thanks alot in advance.var excel:XML = <data>
<chapter id="1" title="">
<screen title="lesson" tasks="">
<swf>EXCEL/CH01/CH01_S01.swf</swf>
<ltitle>Chapter 1</ltitle>
<rtitle>Setting Up a Workbook</rtitle>
<prompt>Choose a lesson</prompt>
</screen>
<screen title="lesson" tasks="3">
<swf>EXCEL/CH01/CH01_S02.swf</swf>
<ltitle>Chapter 1</ltitle>
<rtitle>Setting Up a Workbook</rtitle>
<prompt>Click Next to continue</prompt>
</screen>
</chapter>
</data>;
trace(excel.chapter.screen.(@title == "lesson" && @tasks == "3").toXMLString());
Note that for this to work (and not throw an error) every screen node needs a tasks attribute.
In your sample code, the first screen node did not have a tasks attribute, in which case an error is thrown when using @tasks == "3" -
Generic wsdl - how can you tell what the field assignment is?
When using the generic wsdl, it seems that your custom fields are mapped to fields such as:
customcurrency12
customtext4
When accessing the asset class, how can tell what field is assigned to what custom value? When I look in the admin > application customization > asset > asset field setup
I can see the list of fields and field types but not the number on the end so that I can assign it in my web service code. Is there a way to see what your custom fields are mapped to (i.e. custom standard discount is mapped to custompercent11)
Thanks in advance any help you can lend on this,
AspnetDevYou can use the getMapping web service to get al ist of all the fields for a record type. for each field you get the ElementName (which is what you get in the generic wsdl) and DisplayName which you can use it to match to your fields.
<Field>
<DisplayName>My Custom Field</DisplayName>
<ElementName>CustomText74</ElementName>
<DataType>Text (Short)</DataType>
</Field>
-JLV -
How can i read Attributes from a Node
Hi,
I want to write parser to read my configuration file.
here is my XML file:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- DOCTYPE Xportal SYSTEM ".\dtd\relation_config.DTD" -->
<root>
<value>25</value>
<group type="Content Relation" color="255, 255, 255" active="1">
<relationtype> DBNode - Document </relationtype>
</group>
<group type="Organisation Relation" color="255, 255, 255" active="1">
<relationtype> Catalog - Document </relationtype>
<relationtype> Documentversion - Documentvariant</relationtype>
</group>
<group type="Rights Relation" color="255, 255, 255" active="1">
<relationtype> Catalog - Usergroup</relationtype>
<relationtype> User - Usergroup </relationtype>
<relationtype> User - Catalog </relationtype>
<relationtype> Usergroup - Document </relationtype>
</group>
<group type="Desktop Organisation Relation" color="255, 255, 255" active="1">
<relationtype> MatrixFolder - Document </relationtype>
</group>
<group type="System Organisation Relation" color="255, 255, 255" active="1">
<relationtype> User - Session </relationtype>
</group>
<group type="Links Relation" color="255, 255, 255" active="1">
<relationtype> DBNode - Linkimpl. </relationtype>
<relationtype> Document - HyperlinkImpl. </relationtype>
<relationtype> Document - Linkendimpl. </relationtype>
<relationtype> Variante - Linkendimpl. </relationtype>
<relationtype> Version - LinkendImpl. </relationtype>
<relationtype> (ParentDB) - LinkendImpl. </relationtype>
</group>
<group type="Matrix Relation" color="255, 255, 255" active="1">
<relationtype> Bla </relationtype>
<relationtype> Blalbla </relationtype>
</group>
</root>
and here my program:
public class RelConfigReader {
// c'tor
public RelConfigReader() {}
public void readConfig() {
try {
// Erstellen von DocumentBuilder
DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
Document doc = docBuilder.parse(new File("relation_config.xml"));
// normalize text representation
doc.getDocumentElement().normalize();
System.out.println("Root element of document is: " + doc.getDocumentElement().getNodeName());
// Auslesen der Anzahl der Gruppen
NodeList listOfGroups = doc.getElementsByTagName("group");
int totalGroups = listOfGroups.getLength();
System.out.println("Number of Groups : " + totalGroups);
for (int s = 0; s < totalGroups; s++) {
Node groupNode = listOfGroups.item(s);
if (groupNode.getNodeType() == Node.ELEMENT_NODE) {
System.out.println("Group " + s + ":");
Element groupElement = (Element) groupNode;
// Auslesen von Relation Typen
NodeList relationTypList = groupElement.getElementsByTagName("relationtype");
for (int i = 0; i < relationTypList.getLength(); i++) {
Element relElement = (Element) relationTypList.item(i);
NodeList textRelList = relElement.getChildNodes();
System.out.println("Relationtype : " + ( (Node) textRelList.item(0)).getNodeValue().trim());
catch (SAXParseException err) {
System.out.println("** Parsing error" + ", line " + err.getLineNumber() + ", uri " + err.getSystemId());
System.out.println(" " + err.getMessage());
catch (SAXException e) {
Exception x = e.getException();
( (x == null) ? e : x).printStackTrace();
catch (Throwable t) {
t.printStackTrace();
now to my question. I have the <group> node with type, color and active as attribute of this node. Now i want to read this attributes but I don't know how I can do this. Please help me. Thx for any solution.I have the solution! Thx
-
How to Find what all GL assigned to Particular account group ???
Hi !!! anybody can help me in this issue ... How to Find what all GL assigned to Particular account group ???
Hi,
Go to SE16
Give table name SKA1.
Give COA
Give account group and execute.
All the GL accounts that were assigned to this group are listed.
Reward points.
Sarma -
What is the use of Node Manager?
OBIEE Oracle Business Intelligence 11.1.1.5
I have started up the WebLogic server which delivers the WL Server Admin Console as well as the Fusion Middleware Control.
I have ignored NodeManager. It hasnt been started.
What is the use of NodeManager?
Oracle tells us:
Note: In order to start the Managed Server using the WebLogic Server Administration Console, the Node Manager must be running.
http://download.oracle.com/docs/cd/E21043_01/bi.1111/e10541/components.htm
But my Manged Server is running ok - I can check http://<host>:7001/console and its ok.
So why do I need to bother with NodeManager?
I only have WLS and OHS installed - no BI instance.
DAAnswers inline:
As I have installed weblogic server 10.3.5 on windows. while am starting it using cmd am getting two ips as
1**.*.... for weblogic server one is (channel default 4... .. and one is default 1) kindly explain.
- It doesn't generate any IP. If you have installed successfully, weblogic will run on your system and it's ip will remain same. You can access it using your systems'IP:portnumber
Also tell as I have to use cmd for starting servers how can i use unix commands for the same??
- You have installed on windows so unix command won't work for you. You can either start by going into services window in windows or start using command by going to path weblogichome\domains\domainname\bin. Execute startWebLogic.cmd
Also explain what is the use of node manager and weblogic scripting tool which are also installed in the system.
- Node manager is used for communication bentween two or more servers in a domain.
As am looking to install OIM 11g so kindly tell what are all the things I need to know about weblogic so that i can learn OIM easily.
- To install OIM, install weblogic, install oracle database. Use RCU utilities to create database and then install SOA, OIM and configure them. You can get all kinds of guides and steps for OIM 11g r2 here:
http://docs.oracle.com/cd/E27559_01/index.htm
regards,
GP
Maybe you are looking for
-
Why takes up to 3 min to load web.de - explorer 15 sec?
firefox alwasy takes very long time to upload "home" my email server -explorer is always very fast no other site takes that long to upload and only with firefox I#m no expert nerd just user so dont please give me advice i cannot understand your educa
-
Steps:- Import SWCV from SLD into Enterprise service Builder
Hi All, I have created new SWCV in SLD. What are the STEPS :-mport SWCV from SLD into Enterprise service Builder Thanks, Anshul
-
Problems Converting to Outlook And/Or Importing
HELP! My business future is in your hands. I have been a Palm user for many years and my entire contact, todo, etc... lists are on the 4.0.1 version of the desktop. I just got a new Windows 7 computer and you know the rest...the Palm desktop won't wo
-
Popuops are oversize and cannot be moved or adjusted.
When popups come up, they often are too tall for all of them to be seen. Either the top is missing, including essential menu bars, or the bottom is missing, containing the action buttons, or both. There is no way to adjust the size of the popup, not
-
Hi everybody. I am writing because I need some help with my iPhone 3G. If anyone have the same problem... or have any suggest... please write me back. Well... that's the problem: when I click on the stanby button, and the iphone goes to standby mode,