GET NODE
HELLO,
can any one tell me what is the difference between GET NODE and GET NODE LATE ?
Thank you very much in advance.
HI,
GET NODE
This is the most important event for executable programs that use a logical database. It occurs when the logical database has read a line from the node node and made it available to the program in the work area declared using the statement NODES node.
When you define the corresponding event block in the program, you can specify a field list if the logical database supports field selection for this node:
GET node [FIELDS f1 f2...|.
please check this link
http://help.sap.com/saphelp_nw70/helpdata/en/9f/db9aa335c111d1829f0000e829fbfe/content.htm
GET node LATE
This event is triggered when all of the data records for a node of the logical database have been read.
When you define the corresponding event block in the program, you can as with GET specify a field list if the logical database supports field selection for this node:
GET node LATE [..FIELDS f1 f2...|.
Please check this link
http://help.sap.com/saphelp_nw70/helpdata/en/9f/db9abd35c111d1829f0000e829fbfe/content.htm
regards
raam
Similar Messages
-
How to get nodes and its attributes of an XML file usiong DOM parsing?
how to get nodes and its attributes of an XML file usiong DOM parsing?
i am new to XML parsing.......
Thanking you........import org.w3c.dom.Document;
import org.w3c.dom.*;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.DocumentBuilder;
import org.xml.sax.SAXException;
import org.xml.sax.SAXParseException; ...
//Setup the document
DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
Document doc = docBuilder.parse (new File("MY_XML_FILE.xml"));
//get elemets by name
String elementValue = doc.getElementsByTagName("MY_ELEMENT").item(0).getTextContent();
//This method can return multiple nodes, in this instance I get item(0) , first nodeRead the api for other methods of getting data. -
GET Node in logical database to be executed on a condition
Dear Friends,
I have used GET NODE (get pernr) to extract data from HR LDB- PNP.
Using HR Report Category I have customized selection screen so that user cannot enter employee number (so that he can only see his payslip only) but can select just the period.
So in the calling program I want "GET pernr" to execute only when pernr = sy-uname. How can I do it???
Thanks,
AmitHi ,
After the Get event ,put a check statement on node data like
Get Pernr.
Check pernr-pernr = sy-uname. -
Get Node Key Multiple Items Selected from ALV tree
Hello Experts,
I'm having a problem in getting Node keys for the items displayed as ALV tree.
I'm able to get Node key, when only ONE record (Item) is selected.
But, when I select multiple items under a Single node am not able to read(get) the node keys for all the selected items.
I'm using the classCL_GUI_ALV_TREE.
I have tried using the method GET_CHECKED_ITEMS, but not getting the keys.
method GET_SELECTED_ITEM is giving node for a single item. I need it for multiple items selected.
Thank you for your time.
-SANGARHi,
You need to use checkbox concept. and use method GET_CHECKED_ITEMS get selected items
please check this tread.
CL_GUI_ALV_TREE and Checkboxes
aRs -
hi all,
I want get node from jtree without click, just with mouse in node.
I look in google but dont find nothing...
I try use listener but MousePressed dont help-me.
thanksjTree1 = new JTree1(treeModel);Sorry, now
jTree1 = new JTree(treeModel);
MouseMotionListener mm = new MouseMotionListener(){
public void mouseMoved(MouseEvent e) {
System.out.println("moved "+e.getX()+" "+e.getY());
int selRow = jTree1.getRowForLocation(e.getX(), e.getY());
TreePath selPath = jTree1.getPathForLocation(e.getX(), e.getY());
if(selRow != -1) {
System.out.println("mouse moved..."+selPath);
public void mouseDragged(MouseEvent e) {
System.out.println("dragged "+e.getX()+" "+e.getY());
jTree1.addMouseMotionListener(mm);
jScrollPane1.setViewportView(jTree1); -
Iam not getting nodes in enterprise manager consol
while iam logging from oms(enterprisemanager) not getting nodes
iam getting the error as home agent is not started
if i start manually in services it is not starting
pls help me
thanks
kiran
[email protected]I don't know about the error but alternatively you can get the list via DBA_NETWORK_ACLS and DBA_NETWORK_ACL_PRIVILEGES views.
-
I have a tree with 3 level and it is working fine.. In view mode I need the First child value of the 3rd level with out clicking / Selecting from teh Tree node..
for eg;
A -- ist level
Ap -- 2nd level
Apple -- 3rd level
So What I need is that I should get a message 'Apple' While landing teh Form itself without clicking on teh Tree
Thanks in Advance...To my knowledge it is not possible to get the value of a node which is not selected.
What you have to do is to build up a memory structure similar to your tree, then you can access any node at any time.
Peter -
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]) -
Hi all.
Maybe a simple question but, I haven't done yet.
In BPEL, when I need to get a node, I use getVariableData XPath function, for example:
count(bpws:getVariableData('MtlSystemItemsBESB_OutputVariable','MtlSystemItemsBCollection','/ns7:MtlSystemItemsBCollection/ns7:MtlSystemItemsB')) to get the number of lines returned from the service call.
Now, when I use XSLT transformation in ESB, I don't have a variable to extract the value from. So, how do I use XPath expressions that involve node-set return values?
I tried something like count('/ns7:MtlSystemItemsBCollection/ns7:MtlSystemItemsB') but it does not seem to work.
Thanks
DenisHi Denis,
count('/ns7:MtlSystemItemsBCollection/ns7:MtlSystemItemsB') should work as expected. Have you double checked your XPath (namespace, elementnames, etc.)? -
I have an xslt that processes data which results in the following xml:
<filteredCollegeList>
<filteredCollegeList>
<Index indexKey="COLLEGE" text="College">
<IndexEntry entryKey="College of Agriculture & Life Sciences" processCollege="Yes" CollegeCode="AG"/>
<IndexEntry entryKey="College of Architecture, Art, and Planning" processCollege="Yes" CollegeCode="AR"/>
<IndexEntry entryKey="College of Arts & Sciences" processCollege="No" CollegeCode="AS"/>
<IndexEntry entryKey="College of Engineering" processCollege="Yes" CollegeCode="EN"/>
<IndexEntry entryKey="College of Human Ecology" processCollege="Yes" CollegeCode="HE"/>
<IndexEntry entryKey="College of Veterinary Medicine" processCollege="Yes" CollegeCode="VM"/>
<IndexEntry entryKey="Johnson Graduate School of Management" processCollege="Yes" CollegeCode="GM"/>
<IndexEntry entryKey="School of Industrial and Labor Relations" processCollege="Yes" CollegeCode="IL"/>
</Index>
</filteredCollegeList>
</filteredCollegeList>
I need to iterate through the IndexEntry nodes and do some processing. To do this I am using a for each and want to get the count of the IndexEntry nodes. I have tried many many iterations of the following and always get the result of 1. Does anyone have any help they can give me to make this happen. Below are a few samples of code I have tried with no success.
count(ora:getNodes('filteredCollegeList', 'IndexEntry', '/filteredCollegeList/filteredCollegeList/Index/IndexEntry'))
count(ora:getNodes('filteredCollegeList', 'filteredCollegeList', '/filteredCollegeList/filteredCollegeList/Index/IndexEntry'))
count(ora:getNodes('filteredCollegeList', 'IndexEntry', '/filteredCollegeList/filteredCollegeList/Index/*'))
Using countNodes which I did earlier caused selectionFailures so I found I needed to use getNodes.
Any help is appreciated.
Thanks AlHi Al,
Please remember to mark the answers accordingly... Helpful or correct. You're helping me and the forum community by doing that.
BPEL
assign the result to a string variableIn that case you have to bring it back to XML again, go to the following link and search for parseEscapedXML or parseXML.
http://docs.oracle.com/cd/E15523_01/integration.1111/e10224/bp_appx_functs.htm#autoId85
Anyway, I think it is a very good idea to create a XSD for this...
Cheers,
Vlad -
How to get Node Properties by js script?
I have a customised client script implementing some functions similair to "CQ.wcm.SiteAdmin.scheduleForActivation".
But when the user trigger the dialog and before the submission, I'd like to do some processes with the properties of some nodes (components in some parsys).
My question is... I know in .jsp, I can get the properties of a node by node.getProperty("someProp");
But... How can I achieve the same result in .js scripts?Hi Matthias,
I am also facing same scenario. Could you please tell me how you resolved this or did you able to find out any alternative for this. Please help me.
Regards,
Mahidhar,
[email protected] -
Get Node ID of PFCG tx., which table stores it? I tried F1 help but no use!
Hello,
Pls. let me know how to get / read the node ID's value of PFCG tx, which table stores this value?
Thank youHi,
Use the table AGR_HIER to get the node id of all WD applications of a ROLE.
Sample Code:
select single *
from AGR_HIER
into ls_agr_hier
where agr_name = 'ROLE_NAME'
and reporttype = 'OT'
and REPORT = 'WDY_APPLICATION'.
Now, you get all wd applications attached to that node.
ls_agr_hier-OBJECT_ID ..... is the node id
Check tables with AGR_* to find out the exact match against your application name
Hope this helps you.
Regards,
Rama -
I am getting following compile error on the "GET ZSFLIGHT" command line in my program.
error -> ZSFLIGHT is not defined for the current logical database.
I went to SE36 and created a structure with the name ZSFLIGHT in which both the root node and the database table were defined as ZSFLIGHT. I have also created a transparent table with the name ZSFLIGHT in which there are two records.
What am I missing. What more needs to be done to make the error go away.
Thanks in advance.
PankajFollow the steps to use the LDB in your program.
Create LDB
Define the hiereachy correctly
Assing the LDB name in your program attributes
Kesav -
XPath expression for getting nodes based on date
Hello,
using javax.xml.xpath.XPath (Java 5) I want to get only nodes with dates (element pubDate) greater then some provided date. What is the expression for getting, say only first two <item> nodes? Is it at all possible?
Example XML document:
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Channel title</title>
<link>http://www.foo.bar</link>
<description>Channel description</description>
<item>
<title>title 1</title>
<link>http://foo.bar.org/1</link>
<author>author 1</author>
<pubDate>Thu, 15 Jun 2006 13:14:00 GMT</pubDate>
</item>
<item>
<title>title 2</title>
<link>http://foo.bar.org/2</link>
<author>author 2</author>
<pubDate>Thu, 15 Jun 2006 13:11:00 GMT</pubDate>
</item>
<item>
<title>title 3</title>
<link>http://foo.bar.org/3</link>
<author>author 3</author>
<pubDate>Thu, 14 Jun 2006 13:03:00 GMT</pubDate>
</item>
<item>
<title>title 4</title>
<link>http://foo.bar.org/4</link>
<author>author 4</author>
<pubDate>Thu, 13 Jun 2006 12:59:00 GMT</pubDate>
</item>
</channel>
</rss>Thanks for any hints!I would simply assign value to a variable inside package and use the value in the expression. You can also add variable to configuration if you want to pass a value from outside. You can also add another variable to determine whether you need yesterday or
specific date and set expression accordingly so that you expression will look like
(DT_WSTR,30)([User::DateCategory] == "Specific Date"? @[User::Date]:(DT_WSTR, 4) DATEPART( "yyyy", DATEADD( "dd" , -1, GETDATE() ) ) + Right("0"+(DT_WSTR, 2)DATEPART( "mm", DATEADD( "dd" , -1, GETDATE() ) ),2) + Right("0"+(DT_WSTR, 2)DATEPART( "dd", DATEADD( "dd" , -1, GETDATE() ) ) ,2)) +"_*.TXT"
DateCategory variable should be of type string
and Date should of type date
Please Mark This As Answer if it solved your issue
Please Mark This As Helpful if it helps to solve your issue
Visakh
My MSDN Page
My Personal Blog
My Facebook Page -
How to get node's JMX port?
How to get assigned node's JMX agent port from admin node in weblogic 9.2.2 clustered env?
1 Get an mbeanserverconnection
* http://e-docs.bea.com/wls/docs92/jmx/accessWLS.html
2 Use this connection to lookup the listen port:
ObjectName service = new ObjectName("com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean");
ObjectName serverConfiguration = (ObjectName) connection.getAttribute(service, "ServerConfiguration");
int port = Integer.parseInt(connection.getAttribute(serverConfiguration,"ListenPort").toString());
I hope this helps
Maybe you are looking for
-
Use back up from Time Machine to start new MacBook Pro
Using the Time Machine and an external Hard Drive I back up my 3 years old MacBook (running Lion and with hard drive of 250 GB) I am planning to purchase a new MacBook Pro (with a hard drive of 750 GB) how do I transfer all my software and Data
-
On IOS 5 on my iphone 4 32GB I used to be able to start playing a downloaded iTunes video, hit the power button, double tap the home button, and then start the audio portion of the video playing. This no longer works in IOS 6. Is this no longer a
-
SB Audigy (24bit) & Digital
Hi Will be very grateful if someone can advise, whether the SB Audigy (st Gen Audigy) can work with the Internal Digital I/O card the is used for the SB Li've Series. Regards, Knite00
-
In HTTP log: Store Critical: Unable to read index file for user/ uid
All: Sun Java(tm) System Messaging Server 6.2-7.05 (built Sep 5 2006) libimta.so 6.2-7.05 (built 12:18:44, Sep 5 2006) We recently have started to see the following errors in our http logs: [01/Mar/2007:13:03:43 -0500] httpd[5174]: Store Critical: Un
-
Create password -router security
Model BEFW11S4 wireless router, set up by my daughter a couple years ago, with no password. I've read that access passwords are wise for security, and to prevent your neighbors from using your connection. I have ZoneAlarm firewall and AVG antivirus,