‎2006 Nov 28 6:46 AM
Hi SDN,s
Can anyone send me documentation regarding TREE ALV reports? my mail id is rangaa1@gmail.com . Thanks in advance.
Aravind.
‎2006 Nov 28 6:49 AM
Here it is,
http://www.erpgenie.com/sap/abap/SalesOrderFlow.htm
I have sent one <b>OOPS ALV TREE & GRID </b>in a single program to you mail. Please check and let me know whethir it solved your problem.
Regards
Kathirvel
‎2006 Nov 28 6:51 AM
hi;
look at BCALV_TREE_* in SE38
they are very helpful examples
you can also look at
http://www.sapdevelopment.co.uk/reporting/alv/alvtree/alvtree_basic.htm
‎2006 Nov 28 6:53 AM
Hi aravind,
1. Its quite simple.
2. Basically there are TWO FMs,
which do the job.
3. just copy paste in new program
and u will know the whole logic.
4.
REPORT abc.
DATA : tr LIKE TABLE OF snodetext WITH HEADER LINE.
*----
data
tr-id = '1'.
tr-tlevel = 1.
tr-name = 'amit'.
APPEND tr.
tr-id = '2'.
tr-tlevel = 2.
tr-name = 'mittal'.
APPEND tr.
tr-id = '3'.
tr-tlevel = 2.
tr-name = 'Hello'.
APPEND tr.
tr-id = '4'.
tr-tlevel = 2.
tr-name = 'Brother'.
APPEND tr.
tr-id = '5'.
tr-tlevel = 4.
tr-name = 'Brother'.
APPEND tr.
*----
display
CALL FUNCTION 'RS_TREE_CONSTRUCT'
TABLES
nodetab = tr
EXCEPTIONS
tree_failure = 1
OTHERS = 4.
CALL FUNCTION 'RS_TREE_LIST_DISPLAY'
.
regards,
amit m.
‎2006 Nov 29 6:24 AM