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

get hierarchy data using same table recursively

Former Member
0 Likes
647

Dear Colleagues,

I have to read the table estvp by passing the recnroot value.

i will get some records then pick the recncmp values and process again the table estvp passing the values of recncmp to recnroot.

need to repeat it untill get the total records.

finally i need to have one itab with hierarchy model.

Recnroot recncmp.

111 1.1

1.2

1.3

1.1 1.1.1

1.1.2

1.2 1.2.1

1.3 nil

1.1.1 1.1.1.1

1.1.1.2

-


-


any help is apreciated how can i make some recursive function or some loop etc.

Thanks,

Mahesh

3 REPLIES 3
Read only

Former Member
0 Likes
557

have done my self using bapi_1077_getdetails....

Read only

Former Member
0 Likes
557

getting the parent and child details but need the position of the id in hierarchy way.

Read only

Former Member
0 Likes
557

not looking on it