Application Development 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: 

Ho w to retrieve 5th level no in an LDB.

former_member700946
Discoverer
0 Kudos
228

Hi all,

Can any body help me in retrieving 4th level node in LDB. I am using PGQ ldb.

The hierarchy goes as below.

QALS:

---QALT

-


QALTPO

-


QALTPP

-


QALTPPMV

-


QALTPPSV

I want to retrieve the data from "QALTPPMV".

Please help me.

Thanks in advance.

Santala.

1 REPLY 1

manuel_bassani
Contributor
0 Kudos
105

Hi Santala,

consider the following example:

REPORT ZPROVA.

nodes: QALTPPMV.

data: tab type table of QALTPPMV with header line.

  • here we read the lines of 4th level

get QALTPPMV.

append QALTPPMV to tab.

  • finally, print all (not required)

end-of-selection.

loop at tab.

write: / tab.

endloop.

I hope it helps.

Best regards, Manuel