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

Structure tree

Former Member
0 Likes
860

Hi All,

Please let me know how to create a TREE STRUCTURE .

Thanks and Regards,

Amit Nayak

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
813

then if you want to add a structure to a stucture

just define it as

.INCLUDE as component and the <structure name> as component type within your parent structure.

If it is within a standard strucutre check for CI Includes and add the fields that you require to the CI Include

Note

Award Points for helpful answers

Message was edited by: Dominic Pappaly

7 REPLIES 7
Read only

Former Member
0 Likes
813

check out these programs:

BCALV_GRID_DND_TREE ALV Grid: Drag and Drop with ALV Tree

BCALV_GRID_DND_TREE_SIMPLE ALV GRID: Drag and drop with ALV tree (simple)

BCALV_TEST_COLUMN_TREE Program BCALV_TEST_COLUMN_TREE

BCALV_TREE_01 ALV tree control: build up the hierarchy tree

BCALV_TREE_02 ALV tree control: event handling

BCALV_TREE_03 ALV tree control: use an own context menu

BCALV_TREE_04 ALV tree control: add a button to the toolbar

BCALV_TREE_05 ALV tree control: add a menu to the toolbar

BCALV_TREE_06 ALV tree control: Icon column and icon for nodes/items

BCALV_TREE_DEMO Demo for ALV tree control

BCALV_TREE_DND ALV tree control: Drag & Drop within a hierarchy tree

BCALV_TREE_DND_MULTIPLE ALV tree control: Drag & Drop within a hierarchy tree

BCALV_TREE_EVENT_RECEIVER Include BCALV_TREE_EVENT_RECEIVER

BCALV_TREE_EVENT_RECEIVER01

BCALV_TREE_ITEMLAYOUT ALV Tree: Change Item Layouts at Runtime

BCALV_TREE_MOVE_NODE_TEST Demo for ALV Tree Control

BCALV_TREE_SIMPLE_DEMO Program BCALV_TREE_SIMPLE_DEMO

BCALV_TREE_VERIFY Verifier for ALV Tree and Simple ALV Tree

Reward points if it helps

regards

Gunjan

Read only

Former Member
0 Likes
813

hi

if you could go to transaction DWDM in your system , you would get examples of TREE program

Another Option would be to go to SE38 and type BCALVTREE

You will get various tree programs

Award points for helpful answers

Read only

dani_mn
Active Contributor
0 Likes
813

hi,

look into these demo programs in se38

SAPSIMPLE_TREE_CONTEXT_MEN_DEM

SAPSIMPLE_TREE_DRAG_DROP_DEMO

SAPSIMPLE_TREE_CONTROL_DEMO

SAPCOLUMN_TREE_CONTROL_DEMO

SAPTLIST_TREE_CONTROL_DEMO

SAPTLIST_TREE_CONTROL_DEMO_HDR

Regards,

Wasim Ahmed

Read only

Former Member
0 Likes
813

Thanks.

but my exact problem is to have a structure within a structure . there after use the structure

Read only

Former Member
0 Likes
814

then if you want to add a structure to a stucture

just define it as

.INCLUDE as component and the <structure name> as component type within your parent structure.

If it is within a standard strucutre check for CI Includes and add the fields that you require to the CI Include

Note

Award Points for helpful answers

Message was edited by: Dominic Pappaly

Read only

0 Likes
813

thanks

will this work in case of a bapi ?

Read only

0 Likes
813

no, if the bapi has a parameter with type BAPIPAREX then you could check out if it supports your customer enhancements , otherwise bapi's do not support to add structures to it