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

ALV Query

Former Member
0 Likes
950

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.

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

6 REPLIES 6
Read only

Former Member
0 Likes
922

hi,

check this demo program BCALV_TEST_BLOCK_LIST

Read only

0 Likes
922

Hi Avinash,

Can u give me a small example ALV.

Thanks,

Prasad.

Read only

0 Likes
922

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.

Read only

0 Likes
922

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.

Read only

former_member673464
Active Contributor
0 Likes
922

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

Read only

Former Member
0 Likes
922

Resolved Myself.....