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

Output like Tree structure

sudhakar196
Participant
0 Likes
642

Hi

I am having Data in one internal table

BEGIN OF ty_box,

vbeln LIKE vbak-vbeln, "Sales Order Document Number

exidv LIKE vekp-exidv, "External Handling Unit Identification

vegr4 LIKE vekp-vegr4, "Integration required if the value is INTR

matnr LIKE lips-matnr, "Delivery Item-Material Number

arktx LIKE lips-arktx, "Delivery Item-Short text for Material

END OF ty_box.

I want to Display output like tree structure

-


integration required?

() Sales order

-


() HU -


checkbox

-


Mat A Description of A

-


Mat B Description of B

Please give sample program for this type. '-' indicate sapce

Message was edited by:

sudhakara reddy

Message was edited by:

sudhakara reddy

4 REPLIES 4
Read only

Former Member
0 Likes
540

HI,

see the system defined programs

SAPSIMPLE_TREE_CONTROL_DEMO,

and SAPSIMPLE* programs

rgds,

bharat.

Read only

Former Member
0 Likes
540

Hi,

Using the write statement you can do that.

Write : workarea-vbeln,

(/n) i.e. newline

workarea-exidv,

newline,

and so on.

Thanks,

Deepti

Read only

Former Member
0 Likes
540

Hi Sudhakara,

Use Tree structure by using custom controls.

http://help.sap.com/saphelp_nw04/helpdata/en/2a/755b94ca5911d299af5c9604c10e27/content.htm

Reward if useful!

Read only

Former Member
0 Likes
540

hi,

use ALV TREE

check these links.

http://www.erpgenie.com/sap/abap/SalesOrderFlow.htm

http://www.sapdevelopment.co.uk/reporting/alv/alvtree/alvtree_basic.htm

Check these programs.

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

RSDEMO_DRAG_DROP_TREE_MULTI

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

Also please check the transaction DWDM This will give info also on trees.

Check the links -