‎2006 Jun 20 10:46 AM
Hi All,
Please let me know how to create a TREE STRUCTURE .
Thanks and Regards,
Amit Nayak
‎2006 Jun 20 11:05 AM
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
‎2006 Jun 20 10:49 AM
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
‎2006 Jun 20 10:49 AM
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
‎2006 Jun 20 10:51 AM
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
‎2006 Jun 20 10:56 AM
Thanks.
but my exact problem is to have a structure within a structure . there after use the structure
‎2006 Jun 20 11:05 AM
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
‎2006 Jun 20 11:07 AM
‎2006 Jun 20 11:13 AM
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