Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

LDB'S

Former Member
0 Likes
690

HI Friends,

What is Difference between GET_NODE & GET_NODE_LATE?

HI Friends,

What is Difference between GET_NODE & GET_NODE_LATE?

5 REPLIES 5
Read only

Former Member
0 Likes
667

GET_NODE -- Method

This method returns the reference to the node belonging to the element. If the element is not valid, an exception (of type CX_WD_CONTEXT) is triggered. The validity of the element is therefore identified.

Also Refer

http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9aa335c111d1829f0000e829fbfe/content.htm

Regards,

Santosh

Message was edited by:

Santosh Kumar Patha

Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
667

Hi,

See the difference in bold

<b>GET node:</b>

This statement defines an event block whose result is triggered by the ABAP runtime environment after submitting an executable program, <b>if the logical database to which the program is linked, provides data in the work area node</b>. The node work area must be declared with the NODES statement (or TABLES). The data can be processed in the event block.

<b>GET node LATE:</b>

This statement defines an event block whose result is triggered by the ABAP runtime environment after submitting an executable program, <b>when the logical database has read in all records of node node.</b> For node and FIELDS, the same applies as for the previous variant. Use this event block for final processing actions concerning the hierarchy level of the node.

GET NODE is when filling the data where as GET NODE LATE is after completing the reading of the data.

SO GET NODE marks the start and GET NODE LATE marks the end of reading.

Regards,

Sesh

Read only

Former Member
0 Likes
667

Hi,

GET <table> events can only be used for the basic list in an interactive report.

The GET event is triggered each time a row is read from a logical database table. The data for this record is loaded into the table work area.

A GET event keyword can only be coded once for any one table in the logical database program.

The GET <table> LATE event, if coded, occurs just before the next row (record) of the table specified in the GET event is selected from the database. It also occurs after any other GET or GET LATE events for tables lower in the hierarchy of the logical database program.

GET event processing requires that the logical database be specified as an attribute of the report program (while in the ABAP Editor, use the menu path Go to > Attributes).

refer:

https://forums.sdn.sap.com/click.jspa?searchID=4269156&messageID=3710881

Regards

Read only

Former Member
0 Likes
667

hi

<b>GET</b> - After the logical database has read an entry from the node <table>.

<b>GET LATE</b> - After all of the nodes of the logical database have been processed that are below <table> in the database hierarchy

check the below link:

http://help.sap.com/saphelp_46c/helpdata/en/9f/db9abd35c111d1829f0000e829fbfe/frameset.htm

<b>reward points for useful</b>

Regards

Vivek