2009 Sep 14 5:25 AM
Hi Experts,
Please guide me how to get miltile Header lines in the HIERSEQ Alv , My requirment it develop a genledger for customers in which the Address of customer should be in 3 or four lines then followed by its balances. Please suggest me ...
Regards,
Prakash
2009 Sep 14 5:43 AM
Hi,
You need to pass the Row number to the filed catlog in order to display multiple header lines.
For example,
wl_fieldcat-row_pos = 1. " This field will be displayed in first row
wl_fieldcat-col_pos = 1.
wl_fieldcat-fieldname = 'VBELN'.
wl_fieldcat-tabname = 'T_VBAK'.
wl_fieldcat-outputlen = 20.
Append wl_fieldcat to t_fieldcat.
wl_fieldcat-row_pos = 2. " This field will be displayed in Second row
wl_fieldcat-col_pos = 1.
wl_fieldcat-fieldname = 'VBELN'.
wl_fieldcat-tabname = 'T_VBAK'.
wl_fieldcat-outputlen = 20.
Append wl_fieldcat to t_fieldcat.
Regards,
Rajneesh
2009 Sep 14 5:33 AM
2009 Sep 14 6:05 AM
Hi Prakash,
Try This.
wa_fcat-row_pos = 1.
wa_fcat-col_pos = 1.
wa_fcat-fieldname = 'VBELN'.
wa_fcat-tabname = 'ITAB'.
wa_fcat-outputlen = 10.
Append wa_fcat to t_fcat.
CLEAR wa_fcat.
wa_fcat-row_pos = 2.
wa_fcat-col_pos = 1.
wa_fcat-fieldname = 'VBELN'.
wa_fcat-tabname = 'ITAB'.
wa_fcat-outputlen = 10.
Append wa_fcat to t_fcat.
CLEAR wa_fcat.
Regards,
Vijay
2009 Sep 14 5:43 AM
Hi,
You need to pass the Row number to the filed catlog in order to display multiple header lines.
For example,
wl_fieldcat-row_pos = 1. " This field will be displayed in first row
wl_fieldcat-col_pos = 1.
wl_fieldcat-fieldname = 'VBELN'.
wl_fieldcat-tabname = 'T_VBAK'.
wl_fieldcat-outputlen = 20.
Append wl_fieldcat to t_fieldcat.
wl_fieldcat-row_pos = 2. " This field will be displayed in Second row
wl_fieldcat-col_pos = 1.
wl_fieldcat-fieldname = 'VBELN'.
wl_fieldcat-tabname = 'T_VBAK'.
wl_fieldcat-outputlen = 20.
Append wl_fieldcat to t_fieldcat.
Regards,
Rajneesh
2009 Sep 14 6:03 AM
Hi Rajneesh,
I got The multiple line of the internal table which I have used as header table but its but its header is also repetated several times is there any way to make the upper header not to be displayed.
Regards,
Prakash
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |