Application Development 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: 

ALV Query

Former Member
0 Kudos

Hi Guys,

My internal table is a follows.

PN TKNUM VBELN MATNR OrdQty

1 1144 111 M-1 1

1 1144 111 M-1 1

2 1144 111 M-1 1

2 1144 111 M-1 1

3 1144 111 M-1 1

3 1144 111 M-1 1

I want to use REUSE_ALV_HIERSEQ_LIST_DISPLAY.

For each Different PN(ie when PN changes) I need to display seperately in Individual Box.

The output should be something like below.

PN TKNUM VBELN MATNR OrdQty

1 1144 111 M-1 1

1 1144 111 M-1 1 In One Box

PN TKNUM VBELN MATNR OrdQty

2 1144 111 M-1 1

2 1144 111 M-1 1 In One Box

PN TKNUM VBELN MATNR OrdQty

3 1144 111 M-1 1

3 1144 111 M-1 1 In One Box

I want to use ALV only.

Thanks,

Prasad.

6 REPLIES 6

Former Member
0 Kudos

hi,

check this demo program BCALV_TEST_BLOCK_LIST

0 Kudos

Hi Avinash,

Can u give me a small example ALV.

Thanks,

Prasad.

0 Kudos

HI,

You can execute the demo program BCALV_TEST_BLOCK_LIST and check. You can find everthig what you want. The demo program gives you pricture about events and how they can be used.

0 Kudos

Hi Avinash,

But this is nearly about 3000 lines program.

If you give any small example program for that I can understand easily.

Thanks,

Prasad.

former_member673464
Active Contributor
0 Kudos

hi,

You can display the data in the required format using ALV hierachical list. Refer to the demo program BCALV_TEST_HIERSEQ_LIST for the same.

Regards,

Veeresh

Former Member
0 Kudos

Resolved Myself.....