‎2008 Jan 03 9:11 AM
Hi experts, I have a simple report. On the selection screen I have to check a B_BLOCK parameter for change layout Header. My question, in this case what is the meaning of change layout header??? And how can I handle it?
‎2008 Jan 03 9:24 AM
hi,
here i think it means that ,
change header of your report if checkbox is ticked.
you can do this by writing separate headers for both the cases and applying if conditon on them,'
hope it solves your problem.
Regards,
Talwinder.
‎2008 Jan 03 9:24 AM
hi,
here i think it means that ,
change header of your report if checkbox is ticked.
you can do this by writing separate headers for both the cases and applying if conditon on them,'
hope it solves your problem.
Regards,
Talwinder.
‎2008 Jan 03 9:51 AM
Hi,
It means depending on radio button u r changing :-
1. Changing layout By using structure slis_layout_alv which consist properties " no headings
no_hotspot(1) type c, " headings not as hotspot
zebra(1) type c, " striped pattern
no_vline(1) type c, " columns separated by space
cell_merge(1) type c, " not suppress field replication
edit(1) type c, " for grid only
edit_mode(1) type c, " for grid only
numc_sum(1) type c, " totals for NUMC-Fields possib.
no_input(1) type c, " only display fields
ie changing layout of display to with headings or without headings for field name in output display.
And with stripped or unstripped output display(with lines or without lines)
2. Changing diplay header data by- slis_t_listheader to which u can add some data like company name , logo and some extra data.
FORM TOP_OF_PAGE_TLD.
CLEAR : ITHED[]. It is itab like slis_t_listheader
SHED-TYP = 'H'.
SHED-INFO = data or info to display.
APPEND SHED TO ITHED.
CLEAR SHED.
SHED-TYP = 'S'.
SHED-INFO = information.
APPEND SHED TO ITHED.
CLEAR SHED.
ENDIF.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = ITHED
I_LOGO = 'logoname'.
ENDIF.
ENDFORM.
‎2008 Jan 04 9:14 AM