‎2009 May 29 11:16 AM
Hi All,
I want to divide a column into 2 column. I have ALV report.
I want the out only for the header this way.
Header1
Sub- H1 Sub-H2
How to do this?
‎2009 May 29 11:18 AM
Hi Kuldeep,
If you want to split header then you need to split it into internal table before filedcat.
Regards,
Vijay
‎2009 May 29 11:19 AM
Hi,
Use OFFSET command to split the Header to Subheader 1 and sub header 2.
Regards
Thiru
‎2009 May 29 11:26 AM
Its not possible in normal ALV , u will have to use OO ALV.
In normal ALV if u specify fieldcatalog-row = 2. for a field it will not reflect in standard layout but if u change the layout to print layout
‎2009 May 29 11:32 AM
‎2009 May 29 11:48 AM
Hi.
For your specified scenario what i feel is, traditional Classical Report will be apt.
It gives the exact fit to your requirement when compared to ALVs.
If you like you can Opt it.
example:
TOP-OF-PAGE. " Event Name
PERFORM top_page. " write a subroutine for headings.
form TOP_PAGE .
FORMAT COLOR COL_HEADING.
WRITE: /00 sy-uline.
WRITE:/00 sy-vline,
450 'SAP Community Network', " Main heading
622 sy-vline.
WRITE: /00 sy-vline,
05 'Header 1',
15 sy-vline.
WRITE: /00 sy-uline.
WRITE: /00 sy-vline,
02 'Sub H1',
07 sy-vline,
08 'Sub H2',
19 sy-vline,
Endform.The above may be boring to do, but few customers DO prefer this method for clear clarification.
Regards,
Padma
‎2009 May 29 11:33 AM
Hi,
This is not possible in ALV Grid. But you can acheive this in ALV LIST in the TOP_OF_LIST event .
Refer to this link ..http://docs.google.com/Doc?id=dfv2hmgs_17fprqd7fs&hl=en