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: 

Issues on ALV's

Former Member
0 Kudos

Hi all,

I have a few issues on ALV's. Please give me an Idea

1. Can we have page breaks in ALV depending on the plant.

ie. If the plant changes the out put should break and new page should start.

Is this possible in ALV with function modules

2. Is it possible to print header in the following format

Main Header

H1 H2 H3 H4

1 2 3 4

1 2 3 4

1 2 3 4

Ie the header should be in cells above and below as shown.

Main header is on cell

and sub headers are partitions on main header

Please help me to resolve the following issues

Thanks in Advance

Vijay

1 ACCEPTED SOLUTION

anversha_s
Active Contributor
0 Kudos

Hi,

see if this is what you are looking for.

Regards,

anver

if hlped pls mark points

3 REPLIES 3

anversha_s
Active Contributor
0 Kudos

Hi,

see if this is what you are looking for.

Regards,

anver

if hlped pls mark points

Former Member
0 Kudos

Hi Kalluri,

In order to make the break and new page, you have to append in the sort declaration:

ls_sort-fieldname = 'MATNR'.

ls_sort-group = '*'.

APPEND ls_sort TO p_it_sort.

Regards,

Eric

Former Member
0 Kudos

hi

the first solution is as answered above,

by giving sort_group = '*' or u can also give 'UL'.

2) second solution is using hierachial alv. with normal alv its not possible.