2006 Feb 02 5:42 AM
Hi,
How do I put page break in a hierarchical ALV for on change of a particular field.
Regards,
2006 Feb 02 5:48 AM
Prakesh,
You need to use the SORT Table Paramater:
Try:
data: tbl_sort type slis_t_sortinfo_alv.
data: st_sort type slis_sortinfo_alv.
st_sort-spos = '1'.
st_sort-fieldname = 'VBELN'.
st_sort-tabname = 'TBL_DATA'.
st_sort-up = 'X'.
st_sort-group = '*'. "Page Break at new Value
append st_sort to tbl_sort.
Pass this parameter into your ALV FM.
Let me know how this goes.
Hope this helps.
Cheers,
Pat.
Hi,
How do I put page break in a hierarchical ALV for on change of a particular field.
Regards,
2006 Feb 02 5:48 AM
Prakesh,
You need to use the SORT Table Paramater:
Try:
data: tbl_sort type slis_t_sortinfo_alv.
data: st_sort type slis_sortinfo_alv.
st_sort-spos = '1'.
st_sort-fieldname = 'VBELN'.
st_sort-tabname = 'TBL_DATA'.
st_sort-up = 'X'.
st_sort-group = '*'. "Page Break at new Value
append st_sort to tbl_sort.
Pass this parameter into your ALV FM.
Let me know how this goes.
Hope this helps.
Cheers,
Pat.
2006 Feb 02 5:58 AM
yes,
by filling 'group' in lvc_s_sort type or slis_sort,
u can get break, u can give '*' or 'UL' to the group. 'UL' gives u underline
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |